[FFmpeg-devel] [PATCH v2 1/2] avdevice: deprecate opengl outdev

Jan Ekström jeebjp at gmail.com
Mon Feb 26 18:47:58 EET 2024


On Wed, Feb 21, 2024 at 1:34 PM J. Dekker <jdek at itanimul.li> wrote:
>
> Signed-off-by: J. Dekker <jdek at itanimul.li>
> ---
>  doc/outdevs.texi            |  2 +-
>  libavdevice/opengl_enc.c    | 11 +++++++++++
>  libavdevice/version_major.h |  2 ++
>  3 files changed, 14 insertions(+), 1 deletion(-)

As during FOSDEM there seemed to be a consensus that we should move to
removing this, I agree with the idea behind this patch.

Additionally, both during FOSDEM as well as right now I successfully
built this module on Fedora 39 and tried `ffmpeg -v verbose -re -i
"https://megumin.fushizen.eu/videos/HidamariHoneycombED.mp4" -vf
scale=w=640:h=360,format=yuv420p -map 0:v -f sdl "SDL output"` and it
seems like while a 0x0 (?) window is created (without any decorations
- so you only notice it when you alt-tab), it does not seem to show up
on the desktop. So while it seemingly works with RGB input on Windows,
at least rgb24 didn't work on Fedora, either. yuyv422 and uyvy422
failed completely and the out device didn't take them in (which is
probably an SDL2 limitation?).

Regards,
Jan


More information about the ffmpeg-devel mailing list