I just realized there is already an open bug about it : <a href="https://bugzilla.gnome.org/show_bug.cgi?id=593165">https://bugzilla.gnome.org/show_bug.cgi?id=593165</a><br><br><div class="gmail_quote">2010/3/23 Roland Peffer <span dir="ltr">&lt;<a href="mailto:gdevel@clixxun.com">gdevel@clixxun.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div>Hi Julien,</div><div><br></div><div>you are right!  I just tried it....</div>
<div><br></div><div>feeding glupload with an  pixel-aspect-ratio that is not 1/1 lets the pipeline fail.</div><div><br></div><div>Seems to be a bug in glupload, since linking with glimagesink without glupload in advance works fine.</div>
<div><br></div><div>Thx ,</div><div>Roland</div><div><br></div><div><br></div><div>gst-launch -v videotestsrc ! video/x-raw-yuv,format=\(fourcc\)I420,width=720,height=576,pixel-aspect-ratio=\(fraction\)64/45,framerate=\(fraction\)25/1,interlaced=true ! glupload ! glimagesink</div>
<div><br></div><div><br></div>gst-launch -v videotestsrc ! video/x-raw-yuv,format=\(fourcc\)I420,width=720,height=576,framerate=\(fraction\)25/1,interlaced=true ! glupload ! glimagesink<div><div></div><div class="h5"><div>
<br></div><div><br></div><div><br></div><div><br><div><div>On 23.03.2010, at 12:23, Julien Isorce wrote:</div><br>Hi,<br><br>I think this is due to the pixel aspect ratio that is not handled correctly by glupload.<br><br>
Could you try to reproduce the pb using videotestsrc (and playing with caps (aspect ratio, framerate etcc)<br><br>Sincerely<br>
Julien<br><br><div class="gmail_quote">2010/3/23 Roland Peffer <span dir="ltr">&lt;<a href="mailto:gdevel@clixxun.com" target="_blank">gdevel@clixxun.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi,<br>
<br>
I have a strange behavior regarding the glupload plugin.<br>
<br>
If I run:<br>
&gt; gst-launch -v filesrc location=&#39;/home/rpeffer/Videos/rec.mpeg&#39; ! decodebin  ! queue max-size-buffers=0 max-size-time=0 ! glimagesink<br>
all works fine.<br>
<br>
But I want to use glupload to make use of the gldeinterlace plugin as well, so I tried<br>
<br>
st-launch -v filesrc location=&#39;/home/rpeffer/Videos/rec.mpeg&#39; ! decodebin  ! queue max-size-buffers=0 max-size-time=0 ! glupload  ! glimagesink<br>
<br>
what as far as I understand should do the same playback. But I get an error<br>
<br>
gstbasesrc.c(2378): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:<br>
streaming task paused, reason not-negotiated (-4)<br>
ERROR: pipeline doesn&#39;t want to preroll.<br>
<br>
<br>
My first idea was that glupload may not like the interlaced flag. But even if I deinterlace the stream in advance the same error shows up.<br>
The strange thing is that on other movie files it works. The one mpeg file  I just use for testing is a recording from a USB dvb-t dongle.<br>
<br>
Anyway, the question I have is why can it be that with only glimagesink the pipeline works without problems, but with glupload before glimagesink the pipeline won&#39;t run.<br>
<br>
Any hints are mostly welcome!<br>
<br>
Roland<br>
<br>
<br>
PS The compete gst-luanch output is listed below:<br>
<br>
<br>
<br>
--------------------------------------------------- this works -------------------------------------------------<br>
$ gst-launch -v filesrc location=&#39;/home/rpeffer/Videos/rec.mpeg&#39; ! decodebin  ! queue max-size-buffers=0 max-size-time=0 ! glimagesink<br>
<br>
(gst-launch-0.10:20605): GLib-WARNING **: g_set_prgname() called multiple times<br>
Setting pipeline to PAUSED ...<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/mpeg, systemstream=(boolean)false, mpegversion=(int)1<br>
Pipeline is PREROLLING ...<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/MpegVideoParse:mpegvideoparse0.GstPad:sink: caps = video/mpeg, systemstream=(boolean)false, mpegversion=(int)1<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/MpegVideoParse:mpegvideoparse0.GstPad:src: caps = video/mpeg, systemstream=(boolean)false, parsed=(boolean)true, mpegversion=(int)2, width=(int)720, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)64/45, interlaced=(boolean)true, codec_data=(buffer)000001b32d024033249f23821022222e262e383838383e3e4a444a545454505050585a5a5a6262627c7c7c6a6a6a626274748080888894a6a098989498b4b4bebebef8f8eeef3d3d47a9a9ff1111111713171c1c1c1c1f1f2522252a2a2a2828282c2d2d2d3131313e3e3e35353531313a3a404044444a53504c4c4a4c5a5a5f5f5f7c7c77779e9ea3d4d4ff000001b5148200010000<br>


/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpeg2dec:mpeg2dec0.GstPad:sink: caps = video/mpeg, systemstream=(boolean)false, parsed=(boolean)true, mpegversion=(int)2, width=(int)720, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)64/45, interlaced=(boolean)true, codec_data=(buffer)000001b32d024033249f23821022222e262e383838383e3e4a444a545454505050585a5a5a6262627c7c7c6a6a6a626274748080888894a6a098989498b4b4bebebef8f8eeef3d3d47a9a9ff1111111713171c1c1c1c1f1f2522252a2a2a2828282c2d2d2d3131313e3e3e35353531313a3a404044444a53504c4c4a4c5a5a5f5f5f7c7c77779e9ea3d4d4ff000001b5148200010000<br>


/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)64/45, framerate=(fraction)25/1, interlaced=(boolean)true<br>


/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpeg2dec:mpeg2dec0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)64/45, framerate=(fraction)25/1, interlaced=(boolean)true<br>


/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)64/45, framerate=(fraction)25/1, interlaced=(boolean)true<br>


/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0.GstProxyPad:proxypad1: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)64/45, framerate=(fraction)25/1, interlaced=(boolean)true<br>


/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)64/45, framerate=(fraction)25/1, interlaced=(boolean)true<br>
/GstPipeline:pipeline0/GstGLImageSink:glimagesink0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)64/45, framerate=(fraction)25/1, interlaced=(boolean)true<br>


Pipeline is PREROLLED ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
Got EOS from element &quot;pipeline0&quot;.<br>
Execution ended after 15320225883 ns.<br>
Setting pipeline to PAUSED ...<br>
Setting pipeline to READY ...<br>
/GstPipeline:pipeline0/GstGLImageSink:glimagesink0.GstPad:sink: caps = NULL<br>
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL<br>
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpeg2dec:mpeg2dec0.GstPad:src: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpeg2dec:mpeg2dec0.GstPad:sink: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/MpegVideoParse:mpegvideoparse0.GstPad:src: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/MpegVideoParse:mpegvideoparse0.GstPad:sink: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL<br>
Setting pipeline to NULL ...<br>
Freeing pipeline ...<br>
<br>
<br>
--------------------------------------------------- this fails -------------------------------------------------<br>
&gt;$ gst-launch -v filesrc location=&#39;/home/rpeffer/Videos/rec.mpeg&#39; ! decodebin  ! queue max-size-buffers=0 max-size-time=0 ! glupload  ! glimagesink<br>
<br>
(gst-launch-0.10:20595): GLib-WARNING **: g_set_prgname() called multiple times<br>
Setting pipeline to PAUSED ...<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/mpeg, systemstream=(boolean)false, mpegversion=(int)1<br>
Pipeline is PREROLLING ...<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/MpegVideoParse:mpegvideoparse0.GstPad:sink: caps = video/mpeg, systemstream=(boolean)false, mpegversion=(int)1<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/MpegVideoParse:mpegvideoparse0.GstPad:src: caps = video/mpeg, systemstream=(boolean)false, parsed=(boolean)true, mpegversion=(int)2, width=(int)720, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)64/45, interlaced=(boolean)true, codec_data=(buffer)000001b32d024033249f23821022222e262e383838383e3e4a444a545454505050585a5a5a6262627c7c7c6a6a6a626274748080888894a6a098989498b4b4bebebef8f8eeef3d3d47a9a9ff1111111713171c1c1c1c1f1f2522252a2a2a2828282c2d2d2d3131313e3e3e35353531313a3a404044444a53504c4c4a4c5a5a5f5f5f7c7c77779e9ea3d4d4ff000001b5148200010000<br>


/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpeg2dec:mpeg2dec0.GstPad:sink: caps = video/mpeg, systemstream=(boolean)false, parsed=(boolean)true, mpegversion=(int)2, width=(int)720, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)64/45, interlaced=(boolean)true, codec_data=(buffer)000001b32d024033249f23821022222e262e383838383e3e4a444a545454505050585a5a5a6262627c7c7c6a6a6a626274748080888894a6a098989498b4b4bebebef8f8eeef3d3d47a9a9ff1111111713171c1c1c1c1f1f2522252a2a2a2828282c2d2d2d3131313e3e3e35353531313a3a404044444a53504c4c4a4c5a5a5f5f5f7c7c77779e9ea3d4d4ff000001b5148200010000<br>


/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)64/45, framerate=(fraction)25/1, interlaced=(boolean)true<br>


/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpeg2dec:mpeg2dec0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)64/45, framerate=(fraction)25/1, interlaced=(boolean)true<br>


ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error.<br>
Additional debug info:<br>
gstbasesrc.c(2378): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:<br>
streaming task paused, reason not-negotiated (-4)<br>
ERROR: pipeline doesn&#39;t want to preroll.<br>
Setting pipeline to NULL ...<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpeg2dec:mpeg2dec0.GstPad:src: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpeg2dec:mpeg2dec0.GstPad:sink: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/MpegVideoParse:mpegvideoparse0.GstPad:src: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/MpegVideoParse:mpegvideoparse0.GstPad:sink: caps = NULL<br>
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL<br>
Freeing pipeline ...<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Download Intel&amp;#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>
------------------------------------------------------------------------------<br>Download Intel&amp;#174; Parallel Studio Eval<br>Try the new software tools for yourself. Speed compiling, find bugs<br>proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br><a href="http://p.sf.net/sfu/intel-sw-dev_______________________________________________" target="_blank">http://p.sf.net/sfu/intel-sw-dev_______________________________________________</a><br>
gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div><br></div></div></div></div><br>------------------------------------------------------------------------------<br>
Download Intel&amp;#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>