Hi All,
I'm using a 2x2 mosaic with four live UDP input streams and I was wondering
how to make the mosaic work, even if one of the input channels isn't
working. Is it possible?
The FFmpeg simply stalls waiting for the input stream. And the UDP timeout
raises an error.
ffmpeg -i udp://239.192.11.111:1234 -i udp://239.192.11.112:1234 -i
udp://239.192.11.113:1234 -i udp://239.192.11.114:1234 -filter_complex
"nullsrc=size=640x480 [base]; [0:v] setpts=PTS-STARTPTS, scale=320x240
[upperleft]; [1:v] setpts=PTS-STARTPTS, scale=320x240 [upperright]; [2:v]
setpts=PTS-STARTPTS, scale=320x240 [lowerleft]; [3:v] setpts=PTS-STARTPTS,
scale=320x240 [lowerright]; [base][upperleft] overlay=shortest=1 [tmp1];
[tmp1][upperright] overlay=shortest=1:x=320 [tmp2]; [tmp2][lowerleft]
overlay=shortest=1:y=240 [tmp3]; [tmp3][lowerright]
overlay=shortest=1:x=320:y=240" -c:v libx264 udp://239.192.111.1:1234
Regards,
Nuno
--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".