Encode multi-channel audio with faac

Liu Xin liuxin8166 at hotmail.com
Mon Oct 9 10:34:39 UTC 2017


hi folks,


I'm trying to interleave 2 audio channels into one and encode it into AAC stream. The gst-launch command is like:

gst-launch-1.0 audiotestsrc wave=1 ! interleave name=i ! 'audio/x-raw,channels=2' ! faac ! fakesink audiotestsrc wave=0 ! i.


Then I got below errors


Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc1: Internal data flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc1:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...



Can someone please give some pointers here? Thanks.


Xin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171009/06a3bc95/attachment.html>


More information about the gstreamer-devel mailing list