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

Zhao Zhili quinkblack at foxmail.com
Tue Feb 27 03:42:09 EET 2024


> 在 2024年2月27日,上午12:47,Jan Ekström <jeebjp at gmail.com> 写道:
> 
> 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?).

There are at least two version of patches trying to fix the issue, two version of patches to depreciate/remove the module, and a dedicated thread try to resolve this issue. Please refer to those thread to figure out what’s working and what’s not.

> 
> Regards,
> Jan
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.



More information about the ffmpeg-devel mailing list