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
    Can you run (in Terminal.app)

    Code:
     grep -C 10 "Complete=" /tmp/iTiVo-*/iTiVo.log
    I'm trying to figure out why it thinks the download was a failure and retries.
    One possibility: does the Elgato encoder delete the original file when it's done converting?


    *OR*

    is the 480i video you are testing with a 'partial' recording? Partial recordings always cause 'retries' because the tivo doesn't send the whole file and iTiVo thinks there was an error. You can control the number of retries in the advanced settings.

    (if it was, can you try with a full recording of something.... leave it overnight or something).
     
  2. danm628

    danm628 Active Member TCF Club

    2,196
    6
    May 14, 2002
    Vancouver, WA
    I'll look through the log file when I get home from work.

    The Elgato app doesn't delete the original file, at least when tested using your script.

    As far as I know the file is complete, when I looked at the converted video I saw the closing credits. I'll double check this just to be sure.

    - Dan
     
  3. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I should have been more clear about the meaning of partial. The tivo does send the whole recording, but it claims that the whole recording is say 1 gig, but then only sends 200 megs (or whatever it actually has). So itivo assumes the transfer was a failure and tries again.

    Anyways. don't know if that's the case. If you don't see anything obvious in the log, can you just zip it up and attach it here?
     
  4. danm628

    danm628 Active Member TCF Club

    2,196
    6
    May 14, 2002
    Vancouver, WA
    I changed it to 1 retry on download and let it run while I went to dinner. It did import to iTunes when done. It also downloaded twice. Abridged log below (deleted most of the status report lines in vim).

    Looking at the curl reports it looks like the TiVo reported size is larger than the actual size. So I suspect this isn't an issue with Elgato.

    If you need the full log let me know, I've dropped it on a memory stick to take to work. I'm going to download a couple of large shows and try importing them to iTunes. I'll let you know how that goes Wednesday night.

    And thanks again for iTiVo. It is a great program.

    - Dan

    2009-04-14 16:37:49 Using Harrier:Applications:iTiVo.app:Contents:Resources:formats.plist
    2009-04-14 16:37:49 Using format file : Harrier:Applications:iTiVo.app:Contents:Resources:formats.plist
    2009-04-14 16:37:50 Using format file : Harrier:Users:dlmoore:Library:Application Support:iTiVo:formats:Elgato Turbo.264 HD - iPod Best.plist
    2009-04-14 16:37:50 Using format file : Harrier:Users:dlmoore:Library:Application Support:iTiVo:formats:Handbrake H.264 3 Mbps.plist
    2009-04-14 16:37:50 getFormatsNames
    2009-04-14 16:37:50 Format is ElGato Turbo.264 iPhone
    2009-04-14 16:37:50 using format : ElGato Turbo.264 iPhone
    2009-04-14 16:37:53 killed :
    2009-04-14 16:37:53 perl /Applications/iTiVo.app/Contents/Resources/ParseXML.pl 192.168.0.4 8104017040
    2009-04-14 16:38:52 fetching : http://chart.apis.google.com/chart?...300|FF3333|CC9900|33CC00|9900CC|00CC00|999999
    2009-04-14 16:39:17 perl /Applications/iTiVo.app/Contents/Resources/ParseDetail.pl 192.168.0.4 8104017040 1297931
    2009-04-14 16:39:19 getFormatsNames
    2009-04-14 16:39:25 getFormatsNames
    2009-04-14 16:39:27 write_settings
    2009-04-14 16:39:31 downloadItem called: 0,1
    2009-04-14 16:39:31 checkDL
    2009-04-14 16:39:31 perl /Applications/iTiVo.app/Contents/Resources/ParseDetail.pl 192.168.0.4 8104017040 1297931
    2009-04-14 16:39:31 CheckDLFile
    2009-04-14 16:39:33 rm /tmp/iTiVo-dlmoore/iTiVoDL{,2,3}
    2009-04-14 16:39:33 is download complete 0 / 1
    2009-04-14 16:39:34 killed :
    2009-04-14 16:39:34 rm -f /tmp/iTiVo-dlmoore/iTiVoDLPipe* /tmp/iTiVo-dlmoore/iTiVoTDC* /tmp/iTiVo-dlmoore/iTiVoDLMeta*
    2009-04-14 16:39:34 mkfifo /tmp/iTiVo-dlmoore/iTiVoDLPipe ; touch /tmp/iTiVo-dlmoore/iTiVoDLPipe{2,3}.mpg
    2009-04-14 16:39:35 perl /Applications/iTiVo.app/Contents/Resources/http-fetcher.pl 192.168.0.4 1297931 Superman 8104017040 /tmp/iTiVo-dlmoore/iTiVoDLPipe >> /tmp/iTiVo-dlmoore/iTiVo.log 2>&1 & echo $! ;exit 0
    curl 'http://192.168.0.4:80/download/Superman.TiVo?Container=%2FNowPlaying&id=1297931' -c /tmp/cookies.txt --retry 12 --retry-delay 10 --digest -u tivo:8104017040 -o /tmp/iTiVo-dlmoore/iTiVoDLPipe --stderr /tmp/iTiVo-dlmoore/iTiVoDL
    2009-04-14 16:39:35 perl /Applications/iTiVo.app/Contents/Resources/tivo-decoder.pl %2FApplications%2FiTiVo%2Eapp%2F 8104017040 >> /tmp/iTiVo-dlmoore/iTiVo.log 2>&1 & echo $! ;exit 0
    /Applications/iTiVo.app/Contents/Resources/tivodecode -n -D -m 8104017040 -o /tmp/iTiVo-dlmoore/iTiVoDLPipe2.mpg /tmp/iTiVo-dlmoore/iTiVoDLPipe
    2009-04-14 16:39:35 curl++ timeout: 0 currentFileSize: 0 fullFileSize:592
    2009-04-14 16:39:35 curl++ timeout: 1 currentFileSize: 0 fullFileSize:592
    2009-04-14 16:39:36 curl++ timeout: 0 currentFileSize: 2.95639038085938e-05 fullFileSize:592
    2009-04-14 16:39:37 curl++ timeout: 1 currentFileSize: 0 fullFileSize:592
    Encryption by QUALCOMM ;)

    2009-04-14 16:39:37 curl++ timeout: 2 currentFileSize: 0 fullFileSize:592
    2009-04-14 16:39:38 curl++ timeout: 3 currentFileSize: 0 fullFileSize:592
    2009-04-14 16:39:38 curl++ timeout: 0 currentFileSize: 0.806640625 fullFileSize:592
    ...
    2009-04-14 16:47:57 curl++ timeout: 0 currentFileSize: 510 fullFileSize:592
    2009-04-14 16:47:58 curl++ timeout: 1 currentFileSize: 510 fullFileSize:592
    2009-04-14 16:47:59 curl++ timeout: 0 currentFileSize: 511 fullFileSize:592
    2009-04-14 16:47:59 curl++ timeout: 0 currentFileSize: 512 fullFileSize:592
    2009-04-14 16:48:00 curl++ timeout: 1 currentFileSize: 512 fullFileSize:592
    2009-04-14 16:48:00 curl++ timeout: 0 currentFileSize: 513 fullFileSize:592
    2009-04-14 16:48:01 curl++ timeout: 1 currentFileSize: 513 fullFileSize:592
    2009-04-14 16:48:01 curl++ timeout: 2 currentFileSize: 513 fullFileSize:592
    2009-04-14 16:48:02 curl++ timeout: 3 currentFileSize: 513 fullFileSize:592
    2009-04-14 16:48:02 curl++ timeout: 0 currentFileSize: 514 fullFileSize:592

    End of File
    2009-04-14 16:48:03 curl++ timeout: 1 currentFileSize: 514 fullFileSize:592
    2009-04-14 16:48:04 Running : touch /tmp/iTiVo-dlmoore/iTiVoDLPipe3.mpg
    2009-04-14 16:48:04 is download complete 1 / 1
    2009-04-14 16:48:04 is download complete 1 / 1
    2009-04-14 16:48:04 Running : touch /tmp/iTiVo-dlmoore/iTiVoDLPipe3.mpg
    2009-04-14 16:48:04 is download complete 1 / 1
    2009-04-14 16:48:04 is download complete 1 / 1
    2009-04-14 16:48:04 perl /Applications/iTiVo.app/Contents/Resources/re-encoder.pl %2FApplications%2FiTiVo%2Eapp%2F %2FVolumes%2FNewertech%5C%20miniStack%5C%20V3%2FMovies%2FTiVo%2F Superman%5C%20%2D%5C%20Blasts%5C%20From%5C%20the%5C%20Past.mp4 'turbo.264' 'iPhone' ' ' ' ' >> /tmp/iTiVo-dlmoore/iTiVo.log 2>&1 & echo $! ;exit 0


    osascript /Applications/iTiVo.app//Contents/Resources/Scripts/elgato.scpt /tmp/iTiVo-dlmoore/iTiVoDLPipe2.mpg /Volumes/Newertech\ miniStack\ V3/Movies/TiVo/Superman\ -\ Blasts\ From\ the\ Past.mp4 /tmp/iTiVo-dlmoore/iTiVoDL2 iPhone 2>&1

    2009-04-14 16:48:04 Encoder timeout: 0 download:1 timeRemaining: 200 timeOn:0.0 currentPercent: 0
    ...
    2009-04-14 16:53:57 Encoder timeout: 611 download:1 timeRemaining: 200 timeOn:0 currentPercent: 0
    2009-04-14 16:53:58 probably downloading things right now
    2009-04-14 16:53:58 Encoder timeout: 612 download:1 timeRemaining: 200 timeOn:0 currentPercent: 0
    ...
    2009-04-14 16:55:04 Encoder timeout: 727 download:1 timeRemaining: 200 timeOn:0 currentPercent: 0
    2009-04-14 16:55:04 Download completed
    2009-04-14 16:55:06 killed :
    2009-04-14 16:55:06 is download complete 1 / 1
    2009-04-14 16:55:07 killed :
    2009-04-14 16:55:07 rm -f /tmp/iTiVo-dlmoore/iTiVoDLPipe* /tmp/iTiVo-dlmoore/iTiVoTDC* /tmp/iTiVo-dlmoore/iTiVoDLMeta*
    2009-04-14 16:55:07 mkfifo /tmp/iTiVo-dlmoore/iTiVoDLPipe ; touch /tmp/iTiVo-dlmoore/iTiVoDLPipe{2,3}.mpg
    2009-04-14 16:55:07 perl /Applications/iTiVo.app/Contents/Resources/http-fetcher.pl 192.168.0.4 1297931 Superman 8104017040 /tmp/iTiVo-dlmoore/iTiVoDLPipe >> /tmp/iTiVo-dlmoore/iTiVo.log 2>&1 & echo $! ;exit 0
    curl 'http://192.168.0.4:80/download/Superman.TiVo?Container=%2FNowPlaying&id=1297931' -c /tmp/cookies.txt --retry 12 --retry-delay 10 --digest -u tivo:8104017040 -o /tmp/iTiVo-dlmoore/iTiVoDLPipe --stderr /tmp/iTiVo-dlmoore/iTiVoDL
    2009-04-14 16:55:07 perl /Applications/iTiVo.app/Contents/Resources/tivo-decoder.pl %2FApplications%2FiTiVo%2Eapp%2F 8104017040 >> /tmp/iTiVo-dlmoore/iTiVo.log 2>&1 & echo $! ;exit 0
    /Applications/iTiVo.app/Contents/Resources/tivodecode -n -D -m 8104017040 -o /tmp/iTiVo-dlmoore/iTiVoDLPipe2.mpg /tmp/iTiVo-dlmoore/iTiVoDLPipe
    2009-04-14 16:55:07 curl++ timeout: 0 currentFileSize: 0 fullFileSize:592
    2009-04-14 16:55:08 curl++ timeout: 1 currentFileSize: 0 fullFileSize:592
    Encryption by QUALCOMM ;)

    2009-04-14 16:55:08 curl++ timeout: 0 currentFileSize: 2.95639038085938e-05 fullFileSize:592
    2009-04-14 16:55:09 curl++ timeout: 1 currentFileSize: 0 fullFileSize:592
    ...
    2009-04-14 17:02:37 curl++ timeout: 1 currentFileSize: 513 fullFileSize:592
    End of File

    2009-04-14 17:02:38 curl++ timeout: 0 currentFileSize: 514 fullFileSize:592
    2009-04-14 17:02:38 Running : touch /tmp/iTiVo-dlmoore/iTiVoDLPipe3.mpg
    2009-04-14 17:02:38 is download complete 2 / 1
    2009-04-14 17:02:38 is download complete 2 / 1
    2009-04-14 17:02:38 Running : touch /tmp/iTiVo-dlmoore/iTiVoDLPipe3.mpg
    2009-04-14 17:02:38 is download complete 2 / 1
    2009-04-14 17:02:38 is download complete 2 / 1
    2009-04-14 17:02:38 perl /Applications/iTiVo.app/Contents/Resources/re-encoder.pl %2FApplications%2FiTiVo%2Eapp%2F %2FVolumes%2FNewertech%5C%20miniStack%5C%20V3%2FMovies%2FTiVo%2F Superman%5C%20%2D%5C%20Blasts%5C%20From%5C%20the%5C%20Past.mp4 'turbo.264' 'iPhone' ' ' ' ' >> /tmp/iTiVo-dlmoore/iTiVo.log 2>&1 & echo $! ;exit 0


    osascript /Applications/iTiVo.app//Contents/Resources/Scripts/elgato.scpt /tmp/iTiVo-dlmoore/iTiVoDLPipe2.mpg /Volumes/Newertech\ miniStack\ V3/Movies/TiVo/Superman\ -\ Blasts\ From\ the\ Past.mp4 /tmp/iTiVo-dlmoore/iTiVoDL2 iPhone 2>&1

    2009-04-14 17:02:38 Encoder timeout: 0 download:1 timeRemaining: 200 timeOn:0.0 currentPercent: 0
    2009-04-14 17:02:39 Encoder timeout: 1 download:1 timeRemaining: 200 timeOn:0 currentPercent: 0
    ...
    2009-04-14 17:08:58 Encoder timeout: 657 download:1 timeRemaining: 200 timeOn:0 currentPercent: 0
    2009-04-14 17:08:58 probably downloading things right now
    2009-04-14 17:08:58 Encoder timeout: 658 download:1 timeRemaining: 200 timeOn:0 currentPercent: 0
    ...
    2009-04-14 17:08:59 Encoder timeout: 659 download:1 timeRemaining: 200 timeOn:0 currentPercent: 0
    ...
    2009-04-14 17:09:39 Encoder timeout: 729 download:1 timeRemaining: 200 timeOn:0 currentPercent: 0
    2009-04-14 17:09:39 Download completed
    2009-04-14 17:09:41 killed :
    2009-04-14 17:09:41 is download complete 2 / 1
    2009-04-14 17:09:41 is download complete 2 / 1
    2009-04-14 17:09:41 Complete=true , 85% fullfilesize=503.2 ; currentfilesize=515
    2009-04-14 17:09:41 perl /Applications/iTiVo.app/Contents/Resources/GetExtraInfo.pl 192.168.0.4 8104017040 1297931
    2009-04-14 17:09:59 Moving to subdir
    2009-04-14 17:09:59 Running: mkdir -p /Volumes/Newertech\ miniStack\ V3/Movies/TiVo/Superman; mv /Volumes/Newertech\ miniStack\ V3/Movies/TiVo/Superman\ -\ Blasts\ From\ the\ Past.mp4 /Volumes/Newertech\ miniStack\ V3/Movies/TiVo/Superman/Superman\ -\ Blasts\ From\ the\ Past.mp4
    2009-04-14 17:09:59 Result:
    2009-04-14 17:09:59 Making tivo metadata
    2009-04-14 17:10:00 Running: cp /tmp/iTiVo-dlmoore/iTiVoDLMeta.xml /Volumes/Newertech\ miniStack\ V3/Movies/TiVo/Superman/Superman\ -\ Blasts\ From\ the\ Past.xml
    2009-04-14 17:10:00 Result:
    2009-04-14 17:10:00 Making Atomic Parsley metadata
    2009-04-14 17:10:00 Running: /Applications/iTiVo.app/Contents/Resources/AtomicParsley /Volumes/Newertech\ miniStack\ V3/Movies/TiVo/Superman/Superman\ -\ Blasts\ From\ the\ Past.mp4 --title 'Blasts From the Past' --stik "TV Show" --TVShowName 'Superman' --TVEpisode 'Blasts From the Past' --TVEpisodeNum '14' --description 'Superman decides to release a Kryptonian criminal from the Phantom Zone.' --TVNetwork 'DXD' --overWrite
    2009-04-14 17:10:08 Doing iTunes-related work
    2009-04-14 17:10:12 post Process item /Volumes/Newertech miniStack V3/Movies/TiVo/Superman/Superman - Blasts From the Past.mp4 Superman Blasts From the Past 1297931 Superman decides to release a Kryptonian criminal from the Phantom Zone. 14 1997 Action Adventure, Animated, Kids 0:30
    2009-04-14 17:10:12 Importing Superman into iTunes...
    2009-04-14 17:10:21 itunes config done now syncing
    2009-04-14 17:10:21 done with itunes
    2009-04-14 17:23:58 perl /Applications/iTiVo.app/Contents/Resources/ParseXML.pl 192.168.0.4 8104017040
    2009-04-14 17:24:54 fetching : http://chart.apis.google.com/chart?...300|FF3333|CC9900|33CC00|9900CC|00CC00|999999
    2009-04-14 17:24:58 Checking if should download: false : 3600 : 62698 : 10800
    2009-04-14 17:24:58 starting automated download
    2009-04-14 17:24:58 starting queue download...
    2009-04-14 17:38:58 perl /Applications/iTiVo.app/Contents/Resources/ParseXML.pl 192.168.0.4 8104017040
    2009-04-14 17:39:56 fetching : http://chart.apis.google.com/chart?...300|FF3333|CC9900|33CC00|9900CC|00CC00|999999
    2009-04-14 17:40:00 Checking if should download: false : 3600 : 63600 : 10800
    2009-04-14 17:40:00 starting automated download
    2009-04-14 17:40:00 starting queue download...
    2009-04-14 17:53:58 perl /Applications/iTiVo.app/Contents/Resources/ParseXML.pl 192.168.0.4 8104017040
    2009-04-14 17:54:56 fetching : http://chart.apis.google.com/chart?...300|FF3333|CC9900|33CC00|9900CC|00CC00|999999
    2009-04-14 17:55:00 Checking if should download: false : 3600 : 64500 : 10800
    2009-04-14 17:55:00 starting automated download
    2009-04-14 17:55:00 starting queue download...
    2009-04-14 18:08:58 perl /Applications/iTiVo.app/Contents/Resources/ParseXML.pl 192.168.0.4 8104017040
    2009-04-14 18:09:59 fetching : http://chart.apis.google.com/chart?...300|FF3333|CC9900|33CC00|9900CC|00CC00|999999
    2009-04-14 18:10:03 Checking if should download: false : 3600 : 65403 : 10800
    2009-04-14 18:10:03 starting automated download
    2009-04-14 18:10:03 starting queue download...
    2009-04-14 18:23:58 perl /Applications/iTiVo.app/Contents/Resources/ParseXML.pl 192.168.0.4 8104017040
    2009-04-14 18:24:52 fetching : http://chart.apis.google.com/chart?...300|FF3333|CC9900|33CC00|9900CC|00CC00|999999
    2009-04-14 18:24:55 Checking if should download: false : 3600 : 66295 : 10800
    2009-04-14 18:24:55 starting automated download
    2009-04-14 18:24:55 starting queue download...
    2009-04-14 18:38:58 perl /Applications/iTiVo.app/Contents/Resources/ParseXML.pl 192.168.0.4 8104017040
    2009-04-14 18:39:48 fetching : http://chart.apis.google.com/chart?...300|FF3333|CC9900|33CC00|9900CC|00CC00|999999
    2009-04-14 18:39:51 Checking if should download: false : 3600 : 67191 : 10800
    2009-04-14 18:39:51 starting automated download
    2009-04-14 18:39:51 starting queue download...
    2009-04-14 18:53:58 perl /Applications/iTiVo.app/Contents/Resources/ParseXML.pl 192.168.0.4 8104017040
    2009-04-14 18:54:48 fetching : http://chart.apis.google.com/chart?...300|FF3333|CC9900|33CC00|9900CC|00CC00|999999
    2009-04-14 18:54:52 Checking if should download: false : 3600 : 68092 : 10800
    2009-04-14 18:54:52 starting automated download
    2009-04-14 18:54:52 starting queue download...
    2009-04-14 19:08:58 perl /Applications/iTiVo.app/Contents/Resources/ParseXML.pl 192.168.0.4 8104017040
    2009-04-14 19:09:49 fetching : http://chart.apis.google.com/chart?...300|FF3333|CC9900|33CC00|9900CC|00CC00|999999
    2009-04-14 19:09:53 Checking if should download: false : 3600 : 68993 : 10800
    2009-04-14 19:09:53 starting automated download
    2009-04-14 19:09:53 starting queue download...
     
  5. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    just a quick reply: the value in 'retry' is a little counter-intuitive. '1' means retry at least once. if you want just one try and no retries, set it to 0 (yeah.. sorry...).

    It looks like it thinks it got enough data so it must be retrying for another reason.. I'll sit on the code and see if I can figure it out.

    On an unrelated note, it probably would be easier to zip the log, and click the 'manage attachments' button below the editor, and just upload the zip file... (for future things). That way I can read the log without all this silly html parsing that the forums do.
     
  6. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Well.. I *think* I see the problem. the Elgato doesn't give me any progress information, so I make up an 'amount of time remaining' for the progress display. And of course, when elgato finishes, I still claim there's 200 to go.. So the loop assumes that it finished too early and tries again :)

    I need to change it so that it claims 0 seconds to go when it's done... Gah I hate *faking* numbers. wish the elgato encoder actually gave real progress numbers.

    *crossing fingers*

    edit: Ok checked in the changes, can you try the latest beta and tell me how it's performing?
     
  7. danm628

    danm628 Active Member TCF Club

    2,196
    6
    May 14, 2002
    Vancouver, WA
    It actually makes perfect sense to me. Doesn't everyone start counting things with 0? (Too many years of writing assembly and C.)

    Will do.

    - Dan
     
  8. danm628

    danm628 Active Member TCF Club

    2,196
    6
    May 14, 2002
    Vancouver, WA
    I just tried a download, encode and import to iTunes using the Elgato with the latest beta version. This was the small 480i test video I've been using, same one the log data was from.

    Everything worked perfectly. Single download from the TiVo. Single encode. Import to iTunes when done.

    I'm going to try some larger 1080i shows to make sure they go through ok.

    And then the scary test, commercial skip. I know it isn't always 100% accurate, but it is a pain to skip commercials on the iPhone.

    Thank you. As others have pointed out you need a donation button.

    - Dan

    Edit to add:
    Commercial skip works but the audio is bad. Mencoder seems to work better there. Oh well. I guess I'll have to skip commericials during playback.

    Once again thanks.
     
  9. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    A) Thank you SOOO much for having the patience to help debug this :) . Sounds like we're all good now?

    B) Details about the commercial cutting: It *is* using mencoder to cut the commercials out, but it is 'passing through' the video and audio encodings. That creates a 'cut-up mpeg-2' which it hands to the elgato code. Unfortunately, cutting up the mpeg-2 like that causes no-end of grief and sync issues. (This is also how commercial cutting is done when using the Handbrake or ffmpeg encoders). As far as I know, ElGato, Handbrake, and ffmpeg do not accept a 'skip list' for areas to cut out. Only mencoder seems to support that.
    If anyone has a 'better' way to suggest cutting it up, I'm happy to use it. I'm no expert here...
     
  10. danm628

    danm628 Active Member TCF Club

    2,196
    6
    May 14, 2002
    Vancouver, WA
    Everything is great now.

    I've been on the other side of this. Debugging a hardware/software problem when the person is on the other side of the country or even worse other side of the planet. It sucks. A lot. It's a little better for commercial products; at least then you have the option of flying to where ever you need to be. Of course airport security always looked at you odd when you had logic analyzers and spectrum analyzers as your carry on luggage. I haven't done that post 9/11, I'm pretty sure I don't want to.

    Turbo.264 supports markers to allow skip portions of a video. They also state they will support Turbo.264 features via Applescript and to contact them if something isn't supported. Sounds like I need to email them and ask for this. (I'm not going to hold my breath for it to happen quickly though.)

    Does iMovie '09 support skip lists via Applescript? It is supposed to be able to use the Turbo.264. That might be a way to do it. Of course I haven't purchased the latest iLife since I don't use it much.

    - Dan
     
  11. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    my one and only interaction with elgato was when I coded up the scriptlet. I was trying to get information on how to do this, and instead they replied with the standard API code they already had on the website... So I hacked up the scriptlet and gave up asking them. The Applescript interface is documented there but there is nothing to allow specifying any edits (so the docs may be incomplete, or it may be unsupported)

    I'm not sure if it does or doesn't, but I'm pretty sure iMovie is unable to read the mpeg-2 files that the tivo produces (imovie uses the same codecs that quicktime does).
     
  12. froggie

    froggie New Member

    17
    0
    Feb 13, 2005
    Yoav,

    Thanks for writing this marvelous front-end. You've saving me a tonne of time getting shows off my tivo to the various devices I use :up:

    Froggie.
     
  13. deandashl

    deandashl New Member

    341
    0
    Aug 8, 2008
    Just downloaded "Welcome and the Basics" off my new TiVoHD to my ipod video.

    AWESOME!!!

    Thanks Yoav for a great free program.

    It works pretty slick.

    You should set yourself up for some donations.
     
  14. aindik

    aindik Well-Known Member

    35,116
    71
    Jan 23, 2002
    Philadelphia...
    Pardon me for posting without reading the entire thread. I just downloaded this last night to my MacBook running OS X 10.4 (Tiger). The first thing I did was set it to download a two hour HD movie (a 1080i recording from CBS). I set it to the "DVD" setting, as I want to use iDVD to burn this on a for a friend DVD.

    It estimated 3 hours to download, so I set it to go and went to bed. This morning, I woke up and there is a 4.x GB file where it's supposed to be, but iDVD won't see it and Quicktime won't play it, telling me it's "not a movie file." Any idea why this may be, and what I might be able to try before downloading the thing again?

    After I saw this, I downloaded an episode of the Daily Show (a 480i recording), on the "iPhone" setting, for use on my Blackberry Storm. That worked like a charm.
     
  15. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    Is there a reason you want to use iDVD? Your best bet is to use the decrypt only selection and use Toast or "Burn" (donations accepted) to burn your .mpg file. The advantages here are maintaining as much quality prior to burning as well as keeping the soundtrack (ac3 if that's the case) intact.

    If you want to use Comskip, use the AppleTV preset. You will lose quality going from HD Mpeg to mp4 back to DVD mpeg, but not much more than you are going to lose anyway from going from HD to DVD. The advantage of going to mp4 is the ability to skip commercials easily if that's your goal. Plus iDVD should handle the mp4's easily if that's what you want to do.

    -fate
     
  16. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Oh it's a movie file. As it turns out, quicktime (and anything that uses the quicktime components, like iDVD, iMovie, etc), has an incomplete mpeg-2 codec. So it fails to read a lot of legal mpeg-2 files. That also means that iDVD will not correctly burn the file to DVD (although there are other tools that may, like BurnOSX.

    You can also view the file to make sure it's correct with more complete media players, like MPlayer OSX or VLC. Both are free and will play a LOT more formats than quicktime can. This is all explained in the iTiVo FAQ btw.

    Having said that though, my experience with making DVD-compatible files has been fairly negative. Mencoder often crashes while converting.

    edit: I see fate already answered with a more useful suggestion... :) yay.
     
  17. aindik

    aindik Well-Known Member

    35,116
    71
    Jan 23, 2002
    Philadelphia...
    Because I already have it and don't want to pay for Toast if I don't have to.

    Can "Burn" do that conversion with the soundtrack intact?

    No need to use comskip for this particular DVD, but I'm happy to know it's an option to do comskip and keep the thing in HD, thanks. Does this preserve the 5.1 soundtrack?
     
  18. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    If you're trying to preserve the soundtrack by all means, use the DECRYPT only function. Any other method either yields unsynced audio or a conversion to AAC/mp3 etc... but you lose the ac3 if that's what you want. I've had no success finding a mencoder command line function that works with iTivo.

    I just tried Burn (for the first time myself...) and got a weird result. My DVD player said the resulting video was the wrong region. Strange. The only region setting is NTSC or PAL. Of course that doesn't help you....

    Just try to decrypt it and then once the file is on your HD, you can do just about anything with it you want. If you have VisualHub on your machine (it's out of production) you can drop the mpeg into VH and select DVD. That'll yield a Video TS folder you can burn straight from the Finder.

    The last alternative is to convert your mpeg into something iDVD can read. You can "decrypt only" and then use something like Handbrake to transcode to mp4. Again, use the appleTV preset, but alter the audio tab settings to AC3 passthrough. You don't need any other audio tracks if you don't want. Just remove the AAC option. Then the mp4 can be dropped into iDVD. That is about the most inelegant solution because it's 3 steps. Try Burn first.

    -fate

    PS - if you do use VisualHub, be sure to open the advanced tab and in the audio "extra ffmpeg flags" dropdown box, be sure to click copy original soundtrack...
     
  19. philby85

    philby85 New Member

    15
    0
    Mar 21, 2009
    Hi Yoav,

    I am having a problem with the no of retries preference. It defaults to 1. If I change that to 0 and save and then re open prefs it is set back to 1. Any ideas?
    I am using the latest beta
    Thanks again

    Phil
     
  20. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Yeah after realizing that '0' for 1 try and 1 for two tries was counter-intuitive, I changed the code to be:
    1) try downloading only once.
    2) try downlading twice (1 retry).

    If it sees you had a zero in there, it changes it to a 1 because '0' tries makes no sense :)

    So 1 is the new 0.. and things are as they should be
     

Share This Page