Appsink Vs. Last-Sample

Matthew Waters ystreet00 at gmail.com
Wed Mar 22 10:58:43 UTC 2017



On 22/03/17 09:56, Brendan Lockhart wrote:
> >You're probably right that the major bottleneck is most likely
> copying the
> >data from the CPU to the GPU. I looked into it, and I think I can have
> >gstamcvideodec decode directly into GL memory.
> >Unfortunately when I try to do this gstamcvideodec logs:
> >"ERR amcvideodec
> >gstamcvideodec.c:1977:gst_amc_video_dec_set_format:<amcvideodec-omxexynosavcdec0>
> >Codec only supports GL output but downstream does not"
> >
> >This is despite that fact that, before that error, gstamcvideodec logs:
> >
> >"gstamcvideodec.c:1904:gst_amc_video_dec_set_format:<amcvideodec-omxexynosavcdec0>
> >Available downstream caps: video/x-raw(memory:GLMemory),
> >format=(string)RGBA, texture-target=(string)external-oes"
> >
> >Which I *believe *should intersect properly with amcvideodec's
> required GL
> >output sink caps.
> >Could this be a bug, or am I doing something wrong here?
> >This is with Gstreamer 1.10.4, and I'm setting playbin's videosink to
> >"video/x-raw(memory:GLMemory),texture-target=2D,format=RGBA ! fakesink
> >sync=1 qos=1 name=sink"

These caps don't intersect with amcvideodec's caps as they have
different texture-target fields.  amcvideodec only ever does
texture-target=external-oes.

Cheers
-Matt

> Does anyone have any suggestions on how I can figure out if this is a
> bug in my application code, or a bug in gstamcvideodec?
> Any advice or feedback would be more than appreciated.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170322/e7795c27/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 516 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170322/e7795c27/attachment-0001.sig>


More information about the gstreamer-devel mailing list