aacparse to rtpmp4apay

mrjojan prostoars at mail.ru
Mon May 13 03:06:07 PDT 2013


johnwesting wrote
> Tim is right, that aacparse does not convert between the formats and
> rtpmp4apay only takes raw AAC. Run your pipeline with the parameters
> --gst-debug-level=2 and -v. You might be able to see the capabilities if
> they are negotiated and rtpmp4apay has some GST_WARNING print statements
> that will be displayed if the stream format is not raw.
> 
> As for a fix you could create a new element to strip away the ADTS header.
> It also might help if I could see the output when you run your pipeline
> with --gst-debug-level=2 and -v.
> 
> 
> 
> On Tue, May 7, 2013 at 7:51 AM, mrjojan <

> prostoars@

> > wrote:
> 
>> Tim-Philipp Müller-2 wrote
>> > On Tue, 2013-05-07 at 04:15 -0700, mrjojan wrote:
>> >
>> >> Someone please help me. I want to parse an aac audio from multifilesrc
>> to
>> >> rtpmp4apay, but it giving me an error.
>> >> My pipeline is this `
>> >>
>> >> gst-launch-1.0  multifilesrc location=./audio_aac/audio_%03d.aac
>> index=1
>> >> !
>> >> aacparse !  rtpmp4apay ! udpsink host=127.0.0.1 port=5600
>> >>
>> >> And error is like this `
>> >>
>> >> Setting pipeline to PAUSED ...
>> >> Pipeline is PREROLLING ...
>> >> ERROR: from element
>> /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
>> >> Internal data flow error.
>> >> Additional debug info:
>> >> gstbasesrc.c(2814): gst_base_src_loop ():
>> >> /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
>> >> streaming task paused, reason not-negotiated (-4)
>> >
>> > I think the problem here is that aacparse does not (yet) convert
>> between
>> > different AAC stream formats, in this case ADTS to "raw" AAC.
>> >
>> > Cheers
>> >  -Tim
>> >
>> > _______________________________________________
>> > gstreamer-devel mailing list
>>
>> > gstreamer-devel at .freedesktop
>>
>> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>> And What can i do for fix it ??
>>
>> regards
>> -mrjojan
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://gstreamer-devel.966125.n4.nabble.com/aacparse-to-rtpmp4apay-tp4659815p4659817.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> _______________________________________________
>> gstreamer-devel mailing list
>> 

> gstreamer-devel at .freedesktop

>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


Dear John , 

here is the result when i run my pipeline with --gst-debug-level=2 and -v.

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstAacParse:aacparse0.GstPad:src: caps = audio/mpeg,
framed=(boolean)true, mpegversion=(int)4, rate=(int)48000, channels=(int)2,
stream-format=(string)adts
0:00:00.020655659 10446      0x116d140 WARN                 basesrc
gstbasesrc.c:2814:gst_base_src_loop:<multifilesrc0> error: Internal data
flow error.
0:00:00.020685717 10446      0x116d140 WARN                 basesrc
gstbasesrc.c:2814:gst_base_src_loop:<multifilesrc0> error: streaming task
paused, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2814): gst_base_src_loop ():
/GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps =
video/x-h264, width=(int)1280, height=(int)720, parsed=(boolean)true,
stream-format=(string)avc, alignment=(string)au,
codec_data=(buffer)0164001fffe100196764001facd9405005ba1000000300100000030320f183196001000568ebecb22c
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:src: caps =
application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264,
sprop-parameter-sets=(string)"Z2QAH6zZQFAFuhAAAAMAEAAAAwMg8YMZYA\=\=\,aOvssiw\=",
payload=(int)96, ssrc=(uint)190161206, timestamp-offset=(uint)3734063012,
seqnum-offset=(uint)30254
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:sink: caps =
video/x-h264, width=(int)1280, height=(int)720, parsed=(boolean)true,
stream-format=(string)avc, alignment=(string)au,
codec_data=(buffer)0164001fffe100196764001facd9405005ba1000000300100000030320f183196001000568ebecb22c
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:sink: caps =
video/x-h264, width=(int)1280, height=(int)720, parsed=(boolean)true,
stream-format=(string)avc, alignment=(string)au,
codec_data=(buffer)0164001fffe100196764001facd9405005ba1000000300100000030320f183196001000568ebecb22c
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstAacParse:aacparse0.GstPad:src: caps = NULL
Freeing pipeline ...

What can i do ? 

regards mrjojan.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/aacparse-to-rtpmp4apay-tp4659815p4659892.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list