[FFmpeg-trac] #6118(undetermined:new): ffmpeg fails with error "max delay reached. need to consume packet"

FFmpeg trac at avcodec.org
Thu Feb 2 16:06:46 EET 2017


#6118: ffmpeg fails with error "max delay reached. need to consume packet"
-------------------------------------+-------------------------------------
             Reporter:  santhoshv29  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  h264         |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by santhoshv29):

 And the results from latest ffmpeg

 [admin at video_gateway ffmpeg-git-20170122-64bit-static]$ ./ffmpeg -i
 rtsp://10.163.52.131/VideoInput/1/h264/1 -vcodec copy -an -f flv
 rtmp://127.0.0.1:1935/live/1
 ffmpeg version N-83189-gd5d474aea5-static http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2017 the FFmpeg developers
   built with gcc 5.4.1 (Debian 5.4.1-4) 20161202
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
 gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-
 libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-
 libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
 --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
 --enable-libx265 --enable-libxvid --enable-libzimg
   libavutil      55. 44.100 / 55. 44.100
   libavcodec     57. 75.100 / 57. 75.100
   libavformat    57. 62.100 / 57. 62.100
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 69.100 /  6. 69.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 16 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 7 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 20 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 11 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 4 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 16 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 16 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 16 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 16 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 1 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 7 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 4 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 7 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 20 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 3 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 3 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 16 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 3 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 4 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 16 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 4 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 3 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 4 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 14 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 1 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 1 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 4 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 15 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 2 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 6 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 3 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 6 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 18 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 3 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 4 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 14 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 1 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 5 packets
 [rtsp @ 0x3c63580] max delay reached. need to consume packet
 [rtsp @ 0x3c63580] RTP: missed 1 packets
 [h264 @ 0x3c66880] SEI type 39 size 1480 truncated at 496
 [h264 @ 0x3c66880] SEI type 203 size 1768 truncated at 1544
 [h264 @ 0x3c66880] SEI type 169 size 888 truncated at 400
 [h264 @ 0x3c66880] SEI type 235 size 1776 truncated at 560
 [h264 @ 0x3c66880] SEI type 247 size 112 truncated at 24
 [h264 @ 0x3c66880] SEI type 32 size 1520 truncated at 24
 [h264 @ 0x3c66880] SEI type 217 size 1528 truncated at 1008
 [h264 @ 0x3c66880] SEI type 180 size 1552 truncated at 160
 [h264 @ 0x3c66880] SEI type 74 size 1272 truncated at 624
 [h264 @ 0x3c66880] SEI type 205 size 4224 truncated at 4040
 [h264 @ 0x3c66880] SEI type 252 size 1784 truncated at 1640
 [h264 @ 0x3c66880] SEI type 128 size 2856 truncated at 2672
 [h264 @ 0x3c66880] SEI type 153 size 952 truncated at 376
 [h264 @ 0x3c66880] missing picture in access unit with size 42754
 [h264 @ 0x3c66880] SEI type 39 size 1480 truncated at 486
 [h264 @ 0x3c66880] SEI type 203 size 1768 truncated at 1535
 [h264 @ 0x3c66880] SEI type 169 size 888 truncated at 388
 [h264 @ 0x3c66880] SEI type 235 size 1776 truncated at 547
 [h264 @ 0x3c66880] SEI type 247 size 112 truncated at 11
 [h264 @ 0x3c66880] SEI type 32 size 1520 truncated at 8
 [h264 @ 0x3c66880] SEI type 217 size 1528 truncated at 992
 [h264 @ 0x3c66880] SEI type 180 size 1552 truncated at 150
 [h264 @ 0x3c66880] SEI type 74 size 1272 truncated at 610
 [h264 @ 0x3c66880] SEI type 205 size 4224 truncated at 4024
 [h264 @ 0x3c66880] SEI type 252 size 1784 truncated at 1629
 [h264 @ 0x3c66880] SEI type 128 size 2856 truncated at 2662
 [h264 @ 0x3c66880] SEI type 153 size 952 truncated at 369
 [h264 @ 0x3c66880] no frame!
 [rtsp @ 0x3c63580] decoding for stream 0 failed
 [rtsp @ 0x3c63580] Could not find codec parameters for stream 0 (Video:
 h264, none): unspecified size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, rtsp, from 'rtsp://10.163.52.131/VideoInput/1/h264/1':
   Metadata:
     title           : H264 Stream 1
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 180k tbc
 [flv @ 0x3ca49e0] dimensions not set
 Could not write header for output file #0 (incorrect codec parameters ?):
 Invalid argument
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
     Last message repeated 1 times
 Exiting normally, received signal 2.

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


More information about the FFmpeg-trac mailing list