{"id":1867,"date":"2009-09-25T08:13:59","date_gmt":"2009-09-25T15:13:59","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=1867"},"modified":"2009-11-23T14:59:38","modified_gmt":"2009-11-23T21:59:38","slug":"theora-1-1-released","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/","title":{"rendered":"Theora 1.1 Released"},"content":{"rendered":"<p>No sooner did I press &#8220;Publish&#8221; on <a href=\"http:\/\/multimedia.cx\/eggs\/multithreaded-ffmpeg-programming\/\">my last post pertaining to multithreading FFmpeg&#8217;s Theora decoder<\/a>, than did I receive an email from the <a href=\"http:\/\/lists.xiph.org\/pipermail\/theora-dev\/2009-September\/003985.html\">theora-dev list regarding the release of Theora 1.1.0<\/a>. It took them many, many years to <a href=\"http:\/\/multimedia.cx\/eggs\/theora-is-now-officially-available\/\">release the first official version<\/a> and about 10 months to get the second version out, so congratulations on that matter. This release includes the much-vaunted Thusnelda encoder which is supposed to offer substantial encoding improvements vs. the original 1.0 encoder.<\/p>\n<p>So, fair warning: Be prepared for a new round of &#8220;Theora Bests H.264 \/ HTML5 Video Poised To Conquer Internet&#8221; type of stories.<\/p>\n<p>Since I have been doing a bunch of optimizations to the FFmpeg Theora decoder this past week (a.k.a. <a href=\"http:\/\/ffmpeg.org\/projects.html\">the Theora decoder that most people actually use<\/a>), I thought this would be the perfect opportunity to benchmark Theora 1.1 alongside FFmpeg&#8217;s decoder. Fortunately, libtheora has an example tool called dump_video that decodes video directly to YUV4MPEG2 format, the same way I was testing FFmpeg&#8217;s decoder.<\/p>\n<p>FFmpeg command line:<\/p>\n<pre>\r\nffmpeg -threads <em>n<\/em> -i big_buck_bunny_1080p_stereo.ogg\r\n  -f yuv4mpegpipe -an -y \/dev\/null\r\n<\/pre>\n<p>Libtheora command line:<\/p>\n<pre>\r\ndump_video big_buck_bunny_1080p_stereo.ogg > \/dev\/null\r\n<\/pre>\n<p>The results (on my Core 2 Duo Mac Mini) were thus:<\/p>\n<pre>\r\n6:44 - FFmpeg, 1 thread\r\n6:09 - FFmpeg, 2 threads *\r\n4:51 - libtheora 1.1\r\n<\/pre>\n<p><em>* multithreaded version isn&#8217;t complete yet<\/em><\/p>\n<p>Mind you, libtheora&#8217;s decoder is singly-threaded and only has basic MMX SIMD optimizations. After seeing libtheora&#8217;s relative performance, I think I blacked out. Or maybe I just went to bed since it was so late; it&#8217;s sort of a blur. I awoke in a confused stupor wondering what I&#8217;m doing wrong in the FFmpeg Theora decoder. Why is it so slow? Actually, I know why&#8211; unpack_vlcs(), which continues to dominate profiling statistics. Perhaps the question I should start with is, how does libtheora unpack VLCs so quickly? That&#8217;s a good jumping-off point for a future investigation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Theora 1.1 is out and their decoder puts FFmpeg&#8217;s to shame<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-1867","post","type-post","status-publish","format-standard","hentry","category-vp3theora"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Theora 1.1 is out and their decoder puts FFmpeg&#039;s to shame\" \/>\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\/theora-1-1-released\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\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=\"Theora 1.1 Released | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta property=\"og:description\" content=\"Theora 1.1 is out and their decoder puts FFmpeg&#039;s to shame\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-09-25T15:13:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-11-23T21:59:38+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Theora 1.1 Released | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Theora 1.1 is out and their decoder puts FFmpeg&#039;s to shame\" \/>\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\\\/theora-1-1-released\\\/#article\",\"name\":\"Theora 1.1 Released | Breaking Eggs And Making Omelettes\",\"headline\":\"Theora 1.1 Released\",\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\"},\"datePublished\":\"2009-09-25T08:13:59-07:00\",\"dateModified\":\"2009-11-23T14:59:38-08:00\",\"inLanguage\":\"en-US\",\"commentCount\":10,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/theora-1-1-released\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/theora-1-1-released\\\/#webpage\"},\"articleSection\":\"VP3\\\/Theora\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/theora-1-1-released\\\/#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\\\/vp3theora\\\/#listItem\",\"name\":\"VP3\\\/Theora\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/vp3theora\\\/#listItem\",\"position\":2,\"name\":\"VP3\\\/Theora\",\"item\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/vp3theora\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/theora-1-1-released\\\/#listItem\",\"name\":\"Theora 1.1 Released\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/theora-1-1-released\\\/#listItem\",\"position\":3,\"name\":\"Theora 1.1 Released\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/vp3theora\\\/#listItem\",\"name\":\"VP3\\\/Theora\"}}]},{\"@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\\\/theora-1-1-released\\\/#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\\\/theora-1-1-released\\\/#webpage\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/theora-1-1-released\\\/\",\"name\":\"Theora 1.1 Released | Breaking Eggs And Making Omelettes\",\"description\":\"Theora 1.1 is out and their decoder puts FFmpeg's to shame\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/theora-1-1-released\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"datePublished\":\"2009-09-25T08:13:59-07:00\",\"dateModified\":\"2009-11-23T14:59:38-08: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":"Theora 1.1 Released | Breaking Eggs And Making Omelettes","description":"Theora 1.1 is out and their decoder puts FFmpeg's to shame","canonical_url":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/#article","name":"Theora 1.1 Released | Breaking Eggs And Making Omelettes","headline":"Theora 1.1 Released","author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"publisher":{"@id":"https:\/\/multimedia.cx\/eggs\/#organization"},"datePublished":"2009-09-25T08:13:59-07:00","dateModified":"2009-11-23T14:59:38-08:00","inLanguage":"en-US","commentCount":10,"mainEntityOfPage":{"@id":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/#webpage"},"isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/#webpage"},"articleSection":"VP3\/Theora"},{"@type":"BreadcrumbList","@id":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/#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\/vp3theora\/#listItem","name":"VP3\/Theora"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/vp3theora\/#listItem","position":2,"name":"VP3\/Theora","item":"https:\/\/multimedia.cx\/eggs\/category\/vp3theora\/","nextItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/#listItem","name":"Theora 1.1 Released"},"previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/#listItem","position":3,"name":"Theora 1.1 Released","previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/vp3theora\/#listItem","name":"VP3\/Theora"}}]},{"@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\/theora-1-1-released\/#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\/theora-1-1-released\/#webpage","url":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/","name":"Theora 1.1 Released | Breaking Eggs And Making Omelettes","description":"Theora 1.1 is out and their decoder puts FFmpeg's to shame","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/#website"},"breadcrumb":{"@id":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/#breadcrumblist"},"author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"creator":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"datePublished":"2009-09-25T08:13:59-07:00","dateModified":"2009-11-23T14:59:38-08: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":"Theora 1.1 Released | Breaking Eggs And Making Omelettes","og:description":"Theora 1.1 is out and their decoder puts FFmpeg's to shame","og:url":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/","article:published_time":"2009-09-25T15:13:59+00:00","article:modified_time":"2009-11-23T21:59:38+00:00","twitter:card":"summary","twitter:title":"Theora 1.1 Released | Breaking Eggs And Making Omelettes","twitter:description":"Theora 1.1 is out and their decoder puts FFmpeg's to shame"},"aioseo_meta_data":{"post_id":"1867","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 22:01:17","updated":"2025-12-31 19:16:01","seo_analyzer_scan_date":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\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/multimedia.cx\/eggs\/category\/vp3theora\/\" title=\"VP3\/Theora\">VP3\/Theora<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tTheora 1.1 Released\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/multimedia.cx\/eggs"},{"label":"VP3\/Theora","link":"https:\/\/multimedia.cx\/eggs\/category\/vp3theora\/"},{"label":"Theora 1.1 Released","link":"https:\/\/multimedia.cx\/eggs\/theora-1-1-released\/"}],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/1867","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=1867"}],"version-history":[{"count":8,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/1867\/revisions"}],"predecessor-version":[{"id":1984,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/1867\/revisions\/1984"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=1867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=1867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=1867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}