[FFmpeg-user] webm vp9 options

Matt Zagrabelny mzagrabe at d.umn.edu
Wed Oct 1 02:44:05 CEST 2014


Greetings,

I've just started using ffmpeg - there are a lot of options. :)

I've read through a few of the encoding guides and have an initial
command line invocation that I'd like commentary on.

From:

http://www.webmproject.org/docs/encoder-parameters/#10-sample-command-lines

there is a recommendation for "best" quality.

I've based the following on it:

ffmpeg \
    -i INPUT.vob \
    -pass 1              \
    -passlogfile t       \
    -b:v 2M              \
    -auto-alt-ref 1      \
    -quality best        \
    -minrate 100K        \
    -maxrate 16M         \
    -lag-in-frames 16    \
    -keyint_min 0        \
    -g 360               \
    -skip_threshold 0    \
    -qmin 0              \
    -qmax 60             \
    -vcodec libvpx-vp9   \
    -strict experimental \
    -f webm              \
    -- - > /dev/null
ffmpeg \
    -i INPUT.vob \
    -pass 2              \
    -passlogfile t       \
    -b:v 2M              \
    -auto-alt-ref 1      \
    -quality best        \
    -minrate 100K        \
    -maxrate 16M         \
    -lag-in-frames 16    \
    -keyint_min 0        \
    -g 360               \
    -skip_threshold 0    \
    -qmin 0              \
    -qmax 60             \
    -vcodec libvpx-vp9   \
    -strict experimental \
    -acodec libvorbis    \
    -b:a 96k             \
    OUTPUT.webm

I'm looking for very good (or best) encoding. Encoding time isn't a
huge factor for me - at least right now.

Am I missing anything in the above?

Thanks for any hints!

-m


More information about the ffmpeg-user mailing list