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 |
Hi Joel,
In my case, the qtdemux pad name generated is video_0 , and not video_00 . You could give it a try. Amit |
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. |
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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 |
Free forum by Nabble | Edit this page |