<br><br><div class="gmail_quote">On Mon, Dec 15, 2008 at 2:39 PM, James Armstrong <span dir="ltr">&lt;<a href="mailto:james@thearmstrongs.org">james@thearmstrongs.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><br><div><div class="Ih2E3d"><div>On Dec 15, 2008, at 3:16 PM, Douglas Wagner wrote:</div><br></div><blockquote type="cite"><div class="Ih2E3d">I held off on this post as long as I could, but I think at this point I need to ask the community for help.<br>
<br>So to start: I am trying to get a recording to export to iPod format (mp4 to be exact) using the Myth2iPod script.&nbsp; And I&#39;m running into SIGNIFICANT problems doing so.<br> <br>First, and foremost, <a href="http://myth2ipod.com" target="_blank">http://myth2ipod.com</a> no longer exists...meaning this entire script can no longer be reproduced since 3/4 of the needed stuff came from that site.&nbsp; I do still have the tools and utilities and some minor documentation (I kick myself every time I don&#39;t store a website like this locally, what&#39;s with all these needed and used websites going offline these days anyway?), so I proceeded forward.<br>
 <br>Next I start running into nuvexport problems.&nbsp; <br><br><br></div><div class="Ih2E3d">Conversely should I be &quot;doing away&quot; with the Myth2iPod stuff and doing something differently?&nbsp; The thing I like most about Myth2Ipod is the fact that it creates a feed useable within iTunes to auto-load this stuff to the iPod.&nbsp; I know that&#39;s probably pretty basic but it&#39;s big for me.<br>
 <br>Lastly does anyone have an arcive site for <a href="http://myth2ipod.com" target="_blank">myth2ipod.com</a> or the instructions from that site?&nbsp; I&#39;d be happy to put something up publicly accessable as a &quot;Yea, it&#39;s down but here&#39;s the information.&quot; but I don&#39;t have any of the previous docs.<br>
 <br>Help?&nbsp; <br><br>--Doug<br></div></blockquote><div><br></div>I was able to grab script and instructions:<br><br></div><div><a href="http://web.archive.org/web/20080119121730/www.myth2ipod.com/myth2ipod.html" target="_blank">http://web.archive.org/web/20080119121730/www.myth2ipod.com/myth2ipod.html</a></div>
<div><br></div><div><div>Current version:</div><div>1.0b2 updated 3/5/06 -&nbsp;Change Log</div><div>&nbsp;&nbsp; &nbsp;Script:&nbsp;myth2ipod.txt</div><div>&nbsp;&nbsp; &nbsp;Nuvexport plugin:&nbsp;iPod.pm</div><div>(If you are upgrading, you need to run mythtv2ipod -rebuild to create the new feed file)</div>
<div>&nbsp;</div><div>Installation:</div><div>&nbsp;&nbsp; &nbsp;New installer script for Knoppmyth systems:&nbsp;install_myth2ipod.sh<br>&nbsp; &nbsp; &nbsp;&nbsp;wget&nbsp;<a href="http://myth2ipod.com/install_myth2ipod.sh" target="_blank">http://myth2ipod.com/install_myth2ipod.sh</a><br>
&nbsp; &nbsp; &nbsp;&nbsp;chmod +x install_myth2ipod.sh<br>&nbsp; &nbsp; &nbsp; &nbsp;./install_myth2ipod.sh</div><div>&nbsp;&nbsp; &nbsp;This will automate the process, and take care of almost everything.<br>&nbsp;&nbsp; &nbsp;USE AT YOUR OWN RISK</div><div>Or the manual way:</div><div>This version has only been tested with Knoppmyth R5Bxx. It should work with any release version based on MythTV .19. This may look like a lot of work but if you follow the directions, it takes just a few minutes to do.</div>
<div>1. First things first. Check your current ffmpeg version to see if you already have xvid, and faac support.<br>&nbsp; &nbsp;ffmpeg --version</div><div>If you see --enable-xvid and --enable-faac on the configuration line, then you should be set. You can run nuvexport to confirm that it can use xvid. If not, lets get this first part taken care of.</div>
<div>2. You need to un-comment a line in your apt sources.list.<br>&nbsp; &nbsp;nano /etc/apt/sources.list</div><div>Un-comment:<br>&nbsp; &nbsp;deb-src <a href="http://ftp.us.debian.org/debian" target="_blank">http://ftp.us.debian.org/debian</a> stable main contrib non-free</div>
<div>Save it, close, and update:<br>&nbsp; &nbsp;ctrl-o<br>&nbsp; &nbsp;ctrl-x<br>&nbsp; &nbsp;apt-get update</div><div>Apt-get the missing parts, and compile a new ffmpeg.<br>&nbsp; &nbsp;apt-get install ffmpeg<br>&nbsp; &nbsp;cd /tmp<br>&nbsp; &nbsp;apt-get build-dep ffmpeg<br>&nbsp; &nbsp;apt-get source ffmpeg<br>
&nbsp; &nbsp;cd ffmpeg-0.cvs20050313</div><div>Then configure, make, and install:<br>&nbsp; &nbsp;./configure --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-libgsm --disable-debug --enable-xvid --enable-faac --prefix=/usr<br>
&nbsp; &nbsp;make&nbsp;<br>&nbsp; &nbsp;make install</div><div>When done, check your version:<br>&nbsp;&nbsp; &nbsp;ffmpeg --version</div><div>Xvid and FAAC should be in the configuration line.</div><div>3. Now we need to get MP4Box and compile it. This is used for post processing to allow the feed files to play with the updated iPod firmware.<br>
&nbsp; &nbsp;cd /tmp<br>&nbsp; &nbsp;wget&nbsp;<a href="http://internap.dl.sourceforge.net/sourceforge/gpac/gpac-0.4.0-rc2.tar.gz" target="_blank">http://internap.dl.sourceforge.net/sourceforge/gpac/gpac-0.4.0-rc2.tar.gz</a>&nbsp;<br>&nbsp; &nbsp;wget&nbsp;<a href="http://internap.dl.sourceforge.net/sourceforge/gpac/gpac_extra_libs-0.4.0.tar.gz" target="_blank">http://internap.dl.sourceforge.net/sourceforge/gpac/gpac_extra_libs-0.4.0.tar.gz</a>&nbsp;<br>
&nbsp; &nbsp;tar -zxf gpac-0.4.0-rc2.tar.gz&nbsp;<br>&nbsp; &nbsp;tar -zxf &nbsp;gpac_extra_libs-0.4.0.tar.gz&nbsp;<br>&nbsp; &nbsp;cd gpac_extra_libs&nbsp;<br>&nbsp; &nbsp;cp -r * ../gpac/extra_lib<br>&nbsp; &nbsp;cd /tmp/gpac&nbsp;<br>&nbsp; &nbsp;chmod +x configure&nbsp;<br>&nbsp; &nbsp;./configure<br>&nbsp; &nbsp;make lib&nbsp;<br>
&nbsp; &nbsp;make apps&nbsp;<br>&nbsp; &nbsp;make install</div><div>Check to make sure MP4Box is working:<br>&nbsp;&nbsp; &nbsp;/usr/local/bin/MP4Box</div><div>4. With all the prerequisites and dependencies out of the way, lets get the myth2ipod script, and modified nuvexport iPod plug-in.<br>
&nbsp; &nbsp;cd /tmp<br>&nbsp; &nbsp;wget&nbsp;<a href="http://myth2ipod.com/myth2ipod.txt" target="_blank">http://myth2ipod.com/myth2ipod.txt</a><br>&nbsp; &nbsp;wget&nbsp;<a href="http://myth2ipod.com/iPod.pm" target="_blank">http://myth2ipod.com/iPod.pm</a><br>
&nbsp; &nbsp;mv myth2ipod.txt /usr/local/bin/myth2ipod<br>&nbsp; &nbsp;chmod +x /usr/local/bin/myth2ipod<br>&nbsp; &nbsp;mv iPod.pm /usr/local/share/nuvexport/export/ffmpeg/iPod.pm</div><div>You can edit the user variables at the top of the myth2ipod script to change the feed path options, and the nuvexport settings. At the minimum you will need to modify the $feedurl hostname with your backend's IP or hostname.<br>
&nbsp; &nbsp;nano /usr/local/bin/myth2ipod</div><div>5. Setup your directorys for file storage and feed location. (These are based on the defaults in the myth2ipod script. You will need to change them if you modify the script.)<br>
&nbsp; &nbsp;mkdir /myth/ipodfeed<br>&nbsp; &nbsp;chown mythtv:mythtv /myth/ipodfeed<br>&nbsp; &nbsp;ln -s /myth/ipodfeed /var/www/ipodfeed<br>&nbsp; &nbsp;/usr/local/bin/myth2ipod -rebuild</div><div>You can add a feed link to the knoppmyth web index by adding inserting a line at about line 46 right after the MythTV keys link.<br>
&nbsp; &nbsp;nano /var/www/index.html<br>&nbsp; &nbsp;&lt;br&gt;&lt;a href=&quot;ipodfeed&quot;&gt;iPod Feed dir&lt;/a&gt;:&lt;br&gt;</div><div>6. The hard part is out of the way. Now lets make myth use it. Add the script as a User Job in MythTV. Run mythtv-setup and under General, setup one of your User Jobs to run:<br>
&nbsp; &nbsp;/usr/local/bin/myth2ipod &quot;%DIR%&quot; &quot;%FILE%&quot;<br>or to also use commercial flagging cutlist<br>&nbsp; &nbsp;/usr/local/bin/myth2ipod -cut &quot;%DIR%&quot; &quot;%FILE%&quot;</div><div>Give it a name like "Encode for iPod", and be sure to also enable which ever User Job number you input this into. Now, then setting up a recording you can add this user job to make a copy of the recording available for your iPod. You can also do add an individual file to the feed by hitting the info button on a recording in the Watch Recordings screen, then selecting Job Options.</div>
<div>7. To subscribe to the feed from iTunes, select &quot;Subscribe to Podcast...&quot; from the Advanced menu. Enter a url like this one to subscribe to all shows you have added to the feed.<br>&nbsp; &nbsp;<a href="http://hostname/ipodfeed/feed.php" target="_blank">http://hostname/ipodfeed/feed.php</a></div>
<div>Right now this version is missing the feature to subscribe to recordings by show title. You can only subscribe to all. This will be back in a later version. I did not realize this was broke until I was testing these directions. Opps.</div>
</div></div><br></blockquote></div><br>Thank you VERY much, now I just need to figure out how to get nuvexport to recognize that I do, in fact, have a recording at that time and date.<br><br>I read somewhere that nuvexport is now back in the myth source?&nbsp; Can anyone give me the svn command (i&#39;m a GIT kind of guy, I haven&#39;t used SVN / CVS for a long while) to checkout the most recent nuvexport from the myth archive or is the 0.5.0 from <a href="http://forevermore.net/files/nuvexport/">http://forevermore.net/files/nuvexport/</a> supposed to be it?&nbsp; Anything strange about compilation or is this the standard ./configure; make; make-install stuff?<br>
<br>I&#39;ve GOT to assume that the version of nuv I&#39;m using doesn&#39;t recognize the MythTV Database, there&#39;s just no other explination at this pont.<br><br>--Doug<br>