Pipe video stream from raspberry pi to local computer with ffplay
- 30 Jul 2017: Post was created (diff)
I use this to get a live video stream from my Raspberry Pi with Camera attached
Execute this on the Pi, where TARGET_IP
is my local computer where I will watch the stream, and PORT
is an arbitrary port number.
$ raspivid -t 999999 -o - | nc -u $TARGET_IP $PORT
Execute this on the local computer where you will watch the video stream
$ nc -ul $PORT | ffplay -
References
man ffplay
man nc
- https://www.raspberrypi.org/blog/camera-board-available-for-sale/
- https://blog.philippklaus.de/2013/06/using-the-raspberry-pi-camera-board-on-arch-linux-arm/
If you have any comments or feedback, please send me an e-mail. (stig at stigok dotcom).
Did you find any typos, incorrect information, or have something to add? Then please propose a change to this post.