[FFmpeg-user] Optimizing commands, and creating mouse cursor overlay

osmiumsky at tutanota.com osmiumsky at tutanota.com
Mon Mar 6 18:27:36 EET 2023


For the issue I was having with too many arguments in the second command, I'll just split it into many commands. But I would still appreciate any tips to increase speed.

Mar 2, 2023, 12:48 by osmiumsky at tutanota.com:

> Hi, could you provide me with any suggestions to make my code run faster, or just improve it in general? I have two commands, which I've placed below, each followed by the console output. 
>
> What the first command does is create a slideshow video from a series of images, each onscreen for a specific duration. Audio is also added on top of the slideshow. It scales the images to fit inside a 1600x900 box, which skyblue bars in the empty space.
>
> The second command takes the result video from the first command, and adds an overlay of a mouse cursor, which uses coordinates and timestamps of mouse movements, and a little bit of math, to make the mouse move between each set of recorded coordinates. The resulting video is 1600x900.
>
> This was only a 4 second video, and it took about 10 seconds, which isn't too bad. 
>
> Oh, I just tried testing a 30 second video, and the first command took 45 seconds, and the second command didn't even run because it says "Argument list too long". I guess too many mouse movements.
>
> So is there a way to speed up these commands, as well as create a mouse cursor overlay, no matter how much mouse movement there is?
>
> Thanks!
>
>
>
> ------------ First command ------------------
>
> ffmpeg \
> -loop 1 -t 2.857 -i ../images/tree_in_national_park-63faa6d983cb6.jpg   \
> -loop 1 -t 0.190 -i ../images/multicolor_flowers_turkish_carnation-63faa722908a0.jpg   \
> -loop 1 -t 0.148 -i ../images/girl_person_sitting_balancing-63faa6fb9b874.jpg   \
> -loop 1 -t 0.226 -i ../images/person_hugging_tree_on-63faa6f252ea5.jpg   \
> -loop 1 -t 0.214 -i ../images/giant_redwood_53050-63faa6ee26b76.jpg   \
> -i ../tmp/0-6400d9c21a62d \
> -filter_complex "\
> [0]scale=1600:900:force_original_aspect_ratio=decrease:eval=frame,pad=1600:900:-1:-1:color=skyblue[sa];[sa]setdar=16/9[a0]; \
> [1]scale=1600:900:force_original_aspect_ratio=decrease:eval=frame,pad=1600:900:-1:-1:color=skyblue[sa];[sa]setdar=16/9[a1]; \
> [2]scale=1600:900:force_original_aspect_ratio=decrease:eval=frame,pad=1600:900:-1:-1:color=skyblue[sa];[sa]setdar=16/9[a2]; \
> [3]scale=1600:900:force_original_aspect_ratio=decrease:eval=frame,pad=1600:900:-1:-1:color=skyblue[sa];[sa]setdar=16/9[a3]; \
> [4]scale=1600:900:force_original_aspect_ratio=decrease:eval=frame,pad=1600:900:-1:-1:color=skyblue[sa];[sa]setdar=16/9[a4]; \
> [a0][a1][a2][a3][a4] \
> concat=n=5 [out]" \
> -map "[out]" \
> -map 5:0 -shortest \
> -pix_fmt yuv420p \
> ../tmp/6400d9c21a62d.mp4 -y
>
>
> --------------- First command output ------------------
>
> ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
>   built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
>   configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
>   libavutil      56. 70.100 / 56. 70.100
>   libavcodec     58.134.100 / 58.134.100
>   libavformat    58. 76.100 / 58. 76.100
>   libavdevice    58. 13.100 / 58. 13.100
>   libavfilter     7.110.100 /  7.110.100
>   libswscale      5.  9.100 /  5.  9.100
>   libswresample   3.  9.100 /  3.  9.100
>   libpostproc    55.  9.100 / 55.  9.100
> Input #0, image2, from '../images/tree_in_national_park-63faa6d983cb6.jpg':
>   Duration: 00:00:00.04, start: 0.000000, bitrate: 129452 kb/s
>   Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 2048x1536 [SAR 300:300 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
> Input #1, image2, from '../images/multicolor_flowers_turkish_carnation-63faa722908a0.jpg':
>   Duration: 00:00:00.04, start: 0.000000, bitrate: 70540 kb/s
>   Stream #1:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1307x1056 [SAR 300:300 DAR 1307:1056], 25 fps, 25 tbr, 25 tbn, 25 tbc
> Input #2, image2, from '../images/girl_person_sitting_balancing-63faa6fb9b874.jpg':
>   Duration: 00:00:00.04, start: 0.000000, bitrate: 584788 kb/s
>   Stream #2:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 3888x2592 [SAR 1:1 DAR 3:2], 25 fps, 25 tbr, 25 tbn, 25 tbc
> Input #3, image2, from '../images/person_hugging_tree_on-63faa6f252ea5.jpg':
>   Duration: 00:00:00.04, start: 0.000000, bitrate: 1119617 kb/s
>   Stream #3:0: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 3840x2160, 25 fps, 25 tbr, 25 tbn, 25 tbc
> Input #4, image2, from '../images/giant_redwood_53050-63faa6ee26b76.jpg':
>   Duration: 00:00:00.04, start: 0.000000, bitrate: 572963 kb/s
>   Stream #4:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 3264x2448 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
> Input #5, ogg, from '../tmp/0-6400d9c21a62d':
>   Duration: 00:00:03.64, start: 0.000000, bitrate: 126 kb/s
>   Stream #5:0: Audio: opus, 48000 Hz, stereo, fltp
>     Metadata:
>       ENCODER         : Mozilla110.0
> Stream mapping:
>   Stream #0:0 (mjpeg) -> scale (graph 0)
>   Stream #1:0 (mjpeg) -> scale (graph 0)
>   Stream #2:0 (mjpeg) -> scale (graph 0)
>   Stream #3:0 (mjpeg) -> scale (graph 0)
>   Stream #4:0 (mjpeg) -> scale (graph 0)
>   concat (graph 0) -> Stream #0:0 (libx264)
>   Stream #5:0 -> #0:1 (opus (native) -> aac (native))
> Press [q] to stop, [?] for help
> [swscaler @ 0x55985d394880] deprecated pixel format used, make sure you did set range correctly
> [swscaler @ 0x55985d3ceec0] deprecated pixel format used, make sure you did set range correctly
> [swscaler @ 0x55985fbc0580] deprecated pixel format used, make sure you did set range correctly
> [swscaler @ 0x55985fc16280] deprecated pixel format used, make sure you did set range correctly
> [swscaler @ 0x55985fc7e900] deprecated pixel format used, make sure you did set range correctly
> [swscaler @ 0x55985d394880] Warning: data is not aligned! This can lead to a speed loss
> [libx264 @ 0x55985d507880] using SAR=1/1
> [libx264 @ 0x55985d507880] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
> [libx264 @ 0x55985d507880] profile High, level 4.0, 4:2:0, 8-bit
> [libx264 @ 0x55985d507880] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - > 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=3 lookahead_threads=1 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, mp4, to '../tmp/6400d9c21a62d.mp4':
>   Metadata:
>     encoder         : Lavf58.76.100
>   Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt470bg/unknown/unknown, progressive), 1600x900 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn (default)
>     Metadata:
>       encoder         : Lavc58.134.100 libx264
>     Side data:
>       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
>   Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
>     Metadata:
>       encoder         : Lavc58.134.100 aac
> frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x   
> frame=   23 fps= 23 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x   
> frame=   41 fps= 27 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x   
> frame=   52 fps= 26 q=28.0 size=     256kB time=00:00:00.08 bitrate=26193.7kbits/s speed=0.0397x   
> frame=   68 fps= 27 q=28.0 size=     256kB time=00:00:00.72 bitrate=2912.9kbits/s speed=0.285x   
> frame=   80 fps= 26 q=28.0 size=     256kB time=00:00:01.20 bitrate=1747.8kbits/s speed=0.396x   
> frame=   84 fps= 24 q=28.0 size=     256kB time=00:00:01.36 bitrate=1542.2kbits/s speed=0.385x   
> frame=   88 fps= 22 q=28.0 size=     256kB time=00:00:01.52 bitrate=1379.9kbits/s speed=0.375x   
> frame=   91 fps= 17 q=-1.0 Lsize=    1258kB time=00:00:03.62 bitrate=2842.2kbits/s speed=0.663x   
> video:1192kB audio:62kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.328366%
> [libx264 @ 0x55985d507880] frame I:5     Avg QP:19.59  size:242475
> [libx264 @ 0x55985d507880] frame P:23    Avg QP:14.89  size:   185
> [libx264 @ 0x55985d507880] frame B:63    Avg QP:13.14  size:    57
> [libx264 @ 0x55985d507880] consecutive B-frames:  6.6%  2.2%  3.3% 87.9%
> [libx264 @ 0x55985d507880] mb I  I16..4: 14.4% 56.7% 28.9%
> [libx264 @ 0x55985d507880] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  1.3%  0.0%  0.0%  0.0%  0.0%    skip:98.7%
> [libx264 @ 0x55985d507880] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0:15.2% L1:84.8% BI: 0.0%
> [libx264 @ 0x55985d507880] 8x8 transform intra:56.7% inter:57.1%
> [libx264 @ 0x55985d507880] coded y,uvDC,uvAC intra: 73.4% 74.5% 67.3% inter: 0.0% 0.3% 0.0%
> [libx264 @ 0x55985d507880] i16 v,h,dc,p: 85%  6%  5%  5%
> [libx264 @ 0x55985d507880] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 15% 20%  6%  7%  7%  9%  7% 10%
> [libx264 @ 0x55985d507880] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 14% 10%  8% 10% 10% 11%  9% 10%
> [libx264 @ 0x55985d507880] i8c dc,h,v,p: 59% 17% 15%  8%
> [libx264 @ 0x55985d507880] Weighted P-Frames: Y:0.0% UV:0.0%
> [libx264 @ 0x55985d507880] ref P L0: 95.3%  0.0%  3.3%  1.4%
> [libx264 @ 0x55985d507880] ref B L0: 52.8% 47.2%
> [libx264 @ 0x55985d507880] ref B L1: 98.0%  2.0%
> [libx264 @ 0x55985d507880] kb/s:2681.75
> [aac @ 0x55985d38ff40] Qavg: 3794.768
>
>
>
>
> ----------- Second command -------------------
>
> ffmpeg \
>   -i ../tmp/6400d9c21a62d.mp4 \
>   -i ../assets/mouse-circle.png \
>   -filter_complex "[0:v][1:v]overlay=enable='between=(t,0.627,0.874)':x=777.648+(t-0.627)*0.000/0.247:y=937.572+(t-0.627)*0.000/0.247[a1]; \
>     [a1][1:v]overlay=enable='between=(t,0.874,0.914)':x=777.648+(t-0.874)*0.000/0.040:y=937.572+(t-0.874)*-1.223/0.040[a2]; \
>     [a2][1:v]overlay=enable='between=(t,0.914,0.936)':x=777.648+(t-0.914)*0.000/0.022:y=936.349+(t-0.914)*0.000/0.022[a3]; \
>     [a3][1:v]overlay=enable='between=(t,0.936,0.945)':x=777.648+(t-0.936)*0.000/0.009:y=936.349+(t-0.936)*-1.223/0.009[a4]; \
>     [a4][1:v]overlay=enable='between=(t,0.945,0.966)':x=777.648+(t-0.945)*0.000/0.021:y=935.127+(t-0.945)*-1.223/0.021[a5]; \
>     [a5][1:v]overlay=enable='between=(t,0.966,0.976)':x=777.648+(t-0.966)*0.000/0.010:y=933.904+(t-0.966)*-1.223/0.010[a6]; \
>     [a6][1:v]overlay=enable='between=(t,0.976,0.999)':x=777.648+(t-0.976)*0.000/0.023:y=932.682+(t-0.976)*0.000/0.023[a7]; \
>     [a7][1:v]overlay=enable='between=(t,0.999,1.019)':x=777.648+(t-0.999)*1.227/0.020:y=932.682+(t-0.999)*-1.223/0.020[a8]; \
>     [a8][1:v]overlay=enable='between=(t,1.019,1.039)':x=778.875+(t-1.019)*0.000/0.020:y=931.459+(t-1.019)*-1.223/0.020[a9]; \
>     [a9][1:v]overlay=enable='between=(t,1.039,1.091)':x=778.875+(t-1.039)*0.000/0.052:y=930.236+(t-1.039)*0.000/0.052[a10]; \
>     [a10][1:v]overlay=enable='between=(t,1.091,1.142)':x=778.875+(t-1.091)*0.000/0.051:y=930.236+(t-1.091)*-1.223/0.051[a11]; \
>     [a11][1:v]overlay=enable='between=(t,1.142,1.152)':x=778.875+(t-1.142)*0.000/0.010:y=929.014+(t-1.142)*-1.223/0.010[a12]; \
>     [a12][1:v]overlay=enable='between=(t,1.152,1.161)':x=778.875+(t-1.152)*0.000/0.009:y=927.791+(t-1.152)*-1.223/0.009[a13]; \
>     [a13][1:v]overlay=enable='between=(t,1.161,1.173)':x=778.875+(t-1.161)*2.454/0.012:y=926.569+(t-1.161)*-3.668/0.012[a14]; \
>     [a14][1:v]overlay=enable='between=(t,1.173,1.184)':x=781.329+(t-1.173)*0.000/0.011:y=922.901+(t-1.173)*-8.558/0.011[a15]; \
>     [a15][1:v]overlay=enable='between=(t,1.184,1.193)':x=781.329+(t-1.184)*0.000/0.009:y=914.343+(t-1.184)*-4.890/0.009[a16]; \
>     [a16][1:v]overlay=enable='between=(t,1.193,1.203)':x=781.329+(t-1.193)*0.000/0.010:y=909.452+(t-1.193)*-3.668/0.010[a17]; \
>     [a17][1:v]overlay=enable='between=(t,1.203,1.213)':x=781.329+(t-1.203)*0.000/0.010:y=905.784+(t-1.203)*-8.558/0.010[a18]; \
>     [a18][1:v]overlay=enable='between=(t,1.213,1.223)':x=781.329+(t-1.213)*0.000/0.010:y=897.226+(t-1.213)*-4.890/0.010[a19]; \
>     [a19][1:v]overlay=enable='between=(t,1.223,1.234)':x=781.329+(t-1.223)*0.000/0.011:y=892.336+(t-1.223)*-3.668/0.011[a20]; \
>     [a20][1:v]overlay=enable='between=(t,1.234,1.246)':x=781.329+(t-1.234)*0.000/0.012:y=888.668+(t-1.234)*-8.558/0.012[a21]; \
>     [a21][1:v]overlay=enable='between=(t,1.246,1.256)':x=781.329+(t-1.246)*0.000/0.010:y=880.110+(t-1.246)*-3.668/0.010[a22]; \
>     [a22][1:v]overlay=enable='between=(t,1.256,1.265)':x=781.329+(t-1.256)*0.000/0.009:y=876.442+(t-1.256)*-4.890/0.009[a23]; \
>     [a23][1:v]overlay=enable='between=(t,1.265,1.282)':x=781.329+(t-1.265)*0.000/0.017:y=871.551+(t-1.265)*-8.558/0.017[a24]; \
>     [a24][1:v]overlay=enable='between=(t,1.282,1.298)':x=781.329+(t-1.282)*1.227/0.016:y=862.993+(t-1.282)*-8.558/0.016[a25]; \
>     [a25][1:v]overlay=enable='between=(t,1.298,1.316)':x=782.556+(t-1.298)*0.000/0.018:y=854.435+(t-1.298)*-8.558/0.018[a26]; \
>     [a26][1:v]overlay=enable='between=(t,1.316,1.331)':x=782.556+(t-1.316)*2.454/0.015:y=845.877+(t-1.316)*-8.558/0.015[a27]; \
>     [a27][1:v]overlay=enable='between=(t,1.331,1.349)':x=785.010+(t-1.331)*0.000/0.018:y=837.318+(t-1.331)*-3.668/0.018[a28]; \
>     [a28][1:v]overlay=enable='between=(t,1.349,1.365)':x=785.010+(t-1.349)*2.454/0.016:y=833.651+(t-1.349)*-13.449/0.016[a29]; \
>     [a29][1:v]overlay=enable='between=(t,1.365,1.382)':x=787.464+(t-1.365)*3.681/0.017:y=820.202+(t-1.365)*-13.449/0.017[a30]; \
>     [a30][1:v]overlay=enable='between=(t,1.382,1.399)':x=791.145+(t-1.382)*0.000/0.017:y=806.753+(t-1.382)*-8.558/0.017[a31]; \
>     [a31][1:v]overlay=enable='between=(t,1.399,1.415)':x=791.145+(t-1.399)*4.908/0.016:y=798.195+(t-1.399)*-13.449/0.016[a32]; \
>     [a32][1:v]overlay=enable='between=(t,1.415,1.433)':x=796.053+(t-1.415)*2.454/0.018:y=784.746+(t-1.415)*-17.116/0.018[a33]; \
>     [a33][1:v]overlay=enable='between=(t,1.433,1.449)':x=798.507+(t-1.433)*3.681/0.016:y=767.630+(t-1.433)*-8.558/0.016[a34]; \
>     [a34][1:v]overlay=enable='between=(t,1.449,1.466)':x=802.188+(t-1.449)*6.135/0.017:y=759.072+(t-1.449)*-18.339/0.017[a35]; \
>     [a35][1:v]overlay=enable='between=(t,1.466,1.482)':x=808.323+(t-1.466)*2.454/0.016:y=740.733+(t-1.466)*-8.558/0.016[a36]; \
>     [a36][1:v]overlay=enable='between=(t,1.482,1.499)':x=810.777+(t-1.482)*6.135/0.017:y=732.174+(t-1.482)*-18.339/0.017[a37]; \
>     [a37][1:v]overlay=enable='between=(t,1.499,1.516)':x=816.912+(t-1.499)*8.589/0.017:y=713.835+(t-1.499)*-14.671/0.017[a38]; \
>     [a38][1:v]overlay=enable='between=(t,1.516,1.532)':x=825.501+(t-1.516)*3.681/0.016:y=699.164+(t-1.516)*-8.558/0.016[a39]; \
>     [a39][1:v]overlay=enable='between=(t,1.532,1.549)':x=829.181+(t-1.532)*4.908/0.017:y=690.606+(t-1.532)*-13.449/0.017[a40]; \
>     [a40][1:v]overlay=enable='between=(t,1.549,1.565)':x=834.089+(t-1.549)*8.589/0.016:y=677.157+(t-1.549)*-14.671/0.016[a41]; \
>     [a41][1:v]overlay=enable='between=(t,1.565,1.583)':x=842.678+(t-1.565)*2.454/0.018:y=662.486+(t-1.565)*-8.558/0.018[a42]; \
>     [a42][1:v]overlay=enable='between=(t,1.583,1.599)':x=845.132+(t-1.583)*8.589/0.016:y=653.928+(t-1.583)*-14.671/0.016[a43]; \
>     [a43][1:v]overlay=enable='between=(t,1.599,1.616)':x=853.721+(t-1.599)*2.454/0.017:y=639.257+(t-1.599)*-4.890/0.017[a44]; \
>     [a44][1:v]overlay=enable='between=(t,1.616,1.632)':x=856.175+(t-1.616)*9.816/0.016:y=634.366+(t-1.616)*-18.339/0.016[a45]; \
>     [a45][1:v]overlay=enable='between=(t,1.632,1.649)':x=865.991+(t-1.632)*8.589/0.017:y=616.027+(t-1.632)*-14.671/0.017[a46]; \
>     [a46][1:v]overlay=enable='between=(t,1.649,1.666)':x=874.580+(t-1.649)*6.135/0.017:y=601.356+(t-1.649)*-9.781/0.017[a47]; \
>     [a47][1:v]overlay=enable='between=(t,1.666,1.682)':x=880.715+(t-1.666)*8.589/0.016:y=591.575+(t-1.666)*-14.671/0.016[a48]; \
>     [a48][1:v]overlay=enable='between=(t,1.682,1.699)':x=889.303+(t-1.682)*8.589/0.017:y=576.904+(t-1.682)*-14.671/0.017[a49]; \
>     [a49][1:v]overlay=enable='between=(t,1.699,1.716)':x=897.892+(t-1.699)*6.135/0.017:y=562.232+(t-1.699)*-4.890/0.017[a50]; \
>     [a50][1:v]overlay=enable='between=(t,1.716,1.732)':x=904.027+(t-1.716)*8.589/0.016:y=557.342+(t-1.716)*-14.671/0.016[a51]; \
>     [a51][1:v]overlay=enable='between=(t,1.732,1.749)':x=912.616+(t-1.732)*7.362/0.017:y=542.671+(t-1.732)*-9.781/0.017[a52]; \
>     [a52][1:v]overlay=enable='between=(t,1.749,1.766)':x=919.978+(t-1.749)*8.589/0.017:y=532.890+(t-1.749)*-14.671/0.017[a53]; \
>     [a53][1:v]overlay=enable='between=(t,1.766,1.782)':x=928.567+(t-1.766)*4.908/0.016:y=518.219+(t-1.766)*-4.890/0.016[a54]; \
>     [a54][1:v]overlay=enable='between=(t,1.782,1.799)':x=933.475+(t-1.782)*8.589/0.017:y=513.328+(t-1.782)*-11.003/0.017[a55]; \
>     [a55][1:v]overlay=enable='between=(t,1.799,1.815)':x=942.063+(t-1.799)*7.362/0.016:y=502.325+(t-1.799)*-9.781/0.016[a56]; \
>     [a56][1:v]overlay=enable='between=(t,1.815,1.832)':x=949.425+(t-1.815)*6.135/0.017:y=492.544+(t-1.815)*-4.890/0.017[a57]; \
>     [a57][1:v]overlay=enable='between=(t,1.832,1.849)':x=955.560+(t-1.832)*6.135/0.017:y=487.654+(t-1.832)*-7.336/0.017[a58]; \
>     [a58][1:v]overlay=enable='between=(t,1.849,1.866)':x=961.695+(t-1.849)*6.135/0.017:y=480.318+(t-1.849)*-3.668/0.017[a59]; \
>     [a59][1:v]overlay=enable='between=(t,1.866,1.883)':x=967.830+(t-1.866)*1.227/0.017:y=476.650+(t-1.866)*-1.223/0.017[a60]; \
>     [a60][1:v]overlay=enable='between=(t,1.883,1.900)':x=969.057+(t-1.883)*8.589/0.017:y=475.427+(t-1.883)*-2.445/0.017[a61]; \
>     [a61][1:v]overlay=enable='between=(t,1.900,1.916)':x=977.646+(t-1.900)*6.135/0.016:y=472.982+(t-1.900)*-1.223/0.016[a62]; \
>     [a62][1:v]overlay=enable='between=(t,1.916,1.933)':x=983.781+(t-1.916)*1.227/0.017:y=471.760+(t-1.916)*0.000/0.017[a63]; \
>     [a63][1:v]overlay=enable='between=(t,1.933,1.949)':x=985.008+(t-1.933)*1.227/0.016:y=471.760+(t-1.933)*0.000/0.016[a64]; \
>     [a64][1:v]overlay=enable='between=(t,1.949,1.966)':x=986.235+(t-1.949)*1.227/0.017:y=471.760+(t-1.949)*0.000/0.017[a65]; \
>     [a65][1:v]overlay=enable='between=(t,1.966,1.983)':x=987.462+(t-1.966)*2.454/0.017:y=471.760+(t-1.966)*0.000/0.017[a66]; \
>     [a66][1:v]overlay=enable='between=(t,1.983,2.000)':x=989.916+(t-1.983)*0.000/0.017:y=471.760+(t-1.983)*0.000/0.017[a67]; \
>     [a67][1:v]overlay=enable='between=(t,2.000,2.016)':x=989.916+(t-2.000)*0.000/0.016:y=471.760+(t-2.000)*1.223/0.016[a68]; \
>     [a68][1:v]overlay=enable='between=(t,2.016,2.033)':x=989.916+(t-2.016)*2.454/0.017:y=472.982+(t-2.016)*2.445/0.017[a69]; \
>     [a69][1:v]overlay=enable='between=(t,2.033,2.050)':x=992.370+(t-2.033)*0.000/0.017:y=475.427+(t-2.033)*1.223/0.017[a70]; \
>     [a70][1:v]overlay=enable='between=(t,2.050,2.066)':x=992.370+(t-2.050)*2.454/0.016:y=476.650+(t-2.050)*8.558/0.016[a71]; \
>     [a71][1:v]overlay=enable='between=(t,2.066,2.082)':x=994.824+(t-2.066)*0.000/0.016:y=485.208+(t-2.066)*7.336/0.016[a72]; \
>     [a72][1:v]overlay=enable='between=(t,2.082,2.100)':x=994.824+(t-2.082)*0.000/0.018:y=492.544+(t-2.082)*4.890/0.018[a73]; \
>     [a73][1:v]overlay=enable='between=(t,2.100,2.116)':x=994.824+(t-2.100)*3.681/0.016:y=497.434+(t-2.100)*13.449/0.016[a74]; \
>     [a74][1:v]overlay=enable='between=(t,2.116,2.134)':x=998.504+(t-2.116)*0.000/0.018:y=510.883+(t-2.116)*7.336/0.018[a75]; \
>     [a75][1:v]overlay=enable='between=(t,2.134,2.150)':x=998.504+(t-2.134)*0.000/0.016:y=518.219+(t-2.134)*8.558/0.016[a76]; \
>     [a76][1:v]overlay=enable='between=(t,2.150,2.167)':x=998.504+(t-2.150)*0.000/0.017:y=526.777+(t-2.150)*17.116/0.017[a77]; \
>     [a77][1:v]overlay=enable='between=(t,2.167,2.183)':x=998.504+(t-2.167)*-7.362/0.016:y=543.893+(t-2.167)*24.452/0.016[a78]; \
>     [a78][1:v]overlay=enable='between=(t,2.183,2.200)':x=991.143+(t-2.183)*0.000/0.017:y=568.345+(t-2.183)*8.558/0.017[a79]; \
>     [a79][1:v]overlay=enable='between=(t,2.200,2.217)':x=991.143+(t-2.200)*-6.135/0.017:y=576.904+(t-2.200)*23.229/0.017[a80]; \
>     [a80][1:v]overlay=enable='between=(t,2.217,2.233)':x=985.008+(t-2.217)*-3.681/0.016:y=600.133+(t-2.217)*14.671/0.016[a81]; \
>     [a81][1:v]overlay=enable='between=(t,2.233,2.251)':x=981.327+(t-2.233)*-12.270/0.018:y=614.804+(t-2.233)*36.678/0.018[a82]; \
>     [a82][1:v]overlay=enable='between=(t,2.251,2.267)':x=969.057+(t-2.251)*-3.681/0.016:y=651.483+(t-2.251)*14.671/0.016[a83]; \
>     [a83][1:v]overlay=enable='between=(t,2.267,2.284)':x=965.376+(t-2.267)*-12.270/0.017:y=666.154+(t-2.267)*36.678/0.017[a84]; \
>     [a84][1:v]overlay=enable='between=(t,2.284,2.301)':x=953.106+(t-2.284)*-15.951/0.017:y=702.832+(t-2.284)*31.788/0.017[a85]; \
>     [a85][1:v]overlay=enable='between=(t,2.301,2.317)':x=937.156+(t-2.301)*-7.362/0.016:y=734.620+(t-2.301)*14.671/0.016[a86]; \
>     [a86][1:v]overlay=enable='between=(t,2.317,2.334)':x=929.794+(t-2.317)*-14.724/0.017:y=749.291+(t-2.317)*25.675/0.017[a87]; \
>     [a87][1:v]overlay=enable='between=(t,2.334,2.350)':x=915.070+(t-2.334)*-7.362/0.016:y=774.966+(t-2.334)*15.894/0.016[a88]; \
>     [a88][1:v]overlay=enable='between=(t,2.350,2.367)':x=907.708+(t-2.350)*-14.724/0.017:y=790.859+(t-2.350)*25.675/0.017[a89]; \
>     [a89][1:v]overlay=enable='between=(t,2.367,2.384)':x=892.984+(t-2.367)*-18.405/0.017:y=816.534+(t-2.367)*20.784/0.017[a90]; \
>     [a90][1:v]overlay=enable='between=(t,2.384,2.400)':x=874.580+(t-2.384)*-6.135/0.016:y=837.318+(t-2.384)*11.003/0.016[a91]; \
>     [a91][1:v]overlay=enable='between=(t,2.400,2.418)':x=868.445+(t-2.400)*-11.043/0.018:y=848.322+(t-2.400)*9.781/0.018[a92]; \
>     [a92][1:v]overlay=enable='between=(t,2.418,2.434)':x=857.402+(t-2.418)*-9.816/0.016:y=858.103+(t-2.418)*8.558/0.016[a93]; \
>     [a93][1:v]overlay=enable='between=(t,2.434,2.451)':x=847.586+(t-2.434)*-6.135/0.017:y=866.661+(t-2.434)*4.890/0.017[a94]; \
>     [a94][1:v]overlay=enable='between=(t,2.451,2.467)':x=841.451+(t-2.451)*-8.589/0.016:y=871.551+(t-2.451)*4.890/0.016[a95]; \
>     [a95][1:v]overlay=enable='between=(t,2.467,2.484)':x=832.862+(t-2.467)*-1.227/0.017:y=876.442+(t-2.467)*1.223/0.017[a96]; \
>     [a96][1:v]overlay=enable='between=(t,2.484,2.501)':x=831.635+(t-2.484)*-6.135/0.017:y=877.664+(t-2.484)*3.668/0.017[a97]; \
>     [a97][1:v]overlay=enable='between=(t,2.501,2.517)':x=825.501+(t-2.501)*-8.589/0.016:y=881.332+(t-2.501)*2.445/0.016[a98]; \
>     [a98][1:v]overlay=enable='between=(t,2.517,2.535)':x=816.912+(t-2.517)*-2.454/0.018:y=883.777+(t-2.517)*1.223/0.018[a99]; \
>     [a99][1:v]overlay=enable='between=(t,2.535,2.551)':x=814.458+(t-2.535)*-2.454/0.016:y=885.000+(t-2.535)*2.445/0.016[a100]; \
>     [a100][1:v]overlay=enable='between=(t,2.551,2.567)':x=812.004+(t-2.551)*-1.227/0.016:y=887.445+(t-2.551)*0.000/0.016[a101]; \
>     [a101][1:v]overlay=enable='between=(t,2.567,2.584)':x=810.777+(t-2.567)*-1.227/0.017:y=887.445+(t-2.567)*0.000/0.017[a102]; \
>     [a102][1:v]overlay=enable='between=(t,2.584,2.600)':x=809.550+(t-2.584)*0.000/0.016:y=887.445+(t-2.584)*0.000/0.016[a103]; \
>     [a103][1:v]overlay=enable='between=(t,2.600,2.617)':x=809.550+(t-2.600)*-1.227/0.017:y=887.445+(t-2.600)*0.000/0.017[a104]; \
>     [a104][1:v]overlay=enable='between=(t,2.617,2.689)':x=808.323+(t-2.617)*0.000/0.072:y=887.445+(t-2.617)*0.000/0.072[a105] \
>      \
>   " -map "[a105]" -map 0:a:? ../tmp/vid-6400d9c21a62d.mp4 -y
>
>
>
> ---------- Second command output ------------------
>
> ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
>   built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
>   configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
>   libavutil      56. 70.100 / 56. 70.100
>   libavcodec     58.134.100 / 58.134.100
>   libavformat    58. 76.100 / 58. 76.100
>   libavdevice    58. 13.100 / 58. 13.100
>   libavfilter     7.110.100 /  7.110.100
>   libswscale      5.  9.100 /  5.  9.100
>   libswresample   3.  9.100 /  3.  9.100
>   libpostproc    55.  9.100 / 55.  9.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../tmp/6400d9c21a62d.mp4':
>   Metadata:
>     major_brand     : isom
>     minor_version   : 512
>     compatible_brands: isomiso2avc1mp41
>     encoder         : Lavf58.76.100
>   Duration: 00:00:03.64, start: 0.000000, bitrate: 2831 kb/s
>   Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt470bg/unknown/unknown), 1600x900 [SAR 1:1 DAR 16:9], 2683 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
>     Metadata:
>       handler_name    : VideoHandler
>       vendor_id       : [0][0][0][0]
>   Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 139 kb/s (default)
>     Metadata:
>       handler_name    : SoundHandler
>       vendor_id       : [0][0][0][0]
> Input #1, png_pipe, from '../assets/mouse-circle.png':
>   Duration: N/A, bitrate: N/A
>   Stream #1:0: Video: png, pal8(pc), 30x30, 25 fps, 25 tbr, 25 tbn, 25 tbc
> Stream mapping:
>   Stream #0:0 (h264) -> overlay:main (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   Stream #1:0 (png) -> overlay:overlay (graph 0)
>   overlay (graph 0) -> Stream #0:0 (libx264)
>   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
> Press [q] to stop, [?] for help
> [libx264 @ 0x560cf043cac0] using SAR=1/1
> [libx264 @ 0x560cf043cac0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
> [libx264 @ 0x560cf043cac0] profile High, level 4.0, 4:2:0, 8-bit
> [libx264 @ 0x560cf043cac0] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - > 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=3 lookahead_threads=1 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, mp4, to '../tmp/vid-6400d9c21a62d.mp4':
>   Metadata:
>     major_brand     : isom
>     minor_version   : 512
>     compatible_brands: isomiso2avc1mp41
>     encoder         : Lavf58.76.100
>   Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt470bg/unknown/unknown, progressive), 1600x900 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn (default)
>     Metadata:
>       encoder         : Lavc58.134.100 libx264
>     Side data:
>       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
>   Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
>     Metadata:
>       handler_name    : SoundHandler
>       vendor_id       : [0][0][0][0]
>       encoder         : Lavc58.134.100 aac
> frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.02 bitrate=  18.0kbits/s speed=0.474x   
> frame=   28 fps=0.0 q=0.0 size=       0kB time=00:00:01.15 bitrate=   0.3kbits/s speed=2.11x   
> frame=   54 fps= 51 q=28.0 size=     256kB time=00:00:02.17 bitrate= 963.9kbits/s speed=2.06x   
> frame=   83 fps= 52 q=28.0 size=     256kB time=00:00:03.32 bitrate= 630.3kbits/s speed= 2.1x   
> frame=   91 fps= 35 q=-1.0 Lsize=    1243kB time=00:00:03.62 bitrate=2808.3kbits/s speed=1.38x   
> video:1178kB audio:61kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.331708%
> [libx264 @ 0x560cf043cac0] frame I:5     Avg QP:19.75  size:238099
> [libx264 @ 0x560cf043cac0] frame P:23    Avg QP:15.58  size:   336
> [libx264 @ 0x560cf043cac0] frame B:63    Avg QP:15.07  size:   121
> [libx264 @ 0x560cf043cac0] consecutive B-frames:  6.6%  2.2%  3.3% 87.9%
> [libx264 @ 0x560cf043cac0] mb I  I16..4: 13.3% 58.1% 28.6%
> [libx264 @ 0x560cf043cac0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  1.8%  0.0%  0.0%  0.0%  0.0%    skip:98.2%
> [libx264 @ 0x560cf043cac0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:36.4% L1:62.8% BI: 0.8%
> [libx264 @ 0x560cf043cac0] 8x8 transform intra:58.1% inter:58.7%
> [libx264 @ 0x560cf043cac0] coded y,uvDC,uvAC intra: 72.2% 74.1% 63.6% inter: 0.0% 0.4% 0.0%
> [libx264 @ 0x560cf043cac0] i16 v,h,dc,p: 81%  8%  7%  5%
> [libx264 @ 0x560cf043cac0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 15% 20%  5%  7%  7%  9%  7%  9%
> [libx264 @ 0x560cf043cac0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 14% 10%  8% 10% 10% 11%  9% 10%
> [libx264 @ 0x560cf043cac0] i8c dc,h,v,p: 58% 18% 16%  7%
> [libx264 @ 0x560cf043cac0] Weighted P-Frames: Y:0.0% UV:0.0%
> [libx264 @ 0x560cf043cac0] ref P L0: 65.7%  0.2% 15.4% 18.7%
> [libx264 @ 0x560cf043cac0] ref B L0: 73.7% 25.4%  0.9%
> [libx264 @ 0x560cf043cac0] ref B L1: 94.2%  5.8%
> [libx264 @ 0x560cf043cac0] kb/s:2650.15
> [aac @ 0x560cf0503600] Qavg: 3396.065
>


More information about the ffmpeg-user mailing list