https://stackoverflow.com/questions/40689505/capturing-and-streaming-with-ffmpeg-while-displaying-locally
ffmpeg -f x11grab [grab parameters] -i :0.0 \ [transcode parameters] -f [transcode output] \ -f opengl "Window title"