Page MenuHomePhabricator

Add option to TMH's VP9 transcoding to use -row-mt option
Closed, ResolvedPublic

Description

When newer libvpx and ffmpeg versions are available (cf T190333) we can use more threads for VP9 encoding than the older tile-based limit of 1/2/4 threads depending on resolution. This could make encoding a lot faster when we don't have lots of simultaneous things running to fill out the scaler boxes.

Note that passing -row-mt 1 will cause a failure if ffmpeg is too old to support it or was compiled against an old libvpx that doesn't include it.

Event Timeline

Change 440972 had a related patch set uploaded (by Brion VIBBER; owner: Brion VIBBER):
[mediawiki/extensions/TimedMediaHandler@master] Add $wgFFmpegVP9RowMT option to enable -row-mt for VP9 transcodes

https://gerrit.wikimedia.org/r/440972

Change 440972 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] Add $wgFFmpegVP9RowMT option to enable -row-mt for VP9 transcodes

https://gerrit.wikimedia.org/r/440972

This got merged and deployed.

Change 451039 had a related patch set uploaded (by Jforrester; owner: Brion VIBBER):
[mediawiki/extensions/TimedMediaHandler@REL1_31] Add $wgFFmpegVP9RowMT option to enable -row-mt for VP9 transcodes

https://gerrit.wikimedia.org/r/451039

Change 451039 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@REL1_31] Add $wgFFmpegVP9RowMT option to enable -row-mt for VP9 transcodes

https://gerrit.wikimedia.org/r/451039