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.

Details

Related Gerrit Patches:
mediawiki/extensions/TimedMediaHandler : REL1_31Add $wgFFmpegVP9RowMT option to enable -row-mt for VP9 transcodes
mediawiki/extensions/TimedMediaHandler : masterAdd $wgFFmpegVP9RowMT option to enable -row-mt for VP9 transcodes

Event Timeline

brion created this task.Mar 21 2018, 7:48 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 21 2018, 7:48 PM

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

Krinkle added a subscriber: Krinkle.
brion closed this task as Resolved.Jul 31 2018, 12:58 AM

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