[FFmpeg-trac] #4401(ffmpeg:reopened): Past duration too large

FFmpeg trac at avcodec.org
Fri Nov 11 22:01:37 EET 2016


#4401: Past duration too large
------------------------------------+------------------------------------
             Reporter:  ghazel      |                    Owner:
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by edumj):

 I don't know what it means either, but if it can help, it also happens to
 me when changing fps from PAL to Film with "-r" as output.

 ...

 Without "vsync", there are lots of warnings!:
 {{{
 ffmpeg.exe -i "Francis en la Marina (1955)_cut.mkv" -c:v libxvid -b:v
 1500k -vtag XVID -vf "scale=720:-1" -r 24000/1001 -map 0:v:0 -c:a
 libmp3lame -b:a 128k -map 0:a:0 "Francis_PAL_a_Film4.avi"
 }}}
 Full output:
 {{{
 ffmpeg version N-81696-gd38dff8e Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-
 bzlib --enable-libebur128 --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-libopenh264
 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex
 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-
 libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-
 libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
   libavutil      55. 29.100 / 55. 29.100
   libavcodec     57. 57.100 / 57. 57.100
   libavformat    57. 49.100 / 57. 49.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 62.100 /  6. 62.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, matroska,webm, from 'Francis en la Marina (1955)_cut.mkv':
   Metadata:
     encoder         : libmkv 0.6.5
   Duration: 01:16:58.18, start: 0.000000, bitrate: 4 kb/s
     Chapter #0:0: start 0.000000, end 84.897000
     Metadata:
       title           : Chapter 1
     Chapter #0:1: start 84.897000, end 1048.977000
     Metadata:
       title           : Chapter 2
     Chapter #0:2: start 1048.977000, end 1812.817000
     Metadata:
       title           : Chapter 3
     Chapter #0:3: start 1812.817000, end 2423.737000
     Metadata:
       title           : Chapter 4
     Chapter #0:4: start 2423.737000, end 3226.097000
     Metadata:
       title           : Chapter 5
     Chapter #0:5: start 3226.097000, end 3864.937000
     Metadata:
       title           : Chapter 6
     Chapter #0:6: start 3864.937000, end 4618.177000
     Metadata:
       title           : Chapter 7
     Stream #0:0(eng): Video: h264 (Main), yuv420p(tv,
 smpte170m/smpte170m/bt709), 720x384 [SAR 16:15 DAR 2:1], 25 fps, 25 tbr,
 1k tbn, 180k tbc (default)
     Stream #0:1(spa): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
     Stream #0:2(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
     Stream #0:3(spa): Subtitle: dvd_subtitle, 720x576
 [avi @ 048aa9c0] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
     Last message repeated 1 times
 Output #0, avi, to 'Francis_PAL_a_Film4.avi':
   Metadata:
     ISFT            : Lavf57.49.100
     Chapter #0:0: start 0.000000, end 84.897000
     Metadata:
       title           : Chapter 1
     Chapter #0:1: start 84.897000, end 1048.977000
     Metadata:
       title           : Chapter 2
     Chapter #0:2: start 1048.977000, end 1812.817000
     Metadata:
       title           : Chapter 3
     Chapter #0:3: start 1812.817000, end 2423.737000
     Metadata:
       title           : Chapter 4
     Chapter #0:4: start 2423.737000, end 3226.097000
     Metadata:
       title           : Chapter 5
     Chapter #0:5: start 3226.097000, end 3864.937000
     Metadata:
       title           : Chapter 6
     Chapter #0:6: start 3864.937000, end 4618.177000
     Metadata:
       title           : Chapter 7
     Stream #0:0(eng): Video: mpeg4 (libxvid) (XVID / 0x44495658), yuv420p,
 720x384 [SAR 16:15 DAR 2:1], q=2-31, 1500 kb/s, 23.98 fps, 23.98 tbn,
 23.98 tbc (default)
     Metadata:
       encoder         : Lavc57.57.100 libxvid
     Stream #0:1(spa): Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000
 Hz, stereo, fltp, 128 kb/s (default)
     Metadata:
       encoder         : Lavc57.57.100 libmp3lame
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (libxvid))
   Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
 Press [q] to stop, [?] for help
 Past duration 0.614372 too large
 Past duration 0.655327 too large
 Past duration 0.696281 too large
 Past duration 0.737267 too large
 Past duration 0.778221 too large
 Past duration 0.819176 too large
 Past duration 0.860130 too large
 Past duration 0.901085 too large
 Past duration 0.942039 too large
 Past duration 0.616386 too large
 Past duration 0.657341 too large
 Past duration 0.698296 too large
 Past duration 0.739250 too large
 Past duration 0.780205 too large
 Past duration 0.821159 too large
 Past duration 0.862144 too large
 Past duration 0.903099 too large
 Past duration 0.944054 too large
 Past duration 0.640343 too large
 Past duration 0.681297 too large
 Past duration 0.722282 too large
 Past duration 0.763237 too large
 Past duration 0.804192 too large
 Past duration 0.845146 too large
 Past duration 0.886101 too large
 Past duration 0.927055 too large
 Past duration 0.623375 too large
 Past duration 0.664330 too large
 Past duration 0.705284 too large
 Past duration 0.746239 too large
 Past duration 0.787193 too large
 Past duration 0.828178 too large
 Past duration 0.869133 too large
 Past duration 0.910088 too large
 Past duration 0.951042 too large
 Past duration 0.606377 too large
 Past duration 0.647331 too large
 Past duration 0.688316 too large
 Past duration 0.729271 too large
 Past duration 0.770226 too large
 Past duration 0.811180 too large
 Past duration 0.852135 too large
 Past duration 0.893089 too large
 Past duration 0.934044 too large
 Past duration 0.630363 too large
 Past duration 0.671318 too large
 Past duration 0.712273 too large
 Past duration 0.753227 too large
 Past duration 0.794212 too large
 Past duration 0.835167 too large
 Past duration 0.876122 too large
 Past duration 0.917076 too large
 Past duration 0.958031 too large
 Past duration 0.613365 too large
 Past duration 0.654350 too large
 Past duration 0.695305 too large
 Past duration 0.736259 too large
 Past duration 0.777214 too large
 Past duration 0.818169 too large
 Past duration 0.859123 too large
 Past duration 0.900078 too large
 Past duration 0.941063 too large
 Past duration 0.637352 too large
 Past duration 0.678307 too large
 Past duration 0.719261 too large
 Past duration 0.760246 too large
 Past duration 0.801201 too large
 Past duration 0.842155 too large
 Past duration 0.883110 too large
 Past duration 0.924065 too large
 frame=  175 fps=0.0 q=2.0 size=    1405kB time=00:00:07.63
 bitrate=1508.0kbits/s dup=0 drop=7 speed=15.3x
 Past duration 0.620384 too large
 Past duration 0.661339 too large
 Past duration 0.702293 too large
 Past duration 0.743248 too large
 Past duration 0.784203 too large
 Past duration 0.825157 too large
 Past duration 0.866112 too large
 Past duration 0.907097 too large
 Past duration 0.948051 too large
 Past duration 0.603386 too large
 Past duration 0.644341 too large
 Past duration 0.685295 too large
 Past duration 0.726280 too large
 Past duration 0.767235 too large
 Past duration 0.808189 too large
 Past duration 0.849144 too large
 Past duration 0.890099 too large
 Past duration 0.931053 too large
 Past duration 0.627373 too large
 Past duration 0.668327 too large
 Past duration 0.709282 too large
 Past duration 0.750237 too large
 Past duration 0.791191 too large
 Past duration 0.832146 too large
 Past duration 0.873131 too large
 Past duration 0.914085 too large
 Past duration 0.955040 too large
 Past duration 0.610374 too large
 Past duration 0.651329 too large
 Past duration 0.692314 too large
 Past duration 0.733269 too large
 Past duration 0.774223 too large
 Past duration 0.815178 too large
 Past duration 0.856133 too large
 Past duration 0.897087 too large
 Past duration 0.938042 too large
 Past duration 0.634361 too large
 Past duration 0.675316 too large
 Past duration 0.716270 too large
 Past duration 0.757225 too large
 Past duration 0.798180 too large
 Past duration 0.839165 too large
 Past duration 0.880119 too large
 Past duration 0.921074 too large
 Past duration 0.617363 too large
 Past duration 0.658348 too large
 Past duration 0.699303 too large
 Past duration 0.740257 too large
 Past duration 0.781212 too large
 Past duration 0.822166 too large
 Past duration 0.863121 too large
 Past duration 0.904076 too large
 Past duration 0.945061 too large
 Past duration 0.600395 too large
 Past duration 0.641350 too large
 Past duration 0.682304 too large
 Past duration 0.723259 too large
 Past duration 0.764214 too large
 Past duration 0.805199 too large
 Past duration 0.846153 too large
 Past duration 0.887108 too large
 Past duration 0.928062 too large
 frame=  343 fps=342 q=3.0 size=    2809kB time=00:00:14.59
 bitrate=1576.9kbits/s dup=0 drop=14 speed=14.6x
 Past duration 0.624382 too large
 Past duration 0.665337 too large
 Past duration 0.706291 too large
 Past duration 0.747246 too large
 Past duration 0.788200 too large
 Past duration 0.829155 too large
 Past duration 0.870110 too large
 Past duration 0.911095 too large
 Past duration 0.952049 too large
 Past duration 0.607384 too large
 Past duration 0.648338 too large
 Past duration 0.689293 too large
 Past duration 0.730247 too large
 Past duration 0.771233 too large
 Past duration 0.812187 too large
 Past duration 0.853142 too large
 Past duration 0.894096 too large
 Past duration 0.935051 too large
 Past duration 0.631371 too large
 Past duration 0.672325 too large
 Past duration 0.713280 too large
 Past duration 0.754234 too large
 Past duration 0.795189 too large
 Past duration 0.836143 too large
 Past duration 0.877129 too large
 Past duration 0.918083 too large
 Past duration 0.959038 too large
 Past duration 0.614372 too large
 Past duration 0.655327 too large
 Past duration 0.696281 too large
 Past duration 0.737267 too large
 Past duration 0.778221 too large
 Past duration 0.819176 too large
 Past duration 0.860130 too large
 Past duration 0.901085 too large
 Past duration 0.942039 too large
 [matroska,webm @ 048a7ee0] Read error
 Past duration 0.638359 too large
 Past duration 0.679314 too large
 Past duration 0.720268 too large
 frame=  450 fps=342 q=5.0 Lsize=    3966kB time=00:00:18.76
 bitrate=1730.8kbits/s dup=0 drop=19 speed=14.2x
 video:3633kB audio:293kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.988926%
 }}}

 But, with "vsync", there are only 9 warnings:
 {{{
 ffmpeg.exe -i "Francis en la Marina (1955)_cut.mkv" -c:v libxvid -b:v
 1500k -vtag XVID -vsync 1 -vf "scale=720:-1" -r 24000/1001 -map 0:v:0 -c:a
 libmp3lame -b:a 128k -map 0:a:0 "Francis_PAL_a_Film2.avi"
 }}}

 Full output:
 {{{
 ffmpeg version N-81696-gd38dff8e Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-
 bzlib --enable-libebur128 --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-libopenh264
 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex
 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-
 libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-
 libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
   libavutil      55. 29.100 / 55. 29.100
   libavcodec     57. 57.100 / 57. 57.100
   libavformat    57. 49.100 / 57. 49.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 62.100 /  6. 62.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, matroska,webm, from 'Francis en la Marina (1955)_cut.mkv':
   Metadata:
     encoder         : libmkv 0.6.5
   Duration: 01:16:58.18, start: 0.000000, bitrate: 4 kb/s
     Chapter #0:0: start 0.000000, end 84.897000
     Metadata:
       title           : Chapter 1
     Chapter #0:1: start 84.897000, end 1048.977000
     Metadata:
       title           : Chapter 2
     Chapter #0:2: start 1048.977000, end 1812.817000
     Metadata:
       title           : Chapter 3
     Chapter #0:3: start 1812.817000, end 2423.737000
     Metadata:
       title           : Chapter 4
     Chapter #0:4: start 2423.737000, end 3226.097000
     Metadata:
       title           : Chapter 5
     Chapter #0:5: start 3226.097000, end 3864.937000
     Metadata:
       title           : Chapter 6
     Chapter #0:6: start 3864.937000, end 4618.177000
     Metadata:
       title           : Chapter 7
     Stream #0:0(eng): Video: h264 (Main), yuv420p(tv,
 smpte170m/smpte170m/bt709), 720x384 [SAR 16:15 DAR 2:1], 25 fps, 25 tbr,
 1k tbn, 180k tbc (default)
     Stream #0:1(spa): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
     Stream #0:2(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
     Stream #0:3(spa): Subtitle: dvd_subtitle, 720x576
 [avi @ 04900880] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
     Last message repeated 1 times
 Output #0, avi, to 'Francis_PAL_a_Film2.avi':
   Metadata:
     ISFT            : Lavf57.49.100
     Chapter #0:0: start 0.000000, end 84.897000
     Metadata:
       title           : Chapter 1
     Chapter #0:1: start 84.897000, end 1048.977000
     Metadata:
       title           : Chapter 2
     Chapter #0:2: start 1048.977000, end 1812.817000
     Metadata:
       title           : Chapter 3
     Chapter #0:3: start 1812.817000, end 2423.737000
     Metadata:
       title           : Chapter 4
     Chapter #0:4: start 2423.737000, end 3226.097000
     Metadata:
       title           : Chapter 5
     Chapter #0:5: start 3226.097000, end 3864.937000
     Metadata:
       title           : Chapter 6
     Chapter #0:6: start 3864.937000, end 4618.177000
     Metadata:
       title           : Chapter 7
     Stream #0:0(eng): Video: mpeg4 (libxvid) (XVID / 0x44495658), yuv420p,
 720x384 [SAR 16:15 DAR 2:1], q=2-31, 1500 kb/s, 23.98 fps, 23.98 tbn,
 23.98 tbc (default)
     Metadata:
       encoder         : Lavc57.57.100 libxvid
     Stream #0:1(spa): Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000
 Hz, stereo, fltp, 128 kb/s (default)
     Metadata:
       encoder         : Lavc57.57.100 libmp3lame
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (libxvid))
   Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
 Press [q] to stop, [?] for help
 Past duration 0.614372 too large
 Past duration 0.655327 too large
 Past duration 0.696281 too large
 Past duration 0.737267 too large
 Past duration 0.778221 too large
 Past duration 0.819176 too large
 Past duration 0.860130 too large
 Past duration 0.901085 too large
 Past duration 0.942039 too large
 frame=  176 fps=0.0 q=3.0 size=    1424kB time=00:00:07.56
 bitrate=1543.0kbits/s dup=0 drop=6 speed=15.1x
 frame=  347 fps=347 q=2.0 size=    2857kB time=00:00:14.76
 bitrate=1585.4kbits/s dup=0 drop=14 speed=14.7x
 [matroska,webm @ 048f8740] Read error
 frame=  451 fps=342 q=4.0 Lsize=    3971kB time=00:00:18.81
 bitrate=1729.5kbits/s dup=0 drop=18 speed=14.2x
 video:3639kB audio:293kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.988558%
 }}}

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


More information about the FFmpeg-trac mailing list