Skip to content

Bink 2 video (.bk2, codec KB2g) support

Some games have video files in Bink 2 format. VLC 3.0.16 can already play some variants of the Bink video, but doesn't have support for Bink 2 or KB2g. By the way, ffmpeg 4.2.3 doesn't have support either.

The uploaded file is from the game BattleBlock Theater, chapter 4 (the game has 11 videos in total, this chapter has the smallest file size). The video is also available on YouTube. (I've uploaded it through http://streams.videolan.org/upload/ , I hope it will show up in this ticket soon.)

VLC 3.0.16 reports the following media info for the file chapter_04.bk2:

  • Video codec KB2g, 1280x720, 30fps (not supported)
  • Audio coded BAU1, mono, 48KHz, 32 bits per sample (plays fine)

ffmpeg 4.2.3 reports (using ffmpeg -i chapter_04.bk2 -c:v libx264 -c:a aac chapter_04.mp4):

  • Bink 2 video is not implemented
  • Stream #0:0[0x0]: Video: none (KB2g / 0x6732424B), none, 1280x720, 30 fps, 30 tbr, 30 tbn, 30 tbc
  • Stream #0:1[0x0]: Audio: binkaudio_dct, 48000 Hz, mono, fltp

Searching on the web, the following page seems to describe the Bink 2 video format:

I searched the VideoLAN project, and there are no mentions of this video codec anywhere else (forums, GitLab, wiki). There are a few other very old reports related to Bink video, but still nothing about this specific codec.

Samples: http://streams.videolan.org/issues/26653/

Edited by Jean-Baptiste Kempf
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information