Examples given are for 2-pass VP9 encoding with FFMpeg. Ensure that your FFMpeg has been built with libvpx support.
c:a libopus tells FFmpeg to encode the audio in Opus.
b:v 1000K tells FFmpeg to encode the video with a target of 1000 kilobits.
b:a 64k tells FFmpeg to encode the audio with a target of 64 kilobits.
Most of the current VP9 decoders use tile-based, multi-threaded decoding. In order for the decoders to take advantage of multiple cores, the encoder must set tile-columns and frame-parallel.
Setting auto-alt-ref and lag-in-frames >= 12 will turn on VP9's alt-ref frames, a VP9 feature that enhances quality.
speed 4 tells VP9 to encode really fast, sacrificing quality. Useful to speed up the first pass.
speed 1 is a good speed vs. quality compromise. Produces output quality typically very close to speed 0, but usually encodes much faster.
Multi-threaded encoding may be used if -threads > 1 and -tile-columns > 0.
DASH Recommended Settings
See http://wiki.webmproject.org/adaptive-streaming/instructions-to-playback-adaptive-webm-using-dash for WebM DASH settings.
Best Quality (Slowest) Recommended Settings ffmpeg -i