On Wed, 24 Feb 2021 at 18:11, KRISHNAKUMAR N K <[email protected]> wrote:
> On Wed, 24 Feb 2021 at 17:40, Christian David <[email protected]> > wrote: > >> Generally this error means something on reception, in parallel at ffmpeg >> running you have a vlc or something like that playing the stream? The >> stream plays well ? Otherwise you can try Make a Linux service with >> autorestart and add the argument "-abort_on empty_output" at ffmpegEnviado >> do meu Galaxy >> > > Yes, the stream auto recover's in VLC but not in ffmpeg. As suggested, i > will try to use " -abort_on empty_output" > I tried using the following command, however ffmpeg, did not auto abort. Let me know if i am missing something *FFMPEG COMMAND : ffmpeg -ignore_unknown -analyzeduration 25M -probesize 50M -loglevel verbose -thread_queue_size 2048 -err_detect aggressive -fflags +nobuffer+discardcorrupt -abort_on empty_output -i udp://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1 <http://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1> -filter_complex [i:0xfb1]yadif[vout];[vout]split=1[out0];[out0]setdar=640/360[v0];[i:0xfb2]aresample=async=1:min_hard_comp=0.100000:first_pts=0[aout];[aout]asplit=1[a0] -f flv -vcodec libx264 -s 640x360 -r 25/1 -b:v 350000 -acodec libfdk_aac -ar 48000 -b:a 64000 -sc_threshold 0 -pix_fmt yuv420p -flags +global_header+cgop -profile:v baseline -level 3.0 -preset fast -nal-hrd cbr -maxrate 350000 -minrate 350000 -bufsize 700000 -g 50 -map [v0] -map [a0] rtmp://1.2.3.4:1935/live/test_feed <http://1.2.3.4:1935/live/test_feed>* *SAMPLE LOGS : * *frame=1691806 fps= 25 q=37.0 size= 3506205kB time=18:47:52.68 bitrate= 424.4kbits/s speed= 1x ^Mudp://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1 <http://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1>: corrupt decoded frame in stream 0 Last message repeated 10 timesframe=1691820 fps= 25 q=35.0 size= 3506222kB time=18:47:53.24 bitrate= 424.4kbits/s speed= 1x ^Mudp://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1 <http://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1>: corrupt decoded frame in stream 0 Last message repeated 12 timesframe=1691834 fps= 25 q=34.0 size= 3506240kB time=18:47:53.80 bitrate= 424.4kbits/s speed= 1x ^Mudp://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1 <http://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1>: corrupt decoded frame in stream 0 Last message repeated 11 timesframe=1691846 fps= 25 q=34.0 size= 3506294kB time=18:47:54.28 bitrate= 424.4kbits/s speed= 1x ^Mudp://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1 <http://230.1.1.9:9000?fifo_size=10000000&overrun_nonfatal=1>: corrupt decoded frame in stream 0* *Thanks * *Krishnakumar* > -------- Mensagem original --------De : KRISHNAKUMAR N K < >> [email protected]> Data: 24/02/2021 08:57 (GMT-03:00) Para: >> FFmpeg user questions <[email protected]> Assunto: [FFmpeg-user] >> BER TOO HIGH Hi Guys,I am trying to convert a UDP input to a RTMP live >> stream, whenever thereare any alarm's like (*BER Too High on DVB-S/S2 In >> Port 3*) on the IRD end,ffmpeg hangs and stop's feed push, it stops >> printing the log lines as well.Not sure how to handle this issue. At >> present, I am stopping and startingthe conversion for recovery. If someone >> can help me the context of theissue, that would be great*Complete Logs :* >> https://pastebin.com/qUagbwK4*Sample Logs: *[mpeg2video @ 0x4efdd40] >> MT_DMV in progressive_sequence[mpeg2video @ 0x4efdd40] 00 motion_type at 0 >> 274[mpeg2video @ 0x4efdd40] 00 motion_type at 0 403[mpeg2video @ 0x4efdd40] >> 00 motion_type at 3 287[mpeg2video @ 0x4efdd40] 00 motion_type at 0 >> 276[mpeg2video @ 0x4efdd40] 00 motion_type at 0 277[mpeg2video @ 0x4efdd40] >> 00 motion_type at 0 278[mpeg2video @ 0x4efdd40] 00 motion_type at 0 >> 279[mpeg2video @ 0x4efdd40] 00 motion_type at 0 408[mpeg2video @ 0x4efdd40] >> mb incr damaged[mpeg2video @ 0x4efdd40] 00 motion_type at 0 289[mpeg2video >> @ 0x4efdd40] MT_DMV in progressive_sequence[mpeg2video @ 0x4efdd40] 00 >> motion_type at 3 281[mpeg2video @ 0x4efdd40] 00 motion_type at 0 >> 282[mpeg2video @ 0x4efdd40] MT_DMV in progressive_sequence[mpeg2video @ >> 0x4efdd40] Warning MVs not available*ffmpeg Command :*ffmpeg -y -v error >> -progress tcp://127.0.0.1:39953 -i udp:// >> 230.1.1.4:10000?fifo_size=10000000&overrun_nonfatal=1 >> -filter_complex[i:0x1171]yadif[vout];[vout]split=1[out0];[out0]setdar=1280/720[v0];[i:0x1239]aresample=async=1:min_hard_comp=0.100000:first_pts=0[aout];[aout]asplit=1[a0]-f >> flv -vcodec h264_nvenc -s 1280x720 -r 25/1 -b:v 1500000 -acodeclibfdk_aac >> -ar 48000 -b:a 128000 -gpu 1 -sc_threshold 0 -pix_fmt yuv420p-flags >> +global_header+cgop -profile:v high -level 3.2 -preset fast -rc:vcbr >> -maxrate 1500000 -minrate 1500000 -bufsize 3000000 -g 50 -map [v0] -map[a0] >> rtmp://ipaddress/feed_pathThanks*KrishnaKumar **N >> K*_______________________________________________ffmpeg-user mailing >> [email protected]:// >> ffmpeg.org/mailman/listinfo/ffmpeg-userTo unsubscribe, visit link above, >> or [email protected] with subject "unsubscribe". >> _______________________________________________ >> ffmpeg-user mailing list >> [email protected] >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> [email protected] with subject "unsubscribe". > > _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
