DEV Community

Indigo Norrbottenspets
Indigo Norrbottenspets

Posted on

Video streaming in Netcat

Server (192.168.1.9)

$ cat video.avi | nc -l 8000
Enter fullscreen mode Exit fullscreen mode

Client

$ nc 192.168.1.9 8000 | mplayer -vo x11 -cache 3000 -
Enter fullscreen mode Exit fullscreen mode

Streaming video with netcat

Useful links

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more