Opened 9 years ago

Closed 5 years ago

#4643 closed defect (invalid)

Multiple "Past duration 0.XXXXXX too large" and "dup=0 drop=1" messages when reencoding a H.264 source to x264

Reported by: Artem S. Tashkinov Owned by:
Priority: minor Component: undetermined
Version: git-master Keywords: dts regression
Cc: Michael Niedermayer Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

How to reproduce:

$ ffmpeg -i *.mp4 -c:a copy -c:v libx264 -preset veryslow -x264opts keyint=600:min-keyint=30:bframes=16 -crf 21 1.mkv
ffmpeg version 2.7 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7.4 (GCC) (birdie)
  configuration: --disable-static --enable-nonfree --enable-avfilter --enable-shared --enable-gpl --enable-postproc --enable-pthreads --enable-libspeex --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libopus --enable-libopenjpeg --disable-debug --disable-doc --enable-libpulse --extra-cflags='-march=native' --extra-ldflags='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--enable-new-dtags' --enable-version3 --enable-libvorbis --disable-libfaac --enable-libfdk-aac --enable-x11grab --enable-gnutls --enable-libfreetype --enable-libx265
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 36.100 / 56. 36.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'VID_20150605_163024.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2015-06-05 11:51:20
  Duration: 00:20:54.19, start: 0.000000, bitrate: 17098 kb/s
    Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 17000 kb/s, SAR 1:1 DAR 16:9, 29.85 fps, 29.83 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2015-06-05 11:51:20
      handler_name    : VideoHandle
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2015-06-05 11:51:20
      handler_name    : SoundHandle
[libx264 @ 0x8a865e0] using SAR=1/1
[libx264 @ 0x8a865e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x8a865e0] profile High, level 5.1
[libx264 @ 0x8a865e0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=16 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=16 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=600 keyint_min=30 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[matroska @ 0x8b1f060] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, matroska, to '1.mkv':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf56.36.100
    Stream #0:0(eng): Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.83 fps, 1k tbn, 29.83 tbc (default)
    Metadata:
      creation_time   : 2015-06-05 11:51:20
      handler_name    : VideoHandle
      encoder         : Lavc56.41.100 libx264
    Stream #0:1(eng): Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, mono, 96 kb/s (default)
    Metadata:
      creation_time   : 2015-06-05 11:51:20
      handler_name    : SoundHandle
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
Past duration 0.600029 too large   25879kB time=00:00:57.19 bitrate=3706.6kbits/s
Past duration 0.600624 too large
Past duration 0.601204 too large
Past duration 0.601784 too large
Past duration 0.602364 too large
Past duration 0.602959 too large   25963kB time=00:00:57.19 bitrate=3718.6kbits/s
Past duration 0.603539 too large   26004kB time=00:00:57.19 bitrate=3724.5kbits/s
Past duration 0.604118 too large   26017kB time=00:00:57.19 bitrate=3726.4kbits/s
Past duration 0.604698 too large
Past duration 0.605278 too large
Past duration 0.605873 too large   26068kB time=00:00:57.19 bitrate=3733.8kbits/s
Past duration 0.606453 too large
Past duration 0.607033 too large
Past duration 0.607613 too large   26094kB time=00:00:57.19 bitrate=3737.4kbits/s
Past duration 0.608208 too large
Past duration 0.608788 too large   26140kB time=00:00:57.19 bitrate=3744.0kbits/s
Past duration 0.609367 too large
Past duration 0.609947 too large
Past duration 0.610542 too large   26214kB time=00:00:57.19 bitrate=3754.6kbits/s
Past duration 0.611122 too large   26224kB time=00:00:57.19 bitrate=3756.0kbits/s
Past duration 0.611702 too large
Past duration 0.612282 too large
Past duration 0.612862 too large   26298kB time=00:00:57.19 bitrate=3766.7kbits/s
Past duration 0.613457 too large
Past duration 0.614037 too large
Past duration 0.614616 too large
Past duration 0.615196 too large   26351kB time=00:00:57.19 bitrate=3774.3kbits/s
Past duration 0.615791 too large
Past duration 0.616371 too large   26419kB time=00:00:57.21 bitrate=3782.6kbits/s
Past duration 0.616951 too large
Past duration 0.617531 too large
Past duration 0.618126 too large
Past duration 0.618706 too large
Past duration 0.619286 too large   26513kB time=00:00:58.19 bitrate=3732.0kbits/s
Past duration 0.619865 too large
Past duration 0.620445 too large   26565kB time=00:00:58.19 bitrate=3739.4kbits/s
Past duration 0.621040 too large   26577kB time=00:00:58.19 bitrate=3741.1kbits/s
Past duration 0.621620 too large
Past duration 0.622200 too large
Past duration 0.622780 too large   26647kB time=00:00:58.19 bitrate=3751.0kbits/s
Past duration 0.623375 too large
Past duration 0.623955 too large   26666kB time=00:00:58.19 bitrate=3753.6kbits/s
Past duration 0.624535 too large
Past duration 0.625114 too large   26733kB time=00:00:58.19 bitrate=3763.0kbits/s
Past duration 0.625694 too large
Past duration 0.626289 too large   26751kB time=00:00:58.19 bitrate=3765.6kbits/s
Past duration 0.626869 too large
Past duration 0.627449 too large
Past duration 0.628029 too large
Past duration 0.628624 too large   26819kB time=00:00:58.19 bitrate=3775.1kbits/s
Past duration 0.629204 too large
Past duration 0.629784 too large
Past duration 0.630363 too large   26887kB time=00:00:58.19 bitrate=3784.7kbits/s
Past duration 0.630959 too large
Past duration 0.631538 too large
Past duration 0.632118 too large
Past duration 0.632698 too large   26958kB time=00:00:58.19 bitrate=3794.7kbits/s
Past duration 0.633278 too large
Past duration 0.633873 too large   26971kB time=00:00:58.21 bitrate=3795.0kbits/s
Past duration 0.634453 too large
Past duration 0.635033 too large   27033kB time=00:00:59.20 bitrate=3740.8kbits/s
Past duration 0.635612 too large
Past duration 0.636208 too large
Past duration 0.636787 too large
Past duration 0.637367 too large
Past duration 0.637947 too large
Past duration 0.638542 too large   27151kB time=00:00:59.20 bitrate=3757.0kbits/s
Past duration 0.639122 too large
Past duration 0.639702 too large
Past duration 0.640282 too large   27180kB time=00:00:59.20 bitrate=3761.1kbits/s
Past duration 0.640862 too large
Past duration 0.641457 too large
Past duration 0.642036 too large   27246kB time=00:00:59.20 bitrate=3770.3kbits/s
Past duration 0.642616 too large
Past duration 0.643196 too large
Past duration 0.643791 too large
Past duration 0.644371 too large   27307kB time=00:00:59.20 bitrate=3778.6kbits/s
Past duration 0.644951 too large
Past duration 0.645531 too large   27316kB time=00:00:59.20 bitrate=3780.0kbits/s
Past duration 0.646126 too large
Past duration 0.646706 too large   27386kB time=00:00:59.20 bitrate=3789.7kbits/s
Past duration 0.647285 too large
Past duration 0.647865 too large
Past duration 0.648445 too large
Past duration 0.649040 too large
Past duration 0.649620 too large   27458kB time=00:00:59.20 bitrate=3799.6kbits/s
Past duration 0.650200 too large   27463kB time=00:00:59.20 bitrate=3800.3kbits/s
Past duration 0.650780 too large
Past duration 0.651375 too large
Past duration 0.651955 too large
Past duration 0.652534 too large   27518kB time=00:01:00.20 bitrate=3744.4kbits/s
Past duration 0.653114 too large
Past duration 0.653694 too large
Past duration 0.654289 too large
Past duration 0.654869 too large   27569kB time=00:01:00.20 bitrate=3751.4kbits/s
Past duration 0.655449 too large
Past duration 0.656029 too large
Past duration 0.656624 too large
Past duration 0.657204 too large   27617kB time=00:01:00.20 bitrate=3757.9kbits/s
Past duration 0.657784 too large
Past duration 0.658363 too large
Past duration 0.658958 too large
Past duration 0.659538 too large
Past duration 0.660118 too large   27674kB time=00:01:00.20 bitrate=3765.7kbits/s
Past duration 0.660698 too large
Past duration 0.661278 too large
Past duration 0.661873 too large
Past duration 0.662453 too large
Past duration 0.663033 too large
Past duration 0.663612 too large   27736kB time=00:01:00.20 bitrate=3774.1kbits/s
Past duration 0.664207 too large
Past duration 0.664787 too large
Past duration 0.665367 too large
Past duration 0.665947 too large   27811kB time=00:01:00.20 bitrate=3784.3kbits/s
Past duration 0.666542 too large
Past duration 0.667122 too large
Past duration 0.667702 too large
Past duration 0.668282 too large
Past duration 0.668861 too large   27873kB time=00:01:00.22 bitrate=3791.4kbits/s
Past duration 0.669456 too large
Past duration 0.670036 too large
Past duration 0.670616 too large   27889kB time=00:01:01.20 bitrate=3732.8kbits/s
Past duration 0.671196 too large
Past duration 0.671791 too large
Past duration 0.672371 too large
Past duration 0.672951 too large   27939kB time=00:01:01.20 bitrate=3739.4kbits/s
Past duration 0.673531 too large
Past duration 0.674126 too large
Past duration 0.674706 too large   27989kB time=00:01:01.20 bitrate=3746.2kbits/s
Past duration 0.675285 too large
Past duration 0.675865 too large
Past duration 0.676445 too large
Past duration 0.677040 too large   28047kB time=00:01:01.20 bitrate=3753.9kbits/s
Past duration 0.677620 too large
Past duration 0.678200 too large
Past duration 0.678780 too large
Past duration 0.679375 too large   28106kB time=00:01:01.20 bitrate=3761.9kbits/s
Past duration 0.679955 too large
Past duration 0.680534 too large
Past duration 0.681114 too large
Past duration 0.681694 too large
Past duration 0.682289 too large
Past duration 0.682869 too large   28172kB time=00:01:01.20 bitrate=3770.7kbits/s
Past duration 0.683449 too large
Past duration 0.684029 too large   28237kB time=00:01:01.20 bitrate=3779.3kbits/s
Past duration 0.684624 too large
Past duration 0.685204 too large
Past duration 0.685783 too large
Past duration 0.686363 too large
Past duration 0.686958 too large
Past duration 0.687538 too large   28311kB time=00:01:02.20 bitrate=3728.2kbits/s
Past duration 0.688118 too large
Past duration 0.688698 too large
Past duration 0.689278 too large
Past duration 0.689873 too large   28376kB time=00:01:02.20 bitrate=3736.8kbits/s
Past duration 0.690453 too large
Past duration 0.691032 too large   28388kB time=00:01:02.20 bitrate=3738.3kbits/s
Past duration 0.691612 too large
Past duration 0.692207 too large   28439kB time=00:01:02.20 bitrate=3745.0kbits/s
Past duration 0.692787 too large
Past duration 0.693367 too large
Past duration 0.693947 too large
Past duration 0.694542 too large   28492kB time=00:01:02.20 bitrate=3752.0kbits/s
Past duration 0.695122 too large
Past duration 0.695702 too large
Past duration 0.696281 too large
Past duration 0.696861 too large   28542kB time=00:01:02.20 bitrate=3758.6kbits/s
Past duration 0.697456 too large   28552kB time=00:01:02.20 bitrate=3760.0kbits/s
Past duration 0.698036 too large
Past duration 0.698616 too large
Past duration 0.699196 too large
Past duration 0.699791 too large
Past duration 0.700371 too large
Past duration 0.700951 too large   28625kB time=00:01:02.20 bitrate=3769.5kbits/s
Past duration 0.701530 too large
Past duration 0.702126 too large
Past duration 0.702705 too large
Past duration 0.703285 too large
Past duration 0.703865 too large   28688kB time=00:01:02.22 bitrate=3776.6kbits/s
Past duration 0.704445 too large
Past duration 0.705040 too large
Past duration 0.705620 too large
Past duration 0.706200 too large   28745kB time=00:01:03.21 bitrate=3725.3kbits/s
Past duration 0.706779 too large
Past duration 0.707375 too large
Past duration 0.707954 too large
Past duration 0.708534 too large   28800kB time=00:01:03.21 bitrate=3732.5kbits/s
Past duration 0.709114 too large
Past duration 0.709709 too large
Past duration 0.710289 too large
Past duration 0.710869 too large   28861kB time=00:01:03.21 bitrate=3740.3kbits/s
Past duration 0.711449 too large
Past duration 0.712029 too large
Past duration 0.712624 too large
Past duration 0.713203 too large   28919kB time=00:01:03.21 bitrate=3747.8kbits/s
Past duration 0.713783 too large
Past duration 0.714363 too large
Past duration 0.714958 too large
Past duration 0.715538 too large
Past duration 0.716118 too large   28977kB time=00:01:03.21 bitrate=3755.4kbits/s
Past duration 0.716698 too large
Past duration 0.717278 too large
Past duration 0.717873 too large
Past duration 0.718452 too large
Past duration 0.719032 too large   29047kB time=00:01:03.21 bitrate=3764.4kbits/s
Past duration 0.719612 too large
Past duration 0.720207 too large   29056kB time=00:01:03.21 bitrate=3765.6kbits/s
Past duration 0.720787 too large
Past duration 0.721367 too large   29226kB time=00:01:03.23 bitrate=3786.4kbits/s
Past duration 0.721947 too large
Past duration 0.722542 too large
Past duration 0.723122 too large
Past duration 0.723701 too large
Past duration 0.724281 too large
Past duration 0.724861 too large   29334kB time=00:01:04.21 bitrate=3742.3kbits/s
Past duration 0.725456 too large
Past duration 0.726036 too large
Past duration 0.726616 too large
Past duration 0.727196 too large
Past duration 0.727791 too large   29410kB time=00:01:04.21 bitrate=3752.0kbits/s
Past duration 0.728371 too large
Past duration 0.728951 too large
Past duration 0.729530 too large
Past duration 0.730125 too large
Past duration 0.730705 too large
Past duration 0.731285 too large   29482kB time=00:01:04.21 bitrate=3761.2kbits/s
Past duration 0.731865 too large
Past duration 0.732445 too large
Past duration 0.733040 too large
Past duration 0.733620 too large   29545kB time=00:01:04.21 bitrate=3769.2kbits/s
Past duration 0.734200 too large
Past duration 0.734779 too large   29555kB time=00:01:04.21 bitrate=3770.5kbits/s
Past duration 0.735374 too large
Past duration 0.735954 too large
Past duration 0.736534 too large
Past duration 0.737114 too large   29628kB time=00:01:04.21 bitrate=3779.8kbits/s
Past duration 0.737709 too large
Past duration 0.738289 too large
Past duration 0.738869 too large
Past duration 0.739449 too large
Past duration 0.740028 too large
Past duration 0.740623 too large   29702kB time=00:01:05.21 bitrate=3731.0kbits/s
Past duration 0.741203 too large
Past duration 0.741783 too large
Past duration 0.742363 too large   29759kB time=00:01:05.21 bitrate=3738.2kbits/s
Past duration 0.742958 too large
Past duration 0.743538 too large
Past duration 0.744118 too large
Past duration 0.744698 too large   29822kB time=00:01:05.21 bitrate=3746.0kbits/s
Past duration 0.745277 too large
Past duration 0.745872 too large
Past duration 0.746452 too large   29873kB time=00:01:05.21 bitrate=3752.4kbits/s
Past duration 0.747032 too large   29879kB time=00:01:05.21 bitrate=3753.2kbits/s
Past duration 0.747612 too large
Past duration 0.748207 too large
Past duration 0.748787 too large   29936kB time=00:01:05.21 bitrate=3760.4kbits/s
Past duration 0.749367 too large
Past duration 0.749947 too large
Past duration 0.750542 too large
Past duration 0.751122 too large   29997kB time=00:01:05.21 bitrate=3768.0kbits/s
Past duration 0.751701 too large
Past duration 0.752281 too large
Past duration 0.752861 too large
Past duration 0.753456 too large   30058kB time=00:01:05.21 bitrate=3775.7kbits/s
Past duration 0.754036 too large
Past duration 0.754616 too large
Past duration 0.755196 too large
Past duration 0.755791 too large
Past duration 0.756371 too large   30141kB time=00:01:05.21 bitrate=3786.1kbits/s
Past duration 0.756950 too large
Past duration 0.757530 too large
Past duration 0.746178 too large
Past duration 0.756706 too large
Past duration 0.757301 too large
Past duration 0.757881 too large   30212kB time=00:01:06.21 bitrate=3737.6kbits/s
Past duration 0.758461 too large
Past duration 0.759041 too large
Past duration 0.759636 too large
Past duration 0.760216 too large
Past duration 0.760796 too large   30280kB time=00:01:06.21 bitrate=3745.9kbits/s
Past duration 0.761375 too large   30286kB time=00:01:06.21 bitrate=3746.7kbits/s
Past duration 0.761955 too large
Past duration 0.762550 too large
Past duration 0.763130 too large
Past duration 0.763710 too large   30346kB time=00:01:06.21 bitrate=3754.1kbits/s
Past duration 0.764290 too large
Past duration 0.764885 too large
Past duration 0.765465 too large
Past duration 0.766045 too large   30405kB time=00:01:06.21 bitrate=3761.4kbits/s
Past duration 0.766624 too large
Past duration 0.767220 too large
Past duration 0.767799 too large
Past duration 0.768379 too large   30460kB time=00:01:06.21 bitrate=3768.3kbits/s
Past duration 0.768959 too large
Past duration 0.769539 too large
Past duration 0.770134 too large
Past duration 0.770714 too large
Past duration 0.771294 too large   30534kB time=00:01:06.21 bitrate=3777.4kbits/s
Past duration 0.771873 too large   30540kB time=00:01:06.24 bitrate=3776.9kbits/s
Past duration 0.772469 too large
Past duration 0.773048 too large
Past duration 0.773628 too large
Past duration 0.774208 too large   30601kB time=00:01:07.22 bitrate=3729.2kbits/s
Past duration 0.774803 too large
Past duration 0.775383 too large
Past duration 0.775963 too large
Past duration 0.776543 too large   30661kB time=00:01:07.22 bitrate=3736.6kbits/s
Past duration 0.777122 too large
Past duration 0.777718 too large
Past duration 0.778297 too large
Past duration 0.778877 too large
Past duration 0.779457 too large   30725kB time=00:01:07.22 bitrate=3744.3kbits/s
Past duration 0.780052 too large
Past duration 0.780632 too large
Past duration 0.781212 too large
Past duration 0.781792 too large
Past duration 0.782387 too large   30784kB time=00:01:07.22 bitrate=3751.6kbits/s
Past duration 0.782967 too large
Past duration 0.783546 too large
Past duration 0.784126 too large
Past duration 0.784706 too large
Past duration 0.785301 too large   30844kB time=00:01:07.22 bitrate=3758.8kbits/s
Past duration 0.785881 too large   30848kB time=00:01:07.22 bitrate=3759.3kbits/s
Past duration 0.786461 too large
Past duration 0.787041 too large
Past duration 0.787636 too large
Past duration 0.788216 too large
Past duration 0.788795 too large   30926kB time=00:01:07.22 bitrate=3768.8kbits/s
Past duration 0.789375 too large
Past duration 0.789955 too large
Past duration 0.790550 too large
Past duration 0.791130 too large
Past duration 0.791710 too large
Past duration 0.792290 too large   31006kB time=00:01:08.22 bitrate=3723.1kbits/s
Past duration 0.792885 too large
Past duration 0.793465 too large
Past duration 0.794044 too large   31026kB time=00:01:08.22 bitrate=3725.5kbits/s
Past duration 0.794624 too large
Past duration 0.795219 too large
Past duration 0.795799 too large   31079kB time=00:01:08.22 bitrate=3731.8kbits/s
Past duration 0.796379 too large
Past duration 0.796959 too large
Past duration 0.797539 too large
Past duration 0.798134 too large   31139kB time=00:01:08.22 bitrate=3739.0kbits/s
Past duration 0.798714 too large
Past duration 0.799294 too large
Past duration 0.799873 too large
Past duration 0.800468 too large   31202kB time=00:01:08.22 bitrate=3746.6kbits/s
Past duration 0.801048 too large
Past duration 0.801628 too large   31216kB time=00:01:08.22 bitrate=3748.2kbits/s
Past duration 0.802208 too large
Past duration 0.802803 too large
Past duration 0.803383 too large   31269kB time=00:01:08.22 bitrate=3754.7kbits/s
Past duration 0.803963 too large
Past duration 0.804543 too large
Past duration 0.805122 too large
Past duration 0.805717 too large
Past duration 0.806297 too large   31334kB time=00:01:08.22 bitrate=3762.4kbits/s
Past duration 0.806877 too large   31340kB time=00:01:08.22 bitrate=3763.1kbits/s
Past duration 0.807457 too large
Past duration 0.808052 too large
Past duration 0.808632 too large   31415kB time=00:01:09.22 bitrate=3717.5kbits/s
Past duration 0.809212 too large
Past duration 0.809792 too large
Past duration 0.810387 too large
Past duration 0.810966 too large
Past duration 0.811546 too large
Past duration 0.812126 too large   31493kB time=00:01:09.22 bitrate=3726.7kbits/s
Past duration 0.812706 too large
Past duration 0.813301 too large
Past duration 0.813881 too large
Past duration 0.814461 too large   31552kB time=00:01:09.22 bitrate=3733.7kbits/s
Past duration 0.815041 too large
Past duration 0.815636 too large
Past duration 0.816216 too large   31598kB time=00:01:09.22 bitrate=3739.1kbits/s
Past duration 0.816795 too large   31603kB time=00:01:09.22 bitrate=3739.8kbits/s
Past duration 0.817375 too large
Past duration 0.817970 too large
Past duration 0.818550 too large
Past duration 0.819130 too large
Past duration 0.819710 too large   31660kB time=00:01:09.22 bitrate=3746.5kbits/s
Past duration 0.820290 too large
Past duration 0.820885 too large
Past duration 0.821465 too large
Past duration 0.822044 too large   31718kB time=00:01:09.22 bitrate=3753.4kbits/s
Past duration 0.822624 too large
Past duration 0.823219 too large
Past duration 0.823799 too large
Past duration 0.824379 too large   31784kB time=00:01:09.22 bitrate=3761.2kbits/s
Past duration 0.824959 too large
Past duration 0.825539 too large
Past duration 0.826134 too large
Past duration 0.826714 too large
Past duration 0.827293 too large
Past duration 0.827873 too large   31846kB time=00:01:10.22 bitrate=3714.7kbits/s
Past duration 0.828468 too large   31854kB time=00:01:10.22 bitrate=3715.6kbits/s
Past duration 0.829048 too large
Past duration 0.829628 too large
Past duration 0.830208 too large
Past duration 0.830803 too large   31906kB time=00:01:10.22 bitrate=3721.8kbits/s
Past duration 0.831383 too large
Past duration 0.831963 too large
Past duration 0.832542 too large
Past duration 0.833122 too large   31962kB time=00:01:10.22 bitrate=3728.2kbits/s
Past duration 0.833717 too large
Past duration 0.834297 too large
Past duration 0.834877 too large
Past duration 0.835457 too large   32023kB time=00:01:10.22 bitrate=3735.4kbits/s
Past duration 0.836052 too large
Past duration 0.836632 too large
Past duration 0.837212 too large
Past duration 0.837791 too large
Past duration 0.838387 too large
Past duration 0.838966 too large   32082kB time=00:01:10.22 bitrate=3742.2kbits/s
Past duration 0.839546 too large
Past duration 0.840126 too large
Past duration 0.840706 too large
Past duration 0.841301 too large
Past duration 0.841881 too large   32132kB time=00:01:10.22 bitrate=3748.1kbits/s
Past duration 0.842461 too large
Past duration 0.843040 too large
Past duration 0.843636 too large   32187kB time=00:01:11.23 bitrate=3701.6kbits/s
Past duration 0.844215 too large
Past duration 0.844795 too large
Past duration 0.845375 too large
Past duration 0.845970 too large
Past duration 0.846550 too large
Past duration 0.847130 too large   32245kB time=00:01:11.23 bitrate=3708.3kbits/s
Past duration 0.847710 too large
Past duration 0.848289 too large
Past duration 0.848885 too large
Past duration 0.849464 too large   32294kB time=00:01:11.23 bitrate=3713.9kbits/s
Past duration 0.850044 too large
Past duration 0.850624 too large
Past duration 0.851219 too large
Past duration 0.851799 too large
Past duration 0.852379 too large
Past duration 0.852959 too large   32345kB time=00:01:11.23 bitrate=3719.8kbits/s
Past duration 0.853539 too large
Past duration 0.854134 too large
Past duration 0.854713 too large
Past duration 0.855293 too large
Past duration 0.855873 too large   32392kB time=00:01:11.23 bitrate=3725.2kbits/s
Past duration 0.856468 too large
Past duration 0.857048 too large
Past duration 0.857628 too large   32403kB time=00:01:11.23 bitrate=3726.4kbits/s
Past duration 0.858208 too large
Past duration 0.858803 too large   32437kB time=00:01:11.23 bitrate=3730.4kbits/s
Past duration 0.859383 too large
Past duration 0.859962 too large
Past duration 0.860542 too large
Past duration 0.861122 too large   32495kB time=00:01:12.23 bitrate=3685.1kbits/s
Past duration 0.861717 too large
Past duration 0.862297 too large
Past duration 0.862877 too large
Past duration 0.863457 too large
Past duration 0.864052 too large
Past duration 0.864632 too large   32546kB time=00:01:12.23 bitrate=3691.0kbits/s
Past duration 0.865211 too large
Past duration 0.865791 too large
Past duration 0.866386 too large
Past duration 0.866966 too large
Past duration 0.867546 too large
Past duration 0.868126 too large   32599kB time=00:01:12.23 bitrate=3696.9kbits/s
Past duration 0.868706 too large
Past duration 0.869301 too large
Past duration 0.869881 too large   32641kB time=00:01:12.23 bitrate=3701.8kbits/s
Past duration 0.870461 too large
Past duration 0.871040 too large
Past duration 0.871635 too large
Past duration 0.872215 too large
Past duration 0.872795 too large
Past duration 0.873375 too large   32692kB time=00:01:12.23 bitrate=3707.5kbits/s
Past duration 0.873970 too large
Past duration 0.874550 too large
Past duration 0.875130 too large
Past duration 0.875710 too large
Past duration 0.876289 too large
Past duration 0.876884 too large   32742kB time=00:01:12.23 bitrate=3713.2kbits/s
Past duration 0.877464 too large
Past duration 0.878044 too large
Past duration 0.878624 too large
Past duration 0.879219 too large   32799kB time=00:01:13.23 bitrate=3668.8kbits/s
Past duration 0.879799 too large
Past duration 0.880379 too large
Past duration 0.880959 too large
Past duration 0.881554 too large   32814kB time=00:01:13.23 bitrate=3670.4kbits/s
Past duration 0.882133 too large
Past duration 0.882713 too large   32850kB time=00:01:13.23 bitrate=3674.5kbits/s
Past duration 0.883293 too large
Past duration 0.883873 too large
Past duration 0.884468 too large
Past duration 0.885048 too large
Past duration 0.885628 too large   32898kB time=00:01:13.23 bitrate=3679.8kbits/s
Past duration 0.886208 too large
Past duration 0.886803 too large   32905kB time=00:01:13.23 bitrate=3680.6kbits/s
Past duration 0.887383 too large
Past duration 0.887962 too large
Past duration 0.888542 too large   32949kB time=00:01:13.23 bitrate=3685.5kbits/s
Past duration 0.889122 too large
Past duration 0.889717 too large
Past duration 0.890297 too large
Past duration 0.890877 too large
Past duration 0.891457 too large
Past duration 0.892052 too large   33001kB time=00:01:13.23 bitrate=3691.3kbits/s
Past duration 0.892632 too large
Past duration 0.893211 too large
Past duration 0.893791 too large
Past duration 0.894386 too large   33044kB time=00:01:13.23 bitrate=3696.2kbits/s
Past duration 0.894966 too large
Past duration 0.895546 too large
Past duration 0.896126 too large
Past duration 0.896706 too large
Past duration 0.897301 too large   33105kB time=00:01:14.24 bitrate=3653.0kbits/s
Past duration 0.897881 too large
Past duration 0.898460 too large
Past duration 0.899040 too large
Past duration 0.899635 too large
Past duration 0.900215 too large
Past duration 0.900795 too large   33157kB time=00:01:14.24 bitrate=3658.7kbits/s
Past duration 0.901375 too large
Past duration 0.901970 too large
Past duration 0.902550 too large
Past duration 0.903130 too large
Past duration 0.903709 too large   33208kB time=00:01:14.24 bitrate=3664.3kbits/s
Past duration 0.904289 too large
Past duration 0.904884 too large   33215kB time=00:01:14.24 bitrate=3665.1kbits/s
Past duration 0.905464 too large
Past duration 0.906044 too large
Past duration 0.906624 too large   33261kB time=00:01:14.24 bitrate=3670.1kbits/s
Past duration 0.907219 too large
Past duration 0.907799 too large
Past duration 0.908379 too large
Past duration 0.908958 too large
Past duration 0.909554 too large
Past duration 0.910133 too large   33313kB time=00:01:14.24 bitrate=3675.9kbits/s
Past duration 0.910713 too large
Past duration 0.911293 too large
Past duration 0.911873 too large   33353kB time=00:01:14.26 bitrate=3679.3kbits/s
Past duration 0.912468 too large
Past duration 0.913048 too large
Past duration 0.913628 too large
Past duration 0.914207 too large
Past duration 0.914803 too large
Past duration 0.915382 too large   33424kB time=00:01:15.24 bitrate=3639.1kbits/s
Past duration 0.915962 too large
Past duration 0.916542 too large
Past duration 0.917122 too large
Past duration 0.917717 too large
Past duration 0.918297 too large
Past duration 0.918877 too large   33479kB time=00:01:15.24 bitrate=3645.0kbits/s
Past duration 0.919456 too large
Past duration 0.920052 too large
Past duration 0.920631 too large
Past duration 0.921211 too large
Past duration 0.921791 too large   33528kB time=00:01:15.24 bitrate=3650.3kbits/s
Past duration 0.922386 too large
Past duration 0.922966 too large
Past duration 0.923546 too large   33539kB time=00:01:15.24 bitrate=3651.5kbits/s
Past duration 0.924126 too large
Past duration 0.924706 too large   33575kB time=00:01:15.24 bitrate=3655.4kbits/s
Past duration 0.925301 too large
Past duration 0.925880 too large
Past duration 0.926460 too large
Past duration 0.927040 too large   33615kB time=00:01:15.24 bitrate=3659.8kbits/s
Past duration 0.927635 too large   33619kB time=00:01:15.24 bitrate=3660.3kbits/s
Past duration 0.928215 too large
Past duration 0.928795 too large
Past duration 0.929375 too large
Past duration 0.929970 too large
Past duration 0.930550 too large
Past duration 0.931129 too large   33667kB time=00:01:16.24 bitrate=3617.3kbits/s
Past duration 0.931709 too large
Past duration 0.932289 too large
Past duration 0.932884 too large   33705kB time=00:01:16.24 bitrate=3621.3kbits/s
Past duration 0.933464 too large
Past duration 0.934044 too large
Past duration 0.934624 too large
Past duration 0.935219 too large   33760kB time=00:01:16.24 bitrate=3627.3kbits/s
Past duration 0.935799 too large
Past duration 0.936378 too large
Past duration 0.936958 too large
Past duration 0.937553 too large
Past duration 0.938133 too large
Past duration 0.938713 too large   33815kB time=00:01:16.24 bitrate=3633.2kbits/s
Past duration 0.939293 too large
Past duration 0.939873 too large
Past duration 0.940468 too large
Past duration 0.941048 too large
Past duration 0.941628 too large
Past duration 0.942207 too large   33868kB time=00:01:16.24 bitrate=3638.9kbits/s
Past duration 0.942802 too large
Past duration 0.943382 too large
Past duration 0.943962 too large
Past duration 0.944542 too large
Past duration 0.945137 too large
Past duration 0.945717 too large   33919kB time=00:01:16.24 bitrate=3644.4kbits/s
Past duration 0.946297 too large
Past duration 0.946877 too large
Past duration 0.947456 too large
Past duration 0.948051 too large
Past duration 0.948631 too large
Past duration 0.949211 too large   33966kB time=00:01:17.24 bitrate=3602.1kbits/s
Past duration 0.949791 too large
Past duration 0.950386 too large
Past duration 0.950966 too large
Past duration 0.951546 too large   34024kB time=00:01:17.24 bitrate=3608.2kbits/s
Past duration 0.952126 too large
Past duration 0.952705 too large
Past duration 0.953300 too large
Past duration 0.953880 too large
Past duration 0.954460 too large
Past duration 0.955040 too large   34077kB time=00:01:17.24 bitrate=3613.8kbits/s
Past duration 0.955635 too large
Past duration 0.956215 too large
Past duration 0.956795 too large
Past duration 0.957375 too large
Past duration 0.957970 too large   34129kB time=00:01:17.24 bitrate=3619.3kbits/s
Past duration 0.958549 too large   34133kB time=00:01:17.24 bitrate=3619.7kbits/s
Past duration 0.959129 too large
Past duration 0.959709 too large
Past duration 0.960289 too large   34183kB time=00:01:17.24 bitrate=3625.0kbits/s
Past duration 0.960884 too large
Past duration 0.961464 too large
Past duration 0.962044 too large
Past duration 0.962624 too large
Past duration 0.963219 too large   34243kB time=00:01:17.24 bitrate=3631.4kbits/s
Past duration 0.963799 too large
Past duration 0.964378 too large
Past duration 0.964958 too large
Past duration 0.965553 too large
Past duration 0.966133 too large   34304kB time=00:01:18.25 bitrate=3591.2kbits/s
Past duration 0.966713 too large
Past duration 0.967293 too large
Past duration 0.967873 too large   34319kB time=00:01:18.25 bitrate=3592.8kbits/s
Past duration 0.968468 too large
Past duration 0.969048 too large   34365kB time=00:01:18.25 bitrate=3597.6kbits/s
Past duration 0.969627 too large
Past duration 0.970207 too large
Past duration 0.970802 too large
Past duration 0.971382 too large   34427kB time=00:01:18.25 bitrate=3604.1kbits/s
Past duration 0.971962 too large
Past duration 0.972542 too large
Past duration 0.973137 too large
Past duration 0.973717 too large
Past duration 0.974297 too large
Past duration 0.974876 too large   34508kB time=00:01:18.25 bitrate=3612.6kbits/s
Past duration 0.975456 too large
Past duration 0.976051 too large
Past duration 0.976631 too large
Past duration 0.977211 too large
Past duration 0.977791 too large   34573kB time=00:01:18.25 bitrate=3619.4kbits/s
Past duration 0.978386 too large   34577kB time=00:01:18.25 bitrate=3619.9kbits/s
Past duration 0.978966 too large
Past duration 0.979546 too large
Past duration 0.980125 too large
Past duration 0.980705 too large   34639kB time=00:01:18.25 bitrate=3626.3kbits/s
Past duration 0.981300 too large
Past duration 0.981880 too large
Past duration 0.982460 too large
Past duration 0.983040 too large
Past duration 0.983635 too large   34716kB time=00:01:19.25 bitrate=3588.4kbits/s
Past duration 0.984215 too large   34720kB time=00:01:19.25 bitrate=3588.8kbits/s
Past duration 0.984795 too large
Past duration 0.985374 too large
Past duration 0.985970 too large
Past duration 0.986549 too large
Past duration 0.987129 too large   34801kB time=00:01:19.25 bitrate=3597.2kbits/s
Past duration 0.987709 too large
Past duration 0.988289 too large
Past duration 0.988884 too large
Past duration 0.989464 too large
Past duration 0.990044 too large   34833kB time=00:01:19.25 bitrate=3600.5kbits/s
Past duration 0.990623 too large
Past duration 0.991219 too large   34884kB time=00:01:19.25 bitrate=3605.8kbits/s
Past duration 0.991798 too large
Past duration 0.992378 too large
Past duration 0.992958 too large
Past duration 0.993553 too large   34946kB time=00:01:19.25 bitrate=3612.2kbits/s
Past duration 0.994133 too large
Past duration 0.994713 too large
Past duration 0.995293 too large
Past duration 0.995872 too large   35009kB time=00:01:19.25 bitrate=3618.7kbits/s
Past duration 0.996468 too large
Past duration 0.997047 too large
Past duration 0.997627 too large
Past duration 0.998207 too large   35073kB time=00:01:19.25 bitrate=3625.3kbits/s
Past duration 0.998802 too large
Past duration 0.999382 too large   35085kB time=00:01:19.27 bitrate=3625.5kbits/s
Past duration 0.999962 too large
Past duration 0.600975 too large   47628kB time=00:01:54.34 bitrate=3412.1kbits/s
Past duration 0.601555 too large
Past duration 0.602135 too large   47705kB time=00:01:54.34 bitrate=3417.7kbits/s dup=0 drop=1
Past duration 0.602715 too large
Past duration 0.603294 too large
Past duration 0.603889 too large
Past duration 0.604469 too large
Past duration 0.605049 too large
Past duration 0.605629 too large   47776kB time=00:01:54.34 bitrate=3422.7kbits/s dup=0 drop=1
Past duration 0.606224 too large
Past duration 0.606804 too large
Past duration 0.607384 too large   47837kB time=00:01:54.34 bitrate=3427.1kbits/s dup=0 drop=1
Past duration 0.607964 too large
Past duration 0.608559 too large
Past duration 0.609138 too large
Past duration 0.609718 too large   47891kB time=00:01:54.34 bitrate=3431.0kbits/s dup=0 drop=1
Past duration 0.610298 too large
Past duration 0.610878 too large
Past duration 0.611473 too large
Past duration 0.612053 too large   47939kB time=00:01:55.34 bitrate=3404.6kbits/s dup=0 drop=1
Past duration 0.612633 too large
Past duration 0.613213 too large
Past duration 0.613808 too large
Past duration 0.614388 too large   47988kB time=00:01:55.34 bitrate=3408.1kbits/s dup=0 drop=1
Past duration 0.614967 too large
Past duration 0.615547 too large
Past duration 0.616142 too large
Past duration 0.616722 too large
Past duration 0.617302 too large
Past duration 0.617882 too large   48036kB time=00:01:55.34 bitrate=3411.5kbits/s dup=0 drop=1
Past duration 0.618462 too large
Past duration 0.619057 too large
Past duration 0.619637 too large
Past duration 0.620216 too large
Past duration 0.620796 too large   48098kB time=00:01:55.34 bitrate=3415.9kbits/s dup=0 drop=1
Past duration 0.621391 too large   48102kB time=00:01:55.34 bitrate=3416.2kbits/s dup=0 drop=1
Past duration 0.621971 too large
Past duration 0.622551 too large
Past duration 0.623131 too large
Past duration 0.623726 too large   48159kB time=00:01:55.34 bitrate=3420.2kbits/s dup=0 drop=1
Past duration 0.624306 too large
Past duration 0.624886 too large
Past duration 0.625465 too large
Past duration 0.626045 too large   48215kB time=00:01:55.34 bitrate=3424.2kbits/s dup=0 drop=1
Past duration 0.626640 too large
Past duration 0.627220 too large
Past duration 0.627800 too large
Past duration 0.628380 too large   48268kB time=00:01:55.37 bitrate=3427.3kbits/s dup=0 drop=1
Past duration 0.628975 too large
Past duration 0.629555 too large
Past duration 0.630135 too large
Past duration 0.630714 too large   48288kB time=00:01:56.35 bitrate=3399.8kbits/s dup=0 drop=1
Past duration 0.631294 too large
Past duration 0.631889 too large   48330kB time=00:01:56.35 bitrate=3402.8kbits/s dup=0 drop=1
Past duration 0.632469 too large
Past duration 0.633049 too large
Past duration 0.633629 too large
Past duration 0.634224 too large   48383kB time=00:01:56.35 bitrate=3406.5kbits/s dup=0 drop=1
Past duration 0.634804 too large
Past duration 0.635384 too large
Past duration 0.635963 too large
Past duration 0.636559 too large   48440kB time=00:01:56.35 bitrate=3410.5kbits/s dup=0 drop=1
Past duration 0.637138 too large
Past duration 0.637718 too large
Past duration 0.638298 too large
Past duration 0.638878 too large   48508kB time=00:01:56.35 bitrate=3415.3kbits/s dup=0 drop=1
Past duration 0.639473 too large
Past duration 0.640053 too large
Past duration 0.640633 too large
Past duration 0.641212 too large
Past duration 0.641808 too large   48568kB time=00:01:56.35 bitrate=3419.5kbits/s dup=0 drop=1
Past duration 0.642387 too large
Past duration 0.642967 too large
Past duration 0.643547 too large
Past duration 0.644142 too large   48616kB time=00:01:56.35 bitrate=3422.9kbits/s dup=0 drop=1
Past duration 0.644722 too large
Past duration 0.645302 too large
Past duration 0.645882 too large   48629kB time=00:01:56.37 bitrate=3423.2kbits/s dup=0 drop=1
Past duration 0.646461 too large
Past duration 0.647057 too large   48670kB time=00:01:57.35 bitrate=3397.5kbits/s dup=0 drop=1
Past duration 0.647636 too large
Past duration 0.648216 too large
Past duration 0.648796 too large
Past duration 0.649391 too large   48722kB time=00:01:57.35 bitrate=3401.0kbits/s dup=0 drop=1
Past duration 0.649971 too large
Past duration 0.650551 too large
Past duration 0.651131 too large
Past duration 0.651726 too large
Past duration 0.652306 too large   48781kB time=00:01:57.35 bitrate=3405.2kbits/s dup=0 drop=1
Past duration 0.652885 too large
Past duration 0.653465 too large
Past duration 0.654045 too large
Past duration 0.654640 too large
Past duration 0.655220 too large
Past duration 0.655800 too large   48852kB time=00:01:57.35 bitrate=3410.1kbits/s dup=0 drop=1
Past duration 0.656380 too large
Past duration 0.656975 too large
Past duration 0.657555 too large
Past duration 0.658134 too large
Past duration 0.658714 too large
Past duration 0.659294 too large   48921kB time=00:01:57.35 bitrate=3415.0kbits/s dup=0 drop=1
Past duration 0.659889 too large
Past duration 0.660469 too large
Past duration 0.661049 too large
Past duration 0.661629 too large   48995kB time=00:01:57.35 bitrate=3420.1kbits/s dup=0 drop=1
Past duration 0.662224 too large
Past duration 0.662804 too large
Past duration 0.663383 too large   49008kB time=00:01:57.35 bitrate=3421.0kbits/s dup=0 drop=1
Past duration 0.663963 too large
Past duration 0.664558 too large
Past duration 0.665138 too large   49063kB time=00:01:58.35 bitrate=3395.9kbits/s dup=0 drop=1
Past duration 0.665718 too large
Past duration 0.666298 too large
Past duration 0.666878 too large
Past duration 0.667473 too large
Past duration 0.668053 too large
Past duration 0.668633 too large   49136kB time=00:01:58.35 bitrate=3400.9kbits/s dup=0 drop=1
Past duration 0.669212 too large   49142kB time=00:01:58.35 bitrate=3401.4kbits/s dup=0 drop=1
Past duration 0.669807 too large
Past duration 0.670387 too large
Past duration 0.670967 too large
Past duration 0.671547 too large
Past duration 0.672142 too large   49213kB time=00:01:58.35 bitrate=3406.2kbits/s dup=0 drop=1
Past duration 0.672722 too large   49218kB time=00:01:58.35 bitrate=3406.6kbits/s dup=0 drop=1
Past duration 0.673302 too large
Past duration 0.673882 too large
Past duration 0.674461 too large
Past duration 0.675056 too large
Past duration 0.675636 too large   49298kB time=00:01:58.35 bitrate=3412.1kbits/s dup=0 drop=1
Past duration 0.676216 too large   49303kB time=00:01:58.35 bitrate=3412.5kbits/s dup=0 drop=1
Past duration 0.676796 too large
Past duration 0.677391 too large
Past duration 0.677971 too large
Past duration 0.678551 too large
Past duration 0.679131 too large   49377kB time=00:01:58.35 bitrate=3417.6kbits/s dup=0 drop=1
Past duration 0.679726 too large
Past duration 0.680305 too large
Past duration 0.680885 too large   49432kB time=00:01:58.37 bitrate=3420.7kbits/s dup=0 drop=1
Past duration 0.681465 too large
Past duration 0.682045 too large
Past duration 0.682640 too large
Past duration 0.683220 too large
Past duration 0.683800 too large   49510kB time=00:01:59.36 bitrate=3398.0kbits/s dup=0 drop=1

I really don't like these messages. FFmpeg circa version 2.4 didn't have this issue. I'd be glad to upload the source video but it weighs over 2,5GB.

Attachments (1)

2MB (1.9 MB ) - added by Artem S. Tashkinov 8 years ago.
"Bad" file

Download all attachments as: .zip

Change History (29)

comment:1 by Artem S. Tashkinov, 9 years ago

ffmpeg from git exhibits the same (mis)behaviour.

comment:2 by Artem S. Tashkinov, 9 years ago

It gets worse later on:

Past duration 0.973015 too large
Past duration 0.973595 too large
Past duration 0.974174 too large
Past duration 0.974770 too large   81085kB time=00:03:15.56 bitrate=3396.6kbits/s dup=0 drop=2
Past duration 0.975349 too large
Past duration 0.975929 too large

Two frames are dropped every half a second. That's unacceptable.

comment:3 by Artem S. Tashkinov, 9 years ago

Needless to say now ffmpeg drops 3 frames:

Past duration 0.998024 too large
Past duration 0.998604 too large  101791kB time=00:04:14.72 bitrate=3273.7kbits/s dup=0 drop=3
Past duration 0.999184 too large

comment:4 by Carl Eugen Hoyos, 9 years ago

Priority: importantnormal

Please provide an input sample and an´actual command line of current FFmpeg git head that allows to reproduce the issue together with the complete, uncut console output to make this a valid ticket.

comment:5 by Artem S. Tashkinov, 9 years ago

So where can I upload this file to?

The full command and full output are already given (albeit it's cut at the end because there are thousands of such messages). I cannot add anything else.

in reply to:  5 comment:6 by Carl Eugen Hoyos, 9 years ago

Replying to birdie:

So where can I upload this file to?

Please read https://ffmpeg.org/bugreports.html (there is NO filesize limit).

The full command and full output are already given (albeit it's cut at the end because there are thousands of such messages). I cannot add anything else.

Please test current FFmpeg git head and add -t 2 (or whatever is needed) to make the console output shorter.

comment:7 by Artem S. Tashkinov, 9 years ago

When using -t 2 no errors are shown. Errors start appearing after encoding over 2K frames.

incoming/bug4643.mp4
incoming/bug4643.txt

Last edited 9 years ago by Artem S. Tashkinov (previous) (diff)

comment:8 by Artem S. Tashkinov, 9 years ago

At the end of encoding this can be seen:

Past duration 0.998070 too large  500411kB time=00:20:37.33 bitrate=3313.1kbits/s dup=0 drop=18
Past duration 0.998650 too large
Past duration 0.999229 too large
Past duration 0.999825 too large  500479kB time=00:20:37.33 bitrate=3313.5kbits/s dup=0 drop=18
frame=37411 fps=2.5 q=-1.0 Lsize=  511291kB time=00:20:54.18 bitrate=3339.6kbits/s dup=0 drop=18

comment:9 by Artem S. Tashkinov, 9 years ago

Encoded video:

Duration: 00:20:54.19, start: 0.000000, bitrate: 3339 kb/s

Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.83 fps, 29.83 tbr, 1k tbn, 59.67 tbc (default)

Or: 37411 frames.

Source video:

Duration: 00:20:54.19, start: 0.000000, bitrate: 17098 kb/s

Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 17000 kb/s, SAR 1:1 DAR 16:9, 29.85 fps, 29.83 tbr, 90ktbn, 180k tbc (default)

Or: 37429 frames

Last edited 9 years ago by Artem S. Tashkinov (previous) (diff)

comment:10 by Jonathan, 9 years ago

The vague "past duration" messages should be covered by #4401. Otherwise, my best guess is that this might be common in content that was encoded from a live feed where video frame sizes might deviate.

comment:11 by Artem S. Tashkinov, 9 years ago

This is not a live stream, it's a video clip from my smart phone.

comment:12 by Jonathan, 9 years ago

I'm not referring to running ffmpeg on a stream; I'm referring to the method of encoding the original mp4 file. The video clip had to originate from some content. If it was generated by video footage and encoded into h264 directly by the capture device, such as the case if your smart phone recorded video from its camera, then that was live video captured into h264 and very likely to have variations in frame sizes. If it was computer-generated animation, then the frames are more likely to be evenly spaced.

comment:13 by Artem S. Tashkinov, 9 years ago

I get you.

However I still want to hope that ffmpeg developers will find a way to cope with such frames so that people won't have A/V synchronization issues (if those frames cannot be re-encoded).

I guess there's no harm in duplicating preceding frames in case "uneven" frames are unsuitable for encoding.

in reply to:  7 comment:14 by Carl Eugen Hoyos, 8 years ago

Replying to birdie:

incoming/bug4643.mp4
incoming/bug4643.txt

The files unfortunately are not available (anymore): Please upload again.

comment:15 by Carl Eugen Hoyos, 8 years ago

Resolution: needs_more_info
Status: newclosed

Please reopen this ticket if you can provide an input file (again).

comment:16 by Carl Eugen Hoyos, 8 years ago

Version: 2.7unspecified

comment:17 by Artem S. Tashkinov, 8 years ago

With version 3.0 I cannot reproduce this bug any longer. I will reopen it if I find another source.

by Artem S. Tashkinov, 8 years ago

Attachment: 2MB added

"Bad" file

comment:18 by Artem S. Tashkinov, 8 years ago

Resolution: needs_more_info
Status: closedreopened

$ ffmpeg -i source -c:v libx264 -preset veryslow out.mkv

ffmpeg version 3.1.2 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --libdir=/usr/local/lib64 --enable-gpl --enable-version3 --enable-nonfree --enable-gray --enable-avresample --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libx264 --enable-libx265 --enable-libxvid --enable-pthreads --enable-libvpx --extra-libs='-ldl -lstdc++'
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100

[flv @ 0x2ba54a0] audio stream discovered after head already parsed
[flv @ 0x2ba54a0] video stream discovered after head already parsed
Input #0, flv, from 'source/2MB':

Duration: N/A, start: 4775.088000, bitrate: N/A

Stream #0:0: Audio: nellymoser, 44100 Hz, mono, flt
Stream #0:1: Video: h264 (Baseline), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 30.30 fps, 15 tbr, 1k tbn, 60 tbc

File 'out.mkv' already exists. Overwrite ? [y/N] y
[libx264 @ 0x2ba7aa0] using SAR=1/1
[libx264 @ 0x2ba7aa0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x2ba7aa0] profile High, level 3.2
[libx264 @ 0x2ba7aa0] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=16 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=16 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=450 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[matroska @ 0x2bad900] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

Last message repeated 1 times

Output #0, matroska, to 'out.mkv':

Metadata:

encoder : Lavf57.41.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 15 fps, 1k tbn, 15 tbc
Metadata:

encoder : Lavc57.48.101 libx264

Side data:

cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1

Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, mono, fltp, 96 kb/s
Metadata:

encoder : Lavc57.48.101 ac3

Stream mapping:

Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (nellymoser (native) -> ac3 (native))

Press [q] to stop, ? for help
Past duration 0.729988 too large 177kB time=00:00:10.23 bitrate= 141.4kbits/s speed=8.43x
Past duration 0.799995 too large
Past duration 0.929985 too large
Past duration 0.879997 too large
Past duration 0.874992 too large
Past duration 0.719994 too large
Past duration 0.714989 too large
Past duration 0.829994 too large
Past duration 0.764992 too large
Past duration 0.909996 too large
Past duration 0.994987 too large
Past duration 0.764992 too large
Past duration 0.864998 too large
...

This original video is 30 minutes long and at the end of it ffmpeg reports 10 000 skipped frames (out of 54 000, which is quite a lot) - dunno why but the resulting video is always at 15 fps whereas the source is 30 fps.

comment:19 by Carl Eugen Hoyos, 8 years ago

Is the issue reproducible with current FFmpeg git head?

in reply to:  19 comment:20 by Artem S. Tashkinov, 8 years ago

Replying to cehoyos:

Is the issue reproducible with current FFmpeg git head?

./ffmpeg -i *flv -c:v libx264 -preset veryslow out.mkv
ffmpeg version N-81438-g77bf96b Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 6.1.1 (GCC) 20160621 (Red Hat 6.1.1-3)
configuration: --enable-fontconfig --enable-libfreetype --enable-libopus --enable-opengl --enable-openssl --enable-x11grab --enable-pic --enable-avresample --enable-gpl --enable-version3 --enable-nonfree --disable-shared --enable-static --libdir=/usr/local/lib64 --enable-libx264 --enable-libx265 --enable-libfdk-aac --disable-lto
libavutil 55. 29.100 / 55. 29.100
libavcodec 57. 54.100 / 57. 54.100
libavformat 57. 48.100 / 57. 48.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 52.100 / 6. 52.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100

[flv @ 0x3078040] audio stream discovered after head already parsed
[flv @ 0x3078040] video stream discovered after head already parsed
Input #0, flv, from 'stream_xCleopatraxx.flv':

Duration: 01:58:39.28, start: 4775.088000, bitrate: 218 kb/s

Stream #0:0: Audio: nellymoser, 44100 Hz, mono, flt
Stream #0:1: Video: h264 (Baseline), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 30.30 fps, 15 tbr, 1k tbn, 60 tbc

[libx264 @ 0x307a420] using SAR=1/1
[libx264 @ 0x307a420] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x307a420] profile High, level 3.2
[libx264 @ 0x307a420] 264 - core 148 r2699 a5e06b9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=16 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[matroska @ 0x307c200] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

Last message repeated 1 times

Output #0, matroska, to 'out.mkv':

Metadata:

encoder : Lavf57.48.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 15 fps, 1k tbn, 15 tbc
Metadata:

encoder : Lavc57.54.100 libx264

Side data:

cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1

Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, mono, fltp, delay 256, padding 0, 96 kb/s
Metadata:

encoder : Lavc57.54.100 ac3

Stream mapping:

Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (nellymoser (native) -> ac3 (native))

Press [q] to stop, ? for help
Past duration 0.729988 too large 147kB time=00:00:09.67 bitrate= 124.3kbits/s speed=3.99x
Past duration 0.799995 too large
Past duration 0.929985 too large 175kB time=00:00:10.37 bitrate= 138.1kbits/s speed=3.54x
Past duration 0.879997 too large
Past duration 0.874992 too large
Past duration 0.719994 too large
Past duration 0.714989 too large
Past duration 0.829994 too large
Past duration 0.764992 too large
Past duration 0.909996 too large
Past duration 0.994987 too large
Past duration 0.764992 too large
Past duration 0.864998 too large 209kB time=00:00:11.03 bitrate= 155.1kbits/s speed=2.92x
Past duration 0.829994 too large
Past duration 0.914986 too large
Past duration 0.894997 too large
Past duration 0.889992 too large
Past duration 0.794991 too large
Past duration 0.744987 too large
Past duration 0.844994 too large
Past duration 0.824989 too large 236kB time=00:00:11.59 bitrate= 166.7kbits/s speed=2.68x
Past duration 0.924995 too large
Past duration 0.919991 too large
Past duration 0.764992 too large
Past duration 0.789986 too large
Past duration 0.844994 too large
Past duration 0.779991 too large 262kB time=00:00:12.01 bitrate= 179.0kbits/s speed=2.46x
Past duration 0.954994 too large
Past duration 0.904991 too large
Past duration 0.809990 too large
Past duration 0.744987 too large
Past duration 0.844994 too large
Past duration 0.734993 too large 293kB time=00:00:12.42 bitrate= 193.0kbits/s speed= 2.3x
Past duration 0.939995 too large
Past duration 0.934990 too large
Past duration 0.629997 too large
Past duration 0.820000 too large
Past duration 0.784996 too large
Past duration 0.899986 too large
CCav_interleaved_write_frame(): Immediate exit requested8 bitrate= 206.0kbits/s speed= 2.1x
CReceived > 3 system signals, hard exiting

comment:21 by Artem S. Tashkinov, 8 years ago

Version: unspecifiedgit-master

comment:22 by Carl Eugen Hoyos, 8 years ago

Keywords: dts regression added
Priority: normalminor

For the given sample, if there is an issue it is a regression since 7b32856011d1859a974b884f76bd17b7a7fdab76

in reply to:  22 comment:23 by Artem S. Tashkinov, 8 years ago

Replying to cehoyos:

For the given sample, if there is an issue it is a regression since 7b32856011d1859a974b884f76bd17b7a7fdab76

Thanks for letting know.

-vf "fps=30"

or

-vf "fps=15"

both fix this problem

comment:24 by bubbleguuum, 7 years ago

This 4K hevc video exhibits this issue using ffmpeg 3.3, resulting in choppy playback.

As mentioned in previous post, specifying a fps filter makes the error goes away.
Yet it would be great to have ffmpeg produce a non choppy video by default.

Download LG_4K_View-the-Feeling.mp4 at http://demo-uhd3d.com/fiche.php?cat=uhd&id=101

ffmpeg  -i LG_4K_View-the-Feeling.mp4 -c:v libx264 -vf 'scale=-1:720' -c:a copy  -f matroska - > /dev/null
ffmpeg version 3.3-tessus Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --disable-ffplay --disable-indev=qtkit
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, mpegts, from 'LG_4K_View-the-Feeling.mp4':
  Duration: 00:01:56.84, start: 4200.000000, bitrate: 24904 kb/s
  Program 1 
    Stream #0:0[0x1011]: Video: hevc (Main) (HEVC / 0x43564548), yuv420p(tv), 3840x2160 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
    Stream #0:1[0x1100](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 176 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x7feb4f801200] using SAR=1/1
[libx264 @ 0x7feb4f801200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7feb4f801200] profile High, level 3.1
[libx264 @ 0x7feb4f801200] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'pipe:':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 1k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.89.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1(und): Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 176 kb/s
Past duration 0.999992 too large    2604kB time=00:00:12.21 bitrate=1746.1kbits/s dup=0 drop=12 speed=1.14x    
Past duration 0.999657 too large    3797kB time=00:00:17.25 bitrate=1802.2kbits/s dup=0 drop=15 speed=1.09x    
Past duration 0.999657 too large    6187kB time=00:00:27.24 bitrate=1860.4kbits/s dup=0 drop=24 speed=1.06x    
    Last message repeated 1 times
Past duration 0.999657 too large    6714kB time=00:00:29.37 bitrate=1872.0kbits/s dup=0 drop=26 speed=1.06x    
Past duration 0.999657 too large    6962kB time=00:00:30.26 bitrate=1884.4kbits/s dup=0 drop=27 speed=1.05x    
Past duration 0.999657 too large   10387kB time=00:00:43.30 bitrate=1965.0kbits/s dup=0 drop=38 speed=1.02x    
Past duration 0.999657 too large   12830kB time=00:00:48.93 bitrate=2148.1kbits/s dup=0 drop=41 speed=0.991x    
    Last message repeated 1 times
Past duration 0.999657 too large   14292kB time=00:00:52.66 bitrate=2223.0kbits/s dup=0 drop=43 speed=0.984x    
Past duration 0.999657 too large   14363kB time=00:00:53.72 bitrate=2190.1kbits/s dup=0 drop=45 speed=0.985x    
Past duration 0.999657 too large   15570kB time=00:00:56.67 bitrate=2250.7kbits/s dup=0 drop=79 speed=0.983x    
    Last message repeated 5 times
Past duration 0.999657 too large   15722kB time=00:00:57.31 bitrate=2247.3kbits/s dup=0 drop=94 speed=0.985x    
    Last message repeated 9 times
Past duration 0.999657 too large   15950kB time=00:00:57.67 bitrate=2265.6kbits/s dup=0 drop=94 speed=0.983x    
    Last message repeated 10 times
Past duration 0.999657 too large   16196kB time=00:00:58.03 bitrate=2286.1kbits/s dup=0 drop=94 speed=0.98x    
    Last message repeated 10 times
Past duration 0.999657 too large   16485kB time=00:00:58.37 bitrate=2313.3kbits/s dup=0 drop=94 speed=0.977x    
    Last message repeated 8 times
Past duration 0.999657 too large   16668kB time=00:00:58.67 bitrate=2327.0kbits/s dup=0 drop=94 speed=0.973x    
    Last message repeated 10 times
Past duration 0.999657 too large   16996kB time=00:00:59.03 bitrate=2358.2kbits/s dup=0 drop=94 speed=0.971x    
    Last message repeated 4 times
Past duration 0.999657 too large   41520kB time=00:01:52.79 bitrate=3015.4kbits/s dup=0 drop=351 speed=0.958x    
    Last message repeated 22 times
Past duration 0.999657 too large   41594kB time=00:01:53.56 bitrate=3000.3kbits/s dup=0 drop=352 speed=0.96x    
    Last message repeated 19 times
Past duration 0.999657 too large   41663kB time=00:01:54.22 bitrate=2987.9kbits/s dup=0 drop=352 speed=0.962x    
    Last message repeated 30 times
Past duration 0.999657 too large   41716kB time=00:01:55.25 bitrate=2965.1kbits/s dup=0 drop=352 speed=0.966x    
    Last message repeated 28 times
frame= 3142 fps= 26 q=-1.0 Lsize=   41873kB time=00:01:58.62 bitrate=2891.7kbits/s dup=0 drop=352 speed=0.99x    
video:39061kB audio:2776kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.085406%
[libx264 @ 0x7feb4f801200] frame I:26    Avg QP:18.86  size:147675
[libx264 @ 0x7feb4f801200] frame P:879   Avg QP:22.20  size: 28143
[libx264 @ 0x7feb4f801200] frame B:2237  Avg QP:25.73  size:  5105
[libx264 @ 0x7feb4f801200] consecutive B-frames:  3.7%  3.0%  3.4% 89.9%
[libx264 @ 0x7feb4f801200] mb I  I16..4: 14.2% 56.8% 28.9%
[libx264 @ 0x7feb4f801200] mb P  I16..4:  2.4%  7.1%  1.2%  P16..4: 33.6% 16.3% 11.5%  0.0%  0.0%    skip:27.9%
[libx264 @ 0x7feb4f801200] mb B  I16..4:  0.2%  0.5%  0.1%  B16..8: 30.7%  4.1%  1.4%  direct: 2.1%  skip:60.7%  L0:39.3% L1:50.1% BI:10.7%
[libx264 @ 0x7feb4f801200] 8x8 transform intra:63.7% inter:66.5%
[libx264 @ 0x7feb4f801200] coded y,uvDC,uvAC intra: 56.8% 50.7% 28.7% inter: 13.6% 10.7% 2.2%
[libx264 @ 0x7feb4f801200] i16 v,h,dc,p: 31% 25%  6% 38%
[libx264 @ 0x7feb4f801200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 14% 22%  7%  6%  7%  6% 10%  7%
[libx264 @ 0x7feb4f801200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 12% 12% 10%  9% 10%  8% 13%  8%
[libx264 @ 0x7feb4f801200] i8c dc,h,v,p: 65% 17% 14%  5%
[libx264 @ 0x7feb4f801200] Weighted P-Frames: Y:12.1% UV:10.5%
[libx264 @ 0x7feb4f801200] ref P L0: 63.6% 18.2% 10.9%  7.3%  0.1%
[libx264 @ 0x7feb4f801200] ref B L0: 89.2%  7.8%  2.9%
[libx264 @ 0x7feb4f801200] ref B L1: 94.2%  5.8%
[libx264 @ 0x7feb4f801200] kb/s:2649.89
Last edited 7 years ago by bubbleguuum (previous) (diff)

comment:25 by bermond, 7 years ago

This also happens with me. It occurs when capturing a X11 desktop and using -framerate as an input option alongside with -f x11grab. When switching -framerate to -r this warning does _not_ appear and everything is normal. For example:

This gives 'Past duration 0.xxxxxx too large' messages:
$ ffmpeg -video_size 640x480 -framerate 25 -f x11grab -i :0.0+0,0 -f alsa -ac 2 -i pulse output.mkv

This goes fine:
$ ffmpeg -video_size 640x480 -r 25 -f x11grab -i :0.0+0,0 -f alsa -ac 2 -i pulse output.mkv

But the ffmpeg documentation tells to favor -framerate as an input option, so this seems to be just a workaround.

Using ffmpeg git master.

Last edited 7 years ago by bermond (previous) (diff)

comment:26 by Michael Niedermayer, 6 years ago

The "2MB" file is a h264 in flv stream which is at the h264 level marked as 30fps. At the flv level as 15fps from its timestamps. 15fps is the correct value for the part of the video provided.
Maybe it contains 30fps content later, the video is truncated so that is just a guess.

What exactly is the bug report about ? (this question is for the original report not any possibly unrelated issues showing similar error messages,)

That FFmpeg guesses input to be 15fps that seems 15fps at the begin ?
A human looking at the first 2mb would make the same choice likely if he is faced with choosing a fps value for converting to constant fps.

That FFmpeg produces some warning/error messages ?

That FFmpeg drops frames when it converts 30fps parts to 15fps ?
That is what it has to do at that point, no real choice.

comment:27 by Michael Niedermayer, 6 years ago

Cc: Michael Niedermayer added

comment:28 by Carl Eugen Hoyos, 5 years ago

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.