[FFmpeg-trac] #4893(undetermined:new): FFmpeg stops outputting frames unexpectedly and indefinitely on "bad" h264 over UDP stream

FFmpeg trac at avcodec.org
Tue Sep 29 15:32:03 CEST 2015


#4893: FFmpeg stops outputting frames unexpectedly and indefinitely on "bad" h264
over UDP stream
-------------------------------------+-------------------------------------
             Reporter:  superware    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  udp h264     |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by superware):

 This issue is also reproducible using ffmpeg and even programmatically
 using shared DLLs.

 The command line is: ffplay.exe udp://192.168.19.121:40002
 The console output is very large, the relevant point in time is at
 "reference count 2 overflow" and onward.

 ...
 [h264 @ 03589500] cabac decode of qscale diff failed at 3 3 f=0/0
 [h264 @ 03589500] error while decoding MB 3 3, bytestream 2921
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1498 DC, 1498 AC, 1498 MV errors in P frame
 [h264 @ 034bf860] cabac decode of qscale diff failed at 29 3f=0/0
 [h264 @ 034bf860] error while decoding MB 29 3, bytestream 15528
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1472 DC, 1472 AC, 1472 MV errors in P frame
 [h264 @ 0146edc0] SEI type 228 size 1184 truncated at 5440B f=0/0
 [h264 @ 03692ba0] SEI type 228 size 1184 truncated at 528
 [h264 @ 03692ba0] left block unavailable for requested intra mode at 0 7
 [h264 @ 03692ba0] error while decoding MB 0 7, bytestream 2690
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1325 DC, 1325 AC, 1325 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1283 DC, 1283 AC, 1283 MV errors in P frame
 [h264 @ 034bf860] Cannot use next picture in error concealment0/0
 [h264 @ 034bf860] concealing 1317 DC, 1317 AC, 1317 MV errors in P frame
 [h264 @ 03692ba0] left block unavailable for requested intra mode at 0 3
 [h264 @ 03692ba0] error while decoding MB 0 3, bytestream 8523
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1501 DC, 1501 AC, 1501 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1434 DC, 1434 AC, 1434 MV errors in P frame
 [h264 @ 034bf860] error while decoding MB 7 9, bytestream -5f=0/0
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1230 DC, 1230 AC, 1230 MV errors in P frame
 [h264 @ 03692ba0] top block unavailable for requested intra4x4 mode -1 at
 12 0
 [h264 @ 03692ba0] error while decoding MB 12 0, bytestream 2268
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1584 DC, 1584 AC, 1584 MV errors in P frame
 [h264 @ 03589500] top block unavailable for requested intra4x4 mode -1 at
 35 0
 [h264 @ 03589500] error while decoding MB 35 0, bytestream 2980
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1584 DC, 1584 AC, 1584 MV errors in P frame
 [h264 @ 034bf860] left block unavailable for requested intra mode at 0 4
 [h264 @ 034bf860] error while decoding MB 0 4, bytestream 1748
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1457 DC, 1457 AC, 1457 MV errors in P frame
 [h264 @ 03692ba0] top block unavailable for requested intra4x4 mode -1 at
 40 0
 [h264 @ 03692ba0] error while decoding MB 40 0, bytestream 4887
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1584 DC, 1584 AC, 1584 MV errors in P frame
 [h264 @ 03589500] left block unavailable for requested intra mode at 0 3
 [h264 @ 03589500] error while decoding MB 0 3, bytestream 8026
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1501 DC, 1501 AC, 1501 MV errors in P frame
 [h264 @ 034bf860] Cannot use next picture in error concealment0/0
 [h264 @ 034bf860] concealing 1434 DC, 1434 AC, 1434 MV errors in P frame
 [h264 @ 03692ba0] cabac decode of qscale diff failed at 36 2f=0/0
 [h264 @ 03692ba0] error while decoding MB 36 2, bytestream 1748
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1509 DC, 1509 AC, 1509 MV errors in P frame
 [h264 @ 03589500] top block unavailable for requested intra4x4 mode -1 at
 27 0
 [h264 @ 03589500] error while decoding MB 27 0, bytestream 19352
 [h264 @ 03589500] concealing 1584 DC, 1584 AC, 1584 MV errors in I frame
 [h264 @ 034bf860] top block unavailable for requested intra mode at 33 0
 [h264 @ 034bf860] error while decoding MB 33 0, bytestream 8177
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1584 DC, 1584 AC, 1584 MV errors in P frame
 [h264 @ 03692ba0] cabac decode of qscale diff failed at 13 2f=0/0
 [h264 @ 03692ba0] error while decoding MB 13 2, bytestream 2512
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1532 DC, 1532 AC, 1532 MV errors in P frame
 [h264 @ 03589500] left block unavailable for requested intra mode at 0 7
 [h264 @ 03589500] error while decoding MB 0 7, bytestream 1990
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1325 DC, 1325 AC, 1325 MV errors in P frame
 [h264 @ 034bf860] top block unavailable for requested intra4x4 mode -1 at
 3 0
 [h264 @ 034bf860] error while decoding MB 3 0, bytestream 13632
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1584 DC, 1584 AC, 1584 MV errors in P frame
 [h264 @ 03692ba0] left block unavailable for requested intra mode at 0 2
 [h264 @ 03692ba0] error while decoding MB 0 2, bytestream 3993
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1545 DC, 1545 AC, 1545 MV errors in P frame
 [h264 @ 03589500] error while decoding MB 27 12, bytestream -50/0
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1078 DC, 1078 AC, 1078 MV errors in P frame
 [h264 @ 034bf860] Cannot use next picture in error concealment0/0
 [h264 @ 034bf860] concealing 1330 DC, 1330 AC, 1330 MV errors in P frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 1429 DC, 1429 AC, 1429 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1401 DC, 1401 AC, 1401 MV errors in P frame
 [h264 @ 034bf860] cabac decode of qscale diff failed at 16 9f=0/0
 [h264 @ 034bf860] error while decoding MB 16 9, bytestream 1634
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1221 DC, 1221 AC, 1221 MV errors in P frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 1084 DC, 1084 AC, 1084 MV errors in P frame
 [h264 @ 03589500] left block unavailable for requested intra mode at 0 5
 [h264 @ 03589500] error while decoding MB 0 5, bytestream 1711
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
 [h264 @ 034bf860] top block unavailable for requested intra mode at 16 0
 [h264 @ 034bf860] error while decoding MB 16 0, bytestream 2851
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1584 DC, 1584 AC, 1584 MV errors in P frame
 [h264 @ 03692ba0] cabac decode of qscale diff failed at 16 10=0/0
 [h264 @ 03692ba0] error while decoding MB 16 10, bytestream 9866
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1177 DC, 1177 AC, 1177 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1447 DC, 1447 AC, 1447 MV errors in P frame
 [h264 @ 0146edc0] non-existing SPS 1 referenced in buffering period
 [h264 @ 034bf860] non-existing SPS 1 referenced in buffering period
 [h264 @ 034bf860] cabac decode of qscale diff failed at 12 2
 [h264 @ 034bf860] error while decoding MB 12 2, bytestream 2985
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1533 DC, 1533 AC, 1533 MV errors in P frame
 [h264 @ 03692ba0] cabac decode of qscale diff failed at 35 3f=0/0
 [h264 @ 03692ba0] error while decoding MB 35 3, bytestream 3283
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1466 DC, 1466 AC, 1466 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1473 DC, 1473 AC, 1473 MV errors in P frame
 [h264 @ 034bf860] Cannot use next picture in error concealment0/0
 [h264 @ 034bf860] concealing 1053 DC, 1053 AC, 1053 MV errors in P frame
 [h264 @ 0146edc0] SEI type 209 size 1232 truncated at 4160B f=0/0
 [h264 @ 03692ba0] SEI type 209 size 1232 truncated at 404
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 547 DC, 547 AC, 547 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1478 DC, 1478 AC, 1478 MV errors in P frame
 [h264 @ 0146edc0] SEI type 155 size 1552 truncated at 5520B f=0/0
 [h264 @ 0146edc0] SEI type 4 size 1312 truncated at 504
 [h264 @ 034bf860] SEI type 155 size 1552 truncated at 541
 [h264 @ 034bf860] SEI type 4 size 1312 truncated at 495
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1317 DC, 1317 AC, 1317 MV errors in P frame
 [h264 @ 03692ba0] left block unavailable for requested intra mode at 0 5
 [h264 @ 03692ba0] error while decoding MB 0 5, bytestream 1406
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1221 DC, 1221 AC, 1221 MV errors in P frame
 [h264 @ 034bf860] left block unavailable for requested intra4x4 mode -1 at
 0 8
 [h264 @ 034bf860] error while decoding MB 0 8, bytestream 4430
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1281 DC, 1281 AC, 1281 MV errors in P frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 1305 DC, 1305 AC, 1305 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1273 DC, 1273 AC, 1273 MV errors in P frame
 [h264 @ 034bf860] Cannot use next picture in error concealment0/0
 [h264 @ 034bf860] concealing 1476 DC, 1476 AC, 1476 MV errors in P frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 971 DC, 971 AC, 971 MV errors in P frame
 [h264 @ 03589500] left block unavailable for requested intra mode at 0 5
 [h264 @ 03589500] error while decoding MB 0 5, bytestream 4458
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1413 DC, 1413 AC, 1413 MV errors in P frame
 [h264 @ 034bf860] left block unavailable for requested intra mode at 0 2
 [h264 @ 034bf860] error while decoding MB 0 2, bytestream 6629
 [h264 @ 034bf860] concealing 1545 DC, 1545 AC, 1545 MV errors in I frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 1375 DC, 1375 AC, 1375 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1459 DC, 1459 AC, 1459 MV errors in P frame
 [h264 @ 0146edc0] SEI type 47 size 1552 truncated at 128 0B f=0/0
 [h264 @ 034bf860] SEI type 47 size 1552 truncated at 117
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1365 DC, 1365 AC, 1365 MV errors in P frame
 [h264 @ 03692ba0] cabac decode of qscale diff failed at 2 6 f=0/0
 [h264 @ 03692ba0] error while decoding MB 2 6, bytestream 1003
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1367 DC, 1367 AC, 1367 MV errors in P frame
 [h264 @ 03589500] cabac decode of qscale diff failed at 37 4f=0/0
 [h264 @ 03589500] error while decoding MB 37 4, bytestream 2596
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1420 DC, 1420 AC, 1420 MV errors in P frame
 [h264 @ 034bf860] Cannot use next picture in error concealment0/0
 [h264 @ 034bf860] concealing 1390 DC, 1390 AC, 1390 MV errors in P frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 1235 DC, 1235 AC, 1235 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1391 DC, 1391 AC, 1391 MV errors in P frame
 [h264 @ 0146edc0] non-existing SPS 6 referenced in buffering period
 [h264 @ 034bf860] non-existing SPS 6 referenced in buffering period
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1254 DC, 1254 AC, 1254 MV errors in P frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1442 DC, 1442 AC, 1442 MV errors in P frame
 [h264 @ 034bf860] cabac decode of qscale diff failed at 28 3f=0/0
 [h264 @ 034bf860] error while decoding MB 28 3, bytestream 1553
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1473 DC, 1473 AC, 1473 MV errors in P frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 1444 DC, 1444 AC, 1444 MV errors in P frame
 [h264 @ 0146edc0] SEI type 51 size 1376 truncated at 10080B f=0/0
 [h264 @ 03589500] SEI type 51 size 1376 truncated at 995
 [h264 @ 03589500] cabac decode of qscale diff failed at 33 2
 [h264 @ 03589500] error while decoding MB 33 2, bytestream 6555
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1512 DC, 1512 AC, 1512 MV errors in P frame
 [h264 @ 034bf860] Cannot use next picture in error concealment0/0
 [h264 @ 034bf860] concealing 1371 DC, 1371 AC, 1371 MV errors in P frame
 [h264 @ 0146edc0] non-existing SPS 1 referenced in buffering period
 [h264 @ 03692ba0] non-existing SPS 1 referenced in buffering period
 [h264 @ 03692ba0] Cannot use next picture in error concealment
 [h264 @ 03692ba0] concealing 1064 DC, 1064 AC, 1064 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1372 DC, 1372 AC, 1372 MV errors in P frame
 [h264 @ 0146edc0] non-existing SPS 16 referenced in buffering period
 [h264 @ 034bf860] non-existing SPS 16 referenced in buffering period
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1496 DC, 1496 AC, 1496 MV errors in P frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 1241 DC, 1241 AC, 1241 MV errors in P frame
 [h264 @ 0146edc0] SEI type 26 size 1176 truncated at 10320B f=0/0
 [h264 @ 03589500] SEI type 26 size 1176 truncated at 1021
 [h264 @ 03589500] Cannot use next picture in error concealment
 [h264 @ 03589500] concealing 1304 DC, 1304 AC, 1304 MV errors in P frame
 [h264 @ 034bf860] cabac decode of qscale diff failed at 0 4 f=0/0
 [h264 @ 034bf860] error while decoding MB 0 4, bytestream 8290
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 1457 DC, 1457 AC, 1457 MV errors in P frame
 [h264 @ 03692ba0] Cannot use next picture in error concealment0/0
 [h264 @ 03692ba0] concealing 1391 DC, 1391 AC, 1391 MV errors in P frame
 [h264 @ 03589500] Cannot use next picture in error concealment0/0
 [h264 @ 03589500] concealing 1162 DC, 1162 AC, 1162 MV errors in P frame
 [h264 @ 034bf860] error while decoding MB 16 15, bytestream -18/0
 [h264 @ 034bf860] Cannot use next picture in error concealment
 [h264 @ 034bf860] concealing 957 DC, 957 AC, 957 MV errors in P frame
 [h264 @ 0146edc0] SEI type 125 size 3928 truncated at 2336B f=0/0
 [h264 @ 0146edc0] reference count 2 overflow
 [h264 @ 03692ba0] SEI type 125 size 3928 truncated at 2327
 [h264 @ 03692ba0] reference picture missing during reorder
 [h264 @ 03692ba0] reference count overflow
 [h264 @ 03692ba0] decode_slice_header error
 [h264 @ 0146edc0] reference count 3 overflow  0KB sq=    0B f=0/0
 [h264 @ 03589500] mmco: unref short failure
 [h264 @ 03589500] number of reference frames (0+2) exceeds max (1;
 probably corr
 upt input), discarding one
 [h264 @ 03589500] reference picture missing during reorder
     Last message repeated 1 times
 [h264 @ 03589500] reference count overflow
 [h264 @ 03589500] decode_slice_header error
 [h264 @ 0146edc0] reference count 3 overflow  0KB sq=    0B f=0/0
 [h264 @ 034bf860] mmco: unref short failure
 [h264 @ 034bf860] number of reference frames (0+2) exceeds max (1;
 probably corr
 upt input), discarding one
 [h264 @ 034bf860] reference picture missing during reorder
     Last message repeated 1 times
 [h264 @ 034bf860] reference count overflow
 [h264 @ 034bf860] decode_slice_header error
 [h264 @ 0146edc0] reference count 3 overflow  0KB sq=    0B f=0/0
 [h264 @ 03692ba0] mmco: unref short failure
 [h264 @ 03692ba0] number of reference frames (0+2) exceeds max (1;
 probably corr
 upt input), discarding one
 [h264 @ 03692ba0] reference picture missing during reorder
     Last message repeated 1 times
 [h264 @ 03692ba0] reference count overflow
 [h264 @ 03692ba0] decode_slice_header error
 [h264 @ 0146edc0] reference count 3 overflow  0KB sq=    0B f=0/0
 [h264 @ 03589500] mmco: unref short failure
 [h264 @ 03589500] number of reference frames (0+2) exceeds max (1;
 probably corr
 upt input), discarding one
 [h264 @ 03589500] reference picture missing during reorder
     Last message repeated 1 times
 [h264 @ 03589500] reference count overflow
 [h264 @ 03589500] decode_slice_header error
 [h264 @ 0146edc0] reference count 3 overflow  0KB sq=    0B f=0/0
 [h264 @ 034bf860] mmco: unref short failure
 [h264 @ 034bf860] number of reference frames (0+2) exceeds max (1;
 probably corr
 upt input), discarding one
 [h264 @ 034bf860] reference picture missing during reorder
     Last message repeated 1 times
 [h264 @ 034bf860] reference count overflow
 [h264 @ 034bf860] decode_slice_header error
 [h264 @ 0146edc0] reference count 3 overflow  0KB sq=    0B f=0/0
 [h264 @ 03692ba0] mmco: unref short failure
 [h264 @ 03692ba0] number of reference frames (0+2) exceeds max (1;
 probably corr
 upt input), discarding one
 [h264 @ 03692ba0] reference picture missing during reorder
     Last message repeated 1 times
 [h264 @ 03692ba0] reference count overflow
 [h264 @ 03692ba0] decode_slice_header error
 [h264 @ 0146edc0] reference count 3 overflow  0KB sq=    0B f=0/0
 [h264 @ 03589500] mmco: unref short failure
 [h264 @ 03589500] number of reference frames (0+2) exceeds max (1;
 probably corr
 upt input), discarding one
 [h264 @ 03589500] reference picture missing during reorder
     Last message repeated 1 times
 [h264 @ 03589500] reference count overflow
 [h264 @ 03589500] decode_slice_header error
 [h264 @ 0146edc0] reference count 3 overflow  0KB sq=    0B f=0/0
 [h264 @ 034bf860] mmco: unref short failure
 [h264 @ 034bf860] number of reference frames (0+2) exceeds max (1;
 probably corr
 upt input), discarding one
 [h264 @ 034bf860] reference picture missing during reorder
     Last message repeated 1 times
 [h264 @ 034bf860] reference count overflow
 [h264 @ 034bf860] decode_slice_header error
 ...

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4893#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list