{"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":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"FFmpeg supports another (tangentially) game-related video codec\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Multimedia Mike\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Breaking Eggs And Making Omelettes | Topics On Multimedia Technology and Reverse Engineering\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Kega Video In FFmpeg | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta property=\"og:description\" content=\"FFmpeg supports another (tangentially) game-related video codec\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-04-04T17:37:54+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-04-05T18:07:52+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Kega Video In FFmpeg | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta name=\"twitter:description\" content=\"FFmpeg supports another (tangentially) game-related video codec\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#article\",\"name\":\"Kega Video In FFmpeg | Breaking Eggs And Making Omelettes\",\"headline\":\"Kega Video In FFmpeg\",\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/wp-content\\\/uploads\\\/2010\\\/04\\\/strider-mountain-attract.jpg\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#articleImage\",\"width\":400,\"height\":342},\"datePublished\":\"2010-04-04T10:37:54-07:00\",\"dateModified\":\"2010-04-05T11:07:52-07:00\",\"inLanguage\":\"en-US\",\"commentCount\":6,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#webpage\"},\"articleSection\":\"Game Hacking, Open Source Multimedia\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/open-source-multimedia\\\/#listItem\",\"name\":\"Open Source Multimedia\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/open-source-multimedia\\\/#listItem\",\"position\":2,\"name\":\"Open Source Multimedia\",\"item\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/open-source-multimedia\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#listItem\",\"name\":\"Kega Video In FFmpeg\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#listItem\",\"position\":3,\"name\":\"Kega Video In FFmpeg\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/open-source-multimedia\\\/#listItem\",\"name\":\"Open Source Multimedia\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\",\"name\":\"Breaking Eggs And Making Omelettes\",\"description\":\"Topics On Multimedia Technology and Reverse Engineering\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/\",\"name\":\"Multimedia Mike\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2eb93f7cada658f7986b5092062849fa255779eada3342c8f6b9a40764b95fdd?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Multimedia Mike\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#webpage\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/\",\"name\":\"Kega Video In FFmpeg | Breaking Eggs And Making Omelettes\",\"description\":\"FFmpeg supports another (tangentially) game-related video codec\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/kega-video-in-ffmpeg\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"datePublished\":\"2010-04-04T10:37:54-07:00\",\"dateModified\":\"2010-04-05T11:07:52-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#website\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/\",\"name\":\"Breaking Eggs And Making Omelettes\",\"description\":\"Topics On Multimedia Technology and Reverse Engineering\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Kega Video In FFmpeg | Breaking Eggs And Making Omelettes","description":"FFmpeg supports another (tangentially) game-related video codec","canonical_url":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#article","name":"Kega Video In FFmpeg | Breaking Eggs And Making Omelettes","headline":"Kega Video In FFmpeg","author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"publisher":{"@id":"https:\/\/multimedia.cx\/eggs\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/04\/strider-mountain-attract.jpg","@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#articleImage","width":400,"height":342},"datePublished":"2010-04-04T10:37:54-07:00","dateModified":"2010-04-05T11:07:52-07:00","inLanguage":"en-US","commentCount":6,"mainEntityOfPage":{"@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#webpage"},"isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#webpage"},"articleSection":"Game Hacking, Open Source Multimedia"},{"@type":"BreadcrumbList","@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/#listItem","position":1,"name":"Home","item":"https:\/\/multimedia.cx\/eggs\/","nextItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/open-source-multimedia\/#listItem","name":"Open Source Multimedia"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/open-source-multimedia\/#listItem","position":2,"name":"Open Source Multimedia","item":"https:\/\/multimedia.cx\/eggs\/category\/open-source-multimedia\/","nextItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#listItem","name":"Kega Video In FFmpeg"},"previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#listItem","position":3,"name":"Kega Video In FFmpeg","previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/open-source-multimedia\/#listItem","name":"Open Source Multimedia"}}]},{"@type":"Organization","@id":"https:\/\/multimedia.cx\/eggs\/#organization","name":"Breaking Eggs And Making Omelettes","description":"Topics On Multimedia Technology and Reverse Engineering","url":"https:\/\/multimedia.cx\/eggs\/"},{"@type":"Person","@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author","url":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/","name":"Multimedia Mike","image":{"@type":"ImageObject","@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/2eb93f7cada658f7986b5092062849fa255779eada3342c8f6b9a40764b95fdd?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Multimedia Mike"}},{"@type":"WebPage","@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#webpage","url":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/","name":"Kega Video In FFmpeg | Breaking Eggs And Making Omelettes","description":"FFmpeg supports another (tangentially) game-related video codec","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/#website"},"breadcrumb":{"@id":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/#breadcrumblist"},"author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"creator":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"datePublished":"2010-04-04T10:37:54-07:00","dateModified":"2010-04-05T11:07:52-07:00"},{"@type":"WebSite","@id":"https:\/\/multimedia.cx\/eggs\/#website","url":"https:\/\/multimedia.cx\/eggs\/","name":"Breaking Eggs And Making Omelettes","description":"Topics On Multimedia Technology and Reverse Engineering","inLanguage":"en-US","publisher":{"@id":"https:\/\/multimedia.cx\/eggs\/#organization"}}]},"og:locale":"en_US","og:site_name":"Breaking Eggs And Making Omelettes | Topics On Multimedia Technology and Reverse Engineering","og:type":"article","og:title":"Kega Video In FFmpeg | Breaking Eggs And Making Omelettes","og:description":"FFmpeg supports another (tangentially) game-related video codec","og:url":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/","article:published_time":"2010-04-04T17:37:54+00:00","article:modified_time":"2010-04-05T18:07:52+00:00","twitter:card":"summary","twitter:title":"Kega Video In FFmpeg | Breaking Eggs And Making Omelettes","twitter:description":"FFmpeg supports another (tangentially) game-related video codec"},"aioseo_meta_data":{"post_id":"2364","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-31 21:57:32","updated":"2025-12-31 19:28:41","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/multimedia.cx\/eggs\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/multimedia.cx\/eggs\/category\/open-source-multimedia\/\" title=\"Open Source Multimedia\">Open Source Multimedia<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tKega Video In FFmpeg\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/multimedia.cx\/eggs\/"},{"label":"Open Source Multimedia","link":"https:\/\/multimedia.cx\/eggs\/category\/open-source-multimedia\/"},{"label":"Kega Video In FFmpeg","link":"https:\/\/multimedia.cx\/eggs\/kega-video-in-ffmpeg\/"}],"_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}]}}