Audio encode in faac main profile

Sean csosmo at hotmail.com
Sat Oct 1 17:53:15 UTC 2016


Hi, 

I want to generate FLV with AAC main-profile. I used gst_inspect to check
the "faac" element and found "profile" is not part of the property and is
negotiated by Caps
(https://github.com/GStreamer/gst-plugins-bad/blob/11ace3c18a1a2a4f8cf7a972b1142de319b882e2/ext/faac/gstfaac.c).

I tried those pipelines, but none of them work. 

[1] gst_launch audiotestsrc !  audioconvert ! audio/x-raw,channels=1 ! faac
bitrate=64000 ! audio/mpeg,profile=main ! flvmux ! filesink
location=main_aac.flv 

default
gstutils.c:3766:gst_pad_create_stream_id_internal:<audiotestsrc0:src>
Creating random stream-id, consider implementing a deterministic way of
creating a stream-id
Caught SIGSEGV

[2] gst_launch audiotestsrc !  audioconvert ! audio/x-raw,channels=1 ! faac
bitrate=64000 ! audio/mpeg ,base-profile=main ! flvmux ! filesink
location=main_aac.flv 

basesrc gstbasesrc.c:2948:gst_base_src_loop:<audiotestsrc0> error: Internal
data flow error.
basesrc gstbasesrc.c:2948:gst_base_src_loop:<audiotestsrc0> error: streaming
task paused, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0:
Internal data flow error.
Additional debug info:
gst/base/gstbasesrc.c(2948): gst_base_src_loop ():
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.


Would anyone help to comment is there anything wrong? Thanks a lot.
 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Audio-encode-in-faac-main-profile-tp4679906.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list