Page MenuHomePhabricator

Create video/audio transcode service to replace shell-outs to avconv/ffmpeg2theora
Open, LowPublic

Description

TimedMediaHandler currently does transcoding by manually shelling out to ffmpeg2theora and avconv; while this is an easy way to leverage existing tools, it's tricky to manage job scheduling in a way that scales to both small and large-scale usage scenarios (eg prioritizing low-resolution transcodes to get playback working fast after upload).

I've started some research on how we might create our own transcoding service with more flexibility.

Thinking about using a nodejs-based server using an exteded version of my ogv.js framework, with native codec libraries plugged in instead of the emscripten cross-compiles. On the other hand, it may work just fine to keep using avconv/ffmpeg/whatever, with a nice service front-end that's easier to manage than the MW-based transcode job queue runners.

Event Timeline

brion created this task.Jul 15 2015, 8:54 PM
brion raised the priority of this task from to Needs Triage.
brion updated the task description. (Show Details)
brion added a project: TimedMediaHandler.
brion added a subscriber: brion.
Restricted Application added a project: Multimedia. · View Herald TranscriptJul 15 2015, 8:54 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jdforrester-WMF triaged this task as Low priority.Sep 4 2015, 6:55 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptSep 4 2015, 6:55 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:59 PM
TheDJ moved this task from To sort to Transcoding on the TimedMediaHandler board.Oct 21 2015, 7:14 PM