How do I stream a live video on a display screen or monitor really quickly?

Any ideas are welcome.

  • I am using this github.com/ccrisan/motioneyeos and it makes things very easy. However this is a bit of a one trick pony and is not for general use like Raspbian.It isn't clear from your question wheter that matters or not. Commented Aug 30, 2016 at 0:19
  • Hey Sami – the live video problem is tricky. Not sure if you're still looking for help with this, but we built a free, low-latency (but proprietary) video streaming solution for RPi to any browser. It uses WebRTC as the framework, so it's secure and small footprint. If you're interested, the link is in my profile! Hope this helps! Commented May 25, 2019 at 0:19

1 Answer 1


First of all, you need to connect the Camera Module and enable it. To do this, run

sudo raspi-config

and select Enable Camera Module. For more information, may I suggest reading the first section of this article.

To stream video from the Camera Module, we are going to use the preview function of raspivid. Simply type the following command:

raspivid -f -k

This will show the preview window in fullscreen (-f) mode. The window will not exit until you press x followed by Enter.

You can also specify the location and size of the preview stream by using the -p flag:

raspivid -f -k -p x,y,width,height

For example:

raspivid -f -k -p 100,100,400,200
  • 1
    This does not answer the question about streaming.
    – kwasmich
    Commented May 16, 2017 at 7:33
  • This is really well written but, per previous comments, doesn't provide a means to stream the video (I'm taking the 'normal' definition of streaming, i.e. transporting over a network stream to a second device).
    – goobering
    Commented May 16, 2017 at 8:01

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.