{"id":586,"date":"2012-05-14T10:03:40","date_gmt":"2012-05-14T09:03:40","guid":{"rendered":"http:\/\/blogs.gentoo.org\/scarabeus\/?p=586"},"modified":"2017-12-22T10:23:41","modified_gmt":"2017-12-22T09:23:41","slug":"media-videolibav-stable-on-most-important-archs","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/scarabeus\/2012\/05\/14\/media-videolibav-stable-on-most-important-archs\/","title":{"rendered":"media-video\/libav stable on most important archs"},"content":{"rendered":"<p>As summary says in Gentoo you can finally decide which implementation of libav you want, good old ffmpeg named flavor or the new and shiny libav one.<\/p>\n<p>14 months after I introduced it to main tree we finally got it stable almost everywhere (just ppc missing yet as usual :P). We did *censored* of work in order to support both implementations, introducing virtual package, proper (non-conditional) patches everywhere, etc. etc.<\/p>\n<h2>So why should you switch your package?<\/h2>\n<p>Basically it does not matter for you. We can say it can be done as personal prefference.<br \/>\nWe can say that ffmpeg merges from libav tree and throws some experimental patches over it. Thats why my personal prefference is with libav folks as I don&#8217;t trust any idea of merging anything. Otoh the ffmpeg is the &#8220;orginal&#8221; (well most devs moved under libav) upstream thus they should get our trust for what they are doing.<\/p>\n<p>Today from the distro PoV there are some distributions using libav (Debian, Sabayon) and also ffmpeg (openSUSE [external repo called packman]).<\/p>\n<p>As we in Gentoo really are pro-choice just pick yourself and let us know how happy are you with such decision :-P<\/p>\n<h2>So how can I switch?<\/h2>\n<p>Just edit \/etc\/portage\/package.use* to keep same useflag from media-video\/ffmpeg to media-video\/libav and run:<\/p>\n<pre>emerge -C ffmpeg &amp;&amp; emerge -1v libav<\/pre>\n<p>After this move you need to recompile all the packages depending on ffmpeg. This can be done with little help of revdep_rebuild or by using portage-2.2 and its sets by running:<\/p>\n<pre>emerge @preserved-rebuild<\/pre>\n<h2>packages that hard require media-video\/ffmpeg<\/h2>\n<p>As reported in the first comment the mplayer1 does now strictly require ffmpeg. So I did a little check to see which packages hard-require the other implementation and here is the list:<\/p>\n<pre>games-arcade\/performous-0.6.1 (media-video\/ffmpeg)\r\nmedia-libs\/ffmpegsource-2.16.2.1_pre587 (&gt;=media-video\/ffmpeg-0.9)\r\nmedia-libs\/mediastreamer-2.3.0-r1 (video ? media-video\/ffmpeg)\r\nmedia-plugins\/audacious-plugins-3.0.3 (ffmpeg ? &gt;=media-video\/ffmpeg-0.7.3)\r\nmedia-plugins\/audacious-plugins-3.1 (ffmpeg ? &gt;=media-video\/ffmpeg-0.7.3)\r\nmedia-plugins\/audacious-plugins-3.1.1 (ffmpeg ? &gt;=media-video\/ffmpeg-0.7.3)\r\nmedia-plugins\/audacious-plugins-3.2 (ffmpeg ? &gt;=media-video\/ffmpeg-0.7.3)\r\nmedia-plugins\/audacious-plugins-3.2.1 (ffmpeg ? &gt;=media-video\/ffmpeg-0.7.3)\r\nmedia-plugins\/audacious-plugins-3.2.2-r1 (ffmpeg ? &gt;=media-video\/ffmpeg-0.7.3)\r\nmedia-plugins\/mediastreamer-x264-1.1.7 (media-video\/ffmpeg)\r\nmedia-plugins\/mediastreamer-x264-1.3.3 (media-video\/ffmpeg)\r\nmedia-video\/dv2sub-0.3 (kino ? media-video\/ffmpeg)\r\nmedia-video\/mplayer-1.0_rc4_p20120213 (&gt;=media-video\/ffmpeg-0.10)\r\nmedia-video\/mplayer-1.0_rc4_p20120405 (&gt;=media-video\/ffmpeg-0.10.2)\r\nmedia-video\/mplayer-9999 (&gt;media-video\/ffmpeg-0.10.2)\r\nmedia-video\/transcode-1.1.5-r2 (postproc ? media-video\/ffmpeg)\r\nnet-libs\/opal-2.2.11 (&gt;=media-video\/ffmpeg-0.4.7)\r\nnet-libs\/opal-3.6.8 (ffmpeg ? &gt;=media-video\/ffmpeg-0.5[encode])\r\n                    (x264 ? &gt;=media-video\/ffmpeg-0.4.7)\r\nnet-libs\/opal-3.6.8-r1 (ffmpeg ? &gt;=media-video\/ffmpeg-0.5[encode])\r\n                       (x264 ? &gt;=media-video\/ffmpeg-0.4.7)\r\nnet-libs\/openh323-1.18.0 (&gt;=media-video\/ffmpeg-0.4.7)<\/pre>\n<p>I bet most of these could work with libav, so if you are user of such package and want to try libav just edit the dependency to be on virtual\/ffmpeg instead of the media-video\/ffmpeg and see if it works.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As summary says in Gentoo you can finally decide which implementation of libav you want, good old ffmpeg named flavor or the new and shiny libav one. 14 months after I introduced it to main tree we finally got it stable almost everywhere (just ppc missing yet as usual :P)&#8230;. <a class=\"continue-reading-link\" href=\"https:\/\/blogs.gentoo.org\/scarabeus\/2012\/05\/14\/media-videolibav-stable-on-most-important-archs\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":116,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[8,11],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/posts\/586"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/users\/116"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/comments?post=586"}],"version-history":[{"count":7,"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/posts\/586\/revisions"}],"predecessor-version":[{"id":779,"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/posts\/586\/revisions\/779"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/media?parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/categories?post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/scarabeus\/wp-json\/wp\/v2\/tags?post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}