[Feature Request]: Add MP4 support for intro movie
Feature Type
Quality of Life
Describe
I was wondering if it were at all possible to add MP4 support for the intro movie? There was the Diablo II Collector's Edition DVD that had a higher quality version of the intro. I did convert the file located at: "DIABLO2_BOXSET/VIDEO_TS/VTS_22_1.VOB" as an .mp4. I can provide the .mp4 file if that would help at all.
The game could recognize the external video similarly to the process of replacing music files. I mean, creating a folder in the diablo directory called "gendata" and placing "diablo1.mp4" there.
I hope that all makes sense. Thanks! 😄 👍🏻
mp4 is a container format and can hold various types of video and audio encoding internally.
Do you happen to know how the mp4 video is encoded? You can generally get that information from a video player.
I didn't read properly -- so the source video is VOB and you want it to be playable in-game using a modern format. Perhaps something like webm would be a better fit (e.g. via https://github.com/cubicool/mbew or directly via https://github.com/webmproject/libwebm)
Yeah, I could convert the VOB to webm. Would adding webm support for the cutscenes be a worthwhile addition to DevilutionX? How difficult would it be to adding webm support?
It'd be excessive complexity for a minor improvement, not so unusual for DevilutionX :)
In terms of the difficulty of implementation, it'd be similar to the existing video code at https://github.com/diasurgical/DevilutionX/blob/master/Source/storm/storm_svid.cpp