[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
Tue Aug 23 12:44:27 EEST 2016
#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: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Changes (by birdie):
* status: closed => reopened
* resolution: needs_more_info =>
Comment:
$ 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.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4643#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list