[FFmpeg-trac] #4249(undetermined:closed): max values for -analyzeduration and -probesize not sufficient for probing all streams of some ISO files (DVD)

FFmpeg trac at avcodec.org
Sat Jan 10 19:23:02 CET 2015


#4249: max values for -analyzeduration and -probesize not sufficient for probing
all streams of some ISO files (DVD)
-------------------------------------+-------------------------------------
             Reporter:  bubbleguuum  |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:  fixed
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by bubbleguuum):

 recent ffprobe still fail to identify stream 11 with huge
 probeinfo/analyzeduration and aborts after 39s.
 Can ffprobe be used on ISOs ? I have the vague feeling it wants to read
 the full file and even INT64_MAX is not enough...

 {{{
 $ time /cygdrive/c/Users/bob/Downloads/ffmpeg-20150110-git-
 4df01d5-win64-static/bin/ffprobe.exe  -v 9 -loglevel 99  -analyzeduration
 922337203685477580 -probesize 922337203685477580 -i
 HOBBIT_AN_UNEXPECTED_JOURNEY.ISO
 ffprobe version N-68994-g4df01d5 Copyright (c) 2007-2015 the FFmpeg
 developers
   built on Jan  9 2015 22:13:35 with gcc 4.9.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
 --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
 libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
 libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
 --enable-decklink --enable-zlib
   libavutil      54. 16.100 / 54. 16.100
   libavcodec     56. 20.100 / 56. 20.100
   libavformat    56. 18.100 / 56. 18.100
   libavdevice    56.  3.100 / 56.  3.100
   libavfilter     5.  7.100 /  5.  7.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [mpeg @ 0000000002c5ba60] Format mpeg probed with size=1048576 and
 score=52
 [mpeg @ 0000000002c5ba60] Before avformat_find_stream_info() pos: 0 bytes
 read:1048576 seeks:0
 [mpeg @ 0000000002c5ba60] probing stream 1 pp:2500
 [mpeg @ 0000000002c5ba60] Probe with size=2012, packets=1 detected
 mpegvideo with score=25
 [mpeg @ 0000000002c5ba60] probed stream 1
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 35 with
 DTS 1480355, packet 36 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 35 with
 DTS 1476755, packet 36 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 36 with
 DTS 11555, packet 37 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 36 with
 DTS 7955, packet 37 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 38 with
 DTS 54755, packet 39 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 38 with
 DTS 51155, packet 39 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 40 with
 DTS 65555, packet 41 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 40 with
 DTS 61955, packet 41 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 41 with
 DTS 11555, packet 42 with DTS 4826
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 41 with
 DTS 7955, packet 42 with DTS 1226
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 135 with
 DTS 4022426, packet 136 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 1170 with
 DTS 4062026, packet 1171 with DTS 1812
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 2: packet 1410 with
 DTS 4065626, packet 1411 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 229 with
 DTS 4023012, packet 230 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 2299 with
 DTS 4062612, packet 2300 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 237 with
 DTS 313955, packet 238 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 2307 with
 DTS 310355, packet 2308 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 3: packet 9 with
 DTS 313955, packet 10 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 4: packet 9 with
 DTS 313955, packet 10 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 238 with
 DTS 11555, packet 239 with DTS 4826
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 2308 with
 DTS 7955, packet 2309 with DTS 1226
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 2: packet 2821 with
 DTS 4066212, packet 2822 with DTS 4826
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 332 with
 DTS 4022426, packet 333 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 3437 with
 DTS 4062026, packet 3438 with DTS 1812
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 3: packet 11 with
 DTS 480026, packet 12 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 4: packet 11 with
 DTS 480026, packet 12 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 2: packet 4232 with
 DTS 4065626, packet 4233 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 426 with
 DTS 4023012, packet 427 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 4566 with
 DTS 4062612, packet 4567 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 434 with
 DTS 313955, packet 435 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 4574 with
 DTS 310355, packet 4575 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 3: packet 20 with
 DTS 313955, packet 21 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 4: packet 20 with
 DTS 313955, packet 21 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 435 with
 DTS 11555, packet 436 with DTS 4826
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 4575 with
 DTS 7955, packet 4576 with DTS 1226
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 2: packet 5643 with
 DTS 4066212, packet 5644 with DTS 4826
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 529 with
 DTS 4022426, packet 530 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 5704 with
 DTS 4062026, packet 5705 with DTS 1812
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 3: packet 22 with
 DTS 480026, packet 23 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 4: packet 22 with
 DTS 480026, packet 23 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 2: packet 7054 with
 DTS 4065626, packet 7055 with DTS 5412
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 623 with
 DTS 4023012, packet 624 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 6833 with
 DTS 4062612, packet 6834 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 631 with
 DTS 313955, packet 632 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 6841 with
 DTS 310355, packet 6842 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 3: packet 31 with
 DTS 313955, packet 32 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 4: packet 31 with
 DTS 313955, packet 32 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 632 with
 DTS 11555, packet 633 with DTS 4826
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 6842 with
 DTS 7955, packet 6843 with DTS 1226
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 2: packet 8465 with
 DTS 4066212, packet 8466 with DTS 4826
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 10514
 with DTS 433848026, packet 10515 with DTS 8191
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 127364
 with DTS 433876826, packet 127365 with DTS 4591
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 5: packet 150651
 with DTS 433879706, packet 150652 with DTS 6751
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 6: packet 150651
 with DTS 433879706, packet 150652 with DTS 6751
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 2: packet 159117
 with DTS 433879706, packet 159118 with DTS 6751
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 8: packet 1173 with
 DTS 433329626, packet 1174 with DTS 101791
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 4: packet 1180 with
 DTS 433329626, packet 1181 with DTS 101791
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 3: packet 884 with
 DTS 433412426, packet 885 with DTS 105391
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 7: packet 1086 with
 DTS 433329626, packet 1087 with DTS 116191
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 10: packet 4 with
 DTS 410937626, packet 5 with DTS 6682591
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 9: packet 7 with
 DTS 410937626, packet 8 with DTS 6682591
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 20642
 with DTS 444482191, packet 20643 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 250843
 with DTS 444525391, packet 250844 with DTS 7955
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 2: packet 313466
 with DTS 444528991, packet 313467 with DTS 11555
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 0: packet 20643
 with DTS 11555, packet 20644 with DTS 4826
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 1: packet 250844
 with DTS 7955, packet 250845 with DTS 1226
 [mpeg @ 0000000002c5ba60] Non-increasing DTS in stream 2: packet 313481
 with DTS 51875, packet 313482 with DTS 4826
 [mp2 @ 00000001049d72e0] Header missing
 [mpeg @ 0000000002c5ba60] decoding for stream 11 failed
 [mpeg @ 0000000002c5ba60] stream 5 : no PTS found at end of file, duration
 not set
 [mpeg @ 0000000002c5ba60] stream 6 : no PTS found at end of file, duration
 not set
 [mpeg @ 0000000002c5ba60] stream 11 : no PTS found at end of file,
 duration not set
 [mpeg @ 0000000002c5ba60] Could not find codec parameters for stream 11
 (Audio: mp2, 0 channels, s16p): unspecified frame size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 [mpeg @ 0000000002c5ba60] After avformat_find_stream_info() pos: 0 bytes
 read:4681947280 seeks:3 frames:1202972
 Input #0, mpeg, from 'HOBBIT_AN_UNEXPECTED_JOURNEY.ISO':
   Duration: 00:00:10.78, start: 0.053622, bitrate: N/A
     Stream #0:0[0x1bf], 20666, 1/90000: Data: dvd_nav_packet, 1/90000
     Stream #0:1[0x1e0], 251115, 1/90000: Video: mpeg2video (Main),
 yuv420p(tv, bt470bg, left), 720x576 [SAR 64:45 DAR 16:9], 1/50, max. 9800
 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:2[0x80], 313819, 1/90000: Audio: ac3, 48000 Hz, 5.1(side),
 fltp, 448 kb/s
     Stream #0:3[0x21], 1484, 1/90000: Subtitle: dvd_subtitle
     Stream #0:4[0x20], 2004, 1/90000: Subtitle: dvd_subtitle
     Stream #0:5[0x82], 305001, 1/90000: Audio: ac3, 48000 Hz, 5.1(side),
 fltp, 384 kb/s
     Stream #0:6[0x81], 305001, 1/90000: Audio: ac3, 48000 Hz, 5.1(side),
 fltp, 384 kb/s
     Stream #0:7[0x22], 1806, 1/90000: Subtitle: dvd_subtitle
     Stream #0:8[0x23], 1985, 1/90000: Subtitle: dvd_subtitle
     Stream #0:9[0x24], 48, 1/90000: Subtitle: dvd_subtitle
     Stream #0:10[0x25], 42, 1/90000: Subtitle: dvd_subtitle
     Stream #0:11[0x1d7], 1, 1/90000: Audio: mp2, 0 channels, s16p
 Unsupported codec with id 1145979222 for input stream 0
 detected 8 logical cores
 [AVIOContext @ 0000000002c5c1e0] Statistics: 4681947280 bytes read, 3
 seeks

 real    0m39.976s
 user    0m0.000s
 sys     0m0.015s


 }}}

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


More information about the FFmpeg-trac mailing list