TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 04-12-2009, 09:39 PM   #391
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post
New behavior.
- Dan
Looks like the timeout is happening because the fake progress reporting isn't doing its thing.. let me change up the code a bit...

try the new beta

(and sorry for the insane frequent updates)
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-12-2009, 10:46 PM   #392
danm628
Registered User
 
Join Date: May 2002
Location: Vancouver, WA
Posts: 245
I appreciate the insane update rate. A lot. iTiVo is a great program and I appreciate the effort you put in to it.

I'll try the new beta and see what happens. It will be Monday night before you get any updates; I go to work really early.

Any additional debug info you need? I can always install Xcode on my system and grab the code.

- Dan
danm628 is offline   Reply With Quote
Old 04-12-2009, 11:04 PM   #393
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post
I appreciate the insane update rate. A lot. iTiVo is a great program and I appreciate the effort you put in to it.

I'll try the new beta and see what happens. It will be Monday night before you get any updates; I go to work really early.

Any additional debug info you need? I can always install Xcode on my system and grab the code.

- Dan
I don't think you'd need to install XCode, but if it still breaks I would appreciate if you did the following and tell me what happens:
  1. Download the movie using the 'decrypt' format. Put it on the Desktop as 'movie.mpg'
  2. Open up Terminal.app and run
    Code:
    osascript /Applications/iTiVo.app/Contents/Resources/elgato.scpt ~/Desktop/movie.mpg ~/Desktop/output.mp4 ~/Desktop/log.txt iPhone

Those are tilde '~' characters, not minus '-' characters in that invocation...

If I understand how the Elgato works, that should create an mp4 file in your desktop, and leave a log there called log.txt. If stuff is still breaking, can you attach the log.txt file here so I can look at it. I can't 'fake' simulate having the ElGato card, so I'm just going with how I *think* it should be working.. would love to know if it does...

Also if the script prints out any errors, tell me please...

And thank you for helping out with this
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-12-2009, 11:35 PM   #394
danm628
Registered User
 
Join Date: May 2002
Location: Vancouver, WA
Posts: 245
I just checked it before hitting the sack. iTiVo was redownloading the file and Elgato was finishing up the decrypt. I've started a download of a decrypted file, I'll run the applescript once it finishes.

- Dan
danm628 is offline   Reply With Quote
Old 04-12-2009, 11:54 PM   #395
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post
I just checked it before hitting the sack. iTiVo was redownloading the file and Elgato was finishing up the decrypt. I've started a download of a decrypted file, I'll run the applescript once it finishes.

- Dan
Also, the script shouldn't 'finish' (return you to the shell prompt) until the encode finishes.. please tell me if the script seems to finish early...
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-13-2009, 08:17 PM   #396
danm628
Registered User
 
Join Date: May 2002
Location: Vancouver, WA
Posts: 245
Just got home and ran some tests with a few different shows (480i 30 and 60 minute shows, 3 hour 1080i show and a SD analog show off cable). The 480i and SD analog shows worked fine.

The 1080i show produced this error: /Applications/iTiVo.app/Contents/Resources/Scripts/elgato.scpt: execution error: Turbo.264 HD got an error: An error of type -208 has occurred. (-208)

Just to be sure, I dragged the 1080i file to the Elgato application and manually did a convert to iPhone format. That worked fine.

If the Elgato Turbo.264 HD has already been started (i.e. application is sitting idle) when the script is started then it runs correctly with no error messages printed. When the script finishes Turbo.264 HD exits.

If the Elgato application has not already been started then the script prints:
/Applications/iTiVo.app/Contents/Resources/Scripts/elgato.scpt: execution error: Turbo.264 HD got an error: Canít get isEncoding. (-1728)
and exits. The Turbo.264 HD application does start, roughly at the same time the script exits. Running the script again at this point works.

The log file for the short run has this:
Monday, April 13, 2009 4:50:28 PM : Starting ElGato
0 -1 300 0
11 -1 300 0
21 -1 300 0
31 -1 300 0
41 -1 300 0
51 -1 300 0
61 -1 300 0
71 -1 300 0
81 -1 300 0
91 -1 300 0
101 -1 300 0
111 -1 300 0
121 -1 300 0
131 -1 300 0
141 -1 300 0
151 -1 300 0
161 -1 300 0
171 -1 300 0
181 -1 300 0
191 -1 300 0
201 -1 300 0
211 -1 300 0
221 -1 300 0
231 -1 300 0
241 -1 300 0
251 -1 300 0
261 -1 300 0
271 -1 300 0
281 -1 300 0
291 -1 300 0
301 -1 300 0
311 -1 300 0
321 -1 300 0
332 -1 300 0
342 -1 300 0
352 -1 300 0
362 -1 300 0
372 -1 300 0
382 -1 300 0
392 -1 300 0
402 -1 300 0
412 -1 300 0
422 -1 300 0
432 -1 300 0
432 100 0

The long run just has more lines and counts higher.

- Dan
danm628 is offline   Reply With Quote
Old 04-13-2009, 09:09 PM   #397
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post
Just got home and ran some tests with a few
First of all.. Thank you thank you thank you!!
That's a REALLY helpful bug report .. I actually have a bunch of useful info to work with now.

I'll see what I can make out of this. It definitely looks like multiple bugs converging.. I'll see what I can do to fix them all (although I should point out that given the ElGato documentation, this may not be too easy).
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-13-2009, 10:07 PM   #398
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post
Just got home and ran some tests with a few different shows (480i 30 and 60 minute shows, 3 hour 1080i show and a SD analog show off cable).
Ok I'm gonna try launching the application first, then waiting 5 seconds before handing it a file to process. Hopefully that should get rid of the errors you are seeing..
( It wasn't clear to me if the error -208 also went away if elgato is running? )

I also better parse the elgato output to deal with errors from the encoder (don't think there are any here.. but at least I know what to do now).

Can you check out the *new* beta and tell me if it finally does the right thing?
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-13-2009, 11:44 PM   #399
danm628
Registered User
 
Join Date: May 2002
Location: Vancouver, WA
Posts: 245
After some additional testing I think the -208 error was due to operator error. I can't duplicate it. (Guess -- did I remember to rename the test file to movie.mpg before hitting return? Not sure. Will retest later to be sure.)

The new beta solves the Elgato startup problem. I can run the script and it correctly starts Turbo.264 HD, requests the encode and waits for the encode to complete. I've only done a full test with one of the 480i videos, it only takes a few minutes. I didn't let the 1080i encode finish, it takes longer and I wanted to test a full download, encode, import to iTunes cycle.

I did a quick test of the download and encode of the 480i video (since it is still on the TiVo). Download finished, Turbo.264 started, encoded video, finished. And then the download started again.

- Dan
danm628 is offline   Reply With Quote
Old 04-14-2009, 12:10 AM   #400
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post
Download finished, Turbo.264 started, encoded video, finished. And then the download started again.

- Dan
Ok so now we're done to just making sure iTiVo thinks the download was successful and not a failure.. One more bugfix.. looking into it.
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-14-2009, 12:18 AM   #401
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post
Download finished, Turbo.264 started, encoded video, finished. And then the download started again.

- Dan
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).
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by Yoav : 04-14-2009 at 12:25 AM.
Yoav is offline   Reply With Quote
Old 04-14-2009, 09:26 AM   #402
danm628
Registered User
 
Join Date: May 2002
Location: Vancouver, WA
Posts: 245
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
danm628 is offline   Reply With Quote
Old 04-14-2009, 11:37 AM   #403
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post
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
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?
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-14-2009, 09:26 PM   #404
danm628
Registered User
 
Join Date: May 2002
Location: Vancouver, WA
Posts: 245
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.pl ist
2009-04-14 16:37:49 Using format file : Harrier:Applications:iTiVo.app:Contents:Resources:formats.pl ist
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?c...0CC00%7C999999
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%2FTiV o%2F Superman%5C%20%2D%5C%20Blasts%5C%20From%5C%20the%5C%20Past.m p4 '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%2FTiV o%2F Superman%5C%20%2D%5C%20Blasts%5C%20From%5C%20the%5C%20Past.m p4 '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?c...0CC00%7C999999
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?c...0CC00%7C999999
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?c...0CC00%7C999999
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?c...0CC00%7C999999
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?c...0CC00%7C999999
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?c...0CC00%7C999999
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?c...0CC00%7C999999
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?c...0CC00%7C999999
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...
danm628 is offline   Reply With Quote
Old 04-14-2009, 10:29 PM   #405
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
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.
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-14-2009, 11:28 PM   #406
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
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?
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by Yoav : 04-15-2009 at 12:08 AM.
Yoav is offline   Reply With Quote
Old 04-15-2009, 09:19 AM   #407
danm628
Registered User
 
Join Date: May 2002
Location: Vancouver, WA
Posts: 245
Quote:
Originally Posted by Yoav View Post
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 actually makes perfect sense to me. Doesn't everyone start counting things with 0? (Too many years of writing assembly and C.)

Quote:
Originally Posted by Yoav View Post
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.
Will do.

- Dan
danm628 is offline   Reply With Quote
Old 04-15-2009, 07:08 PM   #408
danm628
Registered User
 
Join Date: May 2002
Location: Vancouver, WA
Posts: 245
Looks good

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.

Last edited by danm628 : 04-15-2009 at 07:24 PM.
danm628 is offline   Reply With Quote
Old 04-15-2009, 09:06 PM   #409
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post

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.
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...
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by Yoav : 04-15-2009 at 09:17 PM.
Yoav is offline   Reply With Quote
Old 04-15-2009, 10:18 PM   #410
danm628
Registered User
 
Join Date: May 2002
Location: Vancouver, WA
Posts: 245
Quote:
Originally Posted by Yoav View Post
A) Thank you SOOO much for having the patience to help debug this . Sounds like we're all good now?
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.

Quote:
Originally Posted by Yoav View Post
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...
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
danm628 is offline   Reply With Quote
Old 04-15-2009, 10:44 PM   #411
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by danm628 View Post

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

Quote:
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.
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).
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-17-2009, 11:23 PM   #412
froggie
Registered User
 
Join Date: Feb 2005
Posts: 12
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

Froggie.
froggie is offline   Reply With Quote
Old 04-19-2009, 02:44 AM   #413
deandashl
Registered User
 
Join Date: Aug 2008
Posts: 341
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.
deandashl is offline   Reply With Quote
Old 04-21-2009, 09:03 AM   #414
aindik
Registered User
 
aindik's Avatar
 
Join Date: Jan 2002
Location: Philadelphia, PA
Posts: 27,981
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.
aindik is offline   Reply With Quote
Old 04-21-2009, 12:26 PM   #415
fatespawn
Registered User
 
fatespawn's Avatar
 
Join Date: Oct 2007
Location: Chicagoish, IL
Posts: 139
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
fatespawn is offline   Reply With Quote
Old 04-21-2009, 12:53 PM   #416
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by aindik View Post
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?
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.
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-21-2009, 12:53 PM   #417
aindik
Registered User
 
aindik's Avatar
 
Join Date: Jan 2002
Location: Philadelphia, PA
Posts: 27,981
Quote:
Originally Posted by fatespawn View Post
Is there a reason you want to use iDVD?
Because I already have it and don't want to pay for Toast if I don't have to.

Quote:
Originally Posted by fatespawn View Post
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.
Can "Burn" do that conversion with the soundtrack intact?

Quote:
Originally Posted by fatespawn View Post
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
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?
aindik is offline   Reply With Quote
Old 04-21-2009, 01:58 PM   #418
fatespawn
Registered User
 
fatespawn's Avatar
 
Join Date: Oct 2007
Location: Chicagoish, IL
Posts: 139
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...
fatespawn is offline   Reply With Quote
Old 04-28-2009, 07:18 PM   #419
philby85
Registered User
 
Join Date: Mar 2009
Posts: 15
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
philby85 is offline   Reply With Quote
Old 04-28-2009, 07:38 PM   #420
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by philby85 View Post
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
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
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoģ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 05:39 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |