{"id":775,"date":"2013-07-06T18:38:42","date_gmt":"2013-07-06T17:38:42","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=775"},"modified":"2013-07-07T01:33:31","modified_gmt":"2013-07-07T00:33:31","slug":"compile-handbrake-on-linux-the-easy-way","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=775","title":{"rendered":"Compile HandBrake on Linux, the Easy Way &#8211; and Fedora RPMs.."},"content":{"rendered":"<p>Handbrake is a <span style=\"text-decoration: underline;\">very<\/span> useful video conversion tool, and it runs on Linux as well!<\/p>\n<p>The latest released version (as of July 2013) is <strong>0.9.9<\/strong>, and can be found here:<\/p>\n<p><a title=\"http:\/\/handbrake.fr\/downloads.php\" href=\"http:\/\/handbrake.fr\/downloads.php\" target=\"_blank\">http:\/\/handbrake.fr\/downloads.php<\/a><\/p>\n<p>The compile is somewhat non-standard, and is definitely a good candidate for RTFM&#8230;!<\/p>\n<p>If you try to do it the &#8216;usual&#8217; way, you will probably get errors from out-of-date versions of various downloaded components (including a GTK error &#8221;&#8230;HandBrake-0.9.9\/build\/..\/gtk\/configure: line 1934: syntax error near unexpected token `1.7.9&#8242; &#8221; )<\/p>\n<p>You will need to check the info on the <em>wiki<\/em>, for the required libraries, and dependencies, etc:<\/p>\n<p><a title=\"https:\/\/trac.handbrake.fr\/wiki\/CompileOnLinux\" href=\"https:\/\/trac.handbrake.fr\/wiki\/CompileOnLinux\" target=\"_blank\">https:\/\/trac.handbrake.fr\/wiki\/CompileOnLinux<\/a><\/p>\n<p>To get a compiled version for Fedora (in my case) I used the following (found on the irc log)<\/p>\n<p>Don&#8217;t use the standard &#8216;create .\/build, then # compile..&#8217; etc but (for Fedora) do:<\/p>\n<p>&#8230;HandBrake-0.9.9]$<span style=\"font-family: courier new,courier;\"> <strong>.\/configure &#8211;prefix=\/usr &#8211;launch &#8211;launch-jobs=0 ; open build\/<\/strong><\/span><\/p>\n<p>This will create the .\/build directory, and then <span style=\"text-decoration: underline;\">patch<\/span> and compile, compatible with latest distro versions..<\/p>\n<p>Then (as root)<br \/>\n]$ <strong>cd .\/build<\/strong><br \/>\n]$ <strong>make install<\/strong><\/p>\n<p>This will result in <strong><em>HandBrakeCLI<\/em><\/strong> (the <em>command line<\/em> version) and <em><strong>ghb<\/strong><\/em> (the <em>GTK<\/em> version) in \/usr\/bin..<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Update:<\/strong><\/span><br \/>\nAfter all that effort, <em><strong>ghb<\/strong> segfaulted<\/em> as soon as a video clip started loading&#8230;\u00a0\u00a0\u00a0 I did find a HandBrake 0.9.9 Fedora source RPM, and produced a Fedora 19 version from that, but that too segfaulted on loading.\u00a0\u00a0\u00a0 I then tried a Fedora <span style=\"text-decoration: underline;\">18<\/span> rpm version of 0.9.9, and that seems to be working OK, with Fedora 19..<\/p>\n<p>The RPMs can be found here:\u00a0 <a title=\"https:\/\/lists.fedoraproject.org\/pipermail\/users\/2013-May\/435799.html\" href=\"https:\/\/lists.fedoraproject.org\/pipermail\/users\/2013-May\/435799.html\" target=\"_blank\">https:\/\/lists.fedoraproject.org\/pipermail\/users\/2013-May\/435799.html<\/a><\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0\u00a0 July 07, 2013.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Handbrake is a very useful video conversion tool, and it runs on Linux as well! The latest released version (as of July 2013) is 0.9.9, and can be found here: http:\/\/handbrake.fr\/downloads.php The compile is somewhat non-standard, and is definitely a good candidate for RTFM&#8230;! If you try to do it the &#8216;usual&#8217; way, you will probably get <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=775\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,6,10,11,15],"tags":[120,154,551,550,548,242,549,1175],"class_list":["post-775","post","type-post","status-publish","format-standard","hentry","category-compilation","category-crash-and-burn","category-fedora","category-hacks","category-linux-2","tag-compile","tag-fedora-2","tag-fedora-18-rpm","tag-fedora-19-segfault","tag-handbrake","tag-linux","tag-rtfm","tag-success"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=775"}],"version-history":[{"count":3,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/775\/revisions"}],"predecessor-version":[{"id":777,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/775\/revisions\/777"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}