Greetings, I tried to re-sample an MP3 file from 64kbps to 320kbps :
ffmpeg -i file.mp3 -ac 2 -b 320k new-file.mp3
but the resulting file always comes out at 64kbps.
What's the trick to doing this right?
On Sat, 2010-07-31 at 21:31 -0700, JD wrote:
I tried to re-sample an MP3 file from 64kbps to 320kbps :
ffmpeg -i file.mp3 -ac 2 -b 320k new-file.mp3
but the resulting file always comes out at 64kbps.
You have a syntax error
-b for video bitrate setting -ab for audio bitrate setting
What are you trying to gain? You can't make a lossy MPEG better by recompressing it at a higher bitrate. It's actually going to get worse, since it's going to get decoded, then another lossy recompression is going to happen.
On 07/31/2010 10:47 PM, Tim wrote:
On Sat, 2010-07-31 at 21:31 -0700, JD wrote:
I tried to re-sample an MP3 file from 64kbps to 320kbps :
ffmpeg -i file.mp3 -ac 2 -b 320k new-file.mp3
but the resulting file always comes out at 64kbps.
You have a syntax error
-b for video bitrate setting -ab for audio bitrate setting
What are you trying to gain? You can't make a lossy MPEG better by recompressing it at a higher bitrate. It's actually going to get worse, since it's going to get decoded, then another lossy recompression is going to happen.
I see!! Thanks for the info!
JD wrote:
Greetings, I tried to re-sample an MP3 file from 64kbps to 320kbps :
ffmpeg -i file.mp3 -ac 2 -b 320k new-file.mp3
but the resulting file always comes out at 64kbps.
What's the trick to doing this right?
Using -ab instead of -b.
You *do* know that what you want to do is not really smart, right? :-)