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

FFmpeg trac at avcodec.org
Thu Feb 2 15:00:15 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):

 Below is the complete log but the same command works for other rtsp
 streams

 [admin at video_gateway dvnp]$ 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-81861-gb7bd5b9-static Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
   configuration: --arch=64 --prefix=/home/admin/ffmpeg-build-
 script/workspace --extra-cflags=-I/home/admin/ffmpeg-build-
 script/workspace/include --extra-ldflags=-L/home/admin/ffmpeg-build-
 script/workspace/lib --extra-version=static --extra-cflags=--static
 --enable-static --disable-debug --disable-shared --disable-ffplay
 --disable-ffserver --disable-doc --enable-gpl --enable-version3 --enable-
 nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-
 libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-
 runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-
 libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-
 libvidstab
   libavutil      55. 32.100 / 55. 32.100
   libavcodec     57. 60.101 / 57. 60.101
   libavformat    57. 51.102 / 57. 51.102
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 63.100 /  6. 63.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  2.100 /  2.  2.100
   libpostproc    54.  0.100 / 54.  0.100
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 18 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 18 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 3 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 6 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 2 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 4 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 15 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 1 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 4 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 2 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 6 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 18 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 3 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 5 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 18 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 3 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 5 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 2 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 4 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 15 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 1 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 7 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 2 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 6 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 1 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 4 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 2 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 7 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 18 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 3 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 5 packets
 [rtsp @ 0x267c070] max delay reached. need to consume packet
 [rtsp @ 0x267c070] RTP: missed 4 packets
 [h264 @ 0x267f080] SEI type 138 size 1040 truncated at 616
 [h264 @ 0x267f080] SEI type 245 size 1240 truncated at 888
 [h264 @ 0x267f080] SEI type 16 size 1968 truncated at 1264
 [h264 @ 0x267f080] SEI type 137 size 4064 truncated at 288
 [h264 @ 0x267f080] SEI type 213 size 1824 truncated at 1400
 [h264 @ 0x267f080] SEI type 61 size 1992 truncated at 1400
 [h264 @ 0x267f080] SEI type 64 size 552 truncated at 168
 [h264 @ 0x267f080] SEI type 115 size 1248 truncated at 1072
 [h264 @ 0x267f080] SEI type 3 size 1840 truncated at 352
 [h264 @ 0x267f080] SEI type 242 size 1928 truncated at 1808
 [h264 @ 0x267f080] SEI type 239 size 1656 truncated at 1008
 [h264 @ 0x267f080] SEI type 52 size 992 truncated at 72
 [h264 @ 0x267f080] SEI type 418 size 1056 truncated at 912
 [h264 @ 0x267f080] SEI type 152 size 640 truncated at 80
 [h264 @ 0x267f080] SEI type 190 size 1968 truncated at 928
 [h264 @ 0x267f080] SEI type 227 size 1800 truncated at 1312
 [h264 @ 0x267f080] SEI type 171 size 1576 truncated at 216
 [h264 @ 0x267f080] SEI type 113 size 1296 truncated at 104
 [h264 @ 0x267f080] missing picture in access unit with size 60422
 [h264 @ 0x267f080] SEI type 138 size 1040 truncated at 605
 [h264 @ 0x267f080] SEI type 245 size 1240 truncated at 872
 [h264 @ 0x267f080] SEI type 16 size 1968 truncated at 1253
 [h264 @ 0x267f080] SEI type 137 size 4064 truncated at 274
 [h264 @ 0x267f080] SEI type 213 size 1824 truncated at 1385
 [h264 @ 0x267f080] SEI type 61 size 1992 truncated at 1386
 [h264 @ 0x267f080] SEI type 64 size 552 truncated at 156
 [h264 @ 0x267f080] SEI type 115 size 1248 truncated at 1059
 [h264 @ 0x267f080] SEI type 3 size 1840 truncated at 337
 [h264 @ 0x267f080] SEI type 242 size 1928 truncated at 1796
 [h264 @ 0x267f080] SEI type 239 size 1656 truncated at 998
 [h264 @ 0x267f080] SEI type 52 size 992 truncated at 56
 [h264 @ 0x267f080] SEI type 418 size 1056 truncated at 902
 [h264 @ 0x267f080] SEI type 152 size 640 truncated at 64
 [h264 @ 0x267f080] SEI type 190 size 1968 truncated at 914
 [h264 @ 0x267f080] SEI type 227 size 1800 truncated at 1302
 [h264 @ 0x267f080] SEI type 171 size 1576 truncated at 205
 [h264 @ 0x267f080] SEI type 113 size 1296 truncated at 98
 [h264 @ 0x267f080] no frame!
 [rtsp @ 0x267c070] decoding for stream 0 failed
 [rtsp @ 0x267c070] 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
 [rtmp @ 0x26ca610] Cannot open connection tcp://127.0.0.1:1935
 rtmp:/127.0.0.1:1935/live/1: Immediate exit requested
 Exiting normally, received signal 2.

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


More information about the FFmpeg-trac mailing list