Encode multi-channel audio with faac

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Encode multi-channel audio with faac

Liu Xin

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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel