{"id":2561,"date":"2010-06-17T21:55:36","date_gmt":"2010-06-18T04:55:36","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=2561"},"modified":"2010-06-17T22:04:06","modified_gmt":"2010-06-18T05:04:06","slug":"libvpx-0-9-1-and-ffmpeg-0-6","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/","title":{"rendered":"libvpx 0.9.1 and FFmpeg 0.6"},"content":{"rendered":"<p>Great news: Hot on the heels of <a href=\"http:\/\/multimedia.cx\/eggs\/ffmpeg-0-6-something-about-html5\/\">FFmpeg&#8217;s 0.6 release<\/a>, <a href=\"http:\/\/www.webmproject.org\/\">the WebM project<\/a> released version 0.9.1 of their libvpx. I can finally obsolete <a href=\"http:\/\/multimedia.cx\/eggs\/vp8-and-ffmpeg\/\">my last set of instructions<\/a> on getting FFmpeg-svn working with libvpx 0.9.<\/p>\n<p><strong>Building libvpx 0.9.1<\/strong><br \/>\nDo this to build libvpx 0.9.1 on Unix-like systems:<\/p>\n<ul>\n<li>Download libvpx 0.9.1 from <a href=\"http:\/\/code.google.com\/p\/webm\/downloads\/list\">http:\/\/code.google.com\/p\/webm\/downloads\/list<\/a><\/li>\n<li>Unpack, chdir to the source dir, &#8216;.\/configure &#038;&#038; make &#038;&#038; make install&#8217;<\/li>\n<\/ul>\n<p>libvpx&#8217;s build system has been firmed up a bit since version 0.9. It&#8217;s now smart enough to install when said target is invoked and it also builds the assembly language optimizations. Be advised that on 32- and 64-bit x86 machines, <a href=\"http:\/\/www.tortall.net\/projects\/yasm\/\">Yasm<\/a> must be present (install either from source or through your package manager).<\/p>\n<p><strong>Building FFmpeg 0.6<\/strong><br \/>\nTo build the newly-released FFmpeg 0.6:<\/p>\n<ul>\n<li>Install Vorbis through your package manager if you care to encode WebM files with audio; e.g., &#8216;libvorbis-dev&#8217; is the package you want on Ubuntu<\/li>\n<li>Download FFmpeg 0.6 from <a href=\"http:\/\/ffmpeg.org\/download.html\">the project&#8217;s download page<\/a><\/li>\n<li>Configure FFmpeg with at least these options: <code>.\/configure --enable-libvpx --enable-libvorbis --enable-pthreads<\/code>; the final link step still seems to fail on Linux if the pthreads option is disabled<\/li>\n<li>&#8216;make&#8217;<\/li>\n<\/ul>\n<p><strong>Verifying<\/strong><br \/>\nCheck this out:<\/p>\n<pre>\r\n$ .\/ffmpeg -formats 2> \/dev\/null | grep WebM\r\n  E webm            WebM file format\r\n\r\n$ .\/ffmpeg -codecs 2> \/dev\/null | grep libvpx\r\n DEV    libvpx          libvpx VP8\r\n<\/pre>\n<p>That means that this FFmpeg binary can mux a WebM file and can both decode and encode VP8 video via libvpx. If you&#8217;re wondering why the WebM format does not list a &#8216;D&#8217; indicating the ability to demux a WebM file, that&#8217;s because demuxing WebM is handled by the general Matroska demuxer.<\/p>\n<p><strong>Doing Work<\/strong><br \/>\nEncode a WebM file:<\/p>\n<p><code>ffmpeg -i &lt;input_file&gt; &lt;output_file.webm&gt;<\/code><\/p>\n<p>FFmpeg just does the right thing when it seems that .webm extension on the output file. It&#8217;s almost magical.<\/p>\n<p>For instant gratification that the encoded file is valid, you can view it immediately using &#8216;ffplay&#8217;, if that binary was built (done by default if the right support libraries are present). If ffplay is not present, you can always execute this command line to see <em>some<\/em> decode operation:<\/p>\n<p><code>ffmpeg -i &lt;output_file.webm&gt; -f framecrc -<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>libvpx 0.9.1 is out and it works beautifully with FFmpeg 0.6; here&#8217;s how to build it all<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[219],"tags":[],"class_list":["post-2561","post","type-post","status-publish","format-standard","hentry","category-vp8"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"libvpx 0.9.1 is out and it works beautifully with FFmpeg 0.6; here&#039;s how to build it all\" \/>\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\/libvpx-0-9-1-and-ffmpeg-0-6\/\" \/>\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=\"libvpx 0.9.1 and FFmpeg 0.6 | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta property=\"og:description\" content=\"libvpx 0.9.1 is out and it works beautifully with FFmpeg 0.6; here&#039;s how to build it all\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-06-18T04:55:36+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-06-18T05:04:06+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"libvpx 0.9.1 and FFmpeg 0.6 | Breaking Eggs And Making Omelettes\" \/>\n\t\t<meta name=\"twitter:description\" content=\"libvpx 0.9.1 is out and it works beautifully with FFmpeg 0.6; here&#039;s how to build it all\" \/>\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\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/#article\",\"name\":\"libvpx 0.9.1 and FFmpeg 0.6 | Breaking Eggs And Making Omelettes\",\"headline\":\"libvpx 0.9.1 and FFmpeg 0.6\",\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#organization\"},\"datePublished\":\"2010-06-17T21:55:36-07:00\",\"dateModified\":\"2010-06-17T22:04:06-07:00\",\"inLanguage\":\"en-US\",\"commentCount\":11,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/#webpage\"},\"articleSection\":\"VP8\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/#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\\\/vp8\\\/#listItem\",\"name\":\"VP8\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/vp8\\\/#listItem\",\"position\":2,\"name\":\"VP8\",\"item\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/vp8\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/#listItem\",\"name\":\"libvpx 0.9.1 and FFmpeg 0.6\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/#listItem\",\"position\":3,\"name\":\"libvpx 0.9.1 and FFmpeg 0.6\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/category\\\/vp8\\\/#listItem\",\"name\":\"VP8\"}}]},{\"@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\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/#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\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/#webpage\",\"url\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/\",\"name\":\"libvpx 0.9.1 and FFmpeg 0.6 | Breaking Eggs And Making Omelettes\",\"description\":\"libvpx 0.9.1 is out and it works beautifully with FFmpeg 0.6; here's how to build it all\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/libvpx-0-9-1-and-ffmpeg-0-6\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/multimedia.cx\\\/eggs\\\/author\\\/multimedia-mike\\\/#author\"},\"datePublished\":\"2010-06-17T21:55:36-07:00\",\"dateModified\":\"2010-06-17T22:04:06-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":"libvpx 0.9.1 and FFmpeg 0.6 | Breaking Eggs And Making Omelettes","description":"libvpx 0.9.1 is out and it works beautifully with FFmpeg 0.6; here's how to build it all","canonical_url":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/#article","name":"libvpx 0.9.1 and FFmpeg 0.6 | Breaking Eggs And Making Omelettes","headline":"libvpx 0.9.1 and FFmpeg 0.6","author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"publisher":{"@id":"https:\/\/multimedia.cx\/eggs\/#organization"},"datePublished":"2010-06-17T21:55:36-07:00","dateModified":"2010-06-17T22:04:06-07:00","inLanguage":"en-US","commentCount":11,"mainEntityOfPage":{"@id":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/#webpage"},"isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/#webpage"},"articleSection":"VP8"},{"@type":"BreadcrumbList","@id":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/#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\/vp8\/#listItem","name":"VP8"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/vp8\/#listItem","position":2,"name":"VP8","item":"https:\/\/multimedia.cx\/eggs\/category\/vp8\/","nextItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/#listItem","name":"libvpx 0.9.1 and FFmpeg 0.6"},"previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/#listItem","position":3,"name":"libvpx 0.9.1 and FFmpeg 0.6","previousItem":{"@type":"ListItem","@id":"https:\/\/multimedia.cx\/eggs\/category\/vp8\/#listItem","name":"VP8"}}]},{"@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\/libvpx-0-9-1-and-ffmpeg-0-6\/#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\/libvpx-0-9-1-and-ffmpeg-0-6\/#webpage","url":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/","name":"libvpx 0.9.1 and FFmpeg 0.6 | Breaking Eggs And Making Omelettes","description":"libvpx 0.9.1 is out and it works beautifully with FFmpeg 0.6; here's how to build it all","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/multimedia.cx\/eggs\/#website"},"breadcrumb":{"@id":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/#breadcrumblist"},"author":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"creator":{"@id":"https:\/\/multimedia.cx\/eggs\/author\/multimedia-mike\/#author"},"datePublished":"2010-06-17T21:55:36-07:00","dateModified":"2010-06-17T22:04:06-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":"libvpx 0.9.1 and FFmpeg 0.6 | Breaking Eggs And Making Omelettes","og:description":"libvpx 0.9.1 is out and it works beautifully with FFmpeg 0.6; here's how to build it all","og:url":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/","article:published_time":"2010-06-18T04:55:36+00:00","article:modified_time":"2010-06-18T05:04:06+00:00","twitter:card":"summary","twitter:title":"libvpx 0.9.1 and FFmpeg 0.6 | Breaking Eggs And Making Omelettes","twitter:description":"libvpx 0.9.1 is out and it works beautifully with FFmpeg 0.6; here's how to build it all"},"aioseo_meta_data":{"post_id":"2561","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:55:31","updated":"2025-12-31 19:30:54","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\/vp8\/\" title=\"VP8\">VP8<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tlibvpx 0.9.1 and FFmpeg 0.6\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/multimedia.cx\/eggs"},{"label":"VP8","link":"https:\/\/multimedia.cx\/eggs\/category\/vp8\/"},{"label":"libvpx 0.9.1 and FFmpeg 0.6","link":"https:\/\/multimedia.cx\/eggs\/libvpx-0-9-1-and-ffmpeg-0-6\/"}],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2561","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=2561"}],"version-history":[{"count":8,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2561\/revisions"}],"predecessor-version":[{"id":2570,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2561\/revisions\/2570"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=2561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=2561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=2561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}