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:
Frames are skipped for no reason
Videos will slow down erratically
They are always cropped near the right border…
As a result, all videos look stretched horizontally!
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!
We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.
Hello @Senscape , sorry for reviving old wounds, did you eventually figure out a setting that works? Webm videos are very choppy on Linux at the moment, and they’re our only option for media playback on Linux it seems. Thanks!
When I try to play the video, my game crashes with the following error.
Assertion failed: vpx_codec_dec_init_ver(&Context, vpx_codec_vp9_dx(), &CodecConfig, 0, (3 + (3 + (4)))) == 0 [File:D:/Build/++UE4/Sync/Engine/Plugins/Media/WebMMedia/Source/WebMMedia/Private/Player/WebMVideoDecoder.cpp] [Line: 89]