Raspberry Pi/Camera streaming: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 4: Line 4:
<pre>
<pre>
raspivid -a 12 -t 0 -w 1280 -h 720 -hf -ih -fps 30 -o udp://192.168.1.10:5000
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
</pre>
</pre>
</blockquote>
</blockquote>

Revision as of 18:15, 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 -n -1 --win 384,336,1920,1200 udp://@:5000