how to render androidmedia's output yuv(NV12) without converting RGBA?

Nicolas Dufresne nicolas.dufresne at gmail.com
Mon Mar 7 16:24:12 UTC 2016


Le lundi 07 mars 2016 à 03:31 -0800, luckychou a écrit :
> In Android 4.4, I use the androidmedia(playbin2 automatically linked)
> plugin
> to decode the H264 , and output format is NV12, but always
>  " Frame is too late, dropping (deadline 0:00:00.031337867)"
> 
> I think it should be caused by the NV12=>RGBA conversion,
> -------------------------
> GStreamer+glconvert: 0:01:19.776569413 0x62ecfa30
> gstglcolorconvert.c:1317:_init_convert Initializing color conversion
> from
> NV12 to RGBA
> -------------------------
> 
> My device supports YUV direct output,so, how can I do to force
> render(glimagesink ?,) to direct  output  NV12, and to avoid
> NV12=>RGBA
> transform ?

The zero-copy display path should just work in 1.8.0+, which is to be
released soon. Meanwhile it's good time to build from git master and
report if you are having issues.

cheers,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160307/8ba02a82/attachment.sig>


More information about the gstreamer-devel mailing list