Hi Jai,
Thanks for the updated docs. They seem a lot more comprehensive than the previous set I'd been using at
http://wiki.webmproject.org/ffmpeg/vp9-encoding-guide.
Firstly, a couple of points of note where the updated docs differ from the previous guide. As I don't have much experience of encoding, I don't know whether these are because of errors, omissions or simply changes in the encoder:
1) No use of '-an' in the first pass to prevent processing the audio stream (frustratingly, this appears to make ffmpeg refuse to update the 'time=' counter during pass 1, so it's hard to tell how much progress is being made)
2) The previous guide output to /dev/null during the 1st pass to save needlessly writing to disk.
3) The parameter combo of '--auto-alt-ref 1 --lag-in-frames 25' that turn on VP9's alt-ref feature is omitted in the new guide; are these no longer necessary?
4) The multi-core decoding related parameter, '--frame-parallel' is omitted in the new guide; again, is this no longer necessary?
There's also a few mistakes in the example commands, where they don't match up with the recommendations given earlier in the documentation:
1) 640x360 - the pass 2 speed should be 1, not 4
2) 640x480 (both LQ & MQ) - the pass 2 speed should be 1, not 4
3) 1280x720 (both FPS) - the pass 2 speed should be 2, not 4
4) 1920x1080 (both FPS) - the pass 2 tile-columns should be 2, not 4
5) 1920x1080 (both FPS) - the pass 2 speed should be 2, not 4
6) 2560x1440 (both FPS) - the pass 2 speed should be 2, not 4
7) 3840x2160 (both FPS) - the pass 2 speed should be 2, not 4
Finally, I think there's a typo in the 'Tiling and Threading Recommendations' section: "For example, a 640x480 encode would
use the command-line --tile-columns 2 --threads 4
"
But, given the table above it, I think it should be '--tile-columns 1 --threads 4'.
Kind Regards,
Matt
.