

pix_fmt yuv420p -profile:v baseline -level 3. pix_fmt yuv420p -profile:v baseline -level 3.0 -movflags +faststart \ vp9 / vp8 output seems to output same visual quality with half the file size compared to x264.given the same compression settings, vp9 seems to have a better visual quality compared to vp8.preset medium, unrestricted threads, same speedĪnd here is my result and my opinion Codec.So I have decided to make a few things constant. Then I realise, these command snippets vary in output options, in terms of their encoding speed, output resolution, frame rate, bitrate and quality. shared the same sentiment when I started pasting these command snippets into my terminal. ffmpeg.exe -y -i input.mp4 -c:v lcevch264 -baseencoder x264 -r 30 -g 60 eilparams 'rcpcrf27 lcevctunevmaf presetmedium' lcevcx264pcrf27vmaf. VP9 (google recomended) takes around hour and file is 13.9MiBĬan't see any benefits of VP9 or it's animated video same special case? MP4 takes few seconds and resulting file is 14.2MiB Since all browsers support MP4, we can use WebM's VP9 codec for modern browsers and fall back to MP4s for the rest.įunny results I have to say. Supported only on macOS High Sierra and onwards.Supported only for devices with hardware support.g 9999 -aq-mode 0 -c:a libopus -b:a 64k -f webm out.webm SupportĪs of January 2015, all major browsers support MP4. tile-columns 0 -frame-parallel 0 -auto-alt-ref 1 -lag-in-frames 25 \įfmpeg -i -c:v libvpx-vp9 -pass 2 -b:v 1000K -threads 1 -speed 0 \ Is this of any value to solving the problem?įfmpeg and ffprobe both output the following when they start.Ffmpeg -i -c:v libvpx-vp9 -pass 1 -b:v 1000K -threads 1 -speed 4 \

I am now so cross eyed, if I cry it will run down my back. I went back to the ffmpeg manual on their website. St speed, higher is faster) (from -1 to INT_MAX) (default -1) Qfactor/qoffset for I/B) (from 0 to 52) (default 0) Quality-defined variable-bitrateĪVBR 6 E.V. Set rate control mode (from 0 to 6)Īuto 0 E.V.

Use low-power encoding mode (only avĪilable on some platforms may not support all encoding features) (default false) $ ffmpeg input.mp4 -h encoder=h264_amf -c:v h264_vaapi -v:a aac -crf:28 output.mp4 I am trying to get this right with ffmpeg, using. I have an AMD GPU, it's a bit of an old one, from what I can find online it does have support for h264 encoding.
