[mythtv-users] Myth2Ipod Problems: held off as long as I could.
douglasw0 at gmail.com
Mon Dec 15 20:52:26 UTC 2008
On Mon, Dec 15, 2008 at 2:39 PM, James Armstrong <james at thearmstrongs.org>wrote:
> On Dec 15, 2008, at 3:16 PM, Douglas Wagner wrote:
> 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.
> So to start: I am trying to get a recording to export to iPod format (mp4
> to be exact) using the Myth2iPod script. And I'm running into SIGNIFICANT
> problems doing so.
> First, and foremost, http://myth2ipod.com no longer exists...meaning this
> entire script can no longer be reproduced since 3/4 of the needed stuff came
> from that site. I do still have the tools and utilities and some minor
> documentation (I kick myself every time I don't store a website like this
> locally, what's with all these needed and used websites going offline these
> days anyway?), so I proceeded forward.
> Next I start running into nuvexport problems.
> Conversely should I be "doing away" with the Myth2iPod stuff and doing
> something differently? 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. I know that's probably pretty basic but it's big for me.
> Lastly does anyone have an arcive site for myth2ipod.com or the
> instructions from that site? I'd be happy to put something up publicly
> accessable as a "Yea, it's down but here's the information." but I don't
> have any of the previous docs.
> I was able to grab script and instructions:
> Current version:
> 1.0b2 updated 3/5/06 - Change Log
> Script: myth2ipod.txt
> Nuvexport plugin: iPod.pm
> (If you are upgrading, you need to run mythtv2ipod -rebuild to create the
> new feed file)
> New installer script for Knoppmyth systems: install_myth2ipod.sh
> wget http://myth2ipod.com/install_myth2ipod.sh
> chmod +x install_myth2ipod.sh
> This will automate the process, and take care of almost everything.
> USE AT YOUR OWN RISK
> Or the manual way:
> 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.
> 1. First things first. Check your current ffmpeg version to see if you
> already have xvid, and faac support.
> ffmpeg --version
> 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.
> 2. You need to un-comment a line in your apt sources.list.
> nano /etc/apt/sources.list
> deb-src http://ftp.us.debian.org/debian stable main contrib non-free
> Save it, close, and update:
> apt-get update
> Apt-get the missing parts, and compile a new ffmpeg.
> apt-get install ffmpeg
> cd /tmp
> apt-get build-dep ffmpeg
> apt-get source ffmpeg
> cd ffmpeg-0.cvs20050313
> Then configure, make, and install:
> ./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
> make install
> When done, check your version:
> ffmpeg --version
> Xvid and FAAC should be in the configuration line.
> 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.
> cd /tmp
> tar -zxf gpac-0.4.0-rc2.tar.gz
> tar -zxf gpac_extra_libs-0.4.0.tar.gz
> cd gpac_extra_libs
> cp -r * ../gpac/extra_lib
> cd /tmp/gpac
> chmod +x configure
> make lib
> make apps
> make install
> Check to make sure MP4Box is working:
> 4. With all the prerequisites and dependencies out of the way, lets get the
> myth2ipod script, and modified nuvexport iPod plug-in.
> cd /tmp
> wget http://myth2ipod.com/myth2ipod.txt
> wget http://myth2ipod.com/iPod.pm
> mv myth2ipod.txt /usr/local/bin/myth2ipod
> chmod +x /usr/local/bin/myth2ipod
> mv iPod.pm /usr/local/share/nuvexport/export/ffmpeg/iPod.pm
> 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
> nano /usr/local/bin/myth2ipod
> 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.)
> mkdir /myth/ipodfeed
> chown mythtv:mythtv /myth/ipodfeed
> ln -s /myth/ipodfeed /var/www/ipodfeed
> /usr/local/bin/myth2ipod -rebuild
> 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.
> nano /var/www/index.html
> <br><a href="ipodfeed">iPod Feed dir</a>:<br>
> 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:
> /usr/local/bin/myth2ipod "%DIR%" "%FILE%"
> or to also use commercial flagging cutlist
> /usr/local/bin/myth2ipod -cut "%DIR%" "%FILE%"
> 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
> 7. To subscribe to the feed from iTunes, select "Subscribe to Podcast..."
> from the Advanced menu. Enter a url like this one to subscribe to all shows
> you have added to the feed.
> 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.
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.
I read somewhere that nuvexport is now back in the myth source? Can anyone
give me the svn command (i'm a GIT kind of guy, I haven'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 http://forevermore.net/files/nuvexport/ supposed to be
it? Anything strange about compilation or is this the standard ./configure;
make; make-install stuff?
I've GOT to assume that the version of nuv I'm using doesn't recognize the
MythTV Database, there's just no other explination at this pont.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users