{"id":77,"date":"2009-03-28T01:16:29","date_gmt":"2009-03-27T14:16:29","guid":{"rendered":"http:\/\/noraisin.net\/~jan\/diary\/?p=77"},"modified":"2009-03-28T01:16:29","modified_gmt":"2009-03-27T14:16:29","slug":"the-first-thusnelda-theora-encoder-release","status":"publish","type":"post","link":"https:\/\/noraisin.net\/diary\/?p=77","title":{"rendered":"The first Thusnelda theora encoder release"},"content":{"rendered":"<p>I&#8217;d like to offer congratulations to all the Xiph folks, but especially Monty, Ralph and Tim on the <a href=\"https:\/\/trac.xiph.org\/browser\/releases\/theora\/libtheora-1.1alpha1.tar.bz2\">theora-1.1alpha1 release<\/a> from the Thusnelda encoder branch.<\/p>\n<p>To try it out, I transcoded a short (1m40s) 720p trailer video from H.264+AAC to Theora+Vorbis, at libtheora quality setting of 32, using the 1.0 theora encoder, and again with 1.1. It&#8217;s not a very rigorous experiment, but enlightening nonetheless.<\/p>\n<p>Both encoders produced output of comparable visual quality. With the 1.0 theora encoder the output file was 24383125 bytes. Of that, the video portion is about 1.835 Mbit\/s. With libtheora 1.1alpha1, the same quality is reached with only 19088009 bytes (video at 1.416 Mbit\/s)!<\/p>\n<p>That&#8217;s a pretty easy 20-ish% compression improvement for no loss in quality. As an added bonus, the transcoding time dropped from 2m10s to 1m52s. That&#8217;s not quite real-time for this frame size in either case, but an impressive step closer.<\/p>\n<p>There&#8217;s some degradation from the visual quality of the original file. That&#8217;s to be expected when taking a 5.61 Mbit\/s video stream down to less than a third of the original size &#8211; even on the same codec.<\/p>\n<p>For comparison, here&#8217;s a random frame from the output of each encoder, along with the same frame from the original file:<\/p>\n<figure id=\"attachment_81\" aria-describedby=\"caption-attachment-81\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/noraisin.net\/~jan\/diary\/wp-content\/uploads\/2009\/03\/original.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/noraisin.net\/~jan\/diary\/wp-content\/uploads\/2009\/03\/original-300x127.png\" alt=\"screenshot of the original H.264 frame\" title=\"original frame\" width=\"300\" height=\"127\" class=\"size-medium wp-image-81\" srcset=\"https:\/\/noraisin.net\/diary\/wp-content\/uploads\/2009\/03\/original-300x127.png 300w, https:\/\/noraisin.net\/diary\/wp-content\/uploads\/2009\/03\/original.png 1280w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-81\" class=\"wp-caption-text\">screenshot of the original H.264 frame<\/figcaption><\/figure>\n<figure id=\"attachment_79\" aria-describedby=\"caption-attachment-79\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/noraisin.net\/~jan\/diary\/wp-content\/uploads\/2009\/03\/theora-10.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/noraisin.net\/~jan\/diary\/wp-content\/uploads\/2009\/03\/theora-10-300x127.png\" alt=\"screenshot from the theora-1.0 encoding\" title=\"theora-1.0 snapshot\" width=\"300\" height=\"127\" class=\"size-medium wp-image-79\" srcset=\"https:\/\/noraisin.net\/diary\/wp-content\/uploads\/2009\/03\/theora-10-300x127.png 300w, https:\/\/noraisin.net\/diary\/wp-content\/uploads\/2009\/03\/theora-10.png 1280w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-79\" class=\"wp-caption-text\">screenshot from the theora-1.0 encoding<\/figcaption><\/figure>\n<figure id=\"attachment_80\" aria-describedby=\"caption-attachment-80\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/noraisin.net\/~jan\/diary\/wp-content\/uploads\/2009\/03\/theora-11.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/noraisin.net\/~jan\/diary\/wp-content\/uploads\/2009\/03\/theora-11-300x127.png\" alt=\"screenshot from the theora-1.1 encode\" title=\"theora-1.1\" width=\"300\" height=\"127\" class=\"size-medium wp-image-80\" srcset=\"https:\/\/noraisin.net\/diary\/wp-content\/uploads\/2009\/03\/theora-11-300x127.png 300w, https:\/\/noraisin.net\/diary\/wp-content\/uploads\/2009\/03\/theora-11.png 1280w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-80\" class=\"wp-caption-text\">screenshot from the theora-1.1 encode<\/figcaption><\/figure>\n<p>Sweeeet. Well done, guys!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;d like to offer congratulations to all the Xiph folks, but especially Monty, Ralph and Tim on the theora-1.1alpha1 release from the Thusnelda encoder branch. To try it out, I transcoded a short (1m40s) 720p trailer video from H.264+AAC to Theora+Vorbis, at libtheora quality setting of 32, using the 1.0 theora encoder, and again with &hellip; <a href=\"https:\/\/noraisin.net\/diary\/?p=77\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The first Thusnelda theora encoder release&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-hacking"],"_links":{"self":[{"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=77"}],"version-history":[{"count":1,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=\/wp\/v2\/posts\/77\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/noraisin.net\/diary\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}