[FFmpeg-user] UDP multicast mosaic stream stops

Ulziisaikhan L ulzii.ict at gmail.com
Mon Apr 21 10:30:38 CEST 2014


dear all,


I'm streaming mosaic from UDP multicast.
mosaic have 6 and 4 windows but both of them stream normally up to 2 day.
actually 6 streams overloading buffer then I reduced 4 stream but still
terminated. any idea ?


*4 window mosaic stream*
/root/bin/ffmpeg -f mpegts -i 'udp://
238.1.1.111:8001?fifo_size=1000000&overrun_nonfatal=1' -i 'udp://
238.1.1.15:8001?fifo_size=1000000&overrun_nonfatal=1' -i 'udp://
238.1.1.40:8001?fifo_size
=1000000&overrun_nonfatal=1' -i 'udp://
238.1.1.45:8001?fifo_size=1000000&overrun_nonfatal=1' -filter_complex
"nullsrc=size=1024x600 [base]; [0:v] setpts=PTS-STARTPTS, scale=512x300
[upperleft
]; [1:v] setpts=PTS-STARTPTS, scale=512x300 [upperright]; [2:v]
setpts=PTS-STARTPTS, scale=512x300 [lowerleft]; [3:v] setpts=PTS-STARTPTS,
scale=512x300 [lowerright]; [base][upperleft] overla
y=shortest=1 [tmp1]; [tmp1][upperright] overlay=shortest=1:x=512 [tmp2];
[tmp2][lowerleft] overlay=shortest=1:y=300 [tmp3]; [tmp3][lowerright]
overlay=shortest=1:x=512:y=300" -strict experime
ntal -vcodec libx264 -preset ultrafast -profile:v main -an -f mpegts udp://
238.1.1.42:8001?pkt_size=1316


*6 windows mosaic stream*
/root/bin/ffmpeg -f mpegts -i 'udp://
238.1.1.111:8001?fifo_size=1000000&overrun_nonfatal=1' -i 'udp://
238.1.1.27:8001?fifo_size=1000000&overrun_nonfatal=1' -i 'udp://
238.1.1.15:8001?fifo_size
=1000000&overrun_nonfatal=1' -i 'udp://
238.1.1.124:8001?fifo_size=1000000&overrun_nonfatal=1' -i 'udp://
238.1.1.14:8001?fifo_size=1000000&overrun_nonfatal=1' -i 'udp://
238.1.1.40:8001?fifo_si
ze=1000000&overrun_nonfatal=1' -filter_complex "nullsrc=size=1024x600
[base]; [0:v] setpts=PTS-STARTPTS, scale=341x300 [upperleft]; [1:v]
setpts=PTS-STARTPTS, scale=341x300 [uppermiddle]; [2:
v] setpts=PTS-STARTPTS, scale=341x300 [upperright]; [3:v]
setpts=PTS-STARTPTS, scale=341x300 [lowerleft]; [4:v] setpts=PTS-STARTPTS,
scale=341x300 [lowermiddle]; [5:v] setpts=PTS-STARTPTS, sc
ale=341x300 [lowerright]; [base][upperleft] overlay=shortest=1 [tmp1];
[tmp1] [uppermiddle] overlay=shortest=1:x=341 [tmp2]; [tmp2] [upperright]
overlay=shortest=1:x=682 [tmp3]; [tmp3] [lower
left] overlay=shortest=1:y=300 [tmp4]; [tmp4] [lowermiddle]
overlay=shortest=1:x=341:y=300 [tmp5]; [tmp5] [lowerright]
overlay=shortest=1:x=682:y=300" -strict experimental -vcodec libx264 -pr
eset ultrafast -profile:v main -an -f mpegts udp://
238.1.1.42:8001?pkt_size=1316


thank a lot
Ulzii


More information about the ffmpeg-user mailing list