[FFmpeg-user] Sometimes, ffplay fails showing raw video received over LAN

Moritz Barsnick barsnick at gmx.net
Tue May 11 16:02:37 EEST 2021


Hi Thomas,

On Tue, May 11, 2021 at 14:40:40 +0200, FFmpeg user discussions wrote:
> I grab video on a Raspberry Pi, host 1,  and sends raw video to another
> host, host 2, on the same LAN:
>
> Host 1:
>
> export FPS=5; export W=352; export H=240; \
>
> raspividyuv -t 0 -n -v -hf --exposure sports -fps ${FPS} -w ${W} -h ${H} -p
> 800,50,${W},${H} -o - | \
>
> ffmpeg -f rawvideo -video_size ${W}x${H} -r ${FPS} -i pipe:0 -f rawvideo
> udp://192.168.1.29:7000
[...]
> Every now and then video looks bad. I.e.. color is bad or there is unwanted
> pattern on the video.

Have you tried wrapping the video in nut or matroska containers?

Moritz


More information about the ffmpeg-user mailing list