I am looking to live stream my Raspberry Pi's desktop to YouTube. I've seen plenty of guides on streaming the Pi Camera with ffmpeg, but nothing for the desktop. Does anyone know how this could be accomplished?

1 Answer 1


You can use the source x11grab, like so:

ffmpeg     -f x11grab -s 1280x720 -framerate 30 [...]

to grab the X frame buffer.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.