[FFmpeg-devel] [PATCH] swscale/input: add VUYA input support

Philip Langdale philipl at overt.org
Fri Aug 5 02:45:48 EEST 2022


On Thu,  4 Aug 2022 19:18:19 -0300
James Almer <jamrial at gmail.com> wrote:

> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libswscale/input.c | 35 +++++++++++++++++++++++++++++++++++
>  libswscale/utils.c |  1 +
>  2 files changed, 36 insertions(+)

This appears to work fine, but in the testing process I've realised
that `ffmpeg` is not handling vaapi correctly and somehow requesting an
incompatible surface pool, so I did all my testing with mpv, where
everything works.

I tested by explicitly loading the lavfi format filter to convert to
yuva444p. Before your change, I got an error and after your change, mpv
gave me correct looking output.

--phil


More information about the ffmpeg-devel mailing list