Reputation: 4292
I'm trying to stream a webcam over my LAN with
ffmpeg -s 640x480 -i /dev/video2 \
-framerate 10 \
-preset ultrafast -tune zerolatency codec libx264 \
-f mpegts udp://192.168.1.237:8081
This is all fine when consumed with
ffplay -fflags nobuffer -flags low_delay -framedrop udp://192.168.1.237:8081
on the same box, but when I try to run that same ffplay
on another box on my LAN, then, nothing. Any ideas please?
Also, the following as 'client' simply hangs:
nc -u 192.168.1.237 8081 | xxd
Upvotes: -1
Views: 30
Reputation: 4292
I was misinterpreting the way ffmpeg
streams. The url udp://192.168.1.237:8081 means stream to that address. I was reading it as "create a listening socket at this URL so a stream can be consumed"
Upvotes: -1