<div dir="ltr">Hi Matt,<div><br></div><div>How embarrassing: I must have edited the wrong codepath when I first tried. Did it again and it all works now.</div><div><br></div><div>Thanks for your help</div><div>Gottfried</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 13, 2016 at 3:29 AM, Matthew Waters <span dir="ltr"><<a href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 13/11/16 01:47, Gottfried Haider wrote:<br>
> Thanks for your message, Matt!<br>
><br>
> My pipeline already has a glcolorconvert after the glupload, followed<br>
> by a capsfilter element. But when I add "texture-target=2D" to the<br>
> capsfilter, the final (negotiated) caps for the file still look like<br>
> this:<br>
> "video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)640,<br>
> height=(int)359, interlace-mode=(string)<wbr>progressive,<br>
> pixel-aspect-ratio=(fraction)<wbr>1/1, framerate=(fraction)5000/167,<br>
> texture-target=(string)<wbr>rectangle"<br>
><br>
> Any ideas what to try?<br>
><br>
> I've uploaded the pipeline plot [1][2] when attempting to play that<br>
> particular file, as well as the file itself [3]. This is macOS w/<br>
> GStreamer 1.8.3.<br>
><br>
> Cheers<br>
> Gottfried<br>
><br>
> [1] <a href="https://sukzessiv.net/~gohai/gstreamer/boulez.png" rel="noreferrer" target="_blank">https://sukzessiv.net/~gohai/<wbr>gstreamer/boulez.png</a><br>
> [2] <a href="https://sukzessiv.net/~gohai/gstreamer/boulez.dot" rel="noreferrer" target="_blank">https://sukzessiv.net/~gohai/<wbr>gstreamer/boulez.dot</a><br>
> [3] <a href="https://sukzessiv.net/~gohai/gstreamer/boulez.mov" rel="noreferrer" target="_blank">https://sukzessiv.net/~gohai/<wbr>gstreamer/boulez.mov</a><br>
<br>
</span>These pipelines don't have texture-target=2D set on the capsfilter<br>
before fakesink.  glcolorconvert will output rectangle in that case.<br>
<br>
Could you show a pipeline where you set texture-target=2D please?<br>
<br>
Does the file play with gst-play-1.0?  (It does here on a mac (10.11.4)<br>
with 1.9.90).<br>
<br>
Cheers<br>
-Matt<br>
<div class="HOEnZb"><div class="h5"><br>
> On Sat, Nov 12, 2016 at 3:03 PM, Matthew Waters <<a href="mailto:ystreet00@gmail.com">ystreet00@gmail.com</a>> wrote:<br>
>> On 12/11/16 08:27, Gottfried Haider wrote:<br>
>>> I have a video file that doesn't seem to play in Processing's glvideo<br>
>>> library. (framebuffer errors, no display)<br>
>>><br>
>>> It has a MOV file extension rather than the MP4 I normally test with,<br>
>>> but there is little (if any) difference when I compare the actual<br>
>>> stream parameters in VLC. The only major difference that I see: For<br>
>>> this file, the final, negotiated caps list "texture-target:<br>
>>> rectangle", while normally I see "texture-target: 2D".<br>
>> If this is on OS X, then the zerocopy path with the VideoToolbox<br>
>> decoders will output textures with target=rectangle.  That's just what<br>
>> VideoToolbox provides and you need to deal with that yourself or force a<br>
>> conversion with glcolorconvert ! texture-target=2D.<br>
>><br>
>> Cheers<br>
>> -Matt<br>
>><br>
>>> Any idea what's going on?<br>
>>><br>
>>> Thanks<br>
>>> Gottfried<br>
<br>
</div></div></blockquote></div><br></div>