How to run ffplay as a window-less process?

Viewed 13493

I am running ffplay as a background process which supplies image data to my main UI process. I have set "SDL_VIDEODRIVER = dummy" to suppress the ffplay video being shown in a SDL window.

The issue is that the ffplay process still appears as an application window (dock, CMD+TAB entries etc.) even if the video output window is not displayed. How can I avoid that?

2 Answers

The option -nodisp worked fine for me (together with -autoexit).

Tested in a Ubuntu 18.04, ffmpeg 3.4.6:

ffplay -f lavfi -i "sine=frequency=1000:duration=5" -autoexit -nodisp

Source: [FFmpeg-user] ffplay for audio only

Related