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. NA9D

    NA9D New Member

    196
    0
    May 26, 2008
    Algonquin, IL
    Right. Saving the encoder options is the big one.
     
  2. Fofer

    Fofer XenForo Rocks! TCF Club

    82,149
    310
    Oct 29, 2000
    Aw, bummer. I, too, was hoping this could lead to "encoder profiles" -- kinda like what Handbrake has. Easy to switch back and forth between them, depending on my particular needs that day.
     
  3. Fofer

    Fofer XenForo Rocks! TCF Club

    82,149
    310
    Oct 29, 2000
    Speaking of this, I'm now wondering if rooSwitch would be a suitable solution for managing "iTiVo encoder profiles."
     
  4. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Looks like it would work (for saving the additional stuff, like download location, whether to use comskip, etc, as well as saving the encoder format you used).

    It still won't give you the 'nice' feature of being able to control download format per-item-in-queue, but hey, there's always another nice feature to add in the future...
     
  5. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    Yoav,

    Thanks for continuing to tweak!

    I know ffmpeg is only being "tested" now, but any reason it will only with with PyTivo? I would like to try another encoder for my G5 since Handbrake doesn't work (I'm on 10.4) and mencoder seems to take FOREVER...

    -fate
     
  6. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ermm.. nah there's nothing specifically in pyTivoX that makes it work. As long as you have a valid and working ffmpeg binary somewhere in your PATH, it will find it and use it -- however, you're on your own if it's missing any necessary libraries or whatnot.. (it will default to adding the pyTivoX location to PATH, so that it'll find ffmpeg there if nowhere else).

    Also, there's a divx3 and an mpeg-1 encoder in there now, that should hopefully be MUCH faster to encode with if you're unhappy with the ffmpeg behavior.
     
  7. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    Thanks - I'll try it later. I only asked because of the *note - Must have PyTivoX installed for ffmpeg support.
     
  8. Feb 3, 2009 #228 of 741
    doc659

    doc659 New Member

    12
    0
    Feb 1, 2009
    Dear Yoav,

    Thanks for the program. I can't seem to get it to download, though. My Tivo recordings show up in the now playing list. When I highlight and click Download (to the desktop) no file shows up, no downloading seems to commence. Am I doing something wrong?
     
  9. Feb 3, 2009 #229 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    It sounds like you're doing everything right. Do you get any errors?
    Is there a progress bar at the bottom? (sometimes downloads happen in stages, and nothing shows up until the last stage.. and even that's incomplete until the stage is done).

    There is no button labelled "Download to the desktop". There's "Download Show" and "Download Now". I'm assuming you're clicking "Download Show"? (Download Now is part of the queue processing area.. and it doesn't sound like you're using the queue)
     
  10. Feb 3, 2009 #230 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ermmm..
    the broadcast packets are only necessary to automatically discover the tivo. The download itself happens over https (port 443, tcp). So, if you have a way of contacting the tivo from the outside (via port forwarding for example) then simply type in the tivo's IP address into "Tivo IP Address" text box, and click "connect to tivo". iTiVo will happily download shows for you (albeit very slowly)
     
  11. Feb 3, 2009 #231 of 741
    doc659

    doc659 New Member

    12
    0
    Feb 1, 2009
    There is no progress bar. I am hitting the "Download Show" button. Also tried putting in the Download queue and trying to download from there. Still no apparent result. The destination file is my Mac desktop. Shouldn't a file pop up on the desktop as soon as the download begins?
     
  12. Feb 3, 2009 #232 of 741
    cmontyburns

    cmontyburns Excellent.

    14,649
    35
    Nov 14, 2001
    Houston, TX
    If I am not mistaken, shows initially download to /tmp -- they are only moved to the destination folder you specify (the desktop in your case) when transcoding is complete.

    So iTiVo is probably working fine for you. To verify, start a download, then in the Finder choose Go > Go to Folder... and type /tmp. You should see an iTiVo folder in there containing a bunch of files timestamped with the time you started your download. Let iTiVo do its work and you'll find your show on the desktop as expected once it's done.
     
  13. Feb 3, 2009 #233 of 741
    Hobdul

    Hobdul New Member

    1
    0
    Feb 3, 2009
    Yoav, thanks for your awesome work.

    A question: I've downloaded shows using the Quicktime h.264 5Mbps setting (recommended for archiving), with commercials removed. These clips play fine in Quicktime and VLC.

    However, when I go to compress the video clips using Handbrake (with the Apple universal preset), I run into problems. I'm able to load the clip as the source in Handbrake and begin the encoding process, but then Handbrake crashes almost immediately. This is repeatable.

    I'm trying VisualHub now, so far no crashes, but I'm wondering what would cause Handbrake to choke on the clip output by iTiVo (I'd prefer to use Handbrake). Is there some output setting that needs to be tweaked for that h.264 5Mbps video setting? Sorry if this is a Handbrake problem that you can't help with.
     
  14. Feb 3, 2009 #234 of 741
    doc659

    doc659 New Member

    12
    0
    Feb 1, 2009

    OK, thanks for the suggestion. 15 minutes ago I selected a show to dowload and it does indeed show up in the tmp file, however after 15 minutes it is still showing 0 KB as the file size. Doesn't seem like it actually downloads.
     
  15. Feb 3, 2009 #235 of 741
    cmontyburns

    cmontyburns Excellent.

    14,649
    35
    Nov 14, 2001
    Houston, TX
    Just let it run. Depending on the length of the show, HD/SD, the post-download actions you take on it, commercial skip, etc., it can take a multiple of the show length to complete the process.
     
  16. Feb 3, 2009 #236 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    What version of macOS are you using? The handbrake encoder is 10.5 only...

    Open up Terminal.app and run
    Code:
    /Applications/iTiVo.app/Contents/Resources/HandBrakeCLI
    . Is it spitting out an error?

    If you're on 10.5, the handbrake setting simply runs handbrake's encoder instead of mencoder. I can't really control it crashing :(. It might have managed to spit something useful into /tmp/iTiVo-<username>/iTivoDL2 ?


    And no, I don't do anything 'special'. The file I provide to handbrake is a 'chopped up' version of the source mpeg-2. You can get the exact same contents of that file by choosing 'decrypt/copy' as the format. Then you can see what happens when you run handbrake on that file by hand...
     
  17. Feb 3, 2009 #237 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok, something is definitely wrong.
    You *should* see a progress bar.
    If you've selected to remove commercials, those files *should* grow (they will not grow if you don't use comskip).

    Do you mind opening up Terminal.app, and typing:
    Code:
    tail -20 /tmp/iTiVo*/iTiVo.log
    tail -20 /tmp/iTiVo*/iTiVoDL
    tail -20 /tmp/iTiVo*/iTiVoDL2
    
    (those are three seperate commands.. each should give you some output that I'd like to see.. *something* is wrong but it's not clear to me what yet). That said, you wouldn't normally see a file popping up on the desktop unless you don't have comskip and other features enabled. Basically, in the simplest mode, it encodes the data on the fly as it arrives, and so you get a partial file showing up. However, if you enable comskip, or certain encoders, it needs to run some processing on the whole movie, so it downloads it to /tmp/ first, and then does the processing. Your file won't show up on the desktop until it's on the last phase of the processing....
     
  18. Feb 3, 2009 #238 of 741
    doc659

    doc659 New Member

    12
    0
    Feb 1, 2009
    "No such file or directory" is the response to all 3 commands in Terminal. I tried re-installing a new download of itivo and have the same problem.
     
  19. Feb 3, 2009 #239 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Hmm.. I'm thinking iTiVo is having trouble writing to /tmp/, which might explain the problems? Try these commands:

    Code:
     ls -l /tmp
     ls -l /tmp/
     ls -l /tmp/iT*
    
     
  20. Feb 3, 2009 #240 of 741
    doc659

    doc659 New Member

    12
    0
    Feb 1, 2009
    Here is what I got:

    T-Chus-Computer:~ L Karman$ ls -l /tmp
    lrwxr-xr-x@ 1 root admin 11 Mar 26 2008 /tmp -> private/tmp
    T-Chus-Computer:~ L Karman$ ls -l /tmp/
    total 0
    srwxrwxrwx 1 root wheel 0 Feb 2 11:37 ARD_ABJMMRT
    srw-rw-rw- 1 root wheel 0 Feb 2 09:31 HP_Photosmart C3100 series_CN71UC21TY04KV_HP-COMMAND_3300
    -rw-r--r-- 1 L Karman wheel 0 Jan 30 22:55 MobileSync.lock.898bd1271bd49b073c0b711a2e91342cbc0ca9a5
    srwxrwxrwx 1 L Karman wheel 0 Jan 30 20:37 com.hp.launchport
    drwxr-xr-x 3 L Karman wheel 102 Feb 2 17:26 hsperfdata_L Karman
    drwxr-xr-x 3 root wheel 102 Feb 2 12:26 hsperfdata_root
    prw-r--r-- 1 L Karman wheel 0 Feb 3 18:25 iTiVo-L
    srwxr-xr-x 1 L Karman wheel 0 Jan 30 21:01 ics158
    srwxr-xr-x 1 L Karman wheel 0 Jan 30 21:13 ics172
    srwxr-xr-x 1 L Karman wheel 0 Jan 30 21:01 icssuis503
    drwx------ 3 L Karman wheel 102 Jan 30 20:37 launch-K4bRYS
    drwx------ 3 L Karman wheel 102 Jan 30 20:37 launch-U88pUU
    drwx------ 3 L Karman wheel 102 Jan 30 20:37 launch-eeAci2
    drwx------ 3 L Karman wheel 102 Jan 30 20:37 launchd-68.koHFCL
    T-Chus-Computer:~ L Karman$ ls -l /tmp/iT*
    prw-r--r-- 1 L Karman wheel 0 Feb 3 18:25 /tmp/iTiVo-L
     

Share This Page