Changes between Version 1 and Version 3 of Ticket #10018


Ignore:
Timestamp:
Nov 10, 2022, 9:22:28 AM (4 years ago)
Author:
Peter Z
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10018

    • Property Version 5.0.2unspecified
  • Ticket #10018 – Description

    v1 v3  
    55Create a test file with a frame rate of 30fps with a timescale double that.
    66{{{
    7 % ffmpeg -f lavfi -i testsrc=duration=10:size=1728x720:rate=30 -c:v libx264 -b:v 1000000 -video_track_timescale 60 -movie_timescale 60 repro.mp4
     7% ./ffmpeg -f lavfi -i testsrc=duration=10:size=1728x720:rate=30 -c:v libx264 -b:v 1000000 -video_track_timescale 60 -movie_timescale 60 repro.mp4
     8ffmpeg version N-109048-g65f3bc9e7e Copyright (c) 2000-2022 the FFmpeg developers
     9  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
     10  configuration: --enable-static --enable-ffmpeg --enable-ffprobe --disable-shared --enable-gpl --enable-gray --enable-nonfree --enable-iconv --enable-libxml2 --enable-libmp3lame --enable-libfdk-aac --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxml2 --disable-stripping --enable-libfreetype --enable-libsoxr --extra-cflags=-I/opt/homebrew/include --extra-ldflags=-L/opt/homebrew/lib
     11  libavutil      57. 42.100 / 57. 42.100
     12  libavcodec     59. 52.100 / 59. 52.100
     13  libavformat    59. 34.101 / 59. 34.101
     14  libavdevice    59.  8.101 / 59.  8.101
     15  libavfilter     8. 50.100 /  8. 50.100
     16  libswscale      6.  8.112 /  6.  8.112
     17  libswresample   4.  9.100 /  4.  9.100
     18  libpostproc    56.  7.100 / 56.  7.100
     19Input #0, lavfi, from 'testsrc=duration=10:size=1728x720:rate=30':
     20  Duration: N/A, start: 0.000000, bitrate: N/A
     21  Stream #0:0: Video: wrapped_avframe, rgb24, 1728x720 [SAR 1:1 DAR 12:5], 30 fps, 30 tbr, 30 tbn
     22Stream mapping:
     23  Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (libx264))
     24Press [q] to stop, [?] for help
     25[libx264 @ 0x1452061e0] using SAR=1/1
     26[libx264 @ 0x1452061e0] using cpu capabilities: ARMv8 NEON
     27[libx264 @ 0x1452061e0] profile High 4:4:4 Predictive, level 3.2, 4:4:4, 8-bit
     28[libx264 @ 0x1452061e0] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - 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=4 threads=15 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=abr mbtree=1 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
     29Output #0, mp4, to 'repro.mp4':
     30  Metadata:
     31    encoder         : Lavf59.34.101
     32  Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv444p(tv, progressive), 1728x720 [SAR 1:1 DAR 12:5], q=2-31, 1000 kb/s, 30 fps, 60 tbn
     33    Metadata:
     34      encoder         : Lavc59.52.100 libx264
     35    Side data:
     36      cpb: bitrate max/min/avg: 0/0/1000000 buffer size: 0 vbv_delay: N/A
     37frame=  300 fps=0.0 q=-1.0 Lsize=     547kB time=00:00:09.90 bitrate= 452.9kbits/s speed=11.6x
     38video:543kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.804443%
     39[libx264 @ 0x1452061e0] frame I:2     Avg QP:11.65  size: 12071
     40[libx264 @ 0x1452061e0] frame P:76    Avg QP: 4.77  size:  2199
     41[libx264 @ 0x1452061e0] frame B:222   Avg QP: 4.38  size:  1640
     42[libx264 @ 0x1452061e0] consecutive B-frames:  1.3%  0.0%  0.0% 98.7%
     43[libx264 @ 0x1452061e0] mb I  I16..4: 72.3% 23.5%  4.2%
     44[libx264 @ 0x1452061e0] mb P  I16..4:  2.1%  0.5%  0.6%  P16..4:  3.1%  0.5%  0.1%  0.0%  0.0%    skip:93.0%
     45[libx264 @ 0x1452061e0] mb B  I16..4:  0.0%  0.1%  0.0%  B16..8:  3.6%  0.2%  0.0%  direct: 1.6%  skip:94.4%  L0:52.6% L1:46.7% BI: 0.7%
     46[libx264 @ 0x1452061e0] final ratefactor: 0.18
     47[libx264 @ 0x1452061e0] 8x8 transform intra:21.2% inter:84.3%
     48[libx264 @ 0x1452061e0] coded y,u,v intra: 6.2% 7.1% 6.3% inter: 0.1% 1.3% 1.2%
     49[libx264 @ 0x1452061e0] i16 v,h,dc,p: 89%  9%  1%  2%
     50[libx264 @ 0x1452061e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 62%  4% 33%  0%  0%  0%  0%  0%  0%
     51[libx264 @ 0x1452061e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 47% 34%  0%  0%  0%  0%  0%  0%
     52[libx264 @ 0x1452061e0] Weighted P-Frames: Y:0.0% UV:0.0%
     53[libx264 @ 0x1452061e0] ref P L0: 84.6%  0.8% 10.9%  3.6%
     54[libx264 @ 0x1452061e0] ref B L0: 93.8%  6.2%  0.1%
     55[libx264 @ 0x1452061e0] ref B L1: 98.2%  1.8%
     56[libx264 @ 0x1452061e0] kb/s:444.27
     57
    858}}}
    959Check the duration of the packets with ffprobe: