4 ms·
Or something useful, save space, compressing some talk or edu video, just 6 fps is usually enough for slides or code, opus audio can go as low as 32k and still
by diimdeep 4mo ago
Or something useful, save space, compressing some talk or edu video, just 6 fps is usually enough for slides or code, opus audio can go as low as 32k and still be decent compared to source quality, expect 10-15x size reduction
ffmpeg -hide_banner -y -i in.mp4 \
-vf "fps=6,format=yuv420p,scale=960:-2:flags=lanczos" \
-c:v libx265 -tag:v hvc1 -crf 32 -pix_fmt yuv420p -preset fast \
-c:a libopus -b:a 82K -application 2048 \
-c:s mov_text \
out.mp4
can go more crazy with this soup
-x265-params "keyint=800:min-keyint=24:scenecut=20:ref=8:bframes=16:b-adapt=2:rc-lookahead=80:rd=4:subme=5:deblock=1,1:aq-mode=3:aq-strength=0.4:psy-rd=0.4:psy-rdoq=1.0:qcomp=0.7:qg-size=64:rect=1:amp=1:strong-intra-smoothing=1:limit-modes=1:limit-tu=4:rdpenalty=2:tu-intra-depth=4:tu-inter-depth=4:me=star:no-allow-non-conformance=1" \