{"id":532,"date":"2007-06-27T09:34:55","date_gmt":"2007-06-27T17:34:55","guid":{"rendered":"http:\/\/lianza.org\/blog\/?p=532"},"modified":"2007-06-27T09:34:55","modified_gmt":"2007-06-27T17:34:55","slug":"myth2ipod-on-ubuntu","status":"publish","type":"post","link":"https:\/\/lianza.org\/blog\/2007\/06\/27\/myth2ipod-on-ubuntu\/","title":{"rendered":"myth2ipod on Ubuntu"},"content":{"rendered":"<p>If you want to get <a href=\"http:\/\/myth2ipod.com\/myth2ipod.html\">myth2ipod<\/a> working on Ubuntu (assuming you have both MythTV and Ubuntu installed) there aren&#8217;t any instructions to my knowledge. I found the currently posted set of instructions to be outdated (last update 3\/5\/06).  The following, updated instructions are actually much simpler (everything is in apt).<\/p>\n<p>I did as follows (Myth .20, Ubuntu 7.04):<\/p>\n<ol>\n<li> Get the appropriate version of ffmpeg (with xvid support).  To do that, add this line to your \/etc\/apt\/sources.list file:<br \/><code>deb http:\/\/packages.medibuntu.org\/ feisty free non-free<\/code> <br \/>and then run <br \/><code>wget -q http:\/\/packages.medibuntu.org\/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update<\/code><br \/>Then install your brand new version of ffmpeg: <br \/><code>sudo apt-get install ffmpeg<\/code> <br \/>(found that tip linked from <a href=\"https:\/\/help.ubuntu.com\/community\/iPodVideoEncoding\">here<\/a>)<\/li>\n<li>To test what you did in step 1, run <code>ffmpeg -version<\/code> and make sure you see &#8216;enable-xvid&#8217; and &#8216;enable-faac&#8217; in the output.<\/li>\n<li>Install the codec library, which is required to make sure you can encode aac audio.<br \/><code>sudo apt-get install libavcodec0d<\/code><br \/>  To test that you can, run <code>ffmpeg -formats<\/code> and make sure you see <code>DEA    aac<\/code> listed under &#8220;Codecs&#8221;.<\/li>\n<li>Install mp4box, which is available in apt under &#8216;gpac&#8217; <code>sudo apt-get install gpac<\/code><\/li>\n<li>Grab nuvexport:<br \/>\n<code>cd \/tmp <br \/>\n       wget http:\/\/forevermore.net\/files\/nuvexport-latest.tar.bz2 <br \/>\n       tar -xjvf nuvexport-latest.tar.bz2<br \/>\nsudo mv nuvexport-0.4 \/usr\/local\/share\/nuvexport<\/p>\n<li>Copy down the scripts and put them in the right places:<br \/>\n<code> cd \/tmp <br \/>\n   wget http:\/\/myth2ipod.com\/myth2ipod.txt<br \/>\n   wget http:\/\/myth2ipod.com\/iPod.pm <br \/>\n   sudo mv myth2ipod.txt \/usr\/local\/bin\/myth2ipod<br \/>\n   sudo chmod +x \/usr\/local\/bin\/myth2ipod<br \/>\n   sudo mv iPod.pm \/usr\/local\/share\/nuvexport\/export\/ffmpeg\/iPod.pm<br \/>\n   sudo ln -s \/usr\/local\/share\/nuvexport\/nuvexport \/usr\/local\/bin\/nuvexport<br \/>\n<\/code>\n<\/li>\n<p><\/code><\/li>\n<li>At this point you can follow the rest of the instructions at the site for editing  \/usr\/local\/bin\/myth2ipod , etc.  The rest of it is not distribution-specific.  The slight change I had to make was the path to MP4Box which is hard-coded in the script to point to \/usr\/local\/bin but on Ubuntu it gets put into \/usr\/bin.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>If you want to get myth2ipod working on Ubuntu (assuming you have both MythTV and Ubuntu installed) there aren&#8217;t any instructions to my knowledge. I found the currently posted set of instructions to be outdated (last update 3\/5\/06). The following, updated instructions are actually much simpler (everything is in apt). I did as follows (Myth [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[],"class_list":["post-532","post","type-post","status-publish","format-standard","hentry","category-techie"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5TCqO-8A","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/lianza.org\/blog\/wp-json\/wp\/v2\/posts\/532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lianza.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lianza.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lianza.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lianza.org\/blog\/wp-json\/wp\/v2\/comments?post=532"}],"version-history":[{"count":0,"href":"https:\/\/lianza.org\/blog\/wp-json\/wp\/v2\/posts\/532\/revisions"}],"wp:attachment":[{"href":"https:\/\/lianza.org\/blog\/wp-json\/wp\/v2\/media?parent=532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lianza.org\/blog\/wp-json\/wp\/v2\/categories?post=532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lianza.org\/blog\/wp-json\/wp\/v2\/tags?post=532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}