WebM videos are crippled and unusable. Is support broken?

Senscape
Thu, 17 Oct 2019 14:03:57 +0000
Cinematics & Media

Hi all. Has anyone had luck playing a WebM file in the Media Framework? Every file we tried is crippled somehow. There’s been official support for a while and it’s the ideal video format since it’s lightweight and works across Windows, Mac and Linux, but playing in-game videos seems to be currently broken:

1. Frames are skipped for no reason

2. Videos will slow down erratically

3. They are always cropped near the right border…

4. As a result, all videos look stretched horizontally!

Take a look at this original video: Dropbox - File Deleted

Now see how it looks through render to texture in our game: Dropbox - File Deleted

The behavior is the same if using a Media Player asset and this still happens in 4.23, be it Win/Mac/Linux. We’re converting all our videos with ffmpeg and tried both VP8 and VP9 codecs.

I’m surprised there’s no mention of this issue with WebM anywhere — I wonder if we’re the only ones needing to use it because the format is decidedly unusable at this point. Yet in theory it’s officially supported. Note that MP4 and sequences of images work well in our code.

I’ll be posting a formal bug report as well, but I wanted to check in here if anyone else is experiencing this issue. Maybe it’s a particular setting in ffmpeg that has to be used and we’re missing something. Thanks much in advance!

6 posts - 5 participants