[FFmpeg-user] telecine pattern 5555 - Judder-free, 60 FPS telecine (?)

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Sat Apr 11 21:37:29 EEST 2020


On 04/11/2020 10:58 AM, Carl Eugen Hoyos wrote:
> Am Sa., 11. Apr. 2020 um 15:05 Uhr schrieb Mark Filipak
> <markfilipak.windows+ffmpeg at gmail.com>:
>>
>> On 04/11/2020 08:05 AM, Carl Eugen Hoyos wrote:
>>>
>>> Mark:
>>> Since dbc5c0c1, you can use the following filter chain:
>>> fps=24000/1001,setparams=field_mode=prog,telecine=pattern=5,yadif=deint=interlaced
> 
>> Thanks, Carl Eugen. Actually, for my test animation, I don't see any difference between this:
>> 'fps=24000/1001,setparams=field_mode=prog,telecine=pattern=5,yadif=deint=interlaced'
> 
> Command line and complete, uncut console output missing.

CL & log is below, but I was referring to what I see while stepping frame-by-frame. I see that, 
beginning with the 3rd frame, every 5th frame is combed. The combed frames are not decombed at all 
-- why would they be decombed? The input is progressive and yadif has nothing to do.

Would you like to see some screen shots?

ffmpeg -i "M:\Test Videos\23.976p.mkv" -filter_complex 
"fps=24000/1001,setparams=field_mode=prog,telecine=pattern=5,yadif=deint=interlaced" -map 0 -c:v 
libx264 -crf 20 -an -sn "C:\AVOut\23.976p.5.MKV"

ffmpeg started on 2020-04-11 at 14:08:06
Report written to "23.976p.5.LOG"
Log level: 32
Command line:
ffmpeg -i "M:\\Test Videos\\23.976p.mkv" -filter_complex 
"fps=24000/1001,setparams=field_mode=prog,telecine=pattern=5,yadif=deint=interlaced" -map 0 -c:v 
libx264 -crf 20 -an -sn "C:\\AVOut\\23.976p.5.MKV"
ffmpeg version git-2020-04-03-52523b6 Copyright (c) 2000-2020 the FFmpeg developers
   built with gcc 9.3.1 (GCC) 20200328
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls 
--enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype 
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt 
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp 
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib 
--enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc 
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx 
--enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec 
--enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
   libavutil      56. 42.102 / 56. 42.102
   libavcodec     58. 77.101 / 58. 77.101
   libavformat    58. 42.100 / 58. 42.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 77.101 /  7. 77.101
   libswscale      5.  6.101 /  5.  6.101
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
Input #0, matroska,webm, from 'M:\Test Videos\23.976p.mkv':
   Metadata:
     encoder         : libebml v1.3.9 + libmatroska v1.5.2
     creation_time   : 2020-04-04T03:44:24.000000Z
   Duration: 00:00:10.01, start: 0.000000, bitrate: 544 kb/s
     Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 
23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
     Metadata:
       BPS-eng         : 538378
       DURATION-eng    : 00:00:10.010000000
       NUMBER_OF_FRAMES-eng: 240
       NUMBER_OF_BYTES-eng: 673646
       _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit
       _STATISTICS_WRITING_DATE_UTC-eng: 2020-04-04 03:44:24
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[Parsed_telecine_2 @ 00000290226c6340] Telecine pattern 5 yields up to 3 frames per frame, pts 
advance factor: 2/5
Stream mapping:
   Stream #0:0 (h264) -> fps
   yadif -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[Parsed_telecine_2 @ 0000029025c01840] Telecine pattern 5 yields up to 3 frames per frame, pts 
advance factor: 2/5
[libx264 @ 0000029022780540] using SAR=1/1
[libx264 @ 0000029022780540] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000029022780540] profile High, level 4.2, 4:2:0, 8-bit
[libx264 @ 0000029022780540] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - 
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=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'C:\AVOut\23.976p.5.MKV':
   Metadata:
     encoder         : Lavf58.42.100
     Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 
q=-1--1, 59.94 fps, 1k tbn, 59.94 tbc (default)
     Metadata:
       encoder         : Lavc58.77.101 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=   36 fps=0.0 q=0.0 size=       1kB time=00:00:00.00 bitrate=N/A speed=   0x
frame=   91 fps= 90 q=28.0 size=       1kB time=00:00:00.53 bitrate=   9.2kbits/s speed=0.529x
frame=  156 fps=103 q=28.0 size=       1kB time=00:00:01.61 bitrate=   3.1kbits/s speed=1.07x
frame=  214 fps=106 q=28.0 size=       1kB time=00:00:02.58 bitrate=   1.9kbits/s speed=1.28x
frame=  276 fps=108 q=28.0 size=       1kB time=00:00:03.62 bitrate=   1.4kbits/s speed=1.42x
frame=  316 fps=103 q=28.0 size=     512kB time=00:00:04.28 bitrate= 977.9kbits/s speed= 1.4x
frame=  369 fps=103 q=28.0 size=     512kB time=00:00:05.17 bitrate= 810.8kbits/s speed=1.45x
frame=  426 fps=105 q=28.0 size=     512kB time=00:00:06.12 bitrate= 684.9kbits/s speed= 1.5x
frame=  481 fps=105 q=28.0 size=     512kB time=00:00:07.04 bitrate= 595.7kbits/s speed=1.54x
frame=  546 fps=107 q=26.0 size=     512kB time=00:00:08.12 bitrate= 516.2kbits/s speed= 1.6x
frame=  600 fps=105 q=-1.0 Lsize=    1398kB time=00:00:09.96 bitrate=1149.8kbits/s speed=1.75x
video:1393kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.345330%
[libx264 @ 0000029022780540] frame I:3     Avg QP: 6.89  size: 10603
[libx264 @ 0000029022780540] frame P:216   Avg QP:20.38  size:  2362
[libx264 @ 0000029022780540] frame B:381   Avg QP:21.46  size:  2321
[libx264 @ 0000029022780540] consecutive B-frames:  1.0% 31.0% 36.0% 32.0%
[libx264 @ 0000029022780540] mb I  I16..4: 95.8%  1.3%  3.0%
[libx264 @ 0000029022780540] mb P  I16..4:  0.5%  0.4%  0.3%  P16..4:  2.2%  0.5%  0.1%  0.0%  0.0% 
   skip:95.9%
[libx264 @ 0000029022780540] mb B  I16..4:  0.1%  0.0%  0.1%  B16..8:  1.5%  0.1%  0.0%  direct: 
0.8%  skip:97.4%  L0:53.5% L1:44.4% BI: 2.2%
[libx264 @ 0000029022780540] 8x8 transform intra:15.8% inter:47.1%
[libx264 @ 0000029022780540] coded y,uvDC,uvAC intra: 10.4% 22.6% 19.9% inter: 0.5% 0.8% 0.7%
[libx264 @ 0000029022780540] i16 v,h,dc,p: 81% 18%  1%  0%
[libx264 @ 0000029022780540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7%  6% 86%  1%  0%  0%  0%  0%  0%
[libx264 @ 0000029022780540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 45% 22%  2%  1%  2%  1%  2%  1%
[libx264 @ 0000029022780540] i8c dc,h,v,p: 61% 20% 17%  2%
[libx264 @ 0000029022780540] Weighted P-Frames: Y:1.9% UV:1.9%
[libx264 @ 0000029022780540] ref P L0: 67.6%  2.1% 19.6% 10.6%  0.1%
[libx264 @ 0000029022780540] ref B L0: 74.7% 16.1%  9.2%
[libx264 @ 0000029022780540] ref B L1: 98.6%  1.4%
[libx264 @ 0000029022780540] kb/s:1139.72


More information about the ffmpeg-user mailing list