-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for DVD cutscenes #64
Comments
jan-kleks, the DVD cutscenes is in .vbo format, I talked with pjasicek and cutscenes will be added in future, priority now is the levels and boss logics |
For implementing and including video cutscenes there could be 2 possibilities for me:
Another thing is that the DVD version CLAW.REZ archive has around 700 megabytes which is a bit heavyweight for distribution. But I guess I could support it to the degree that if a player would have the video files there, the cutscenes would trigger else they would just get skipped. |
From a brief look at the possibilities, it is not that hard when using SDL2 rendering. I am just worried about the resulting FPS if I would use some compressed form of the videos, like mp4 on rigs which are not that fast. To make the video seamless I would need to preprocess 2-3 frames ahead and then just swap frames at appropriate times. I am not quite sure what FPS the Claw cutscenes have, but certainly not more than 30. I will make some simple program (in 1-2 weeks) to test my assumptions and post the results here. |
Disney-style animation was often created taking into account particular frame rate and frame count. So it would be nice to get it right. Of course, we don't need a 256 color limitation, I've heard this was the case when playing the DVD cutscenes in-game. |
This miniproject plays coded videos (I tried playing *.mkv) using SDL2 as renderer: https://github.com/pockethook/player Since it is under GPL2 I could make a wrapper around it and incorporate it into this project. Though this would bring more library dependencies (3 libraries I think) which is hell for porting it on mobile platforms generally. |
I spent a couple of hours delving into incorporating ffmpeg into SDL2. Video playback is fine, audio playback is not - I could not get it running. Anyway, this would introduce new heavy-weight dependency (6 shared libraries) so I am not going to implement this anytime soon. |
hope than you think to include this on the future. cutscenes are the 50% of the nostalgic feeling of this game. |
Do you have a branch with that version of the game? I'm sure there's someone who could help with the audio playback. |
I think no, I tried it locally on regular branch back then and when I could not get even get it to proof of concept stage I threw it away. |
A DVD version of Claw had high-quality cutscenes which are a pain to run in-game on modern operating systems.
The text was updated successfully, but these errors were encountered: