Open handsomematt opened 5 years ago
Implemented in 894240d03be4786aa82f49159ca8adacfac9d906
Removed because of poor implementation, a much better one to base off would be: https://github.com/scummvm/scummvm/blob/master/video/bink_decoder.cpp
That seems to be a fork of this in turn https://github.com/xoreos/xoreos/blob/master/src/video/bink.cpp
Black & White uses the Bink Video Codec for certain parts of the game:
Specifically Black & White uses Bink 1 and only video encoding, no audio which will make any implementation easier.
There are several ways to implement the video encoder each with pros and cons:
binkw32.dll
distributed with the game with headers. (wouldn't work across platforms and potentially problematic with ABI)ffmpeg
orlibav
to decode the video. (adds a huge dependency of ffmpeg for 1 video type)ffmpeg
/libav
- several other FOSS games have done this, the best example I've come across is https://github.com/gemrb/gemrb/tree/master/gemrb/plugins/BIKPlayer