[FFmpeg-user] 'image trails'

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Tue Apr 7 18:34:34 EEST 2020


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='eq(mod(n\,10)\,3)'[E],[C]select='eq(mod(n\,10)\,8)'[G],[D]select='bitand(not(eq(mod(n+1\,10)\,3))\,not(eq(mod(n+1\,10)\,8)))'[H],[E][G][H]mix=3" 
-map 0 -c:v libx264 -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 @ 000001484bbf6d00] 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 @ 000001484bbe94c0] Telecine pattern 5 yields up to 3 frames per frame, pts 
advance factor: 2/5
[libx264 @ 000001484bbeb680] using SAR=1/1
[libx264 @ 000001484bbeb680] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001484bbeb680] profile High, level 4.2, 4:2:0, 8-bit
[libx264 @ 000001484bbeb680] 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=23.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=  474 fps= 50 q=-1.0 Lsize=     360kB time=00:00:09.94 bitrate= 296.2kbits/s speed=1.04x
video:355kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.144338%
[libx264 @ 000001484bbeb680] frame I:4     Avg QP:10.90  size:  9041
[libx264 @ 000001484bbeb680] frame P:120   Avg QP:19.71  size:  1624
[libx264 @ 000001484bbeb680] frame B:350   Avg QP:20.72  size:   378
[libx264 @ 000001484bbeb680] consecutive B-frames:  1.5%  0.0%  0.6% 97.9%
[libx264 @ 000001484bbeb680] mb I  I16..4: 73.3% 23.7%  3.1%
[libx264 @ 000001484bbeb680] mb P  I16..4:  0.3%  0.4%  0.1%  P16..4:  2.7%  0.7%  0.2%  0.0%  0.0% 
   skip:95.6%
[libx264 @ 000001484bbeb680] mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  1.9%  0.1%  0.0%  direct: 
0.0%  skip:97.8%  L0:82.3% L1:17.4% BI: 0.2%
[libx264 @ 000001484bbeb680] 8x8 transform intra:28.1% inter:73.0%
[libx264 @ 000001484bbeb680] coded y,uvDC,uvAC intra: 3.8% 9.8% 8.6% inter: 0.2% 0.5% 0.2%
[libx264 @ 000001484bbeb680] i16 v,h,dc,p: 92%  6%  2%  0%
[libx264 @ 000001484bbeb680] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 53% 12% 35%  0%  0%  0%  0%  0%  0%
[libx264 @ 000001484bbeb680] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41% 25% 18%  3%  2%  5%  1%  4%  1%
[libx264 @ 000001484bbeb680] i8c dc,h,v,p: 83%  8%  9%  1%
[libx264 @ 000001484bbeb680] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000001484bbeb680] ref P L0: 69.3%  7.8%  4.7% 18.2%
[libx264 @ 000001484bbeb680] ref B L0: 55.9% 42.3%  1.8%
[libx264 @ 000001484bbeb680] ref B L1: 97.0%  3.0%
[libx264 @ 000001484bbeb680] kb/s:294.25
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 23.976p.MKV
Type: video/x-matroska
Size: 368131 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200407/464d0032/attachment.mpv>


More information about the ffmpeg-user mailing list