gstreamer lame mp3 encoder produced different files than lame commandline encoder
Bug #235062 reported by
arturj
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gst-plugins-ugly-multiverse0.10 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Usind gst-launch to create a lame mp3 encoder pipeline like this:
gst-launch-0.10 filesrc location=file.mp3 ! decodebin ! audioconvert ! lame preset=standard ! filesink location=out.mp3
produces files more than 5% smaller than usind lame cli encoder like this:
lame --preset standard file.mp3 out.lame.mp3
in the above example the gst-launch output had a size of 4354891 bytes and the lame cli output had a size of 4713972, which is a difference of nearly a half megabyte.
As lame CLI tool is strictly related to the liblame library gsteamer uses I suppose gstreamer uses the library in a wrong way or at least sets different options I have not choosen (see above).
Related branches
To post a comment you must log in.
I have filed a similar bug report.
See Bug Report 250407 -- https:/ /bugs.launchpad .net/ubuntu/ +source/ gst-plugins- ugly-multiverse 0.10/+bug/ 250407
gstreamer is not properly encoding MP3's with the right VBR bit rates (corresponding to the options specified).
The problem is NOT with gst-plugins-bad. but in the gstreamer0. 10-plugins- ugly-multiverse package.
The culprit is version 0.10.6 of the gstreamer library file libgstlame.so found in the gstreamer0. 10-plugins- ugly-multiverse package. If you downgrade this library to 0.10.5, the problem is fixed.
To downgrade to a working version (0.10.5) simply downgrade the gstreamer0. 10-plugins- ugly-multiverse package from version 0.10.6-0ubuntu1 to version 0.10.5-2. Once you downgrade, gstreamer works properly and produces MP3's with the right bit rate.
See See http:// ubuntuforums. org/showthread. php?t=608034& page=3
Also note that this bug has been reported upstream. See http:// bugzilla. gnome.org/ show_bug. cgi?id= 498004
But the bug still has not been fixed!! Maybe someone at Ubuntu will need to propose a patch to the Gnome folks.
PLEASE increase the URGENCY from low to MEDIUM or HIGH.
This bug affects Sound Juicer and Rythmbox which now FAIL to encode MP3's with the proper VBR bit rate using the DEFAULT settings provided by Ubuntu Hardy Heron!!