2017年5月2日 星期二

[RPi] Streaming

超簡單 streaming (會延遲約 10s)

On the pi:
raspivid -t 0 -o - | nc -l -p 2222
(-p: choose any port higher than 1023)

In VLC: open network stream:
tcp://192.168.2.2:2222
add in options: :demux=h264
ex: vlc tcp://192.168.2.2:2222 :demux=h264 :file-caching=100

reference:
* https://www.groovypost.com/howto/change-vlc-streaming-buffer/
* https://hmbd.wordpress.com/2016/08/01/raspberry-pi-video-and-audio-recording-and-streaming-guide/

沒有留言: