Pipe video stream from raspberry pi to local computer with ffplay

Revision history
Tags: arch linux arm raspberrypi ffmpeg ffplay video

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

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.

Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.