[feature] use webp for thumbnails (#3116)
* update to use webp for thumbnails * bump webp quality up to 40% from 12% (it's a bit different to jpeg quality setting) * update to use yuva colorspace, and use thumbnail=n=10 to select frame * fix missing comma in ffmpeg args * add links to appropriate ffmpeg docs * update tests * add file size tests for thumbnails --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
|
Before Width: | Height: | Size: 6.8 KiB |
BIN
testrig/media/cowlick-small.webp
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 6 KiB |
BIN
testrig/media/ghosts-small.webp
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 7.5 KiB |
BIN
testrig/media/ohyou-small.webp
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
testrig/media/peglin-static.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 35 KiB |
BIN
testrig/media/sloth-small.webp
Normal file
|
After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 9.7 KiB |
BIN
testrig/media/team-fortress-small.webp
Normal file
|
After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 12 KiB |
BIN
testrig/media/thoughtsofdog-small.webp
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 9.5 KiB |
BIN
testrig/media/trent-small.webp
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
BIN
testrig/media/welcome-small.webp
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 29 KiB |
BIN
testrig/media/zork-small.webp
Normal file
|
After Width: | Height: | Size: 35 KiB |