How do I stream a live video on a display screen or monitor really quickly?
Any ideas are welcome.
First of all, you need to connect the Camera Module and enable it. To do this, run
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
raspivid -f -k -p x,y,width,height
raspivid -f -k -p 100,100,400,200