Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
vp9 [2023/04/08 15:55] beandog [ffmpeg] |
vp9 [2023/04/19 21:54] (current) beandog [ffmpeg] |
||
---|---|---|---|
Line 13: | Line 13: | ||
By default, ''vpxenc'' will use 2-pass method for encoding. | By default, ''vpxenc'' will use 2-pass method for encoding. | ||
- | |||
- | As far as I can tell, there's no default when using CQ mode. I don't know what variables it's using for default when doing a 1-pass encode. | ||
To gain a CRF-type result, use ''--end-usage=cq --cq-level=<arg>'' format, and then a 1-pass encode ''--passes=1'' Using this, ''vpxenc'' uses a default CQ of 32. | To gain a CRF-type result, use ''--end-usage=cq --cq-level=<arg>'' format, and then a 1-pass encode ''--passes=1'' Using this, ''vpxenc'' uses a default CQ of 32. | ||
+ | |||
+ | I get different encoding times on multiple runs, even though it's producing the exact same files, so watch out for that. | ||
Line 23: | Line 23: | ||
By default, HandBrake uses a CQ of 22. | By default, HandBrake uses a CQ of 22. | ||
- | HandBrake willy only use 2-passes if a bitrate is set as well. | + | HandBrake will only use 2-passes if a bitrate is set as well. |
==== ffmpeg ==== | ==== ffmpeg ==== | ||
- | You can use ''ffmpeg'' to get a deep level of output to see what it's doing: | + | You can use ''ffmpeg'' to get a deep level of output to see what it's doing, it uses the default CRF of 32: |
<code> | <code> | ||
- | ffmpeg -i sample.y4m -vcodec libvpx-vp9 sample.webm | + | ffmpeg -loglevel debug -i sample.y4m -vcodec libvpx-vp9 sample.webm |
</code> | </code> | ||