link qtdemux to h264parse

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

link qtdemux to h264parse

ericcardmanNo3
does anyone know how to successful link qtdemux to h264parse filter?
I demux a mp4 file with qtdemux and the resulting video stream is with NAL,SPS,PPS. Therefore i thought i could link to h264parse and then let push data to my decoder plugin.

I do:
gst-launch -vvv filesrc location=r.mp4 ! qtdemux name=demux demux.video_00 ! q
ueue!video/x-h264!h264parse! decodebin ! video/x-raw-yuv,format=\(fourcc\)YV12,w
idth=320,height=240,framerate=\(fraction\)1/30 ! ffmpegcolorspace ! fbdevsink

GST_DEBUG shows:
Setting pipeline to PAUSED ...
0:00:00.793132250  1145    0x887d0 INFO                 qtdemux qtdemux.c:5383:qtdemux_parse_tree:<demux> timescale: 1000
0:00:00.794729875  1145    0x887d0 INFO                 qtdemux qtdemux.c:5384:qtdemux_parse_tree:<demux> duration: 152360
0:00:00.796545694  1145    0x887d0 INFO                 qtdemux qtdemux.c:4253:qtdemux_parse_trak:<demux> (null)
Pipeline is PREROLLING ...
0:00:00.863135518  1145    0x887d0 WARN                 qtdemux qtdemux.c:4399:qtdemux_parse_trak:<demux> unknown version 00000000
0:00:00.864528541  1145    0x887d0 INFO                 qtdemux qtdemux.c:4518:qtdemux_parse_trak:<demux> (null)
0:00:00.938093392  1145    0x887d0 INFO                 qtdemux qtdemux.c:5410:qtdemux_parse_tree:<demux> (null)
0:00:00.942662521  1145    0x887d0 WARN                 qtdemux qtdemux.c:2448:gst_qtdemux_loop:<demux> error: streaming stopped, reason not-linked
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: GStreamer encountered a general stream error.
Additional debug info:
qtdemux.c(2448): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:demux:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstQTDemux:demux.GstPad:audio_00: caps = NULL
/GstPipeline:pipeline0/GstQTDemux:demux.GstPad:video_00: caps = NULL
Freeing pipeline ...


Does anyone know what to do here?

Thx,
Daniel-
Reply | Threaded
Open this post in threaded view
|

Re: link qtdemux to h264parse

Vineeth-2
Probably you dont need a h264parse after qtdemux, since output from the qtdemux will be NAL units which can be directly fed to decoder.



On Tue, Mar 30, 2010 at 2:37 PM, ericcardmanNo3 <[hidden email]> wrote:

does anyone know how to successful link qtdemux to h264parse filter?
I demux a mp4 file with qtdemux and the resulting video stream is with
NAL,SPS,PPS. Therefore i thought i could link to h264parse and then let push
data to my decoder plugin.

I do:
gst-launch -vvv filesrc location=r.mp4 ! qtdemux name=demux demux.video_00 !
q
ueue!video/x-h264!h264parse! decodebin !
video/x-raw-yuv,format=\(fourcc\)YV12,w
idth=320,height=240,framerate=\(fraction\)1/30 ! ffmpegcolorspace !
fbdevsink

GST_DEBUG shows:
Setting pipeline to PAUSED ...
0:00:00.793132250  1145    0x887d0 INFO                 qtdemux
qtdemux.c:5383:qtdemux_parse_tree:<demux> timescale: 1000
0:00:00.794729875  1145    0x887d0 INFO                 qtdemux
qtdemux.c:5384:qtdemux_parse_tree:<demux> duration: 152360
0:00:00.796545694  1145    0x887d0 INFO                 qtdemux
qtdemux.c:4253:qtdemux_parse_trak:<demux> (null)
Pipeline is PREROLLING ...
0:00:00.863135518  1145    0x887d0 WARN                 qtdemux
qtdemux.c:4399:qtdemux_parse_trak:<demux> unknown version 00000000
0:00:00.864528541  1145    0x887d0 INFO                 qtdemux
qtdemux.c:4518:qtdemux_parse_trak:<demux> (null)
0:00:00.938093392  1145    0x887d0 INFO                 qtdemux
qtdemux.c:5410:qtdemux_parse_tree:<demux> (null)
0:00:00.942662521  1145    0x887d0 WARN                 qtdemux
qtdemux.c:2448:gst_qtdemux_loop:<demux> error: streaming stopped, reason
not-linked
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: GStreamer
encountered a general stream error.
Additional debug info:
qtdemux.c(2448): gst_qtdemux_loop ():
/GstPipeline:pipeline0/GstQTDemux:demux:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstQTDemux:demux.GstPad:audio_00: caps = NULL
/GstPipeline:pipeline0/GstQTDemux:demux.GstPad:video_00: caps = NULL
Freeing pipeline ...


Does anyone know what to do here?

Thx,
Daniel-
--
View this message in context: http://n4.nabble.com/link-qtdemux-to-h264parse-tp1744923p1744923.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel