gstreamer use waylandsink can not support NV12 format ?

Nicolas Dufresne nicolas at ndufresne.ca
Wed Jan 11 18:44:44 UTC 2017


Le mercredi 11 janvier 2017 à 09:24 -0800, kevan.lan a écrit :
> # gst-launch-1.0 videotestsrc !
> video/x-raw,format=NV12,height=1920,width=1080 ! waylandsink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element
> /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
> Internal data flow error.
> Additional debug info:
> gstbasesrc.c(2948): gst_base_src_loop ():
> /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
> streaming task paused, reason not-negotiated (-4)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
> 
> What might be the problem? How to fix it?

Weston 1.11 only support RGB formats when rendering through wl_shm. Run
weston-info, and look for the line about wl_shm, you'll see. Git master
 of weston now uses the GL Render and Shaders to support some YUV
formats. Though, this seems unstable, cause visual artefact and
sometimes Weston crash.

To fix the problem, you'll have to work with Weston developers and fix
this feature.

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/20170111/35c21c66/attachment.sig>


More information about the gstreamer-devel mailing list