{"id":330,"date":"2010-11-12T22:23:08","date_gmt":"2010-11-12T20:23:08","guid":{"rendered":"http:\/\/blog.openmediavault.org\/?p=330"},"modified":"2018-05-25T11:01:41","modified_gmt":"2018-05-25T09:01:41","slug":"unstripped-build-of-ffmpeg-for-ubuntu","status":"publish","type":"post","link":"https:\/\/www.openmediavault.org\/?p=330","title":{"rendered":"Unstripped build of FFmpeg for Ubuntu"},"content":{"rendered":"<p>If you want to enable various codecs in FFmpeg that are not supported by the official Ubuntu package (e.g. H.264) then this short howto will help you to build your own package quickly. I&#8217;m using the official package sources to make it as easy as possible and to ensure to do not break something. Make sure you have the <a href=\"https:\/\/help.ubuntu.com\/community\/Repositories\/Ubuntu\">Multiverse and Universe repositories<\/a> enabled.<\/p>\n<p>Create a new directory<\/p>\n<pre>mkdir ffmpeg-unstripped\r\ncd ffmpeg-unstripped\r\n<\/pre>\n<p>Install some additional packages, especially the codecs you want to add to the FFmpeg package<\/p>\n<pre>sudo apt-get install build-essential libxvidcore-dev libx264-dev libfaac-dev libmp3lame-dev<\/pre>\n<p>Have a look into the debian\/confflags file to find out additional packages that can be added also.<\/p>\n<p>Next the packages required by the offical FFmpeg package are downloaded, also the source package itself.<\/p>\n<pre>sudo apt-get build-dep ffmpeg\r\napt-get source ffmpeg\r\n<\/pre>\n<p>Now its time to build the package<\/p>\n<pre>cd ffmpeg-*\r\nfakeroot debian\/rules binary\r\n<\/pre>\n<p>Finally we can install and validate the result. Before it is necessary to remove a previously installed FFmpeg package.<\/p>\n<pre>sudo apt-get remove ffmpeg\r\nsudo dpkg -i ..\/*.deb\r\nffmpeg -format\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you want to enable various codecs in FFmpeg that are not supported by the official Ubuntu package (e.g. H.264) then this short howto will help you to build your own package quickly. I&#8217;m using the official package sources to make it as easy as possible and to ensure to do not break something. Make &#8230; <a title=\"Unstripped build of FFmpeg for Ubuntu\" class=\"read-more\" href=\"https:\/\/www.openmediavault.org\/?p=330\" aria-label=\"Read more about Unstripped build of FFmpeg for Ubuntu\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-330","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"volker\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.openmediavault.org\/?p=330\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330#article\",\"name\":\"Unstripped build of FFmpeg for Ubuntu | openmediavault\",\"headline\":\"Unstripped build of FFmpeg for Ubuntu\",\"author\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.openmediavault.org\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/header_logo.svg\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/#articleImage\",\"width\":330,\"height\":42},\"datePublished\":\"2010-11-12T22:23:08+02:00\",\"dateModified\":\"2018-05-25T11:01:41+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330#webpage\"},\"articleSection\":\"Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.openmediavault.org#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.openmediavault.org\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?cat=8#listItem\",\"name\":\"Ubuntu\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?cat=8#listItem\",\"position\":2,\"name\":\"Ubuntu\",\"item\":\"https:\\\/\\\/www.openmediavault.org\\\/?cat=8\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330#listItem\",\"name\":\"Unstripped build of FFmpeg for Ubuntu\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.openmediavault.org#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330#listItem\",\"position\":3,\"name\":\"Unstripped build of FFmpeg for Ubuntu\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?cat=8#listItem\",\"name\":\"Ubuntu\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/#organization\",\"name\":\"openmediavault\",\"description\":\"DATA SOVEREIGNTY MADE EASY\",\"url\":\"https:\\\/\\\/www.openmediavault.org\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.openmediavault.org\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/header_logo.svg\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330\\\/#organizationLogo\",\"width\":330,\"height\":42},\"image\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?author=2#author\",\"url\":\"https:\\\/\\\/www.openmediavault.org\\\/?author=2\",\"name\":\"volker\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330#webpage\",\"url\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330\",\"name\":\"Unstripped build of FFmpeg for Ubuntu | openmediavault\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?p=330#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/?author=2#author\"},\"datePublished\":\"2010-11-12T22:23:08+02:00\",\"dateModified\":\"2018-05-25T11:01:41+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/#website\",\"url\":\"https:\\\/\\\/www.openmediavault.org\\\/\",\"name\":\"openmediavault\",\"description\":\"DATA SOVEREIGNTY MADE EASY\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.openmediavault.org\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Unstripped build of FFmpeg for Ubuntu | openmediavault","description":"","canonical_url":"https:\/\/www.openmediavault.org\/?p=330","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.openmediavault.org\/?p=330#article","name":"Unstripped build of FFmpeg for Ubuntu | openmediavault","headline":"Unstripped build of FFmpeg for Ubuntu","author":{"@id":"https:\/\/www.openmediavault.org\/?author=2#author"},"publisher":{"@id":"https:\/\/www.openmediavault.org\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.openmediavault.org\/wp-content\/uploads\/2025\/10\/header_logo.svg","@id":"https:\/\/www.openmediavault.org\/#articleImage","width":330,"height":42},"datePublished":"2010-11-12T22:23:08+02:00","dateModified":"2018-05-25T11:01:41+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.openmediavault.org\/?p=330#webpage"},"isPartOf":{"@id":"https:\/\/www.openmediavault.org\/?p=330#webpage"},"articleSection":"Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/www.openmediavault.org\/?p=330#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.openmediavault.org#listItem","position":1,"name":"Home","item":"https:\/\/www.openmediavault.org","nextItem":{"@type":"ListItem","@id":"https:\/\/www.openmediavault.org\/?cat=8#listItem","name":"Ubuntu"}},{"@type":"ListItem","@id":"https:\/\/www.openmediavault.org\/?cat=8#listItem","position":2,"name":"Ubuntu","item":"https:\/\/www.openmediavault.org\/?cat=8","nextItem":{"@type":"ListItem","@id":"https:\/\/www.openmediavault.org\/?p=330#listItem","name":"Unstripped build of FFmpeg for Ubuntu"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.openmediavault.org#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.openmediavault.org\/?p=330#listItem","position":3,"name":"Unstripped build of FFmpeg for Ubuntu","previousItem":{"@type":"ListItem","@id":"https:\/\/www.openmediavault.org\/?cat=8#listItem","name":"Ubuntu"}}]},{"@type":"Organization","@id":"https:\/\/www.openmediavault.org\/#organization","name":"openmediavault","description":"DATA SOVEREIGNTY MADE EASY","url":"https:\/\/www.openmediavault.org\/","logo":{"@type":"ImageObject","url":"https:\/\/www.openmediavault.org\/wp-content\/uploads\/2025\/10\/header_logo.svg","@id":"https:\/\/www.openmediavault.org\/?p=330\/#organizationLogo","width":330,"height":42},"image":{"@id":"https:\/\/www.openmediavault.org\/?p=330\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.openmediavault.org\/?author=2#author","url":"https:\/\/www.openmediavault.org\/?author=2","name":"volker"},{"@type":"WebPage","@id":"https:\/\/www.openmediavault.org\/?p=330#webpage","url":"https:\/\/www.openmediavault.org\/?p=330","name":"Unstripped build of FFmpeg for Ubuntu | openmediavault","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.openmediavault.org\/#website"},"breadcrumb":{"@id":"https:\/\/www.openmediavault.org\/?p=330#breadcrumblist"},"author":{"@id":"https:\/\/www.openmediavault.org\/?author=2#author"},"creator":{"@id":"https:\/\/www.openmediavault.org\/?author=2#author"},"datePublished":"2010-11-12T22:23:08+02:00","dateModified":"2018-05-25T11:01:41+02:00"},{"@type":"WebSite","@id":"https:\/\/www.openmediavault.org\/#website","url":"https:\/\/www.openmediavault.org\/","name":"openmediavault","description":"DATA SOVEREIGNTY MADE EASY","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.openmediavault.org\/#organization"}}]}},"aioseo_meta_data":{"post_id":"330","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,"limit_modified_date":false,"ai":null,"created":"2020-12-24 17:42:50","updated":"2022-09-18 02:40:31","breadcrumb_settings":null,"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:\/\/www.openmediavault.org\" 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:\/\/www.openmediavault.org\/?cat=8\" title=\"Ubuntu\">Ubuntu<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUnstripped build of FFmpeg for Ubuntu\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.openmediavault.org"},{"label":"Ubuntu","link":"https:\/\/www.openmediavault.org\/?cat=8"},{"label":"Unstripped build of FFmpeg for Ubuntu","link":"https:\/\/www.openmediavault.org\/?p=330"}],"_links":{"self":[{"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=\/wp\/v2\/posts\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=330"}],"version-history":[{"count":9,"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=\/wp\/v2\/posts\/330\/revisions"}],"predecessor-version":[{"id":2404,"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=\/wp\/v2\/posts\/330\/revisions\/2404"}],"wp:attachment":[{"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.openmediavault.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}