Wrong bitrate reported after using lamemp3enc

David Schleef ds at schleef.org
Sun Dec 9 13:00:24 PST 2012


On Sat, Dec 08, 2012 at 08:51:08PM -0800, Valey Carmid wrote:
> The audio stream should be 192 kb/s, yet when I do something like:
> 
>  httpsrc location=http://domain.com/foo.mp3  ! audioconvert ! lamemp3enc bitrate=192 ! xingmux ! filesink=foo.mp3
> 
> The bitrate is reported by the file command to be:
> 
> foo.mp3:  Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1,  48 kbps, 44.1 kHz, JntStereo
> 
> I don't have the actual gst-launch command since I'm just coding the elements, but the flow should be the same. Why did lamemp3enc encode at 48kb/s when it should be 192 kb/s?

You did not select "target=bitrate", so the bitrate property is ignored.



David



More information about the gstreamer-devel mailing list