Support WebM (matroska/VP8/libogg)
Closed, ResolvedPublic


Things we need are:

1: A fileformat parser to retrieve the metadata and determine the codecs used in the matroska files.
2: Support in Cortado
3: Split off the OggHandler player from the OggHandler filesupport, so that it can be shared by other mediatypes.

Version: 1.17.x
Severity: enhancement

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz23888.
TheDJ created this task.Via LegacyJun 10 2010, 6:59 PM
TheDJ added a comment.Via ConduitJul 23 2010, 12:56 AM

It seems getID3() is a PHP lib that claims to have matroska support. Investigating if we could reuse some of that to parse the metadata of mkv files.

TheDJ added a comment.Via ConduitJul 28 2010, 7:24 PM

Upload support and filetype recognition added in r70103.

TheDJ added a comment.Via ConduitJul 28 2010, 7:34 PM

So next to do is added a MatroskaHandler and a Matroska Metadataextracter + parser.

It is probably also best is we move the 'player' functionality from OggHandler into a core VideoHandler, of which both OggHandler and MatroskaHandler would be children. Adding mdale and Tim to the ticket, since both seem relevant to such a move.

bzimport added a comment.Via ConduitAug 24 2010, 3:27 AM

mdale wrote:

:: WebM support ::

  1. Any update on metadata support in getID3?

1.5) We need to fallback to recent version of ffmpeg for thumbnails where the assets are WebM. i.e we need to deploy a recent version of ffmpeg.

  1. I don't think support in cortado is that essential since the flash runtime should be supporting WebM natively and has much broader adoption and 'virtual machine consistency' than java.

3 ) I would promote the html5 player 'embedPlayer' that is part of TimedMediaHandler extension. It already has WebM support and capacity to switch among available playback engines. Its also well positioned to support the flash based playback with a consistent html5 like api. It has other important features like multilingual timed text, a consistent player interface, fullscreen, share this media embed code, credits screen etc.

  1. I would add that transcoding and derivatives support is pretty essential. A single video asset should not be tied to its source upload format. Often users upload a HD source asset that causes confusing long buffer times when embedded in an article at 200px wide. We should transcode uploaded assets into both WebM and ogg formats at web stremable resolutions and let the client software automatically chose what will work best. i.e something like the TimedMediaHandler transcode support:

This runs into the the classical bug 4421 where file extension does not match embed file but I don't see that as blocker to making progress here.

I don't think it would be hard to add support for WebM to TimedMediaHandler since it already has a lot of the other pieces in place. But we need a process to review and make note of any thing that needs to be changed as a path towards deployment.

bzimport added a comment.Via ConduitFeb 25 2011, 5:30 AM

mdale wrote:

going to mark this as duplicate / similar to bug 27699 ( since Timed Media Handler supports WebM in the way we outline above )

*** This bug has been marked as a duplicate of bug 27699 ***

Gilles added a project: Multimedia.Via WebDec 4 2014, 10:42 AM
Gilles moved this task to Closed on the Multimedia workboard.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.