> On Feb 7, 2024, at 04:51, Michael Koch <astroelectro...@t-online.de> wrote: > > I didn't notice any problems with -f sdl2. I just tested again with Windows > 11 and the latest FFmpeg build from Gyan, just 2 days old. > > ffmpeg -re -f lavfi -i testsrc2=s=800x600 -t 10 -f sdl2 - > > Works without any problems.
It works until move or resize the window. As far as I know, it’s broken on Linux/macOS/Windows, so not “works without any problems”. SDL should be run in main thread, that’s all, although we can do render in separate thread with vulkan. It’s easy to create a video sink filter to do render, and setup a window on fftools/ffmpeg main thread, or implement the whole preview task just inside fftools. Not everyone agrees on the preview feature with ffmpeg, not to mention libSDL. > > Michael > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".