Hello,
I'm trying to implement a video player on Weston using interface linux_dmabuf. The problem I see is that the pixel formats are not compatible with VPU decoder format (NV12). See available pixel formats in linux_dmabuf in Weston:
interface: 'zwp_linux_dmabuf_v1', version: 3, name: 11
formats:
'BA24'(0x34324142), modifier: 0x0000000000000000
'RA24'(0x34324152), modifier: 0x0000000000000000
'AB24'(0x34324241), modifier: 0x0000000000000000
'AR24'(0x34325241), modifier: 0x0000000000000000
'BA24'(0x34324142), modifier: 0x0000000000000000
'RX24'(0x34325852), modifier: 0x0000000000000000
'XB24'(0x34324258), modifier: 0x0000000000000000
'XR24'(0x34325258), modifier: 0x0000000000000000
'BG16'(0x36314742), modifier: 0x0000000000000000
'RG16'(0x36314752), modifier: 0x0000000000000000
'AB15'(0x35314241), modifier: 0x0000000000000000
'AR15'(0x35315241), modifier: 0x0000000000000000
'XB15'(0x35314258), modifier: 0x0000000000000000
'XR15'(0x35315258), modifier: 0x0000000000000000
'AB12'(0x32314241), modifier: 0x0000000000000000
'AR12'(0x32315241), modifier: 0x0000000000000000
'XB12'(0x32314258), modifier: 0x0000000000000000
'XR12'(0x32315258), modifier: 0x0000000000000000
'GR88'(0x38385247), modifier: 0x0000000000000000
'R8 '(0x20203852), modifier: 0x0000000000000000
At the same time I'm seeing that gstreamer with waylandsink is unable to use accelerated video display due to the same reason: "waylandsink wlvideoformat.c:137:gst_video_format_to_wl_dmabuf_format: wayland dmabuf video format not found". The kmssink video sink works fine, but I need Wayland.
Am I doing something wrong? Is video supported in Weston?
Best regards,
Santiago Otero
Hi Santiago,
Video processing is not supported by Weston in this moment you will have to wait until next release, or follow using kmssink.
Regards