[FFmpeg-user] 'image trails'
Mark Filipak
markfilipak.windows+ffmpeg at gmail.com
Tue Apr 7 19:38:22 EEST 2020
Attached: Transcode of 23.976p.MKV to 60/1.001 FPS
I hope that the attached video is allowed and that it survives.
> select=/*n+1%10==3*/ >
IN --> telecine=pattern=5 > split > select=/*n+1%10==8*/ > mix > OUT
> select=/* else */ >
The attached video has 'image trails'. Any ideas why that is?
Regards,
Mark.
ffmpeg -i "M:\Test Videos\23.976p.mkv" -filter_complex
"telecine=pattern=5,split=3[B][C][D],[B]select='bitand(not(eq(mod(n+1\,10)\,3))\,not(eq(mod(n+1\,10)\,8)))'[E],[C]select='eq(mod(n+1\,10)\,3)'[G],[D]select='eq(mod(n+1\,10)\,8)'[H],[E][G][H]mix=3"
-map 0 -c:v libx264 -crf 28 -c:a copy -c:s copy "C:\AVOut\23.976p.MKV"
ffmpeg version N-94664-g0821bc4eee Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190807
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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex
--enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 33.100 / 56. 33.100
libavcodec 58. 55.101 / 58. 55.101
libavformat 58. 31.104 / 58. 31.104
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.101 / 7. 58.101
libswscale 5. 6.100 / 5. 6.100
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_0 @ 0000024c265be4c0] Telecine pattern 5 yields up to 3 frames per frame, pts
advance factor: 2/5
File 'C:\AVOut\23.976p.MKV' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 (h264) -> telecine
mix -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[Parsed_telecine_0 @ 0000024c26669e40] Telecine pattern 5 yields up to 3 frames per frame, pts
advance factor: 2/5
[libx264 @ 0000024c26e000c0] using SAR=1/1
[libx264 @ 0000024c26e000c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000024c26e000c0] profile High, level 4.2, 4:2:0, 8-bit
[libx264 @ 0000024c26e000c0] 264 - core 158 r2984 3759fcb - 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=28.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.MKV':
Metadata:
encoder : Lavf58.31.104
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.55.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: 18446744073709551615
frame= 593 fps= 48 q=-1.0 Lsize= 491kB time=00:00:09.96 bitrate= 403.9kbits/s speed=0.812x
video:486kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.994769%
[libx264 @ 0000024c26e000c0] frame I:3 Avg QP:18.63 size: 9380
[libx264 @ 0000024c26e000c0] frame P:164 Avg QP:26.74 size: 1210
[libx264 @ 0000024c26e000c0] frame B:426 Avg QP:29.03 size: 635
[libx264 @ 0000024c26e000c0] consecutive B-frames: 3.9% 0.3% 2.0% 93.8%
[libx264 @ 0000024c26e000c0] mb I I16..4: 37.1% 60.3% 2.5%
[libx264 @ 0000024c26e000c0] mb P I16..4: 0.2% 0.4% 0.1% P16..4: 2.6% 0.4% 0.2% 0.0% 0.0%
skip:96.2%
[libx264 @ 0000024c26e000c0] mb B I16..4: 0.1% 0.0% 0.0% B16..8: 2.0% 0.2% 0.1% direct:
0.2% skip:97.4% L0:51.0% L1:47.2% BI: 1.8%
[libx264 @ 0000024c26e000c0] 8x8 transform intra:57.4% inter:78.8%
[libx264 @ 0000024c26e000c0] coded y,uvDC,uvAC intra: 6.3% 13.6% 12.0% inter: 0.3% 0.6% 0.2%
[libx264 @ 0000024c26e000c0] i16 v,h,dc,p: 72% 25% 3% 0%
[libx264 @ 0000024c26e000c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48% 9% 41% 0% 0% 0% 0% 0% 0%
[libx264 @ 0000024c26e000c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 52% 21% 1% 1% 2% 1% 2% 1%
[libx264 @ 0000024c26e000c0] i8c dc,h,v,p: 80% 13% 6% 1%
[libx264 @ 0000024c26e000c0] Weighted P-Frames: Y:1.2% UV:0.6%
[libx264 @ 0000024c26e000c0] ref P L0: 51.4% 5.9% 35.4% 7.4% 0.0%
[libx264 @ 0000024c26e000c0] ref B L0: 55.3% 24.0% 20.8%
[libx264 @ 0000024c26e000c0] ref B L1: 92.9% 7.1%
[libx264 @ 0000024c26e000c0] kb/s:402.15
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 23.976p.MKV
Type: video/x-matroska
Size: 502959 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200407/4556ce6a/attachment.mpv>
More information about the ffmpeg-user
mailing list