[FFmpeg-trac] #4643(undetermined:reopened): Multiple "Past duration 0.XXXXXX too large" and "dup=0 drop=1" messages when reencoding a H.264 source to x264
FFmpeg
trac at avcodec.org
Fri May 19 02:02:38 EEST 2017
#4643: Multiple "Past duration 0.XXXXXX too large" and "dup=0 drop=1" messages
when reencoding a H.264 source to x264
-------------------------------------+-------------------------------------
Reporter: birdie | Owner:
Type: defect | Status: reopened
Priority: minor | Component:
Version: git-master | undetermined
Keywords: dts | Resolution:
regression | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by bubbleguuum):
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
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4643#comment:24>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list