1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iTiVo (TiVo -> mac -> iPhone)

Discussion in 'TiVo Home Media Features & TiVoToGo' started by Yoav, Nov 6, 2008.

  1. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Thank you :)
    If you figure out some changes that are needed under advanced settings to get AppleTV to work, tell me and I'll add them. Just please make sure that they work for regular and HD programming (yes I have no AppleTV to test with, so relying on people who do to tell me how to make them work).
     
  2. wdave

    wdave New Member

    3,996
    0
    Jul 16, 2000
    Stevenson, MD
    This is a great app, Yoav, thanks for doing this.

    My converted videos end up with some severe color artifacts and blockiness. Is this a known issue with a known remedy?
     
  3. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok just pushed 1.7b1 in there.
    features added:
    AtomicParsley in bundle
    Putting shows in subdirs (based on show name).
    Generating metadata (AP, xml and .txt for pytivo)
    Program won't exit when window is closed..

    The metadata is just basic stuff (showname, episode title, etc). If you want to put in more complete metadata I recommend tools such as MetaX

    I have a nagging feeling I broke stuff in the process.. oh well. That's why I make beta builds first...
     
  4. smoknyreyz

    smoknyreyz New Member

    33
    0
    Jan 5, 2005
    Nashville, TN
    Has anyone tried the Handbrake Apple TV preset? The converted file plays fine in itunes, but it doesn't even show up on my apple tv even after a sync. I can convert with the standard apple tv setting, not using the handbrake option, but that doesn't give me 5.1 audio.
     
  5. Cuisinartoh

    Cuisinartoh New Member

    12
    0
    Oct 23, 2004
    Worthington,...
    I'm a new user of iTivo starting today. It solves the problem of me having to manually download Oprah with TDM, convert video to iPhone, copy to wife's iTunes library, and then sync to her iPhone so she can watch Oprah at lunch. Dude, how do I send you money? :)

    You should accept/solicit donations so you can buy an ElGato Turbo.264 and/or an Apple TV :)

    Thanks for the app,
    Ed Jones
     
  6. smoknyreyz

    smoknyreyz New Member

    33
    0
    Jan 5, 2005
    Nashville, TN
    Looks like 1.7b2 fixed whatever was causing the problem. I've now been able to use the handbrake apple tv preset to convert for apple tv and retain the 5.1 soundtrack. Thanks for the great software!
     
  7. wdave

    wdave New Member

    3,996
    0
    Jul 16, 2000
    Stevenson, MD
    Mine looked just like fatespawn's above screenshot. I fixed it by reinstalling the latest mencoder Binary Codec Package (scroll down to the codec packages on that page).

    Indeed. I started the same 2:30 HD movie download/conversion (to iPhone) with each of my Macs:

    G5 Dual 2.3GHz PPC: 67 hours est
    New MBP 2.4GHz Duo: 2.5 hours est
     
  8. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    So, I'm a little confused as to why a codec package would help (since the encoder takes mpeg-2 as input and spits out h.264 mp4, both of which *should* be in the mencoder binary). However, if that works for you :) yay...

    Yeah ppc is slow, and h.264 is REALLY cpu-intensive. However, it's possible that there are some useful compile-time flags that could be passed in when compiling the ppc version of libx264 to help speed it up a little. However, I don't know of any relevant ones. If you think of a good way to improve it, I'd be happy to do so.

    HOWEVER, an additional thing that *will* speed it along greatly: select iphone. Go into the advanced menu, and edit the video encoder options. Delete it all, and replace it with this:
    Code:
    -of lavf -lavfopts format=ipod -ovc x264 -x264encopts nocabac:subq=1:level_idc=30:me=dia:bitrate=256:threads=auto:bframes=0:keyint=15:global_header -vf dsize=480:320:0,scale=-8:-8,harddup
    This should yield a considerably 'uglier' encode, but hopefully considerably faster too. You may want to read up on encoder settings on http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html or http://trac.handbrake.fr/wiki/x264Options
     
  9. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Which is incredibly odd since I didn't touch the encoder settings for AppleTV in any 1.7 release .. hmmm... Well yay it's working... black magic!
     
  10. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    You're welcome. And no donations necessary. Feel free to give what you'd have donated to a charity you like instead.. (I'm not fond of taking donations for this since (1) it's based on someone else's code, (2) I did it mostly for me, (3) I'd feel obligated to fix bugs once I started taking cash :).
     
  11. Fofer

    Fofer XenForo Rocks! TCF Club

    82,087
    286
    Oct 29, 2000
    You're a kind and generous man, Yoav. Thanks for sharing this work and your time here too. :)
     
  12. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    wdave and Yoav,

    Somthing must be goofy with the PPC encoding scheme. I don't know the correct "phraseology" but 67hours for an encode and the wierd "LSD effect" of the mp4's seem to be related somehow.

    I posted on the last page some results from using Visualhub to encode with my 1.5 Ghz G4, my 2.0Ghz dual G5, and my 2.4Ghz dual iMac. Each is about 3 times slower than the next for a 30 minute SD video.... (180 min for the G4, 60 min for the G5 and 20 minutes for the imac)

    Those numbers seem pretty consistent, but 67 HOURS?! That's a bit on the peculiar side of things. I wish I could help more - or I may be forced to go out and just bite the bullet and buy a new Mac Pro for myself :)

    -fate
     
  13. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I'm curious. How does the Handbrake/iPhone setting compare? It's certainly possible that the build I have for mencoder is simply badly optimized for ppc (although that wouldn't explain the color strangeness) -- or worse, buggy on the ppc side -- cross compiling is a ***** and can lead to weirdnesses.
    The handbrake binary is straight from their website. If you're getting *significantly* better performance using it, then my mencoder build is probably busted.
    If you're not, then I would guess that libx264 is just not very ppc-friendly, and that visualhub used a different encoder for their h.264... If it's possible to drive that encoder from the commandline or via applescript, it might be possible to get iTivo to use it....

    One other tiny thing: is visual-hub built universal? or are you running it via rosetta on i386?
     
  14. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    i'll try the handbrake setting when I get home in a few days. I too am curious as to it's performance.

    alas, VisualHub was a nice little universal app that seemed to be my "one-stop-shop" for video conversion. I was formerly a ffmpegx devotee, but a lack of development and a rather ~dark~ h264 output led me to VisualHub. Unfortunately, Visualhub is no longer being supported or developed. Too bad. It is still a good app.

    http://www.macupdate.com/info.php/id/21888

    -fate
     
  15. cuyahoga

    cuyahoga New Member

    104
    0
    Nov 15, 2002
    Warwick...
    It does seem to remember last format used, but perhaps it has something to do with the fact that I drag and drop the file in and iTiVo sends the file to turbo.264 in a different way.
     
  16. cuyahoga

    cuyahoga New Member

    104
    0
    Nov 15, 2002
    Warwick...
    Ok, I saw this message after I posted my pervious message.

    I downloaded 1.7b2 and tried using the elgato turbo.264 iPhone preset.

    Once the file is downloaded with iTiVo, it doesn't seem to be handing off to the elgato encoder.

    Turbo.264 software doesn't load.

    Ideas?

    As always, thanks for your work on this.
     
  17. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ideas? well if it doesn't even try running the encoder that's something I should be able to reproduce, so let me try it... I may have broken something...

    Update: yeah I did break something. My entirely bad. One little space is all the difference :).

    Ok try 1.7b3, which should have that part fixed (it should at least launch the elgato encoder.. whether it works is a different question).
     
  18. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    Ugh... The Handbrake is for 10.5. I'm running a G5 PPC 10.4. The encode fails without even producing a file.

    I tried wdave's suggestion of updating the codec's, but that was no luck either. Same colorization effect and EXTREMELY long encodes. The most recent SD video file I encoded "completed" successfully, with the strange colorization still there.

    Here is a the result:

    [​IMG]

    This file took 2:40 to finish using iTivo's iPhone preset.

    Then I did the decrypt only and used VisualHub and ffmpegX:
    With VisualHub it took 43 minutes
    With ffmpegX it took 32 minutes

    This was a 30 minute SD video. The mencoder build MUST be screwed up if there's that much difference in encoding schemes. Both Visual Hub and ffmpegx's settings were about the same at iphone resolution at 1000-1100 kbps bitrates.

    Any ideas?
     
  19. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Oh right.. handbrake is 10.5 only

    Ooh, I found one place where the compiler tries to run uname -m to add some compiler flags.. let me cheat that and see if we get a build that works this time... <Crossing fingers>.

    If not, the last option is to have someone who has xcode installed on a PPC machine build it for me... (volunteers?)

    UPDATE: Ok I just built 1.7b5 with the new ppc flags. Can you tell me if this seems to fix it?
     
  20. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    YEA! Success - mostly.

    Ok, I got things to work on my 10.4 PPC - albeit a bit on the "slow side." 1 GREAT thing though - no color ghosting.

    Everything works as advertised on the SD video I tested this morning. It was a 30 minute clip encoded with the iphone preset and comskip enabled.

    The encoding process IS still slow though - but not NEARLY as painful as 3 hours.

    It took me 50 minutes to encode a 17 minute (the 30 minute show after comskip) to the iPhone format.

    That's still about 1/2 as fast as Visualhub and even slower than ffmpegX - not that I'm passing any blame here.... I just wonder if there is anything we can to to speed up the process?
     

Share This Page