{"id":2265,"date":"2010-02-21T21:43:51","date_gmt":"2010-02-22T05:43:51","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=2265"},"modified":"2010-02-21T22:47:50","modified_gmt":"2010-02-22T06:47:50","slug":"bink-video-in-ffmpeg","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/bink-video-in-ffmpeg\/","title":{"rendered":"Bink Video in FFmpeg"},"content":{"rendered":"<p>Today was the day: <a href=\"http:\/\/codecs.multimedia.cx\/\">Kostya<\/a> committed his <a href=\"http:\/\/twitter.com\/ffmpegsvn\/status\/9428996080\">Bink video decoder<\/a> to <a href=\"http:\/\/ffmpeg.org\/\">FFmpeg<\/a>. Here&#8217;s just one little screenshot:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/02\/indiana-jones-bink.jpg\" alt=\"Screenshot of the attract mode Bink video from Indiana Jones and the Emperor&#039;s Tomb\" title=\"Screenshot of the attract mode Bink video from Indiana Jones and the Emperor&#039;s Tomb\" width=\"400\" height=\"323\" class=\"aligncenter size-full wp-image-2266\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/02\/indiana-jones-bink.jpg 400w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/02\/indiana-jones-bink-300x242.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><br \/>\n<\/center><\/p>\n<p>Of course, this is just one Bink file out of the literal <em>thousands<\/em> of <a href=\"http:\/\/www.radgametools.com\/binkgames.htm\">software titles that have incorporated Bink video<\/a> (the above comes from <a href=\"http:\/\/www.mobygames.com\/game\/windows\/indiana-jones-and-the-emperors-tomb\">Indiana Jones and the Emperor&#8217;s Tomb for Windows<\/a>). For this reason, it&#8217;s entirely possible that the Bink video decoder (not to mention the Bink audio decoder and the Bink file format demuxer) might not cover all the cases out there. This is especially relevant considering intel I have received from a guy who has talked to the guy who invented Bink and described the development process. The upshot is that there could conceivably be a lot of custom Bink versions out there. That&#8217;s why Kostya hopes for a lot of testing with as many different Bink files that people can throw at this system. To that end, I started with my old <a href=\"http:\/\/multimedia.cx\/mmjournal.html\">Multimedia Exploration Journal<\/a> and did a text search for every game that I recorded as using Bink.<\/p>\n<p>Just think: The next time that YouTube and assorted other video uploading services update their video conversion backends, they can finally be flooded with Bink videos. (I know it seems silly, but I sometimes feel like my biggest contribution to open source multimedia has been to allow people to upload to YouTube <a href=\"http:\/\/wiki.multimedia.cx\/index.php?title=Sega_FILM\">video files that they found<\/a> on <a href=\"http:\/\/wiki.multimedia.cx\/index.php?title=Duck_TrueMotion_1\">their old Sega Saturn CD-ROMs<\/a>).<\/p>\n<p>As for <a href=\"http:\/\/fate.multimedia.cx\/\">FATE<\/a>, is it plausible to get a basic decoding test staged at this point? I ran a simple sample through my RPC testing tool and learned that the video output is bit exact across platforms. <a href=\"http:\/\/fate.multimedia.cx\/index.php?test_spec=389\">Test staged<\/a>.<\/p>\n<p>(Aside: Thanks to Vitor Sessak, Valgrinder extraordinaire, for locating a memory bug in the Musepack v7 demuxer. Since I created and staged a v7 sample at the same time I staged a sample for the Musepack v8 demuxer, I have already activated a <a href=\"http:\/\/fate.multimedia.cx\/index.php?test_spec=378\">Musepack v7 demuxing test<\/a>.)<\/p>\n<p>Here&#8217;s a project for someone that likes text processing and searching puzzles: Find a simple, efficient method for comparing my list of DOS\/Windows games (<a href=\"http:\/\/spreadsheets.google.com\/pub?key=to5QWBtAeTjKU3BERE-hIvg&#038;gid=0\">here&#8217;s the HTML list<\/a> and <a href=\"http:\/\/spreadsheets.google.com\/pub?key=to5QWBtAeTjKU3BERE-hIvg&#038;gid=0&#038;output=csv\">here it is in CSV<\/a>) against the <a href=\"http:\/\/www.radgametools.com\/binkgames.htm\">big list of known Bink titles<\/a> and find all the Bink games in my PC game collection. I have already harvested samples from: Alien vs. Predator Gold Edition, Disney&#8217;s Atlantis, Gabriel Knight 3, Gods &#038; Generals, Halo 3 (Xbox 360), In Cold Blood, Indiana Jones and the Emperor&#8217;s Tomb, Monsters Inc. Wreck Room Arcade, Starlancer, Tony Hawk Pro Skater 2, Uru: Ages Beyond Myst. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bink video is in FFmpeg, courtesy of Kostya<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101,29,3],"tags":[],"class_list":["post-2265","post","type-post","status-publish","format-standard","hentry","category-fate-server","category-game-hacking","category-open-source-multimedia"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=2265"}],"version-history":[{"count":6,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2265\/revisions"}],"predecessor-version":[{"id":2272,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2265\/revisions\/2272"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=2265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=2265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=2265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}