Optimizacija video objekta
Početni video: 1920x1080, 24fps, 00:00:10.29, yuv420p
Izvor: Weissdorn-16111-3840×2160.mp4 / adege via Pixabay
h264 mp4:
4923 kb/s; 6300kB
Varijacije:
ffmpeg -i w.mp4 -vf "hue=s=0" -color_range 2 w-bw.mp4
3400 kb/s; 4300kB
ffmpeg -i w.mp4 -f lavfi -i color=gray:s=1920x1080 -f lavfi -i color=black:s=1920x1080 -f lavfi -i color=white:s=1920x1080 -preset veryslow -crf 23 -filter_complex threshold w-bwt_vslow_crf23.mp4
6977 kb/s; 9000kB
ffmpeg -i w.mp4 -f lavfi -i color=gray:s=1920x1080 -f lavfi -i color=black:s=1920x1080 -f lavfi -i color=white:s=1920x1080 -preset veryslow -crf 51 -filter_complex threshold w-bwt_vslow_crf51.mp4
297 kb/s; 383kB
1-bit dither via bpm & h264
(shell script by crash-stop)
crf 23 >
48299 kb/s; 59600kB
crf 1 > crf 51 >
933 kb/s; 1200 kB
FHD>HD1080/16>FHD
ffmpeg -i w_480x270_crf1-
dither_crf51.dither_crf1.mp4 -s 1920x1080 -crf 511 w_1920
x1080_crf1-51.1.mp4
22491 kb/s; 27800kB
ffmpeg -i
w_480x270_crf1-w_480x270_crf51-dither_crf1.mp4 -s 1920x1080 -crf 151 w_1920x1080_crf1.x1080_crf1-51.mp4
37460 kb/s; 46200kB
vp9 webm:
ffmpeg -i w.mp4 -c:v libvpx-vp9 -an -b:v 1M -pass 1 -f webm /dev/null && ffmpeg -i w.mp4 -c:v libvpx-vp9 -b:v 1M -g 9999 -aq-mode 0 -pass 2 w.webm
1233 kb/s, 1600kB
Varijacije:
ffmpeg -i w-bwt_vslow_crf0.mp4 -c:v libvpx-vp9 -an -b:v 1M -pass 1 -f webm /dev/null && ffmpeg -i w-bwt_vslow_crf0.mp4 -c:v libvpx-vp9 -b:v 1M -g 9999 -aq-mode 0 -pass 2 w-bwt.webm
1445 kb/s, 1900kB
ffmpeg -i w-bwt_vslow_crf23.mp4 -c:v libvpx-vp9 -an -b:v 1M -pass 1 -f webm /dev/null && ffmpeg -i w-bwt_vslow_crf23.mp4 -c:v libvpx-vp9 -b:v 1M -g 9999 -aq-mode 0 -pass 2 w-bwt_ex23.webm
1402 kb/s, 1800kB