FORUMS: list search recent posts

MP3 maximum bit rate issue

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Samrat Dutta
MP3 maximum bit rate issue
on Jul 25, 2013 at 8:02:25 am

I have tried to create a mp3 file with some specific parameter like maximum bitrate , duration ,sampling rate, channel. For this I have used ffmpeg Libmp3lame library with the following command ;

ffmpeg -i OLD1.mp3 -codec:a libmp3lame -ar 32000 -ab 56k -ac 2 -q:a 1 -t 00:03:00.000 -y NEW-1.mp3

Here we need to create a mp3 file with maxbit rate 56kbps. So I used -ab 56K but unfortunately It creates with 64K max bit rate.
So I want to know , is there any other command to create the file with proper maxbit rate?

and another question is what is the command in ffmpeg to get the max bit rate?

Answer of the above two questions are relly helpful to me.

Thanks


Return to posts index

Angelo Lorenzo
Re: MP3 maximum bit rate issue
on Jul 25, 2013 at 9:48:27 pm

https://trac.ffmpeg.org/wiki/Encoding%20VBR%20%28Variable%20Bit%20Rate%29%2...

Please remove -v:a 1 as this maps to LAME's quality setting, it overrides -ar 56K.

Edit: This looks like it produces a CBR file. You can use -v:a 9 for a closer approximation. Average bitrate encoding (A variant on how VBR is calculated) doesn't look achievable through FFMPEG so you may need to use LAME's direct executable in the command line if you need absolute accuracy.

--------------------
Angelo Lorenzo

Need to encode ProRes on your Windows PC?
Introducing ProRes Helper, an awesome little app that makes it possible
Fallen Empire Digital Production Services - Los Angeles
RED transcoding, on-set DIT, and RED Epic rental services
Fallen Empire - The Blog
A blog dedicated to filmmaking, the RED workflow, and DIT tips and tricks
Can your post production question fit in a tweet? Follow me on Twitter


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]