Closed
Description
Hi, I'm encountering a problem with patched FFmpeg and oneVPL when using pixel format X2RGB10/A2RGB10. Something is performing unwanted RGB->YUV conversion but pretending that the output stream is in RGB. I'd like to have a 10-bit RGB HEVC, anyways. Steps to reproduce:
ffmpeg -f lavfi -i smptebars -pix_fmt x2rgb10le -t 1 -c:v hevc_qsv rgb10.mp4
ffplay rgb10.mp4 # <- colors are shifted here; it has been converted to YUV but displayed as RGB
# mediainfo '--Output=Video;%ColorSpace%' rgb10.mp4 # confirms RGB
I am using this repo submodule FFmpeg with patches applied. iGPU is the one integrated on Intel i7-1260P. Upstream graphics libraries are installed as described here.
I've tried also "bgra" pixfmt but it says it is unsupported. vuyx and xv30le were OK (but encoding YCbCr obviously).
Metadata
Metadata
Assignees
Labels
No labels