After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 606726 - FAAC bitrate setting has no effect
FAAC bitrate setting has no effect
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.17
Other Linux
: Normal normal
: 0.10.18
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-12 11:15 UTC by Mike Dyer
Modified: 2010-01-12 18:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike Dyer 2010-01-12 11:15:36 UTC
When setting the bitrate on the faac plugin, the resulting bit rate is always ~128kbps

Can reproduce using:

gst-launch -v audiotestsrc is-live=true wave=9 do-timestamp=true
num-buffers=450 ! audio/x-raw-int,channels=2,rate=44100,width=16 !
audioconvert ! faac outputformat=1 profile=2 bitrate=8000 !
ffmux_mpegts ! filesink location=8mbps.ts

gst-launch -v audiotestsrc is-live=true wave=9 do-timestamp=true
num-buffers=450 ! audio/x-raw-int,channels=2,rate=44100,width=16 !
audioconvert ! faac outputformat=1 profile=2 bitrate=128000 !
ffmux_mpegts ! filesink location=128mbps.ts

ls -l *.ts gives:

-rw-rw-r--. 1 mike mike  234436 2010-01-08 10:13 128mbps.ts
-rw-rw-r--. 1 mike mike  232556 2010-01-08 10:13 8mbps.ts

Two files of about the same size, for two very different bitrates.

System is: Fedora Core 12, gstreamer version 0.10.25, gst-plugins-bad version 0.10.17, faac version 1.28
Comment 1 Mark Nauwelaerts 2010-01-12 18:50:14 UTC
Following commit should fix this.

Note that 'fixing' is slightly relative.  That is, the output will not exactly abide by the bitrate as set on faac.  However, no better seems possible as the results are now those that would otherwise be obtained by the standalone faac binary (using similar settings).


commit 8be4e3725f2a03fa49b9db6596acefc679ab7dde
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Tue Jan 12 19:33:37 2010 +0100

    faac: improve faac configuration

    In particular, align configuration some more with reference binary faac.

    Fixes #606726.