qtdemux error: streaming stopped, reason not-linked

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

qtdemux error: streaming stopped, reason not-linked

Joel Zhou
Hi all,

I'm trying to use gst-launch pipeline to play mp4 video, but get a not-linked error.

arm-linux-gnueabi-gst-launch-1.0 filesrc location=/share/lucy.mp4 ! qtdemux name=demux  demux.video_00 ! queue ! hantrovdec srcwidth=640 srcheight=480 dstwidth=640 dstheight=480 ! mylcdsink

[68591.785389] NY_LCD: enter mylcd_fb_mmap
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.810678500   763  0x1619a30 WARN                 qtdemux qtdemux.c:4434: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:
/home/joelz/poky/build/tmp/work/armv6-poky-linux-gnueabi/gstreamer1.0-plugins-good/1.4.5-r0/gst-plugins-good-1.4.5/gst/isomp4/qtdemux.c(4434): gst_qtdem:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

I also try it with more debug message, the output is in the following pastebin link.

GST_DEBUG="basesrc:5,qtdemux:5" arm-linux-gnueabi-gst-launch-1.0 filesrc location=/share/pos_demo/video/lucy.mp4 ! qtdemux name=demux  demux.video_00 ! queue ! hantrovdec srcwidth=640 srcheight=480 dstwidth=640 dstheight=480 ! brcmlcdsink

http://pastebin.com/HNDwLuXs


Thanks,
Joel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: qtdemux error: streaming stopped, reason not-linked

amitchawla
Hi Joel,

In my case, the qtdemux pad name generated is video_0 , and not video_00 .

You could give it a try.

Amit
Reply | Threaded
Open this post in threaded view
|

Re: qtdemux error: streaming stopped, reason not-linked

DeepakRohan
In reply to this post by Joel Zhou
Hi Joel

In case of gstreamer-1.0, qtdemux creates pads with _%u.
Example audio_0, video_1.
In gstreamer-0.10 qtdemux creates the pads with _%02d. Like audio_00, video_01.
Hopefully it helped you.
Reply | Threaded
Open this post in threaded view
|

Re: qtdemux error: streaming stopped, reason not-linked

Joel Zhou
Hi Amit, DeepakRohan,

I replaced video_00 with video_0, but the error is similar.
I think it is the problem of "caps". Any idea how to debug it?

arm-linux-gnueabi-gst-launch-1.0 filesrc location=lucy.mp4 ! qtdemux name=demux  demux.video_0 ! queue ! hantrovdec srcwidth=640 srcheight=480 dstwidth=640 dstheight=480 ! mylcdsink -v

[58455.363935]  MY_LCD: enter mylcd_fb_mmap
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: GStreamer encountered a general stream error.
Additional debug info:
/home/joelz/poky/build/tmp/work/armv6-poky-linux-gnueabi/gstreamer1.0-plugins-good/1.4.5-r0/gst-plugins-good-1.4.5/gst/isomp4/qtdemux.c(4434): gst_qtdem:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstQTDemux:demux.GstPad:video_0: caps = "NULL"
/GstPipeline:pipeline0/GstQTDemux:demux.GstPad:audio_0: caps = "NULL"
Freeing pipeline ...


Thanks,
Joel

On Thu, Jun 30, 2016 at 4:05 AM, DeepakRohan <[hidden email]> wrote:
Hi Joel

In case of gstreamer-1.0, qtdemux creates pads with _%u.
Example audio_0, video_1.
In gstreamer-0.10 qtdemux creates the pads with _%02d. Like audio_00,
video_01.
Hopefully it helped you.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/qtdemux-error-streaming-stopped-reason-not-linked-tp4678289p4678326.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: qtdemux error: streaming stopped, reason not-linked

amitchawla
Hi Joel,

Yes, there could be a caps problem. Please check the video format (codec) in the .mp4 file and the capabilities of the decoder you are using.

Amit