AAC parsing in gstreamer 1.0.10

bob-bob bob.wightman at pixsan.com
Wed Apr 2 04:51:10 PDT 2014


Hi Tim,

With the -v option:

./gst-launch-1.0 -v dvbsrc  bandwidth=8 frequency=522000000 pids=100:101:102 
! tsdemux program-number=4170 name=demux ! queue max-size-buffers=0
max-size-time=0 ! h264parse ! avdec_h264 ! videoconvert ! autovideosink
demux. ! queue max-size-buffers=0 max-size-time=0 ! aacparse ! fakesink

I get video. Here's the caps info :-

GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0.GstPad:src: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstTSDemux:demux.GstPad:sink: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps =
video/x-h264, stream-format=(string)avc, alignment=(string)au,
parsed=(boolean)true
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = audio/mpeg,
mpegversion=(int)4, stream-format=(string)loas
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = audio/mpeg,
mpegversion=(int)4, stream-format=(string)loas
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = audio/mpeg,
mpegversion=(int)4, stream-format=(string)loas
/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0.GstPad:src: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0.GstPad:src: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstTSDemux:demux.GstPad:sink: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true

faad - I don't have this installed. I get: WARNING: erroneous pipeline: no
element "faad"

Adding audioconvert ! audioresample gives this:

/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0.GstPad:src: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstTSDemux:demux.GstPad:sink: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = audio/mpeg,
mpegversion=(int)4, stream-format=(string)loas
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = audio/mpeg,
mpegversion=(int)4, stream-format=(string)loas
/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0.GstPad:src: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0.GstPad:src: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0.GstPad:src: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
/GstPipeline:pipeline0/GstTSDemux:demux.GstPad:sink: caps = video/mpegts,
mpegversion=(int)2, systemstream=(boolean)true
ERROR: from element /GstPipeline:pipeline0/GstDvbSrc:dvbsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2812): gst_base_src_loop ():
/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0:
streaming task paused, reason not-negotiated (-4)

As for the stream, it's the UK HD feed, I'm getting it from a transmitter
near Leeds, see PSB3 on this page
http://www.ukfree.tv/txdetail.php?a=SE163374

Thanks for your help.

Bob



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/AAC-parsing-in-gstreamer-1-0-10-tp4666250p4666255.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list