Raspberry Pi/Camera streaming: Difference between revisions

From Wiki
Line 22: Line 22:
<blockquote>
<blockquote>
<pre>
<pre>
omxplayer -n 1 --win 0,0,800,480 udp://@:5000
omxplayer --win 0,0,800,480 udp://@:5000


-n 1                # audio stream index
-win 0,0,800,480    # position of video window
-win 0,0,800,480    # position of video window
</pre>
</pre>
</blockquote>
</blockquote>

Revision as of 21:55, 19 January 2018

Raspi with camera

raspivid -a 12 -t 0 -w 1280 -h 720 -hf -ih -fps 30 -o udp://192.168.1.10:5000

-a 12        # annotate
-t 0         # timeout disabled (default=5s)
-w 1280      # width
-h 720       # height
-hf          # horizontal flip
#-vf         # vertical flip
-ih          # insert inline headers to stream
-fps 30      # frames per second
-0 udp://192.168.1.10:5000    # send stream to ip:port


Raspi with monitor

omxplayer --win 0,0,800,480 udp://@:5000

-win 0,0,800,480    # position of video window