Changes between Version 7 and Version 8 of Encode/VP9
- Timestamp:
- Jul 18, 2017, 4:13:02 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/VP9
v7 v8 7 7 To install FFmpeg with support for libvpx-vp9, look at the [https://ffmpeg.org/trac/ffmpeg/wiki/CompilationGuide Compilation Guides] and compile FFmpeg with the {{{--enable-libvpx}}} option. Note that for 10-bit encoding, you need to set the `--enable-vp9-highbitdepth` configuration option. 8 8 9 Note that in the below examples, the libvorbis audio encoder is used. Make sure your FFmpeg version also includes libvorbis (check with {{{ffmpeg -codecs}}}), as the native Vorbis encoder from FFmpeg does not provide comparable quality.9 Note that the default audio encoder for WebM is libopus, but if it is not available then libvorbis will be used instead. 10 10 11 11 == Variable Bitrate (VBR) ==#variableb … … 16 16 17 17 {{{ 18 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -c:a libvorbisoutput.webm18 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M output.webm 19 19 }}} 20 20 … … 26 26 27 27 {{{ 28 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M - c:a libvorbis -pass 1 -f webm /dev/null && \29 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M - c:a libvorbis -pass 2 output.webm28 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 1 -f webm /dev/null && \ 29 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 2 output.webm 30 30 }}} 31 31 … … 44 44 45 45 {{{ 46 ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 -c:a libvorbisoutput.webm46 ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 output.webm 47 47 }}} 48 48 … … 54 54 55 55 {{{ 56 ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 2000k -c:a libvorbisoutput.webm56 ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 2000k output.webm 57 57 }}} 58 58 … … 62 62 63 63 {{{ 64 ffmpeg -i input.mp4 -c:v libvpx-vp9 -minrate 500k -b:v 2000k -maxrate 2500k -c:a libvorbisoutput.webm64 ffmpeg -i input.mp4 -c:v libvpx-vp9 -minrate 500k -b:v 2000k -maxrate 2500k output.webm 65 65 }}} 66 66 … … 72 72 73 73 {{{ 74 ffmpeg -i input.mp4 -c:v libvpx-vp9 -minrate 1M -maxrate 1M -b:v 1M -c:a libvorbisoutput.webm74 ffmpeg -i input.mp4 -c:v libvpx-vp9 -minrate 1M -maxrate 1M -b:v 1M output.webm 75 75 }}} 76 76
