Skip to main content

Optimizacija video objekta

Početni video: 1920x1080, 24fps, 00:00:10.29, yuv420p

h264 mp4:

4923 kb/s; 6300kB

Varijacije:

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

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

Trajanje Fps Veličina Boja Zvuk Spremnik Kodek Format kb/s kb
    1920x1080 kolor ne mp4 h264      
    1920x1080 monokrom ne mp4 h264      
    1920x1080 1bit ne mp4 h264      
                   
                   
                   
                   
                   

00:10.29

24

1920x1080     mp4 h264 yuv420p 4923 6300

Reference: