GNOME Bugzilla – Bug 550486
[faac] Negotiation problem with mono audio for some sample rates
Last modified: 2008-10-03 17:11:21 UTC
This works: gst-launch-0.10 audiotestsrc num-buffers=5 ! audioconvert ! audio/x-raw-int,channels=2,rate=16000 ! faac ! fakesink Change the channels to mono and it fails: gst-launch-0.10 audiotestsrc num-buffers=5 ! audioconvert ! audio/x-raw-int,channels=1,rate=16000 ! faac ! fakesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /pipeline0/faac0: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional debug info: gstfaac.c(640): gst_faac_chain (): /pipeline0/faac0: failed to negotiate MPEG/AAC format with next element ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... FREEING pipeline ... Compare this to e.g. 44100 Hz, where the number of channels doesn't matter: gst-launch-0.10 audiotestsrc num-buffers=5 ! audioconvert ! audio/x-raw-int,channels=1,rate=44100 ! faac ! fakesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 4097721 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... FREEING pipeline ...
it requires a bitrate < 100000 to operate on mono 16KHz data.
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad): Warn and clamp to max bitrate for samplerate. Fixes #550486.