{"id":2364,"date":"2010-04-04T10:37:54","date_gmt":"2010-04-04T17:37:54","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=2364"},"modified":"2010-04-05T11:07:52","modified_gmt":"2010-04-05T18:07:52","slug":"kega-video-in-ffmpeg","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/","title":{"rendered":"Kega Video In FFmpeg"},"content":{"rendered":"<p>Thanks to Daniel Verkamp for contributing a Kega video (KGV1) decoder to <a href=\"http:\/\/ffmpeg.org\/\">FFmpeg<\/a>. I was about to demand samples for testing until I looked up what Kega is &#8212; a Sega game console emulator &#8212; when I realized that it would be more fun to create my own (be advised that only the Windows version of <a href=\"http:\/\/www.eidolons-inn.net\/tiki-index.php?page=kega\">Kega<\/a> presently supports the AVI encoding option). Then I looked up the <a href=\"http:\/\/wiki.multimedia.cx\/index.php?title=Kega_Video\">Wiki page<\/a> and realized that there is, in fact, one sample on record at the archive. Well, I went ahead and made my own sample anyway. I used the mountainside attract-mode scene from the Genesis game <a href=\"http:\/\/www.mobygames.com\/game\/genesis\/strider\">Strider<\/a>, one of my favorite sequences in any video game. It&#8217;s in <a href=\"http:\/\/samples.mplayerhq.hu\/V-codecs\/kgv1\/\">the samples directory<\/a>.<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/04\/strider-mountain-attract.jpg\" alt=\"\" title=\"FFplay playing KGV1 video from Strider\" width=\"400\" height=\"342\" class=\"aligncenter size-full wp-image-2365\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/04\/strider-mountain-attract.jpg 400w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/04\/strider-mountain-attract-300x256.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><br \/>\n<\/center><\/p>\n<p>I am holding off on adding a <a href=\"http:\/\/fate.multimedia.cx\/\">FATE<\/a> test; there&#8217;s still an endian issue (PPC configs disagree with x86 configs). I&#8217;m also a little puzzled as to why FFplay insists on playing the video as 320&#215;240 even though the video is encoded as 640&#215;480. For that matter, I&#8217;m also bewildered trying to understand why Kega renders video as 640&#215;480 by default; that&#8217;s not a native resolution for any of its emulated consoles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FFmpeg supports another (tangentially) game-related video codec<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,3],"tags":[],"class_list":["post-2364","post","type-post","status-publish","format-standard","hentry","category-game-hacking","category-open-source-multimedia"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2364","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=2364"}],"version-history":[{"count":4,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2364\/revisions"}],"predecessor-version":[{"id":2369,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2364\/revisions\/2369"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=2364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=2364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=2364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}