Hi,

We are seeing a black screen with complete audio and video loss with muxing
error continuously when we enable debug logs. We had observed initially
there were few seconds of audio loss in input and it recovered after a few
seconds and from there, FFmpeg was not able to handle it and saw a blank
screen. Even we tried with -vsync 0 but faced the same issue.

Pls, let us know if we need to add any flag to resolve this issue or some
workaround. Currently, we are restarting to resolve the issue.


This is the command we are using.

ffmpeg -y -v debug -analyzeduration 25M -probesize 50M -thread_queue_size
2048 -err_detect aggressive -fflags +discardcorrupt -abort_on
empty_output_stream -i "udp://
126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1" -filter_complex
"[i:0xfa1]yadif[vout];[vout]split=1[out0];[out0]setdar=640/360[v0];[i:0xfa2]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 300000 -acodec libfdk_aac
-ar 48000 -b:a 64000 -sc_threshold 0 -pix_fmt yuv420p -flags
+global_header+cgop -profile:v main -level 3.1 -preset fast -nal-hrd cbr
-maxrate 300000 -minrate 300000 -bufsize 600000 -g 50 -map [v0] -map [a0]
rtmp://testmachine.lab2.com:1853/rtmp/push

*Sample logs:*

udp://126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1: corrupt
decoded frame in stream 2
[h264 @ 0x52a3740] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x52a3740] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x52a3740] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[libx264 @ 0x4ae3a80] frame=117535 QP=30.22 NAL=2 Slice:P Poc:70  I:17
P:92   SKIP:811  size=622 bytes
[NULL @ 0x4755040] ct_type:0 pic_struct:2
[h264 @ 0x588c0c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x588c0c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x588c0c0] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[h264 @ 0x588c0c0] ct_type:0 pic_struct:2
[NULL @ 0x4755040] ct_type:0 pic_struct:1
udp://126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1: corrupt
decoded frame in stream 2
[h264 @ 0x4d7c640] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x4d7c640] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x4d7c640] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[libx264 @ 0x4ae3a80] frame=117536 QP=31.80 NAL=2 Slice:P Poc:74  I:276
 P:112  SKIP:532  size=1644 bytes
[NULL @ 0x4755040] ct_type:0 pic_struct:2
[h264 @ 0x56e97c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x56e97c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x56e97c0] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[h264 @ 0x56e97c0] ct_type:0 pic_struct:2
[NULL @ 0x4755040] ct_type:0 pic_struct:1
udp://126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1: corrupt
decoded frame in stream 2
[h264 @ 0x510d240] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x510d240] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x510d240] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 1
[libx264 @ 0x4ae3a80] frame=117537 QP=38.76 NAL=0 Slice:B Poc:72  I:9
 P:63   SKIP:846  size=278 bytes
[NULL @ 0x4755040] ct_type:0 pic_struct:2
[h264 @ 0x4a97c40] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x4a97c40] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x4a97c40] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 1
[h264 @ 0x4a97c40] ct_type:0 pic_struct:2
[NULL @ 0x4755040] ct_type:0 pic_struct:1
udp://126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1: corrupt
decoded frame in stream 2
[h264 @ 0x47307c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x47307c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x47307c0] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 1
[libx264 @ 0x4ae3a80] frame=117538 QP=33.43 NAL=2 Slice:P Poc:76  I:299
 P:45   SKIP:576  size=1860 bytes
[NULL @ 0x4755040] ct_type:0 pic_struct:2
[h264 @ 0x4ae3f80] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x4ae3f80] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x4ae3f80] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 1
[h264 @ 0x4ae3f80] ct_type:0 pic_struct:2
[NULL @ 0x4755040] ct_type:0 pic_struct:1
udp://126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1: corrupt
decoded frame in stream 2
[h264 @ 0x47d8840] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x47d8840] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x47d8840] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[libx264 @ 0x4ae3a80] frame=117539 QP=31.99 NAL=2 Slice:P Poc:78  I:272
 P:142  SKIP:506  size=1587 bytes
[NULL @ 0x4755040] ct_type:0 pic_struct:2
[h264 @ 0x4ad5fc0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x4ad5fc0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x4ad5fc0] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[h264 @ 0x4ad5fc0] ct_type:0 pic_struct:2
[NULL @ 0x4755040] ct_type:0 pic_struct:1
udp://126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1: corrupt
decoded frame in stream 2
[h264 @ 0x4ae6080] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x4ae6080] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x4ae6080] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[libx264 @ 0x4ae3a80] frame=117540 QP=33.66 NAL=2 Slice:P Poc:80  I:273
 P:133  SKIP:514  size=2277 bytes
[NULL @ 0x4755040] ct_type:0 pic_struct:2
[h264 @ 0x47983c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x47983c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x47983c0] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[h264 @ 0x47983c0] ct_type:0 pic_struct:2
[NULL @ 0x4755040] ct_type:0 pic_struct:1
udp://126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1: corrupt
decoded frame in stream 2
[h264 @ 0x47a11c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x47a11c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x47a11c0] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 1
[libx264 @ 0x4ae3a80] frame=117541 QP=30.70 NAL=2 Slice:P Poc:82  I:285
 P:180  SKIP:455  size=8053 bytes
[NULL @ 0x4755040] ct_type:0 pic_struct:2
[h264 @ 0x4796000] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x4796000] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x4796000] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 1
[h264 @ 0x4796000] ct_type:0 pic_struct:2
[NULL @ 0x4755040] ct_type:0 pic_struct:1
udp://126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1: corrupt
decoded frame in stream 2
[h264 @ 0x4855100] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x4855100] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x4855100] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 1
[libx264 @ 0x4ae3a80] frame=117542 QP=31.54 NAL=2 Slice:P Poc:90  I:19
P:280  SKIP:621  size=1721 bytes
[NULL @ 0x4755040] ct_type:0 pic_struct:2
[h264 @ 0x492e840] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x492e840] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x492e840] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 1
[h264 @ 0x492e840] ct_type:0 pic_struct:2
[NULL @ 0x4755040] ct_type:0 pic_struct:1
udp://126.1.12.96:9000?fifo_size=10000000&overrun_nonfatal=1: corrupt
decoded frame in stream 2
[h264 @ 0x52a3740] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x52a3740] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x52a3740] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[libx264 @ 0x4ae3a80] frame=117543 QP=36.70 NAL=2 Slice:B Poc:86  I:2
 P:52   SKIP:866  size=113 bytes
[NULL @ 0x4755040] ct_type:0 pic_struct:2
[h264 @ 0x588c0c0] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x588c0c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x588c0c0] nal_unit_type: 1(Coded slice of a non-IDR picture),
nal_ref_idc: 0
[h264 @ 0x588c0c0] ct_type:0 pic_struct:2



Regards,
Kousthub
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to