[FFmpeg-user] possible to do mp3 @ 48kHz

Jim Shupert jshupert at pps-inc.com
Wed May 11 21:22:22 CEST 2011



On 5/11/2011 12:59 PM, James Darnley wrote:
> On 11/05/2011, Jim Shupert<jshupert at pps-inc.com>  wrote:
>> friends
>>
>> I am successful  transcoding files with
>>
>> ffmpeg -i D:\path\vid\my.mpg -ab 192000 -ar 44100 -b 8000000 -s 720x480
>> -vcodec libxvid  -acodec libmp3lame D:\path\vid\my.avi
>> ffmpeg -i D:\path\vid\my.mpg -ab 192000 -ar 44100 -b 1500000 -r 30 -s
>> 720x480 -f flv D:\path\vid\my.flv
>>
>> but the problem is i would very much enjoy having the audio sampling
>> rate of 48kHz ; -ar 48000
>>
>> and libmp3lame only will do 44100 , 22050 , 11025
>>
>> so if i really wanted to have mp3 48 kHz audio --- is there any solution?
> lame happily supports 48 KHz.  FLV does not.  Stop using FLV and all
> will be fine.
> _______________________________________________
>
Yes, thank you --  you are exactly correct.
  I am have just made 48kHz mp3 in the avi.. it seems (from what i have 
now read) that FLV supports only 4 rates
5.5 kHz, 11 kHz, 22.05 kHz, 44.1 kHz

But I now have a second Q of the same encodes if I look at my result in 
mediainfo i see
that the video datarate is not what i used in my command

mediainfo reports the 2  files at 2 diffrent rates

Bit rate                     : 4557 Kbps
Bit rate                     : 2983 Kbps

my command
is

ffmpeg -i D:\path\vid\my.mpg -ab 192000 -ar 48000 -b 8000000 -s 720x480
-vcodec libxvid  -acodec libmp3lame D:\path\vid\my.avi

so insted of -b 8000000 [ 8 mbps ] i am getting a vbr ?
is that true and how do i make it cbr @ 8mbps

thanks (again)

js




More information about the ffmpeg-user mailing list