GL: texture-target: rectangle vs texture-target: 2D

Matthew Waters ystreet00 at gmail.com
Sat Nov 12 14:03:46 UTC 2016


On 12/11/16 08:27, Gottfried Haider wrote:
> I have a video file that doesn't seem to play in Processing's glvideo
> library. (framebuffer errors, no display)
>
> It has a MOV file extension rather than the MP4 I normally test with,
> but there is little (if any) difference when I compare the actual
> stream parameters in VLC. The only major difference that I see: For
> this file, the final, negotiated caps list "texture-target:
> rectangle", while normally I see "texture-target: 2D".

If this is on OS X, then the zerocopy path with the VideoToolbox
decoders will output textures with target=rectangle.  That's just what
VideoToolbox provides and you need to deal with that yourself or force a
conversion with glcolorconvert ! texture-target=2D.

Cheers
-Matt

> Any idea what's going on?
>
> Thanks
> Gottfried

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161113/2e1801bd/attachment.sig>


More information about the gstreamer-devel mailing list