Opened 6 years ago

Closed 6 years ago

#3049 closed defect (fixed)

FFMPEG unable to read duration from WTV file

Reported by: ramitbhalla Owned by:
Priority: important Component: avformat
Version: git-master Keywords: wtv regression videolan
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: This is a regression bug, it used to work fine earlier but with the new build it's stopped working.

When trying to read the duration from very large WTV files (e.g. 13GB recordings) it fails to read/display the duration of the file (which breaks all programs using that duration to baseline the subsequent actions)

How to reproduce:

ffmpeg.2314Custom -probesize 100M -analyzedurat
ion 300M -i "F1- Grand Prix_BBC 1_2013_10_13_08_03_03.wtv"
ffmpeg version N-56896-ga927276 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct  5 2013 09:46:09 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libzvbi --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enab
le-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray -
-extra-cflags= --enable-nonfree --enable-libfdk-aac --enable-runtime-cpudetect
  libavutil      52. 46.100 / 52. 46.100
  libavcodec     55. 34.100 / 55. 34.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 88.101 /  3. 88.101
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[wtv @ 0282ec40] truncated file
[wtv @ 0282ec40] reported file length (0x32ecb9c37) exceeds number of available sectors (0x323700000)
[wtv @ 0282ec40] truncated file
[wtv @ 0282ec40] unknown guid da197e5c6a9782be6acb73535f762e08, expected metadata_guid; remaining metadata entries ignor
ed
[wtv @ 0282ec40] truncated file
    Last message repeated 1 times
[mjpeg @ 03450ee0] overread 8
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS referenced
[h264 @ 0282dda0] non-existing SPS 0 referenced in buffering period
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] non-existing PPS 0 referenced
[h264 @ 0282dda0] decode_slice_header error
[h264 @ 0282dda0] no frame!
[h264 @ 0282dda0] mmco: unref short failure
    Last message repeated 2 times
[wtv @ 0282ec40] Stream #5: not enough frames to estimate rate; consider increasing probesize
Input #0, wtv, from 'F1- Grand Prix_BBC 1_2013_10_13_08_03_03.wtv':
  Metadata:
    Tuner ID        : 3071A09F-328A-4C66-89A4-E0BA6D856508
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : F1: Grand Prix
    WM/SubTitle     : Japan
    WM/SubTitleDescription: Suzi Perry presents live coverage of the Japanese Grand Prix from Suzuka. Red Bull's Sebasti
an Vettel is on course for a fourth straight world championship title and given his pedigree around this circuit, it wou
ld be hard to bet against him adding anothe
    genre           : Motor Sport;Sport;4 Star;Motorcars;Motor Cars;F1;Formula 1;Formula One
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: BBC 1
    service_name    : BBC 1
    WM/MediaNetworkAffiliation: dvblink
    WM/MediaOriginalChannel: 1
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 82151088529
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: ***
    WM/Provider     : MediaCenterDefault
    WM/ProviderRating: ***
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-10-13 06:03:04
    WM/WMRVSeriesUID: !GenericSeries!F1: Grand Prix
    WM/WMRVServiceID: !Generated!572d0d6453bb42698b73407491a8cfba
    WM/WMRVProgramID: !Generated!075bcc67e65245f9a71901a869d04a05
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 3843
    WM/WMRVOriginalSoftPostPadding: 300
    WM/WMRVHardPrePadding: -3783
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 69424167001
    WM/WMRVEndTime  : 2013-10-13 07:58:47
    WM/WMRVBitrate  : 15.755789
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: -1
    WM/WMRVActualSoftPostPadding: -972
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
  Duration: -323917:-43:-41.71, start: 573.203731, bitrate: N/A
    Stream #0:0[0x4a](eng): Subtitle: dvb_subtitle
    Stream #0:1[0x4b](eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x4c](nar): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s (visual impaired)
    Stream #0:3[0x4d](eng): Subtitle: dvb_teletext
    Stream #0:4[0x4e]: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 10000k tbn,
 50 tbc
    Stream #0:5[0xffffffff]: Video: mjpeg, yuvj420p(pc), 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : TV Thumbnail
At least one output file must be specified

Here is the working version

ffmpeg.2314.exe -probesize 100M -analyzeduration 30
0M -i "F1- Grand Prix_BBC 1_2013_10_13_08_03_03.wtv"
ffmpeg version N-54802-gfc6de70 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 18 2013 18:01:33 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-lib
vpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.101 /  3. 81.101
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[wtv @ 0035bb40] truncated file
    Last message repeated 3 times
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS referenced
[h264 @ 0035ede0] non-existing SPS 0 referenced in buffering period
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] non-existing PPS 0 referenced
[h264 @ 0035ede0] decode_slice_header error
[h264 @ 0035ede0] no frame!
[h264 @ 0035ede0] mmco: unref short failure
    Last message repeated 2 times
[wtv @ 0035bb40] Stream #5: not enough frames to estimate rate; consider increasing probesize
Input #0, wtv, from 'F1- Grand Prix_BBC 1_2013_10_13_08_03_03.wtv':
  Metadata:
    Tuner ID        : 3071A09F-328A-4C66-89A4-E0BA6D856508
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : F1: Grand Prix
    WM/SubTitle     : Japan
    WM/SubTitleDescription: Suzi Perry presents live coverage of the Japanese Grand Prix from Suzuka. Red Bull's Sebasti
an Vettel is on course for a fourth straight world championship title and given his pedigree around this circuit, it wou
ld be hard to bet against him adding anothe
    genre           : Motor Sport;Sport;4 Star;Motorcars;Motor Cars;F1;Formula 1;Formula One
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: BBC 1
    service_name    : BBC 1
    WM/MediaNetworkAffiliation: dvblink
    WM/MediaOriginalChannel: 1
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 82151088529
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: ***
    WM/Provider     : MediaCenterDefault
    WM/ProviderRating: ***
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-10-13 06:03:04
    WM/WMRVSeriesUID: !GenericSeries!F1: Grand Prix
    WM/WMRVServiceID: !Generated!572d0d6453bb42698b73407491a8cfba
    WM/WMRVProgramID: !Generated!075bcc67e65245f9a71901a869d04a05
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 3843
    WM/WMRVOriginalSoftPostPadding: 300
    WM/WMRVHardPrePadding: -3783
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 69424167001
    WM/WMRVEndTime  : 2013-10-13 07:58:47
    WM/WMRVBitrate  : 15.755789
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: -1
    WM/WMRVActualSoftPostPadding: -972
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
  Duration: 01:55:44.37, start: 573.203731, bitrate: 15751 kb/s
    Stream #0:0[0x4a](eng): Subtitle: dvb_subtitle
    Stream #0:1[0x4b](eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x4c](nar): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s (visual impaired)
    Stream #0:3[0x4d](eng): Subtitle: dvb_teletext
    Stream #0:4[0x4e]: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 10000k tbn, 50 tbc
    Stream #0:5[0xffffffff]: Video: mjpeg, yuvj420p, 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : TV Thumbnail
At least one output file must be specified

This only happens with very large files (atleast in my test). Infact if I "trim" the same file down to say 3GB it works fine and reports the correct adjusted duration.

Unofrtunately I can't upload the entire 13GB file but I've hosted it on a ftp server for you:
server: mcebuddy.dyndns.org
login: mcebuddy
password: mcebuddy

Change History (3)

comment:1 Changed 6 years ago by ramitbhalla

FYI it also can't read the bitrate in the same line as duration - shows up as N/A

comment:2 Changed 6 years ago by cehoyos

Could you please test the different versions of FFmpeg on the same system and with identical compilation options (preferably ./configure && make)?

comment:3 Changed 6 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords wtv regression videolan added
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from unspecified to git-master

(vlc ticket 9481)

Should be fixed, thank you for the report!

Note: See TracTickets for help on using tickets.