Skip to content
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

Video Playback #332

Open
MaxGitHubAccount opened this issue May 11, 2018 · 1 comment
Open

Video Playback #332

MaxGitHubAccount opened this issue May 11, 2018 · 1 comment
Assignees

Comments

@MaxGitHubAccount
Copy link

Starting the game
As a user I want to see the intros playing after starting the game in order to have the same feeling as in the original game with funny publisher / developer videos.

For Gothic II the first video is the Jowood Video, the second video is the Piranha Bytes video. After those videos the Main Menu is shown.

Play Intro
As a user I want to see the intro by clicking "Intro spielen" in the option in the main menu in order to have the same feeling as in the original game and knowing the history of the game.

Credits
As a user I want to see the intro video(s) when starting the game from the main menu and when triggering certain events by talking to NPCs like Xardas activates videos from Night of Raven in the first starting talk.

@aaeberharter
Copy link
Collaborator

Using ffprobe on one of the video files tells us that it is bink video format:

Input #0, bink, from '.\Addon_Title.bik':
Duration: 00:00:09.36, start: 0.000000, bitrate: 1268 kb/s
Stream #0:0[0x0]: Video: binkvideo (BIKi / 0x694B4942), yuv420p, 640x360, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1[0x0]: Audio: binkaudio_dct, 44100 Hz, stereo, fltp

This format is developed by RAD game tools which offer the bink video SDK for most platforms. Since Piranha Bytes / JoWood already paid for it they could give it to us for free if we ask politely, but probably not.
Luckily FFmpeg has support for decoding it (libavformat/bink.c). So we could link the required parts of FFmpeg and use this.

@ataulien ataulien self-assigned this May 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants