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

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    Oh, one more thing. When the encoding was finished, the whole process started over again for some reason. I was able to look at the mp4 file because it wasn't immediately re-written like happens when it's only an mpeg conversion. This seems to be an old bug... perhaps something that got reintroduced?
     
  2. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Let me explain what I *think* is going on, why it happens, and then you can tell me if that's what's going on.. (i.e. this may not be a bug).

    The tivo reports a certain file size for every show (which is displayed on the itivo table). That number is a lie. Most of the time, the real amount is 'close' but not exactly right. In some cases though, that number is WILDLY wrong (try recording 1 minute of a 1 hour show.. the tivo will report the show as being 1 minute long, but its size will be about the size of an hourlong show).

    (btw: this is part of the code I inherited. If there's a better way to do this, I'm all ears, although I'm also turning pretty lazy :)...

    Then when you download, the tivo simply 'stops' the transfer when the show is completely downloaded. So what iTiVo does is it looks at the downloaded size compared to the size the tivo claims it should be.

    If the amount is right +/- 20%, then it assumes success. If not, it tries again, with +/- 40%, etc.. on the 4th try it will accept any size.. The problem here is that I can't tell if the tivo stopped the transfer cleanly, or if there was a problem with the transfer and it should be retried.. So if it makes it to the 4th attempt, we just assume that it *really* is supposed to be incredibly short, and accept it.

    So, 99% of the time, fully recorded shows never need a second pass unless there really was an error in the transfer.

    So now you get to tell me if we're in the 1%, or if there is a bug :).

    (out of interest, did it succeed on the second try?)
     
  3. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Well, mencoder's antialiasing/deinterlacing is certainly more heavyweight than ffmpegs, so that might explain some slowness. As for the rest, there might be some additional compile-time flags that can be used to safely optimize the code.. feel free to look around.

    Also, have you tried changing the video encoder options like I mentioned in a previous posting? that shoul drop the quality to the ffmpeg-default level somewhat, which should speed things up...
     
  4. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    Yes, as i recall, this *may* be the case. I'll try again if the show is still on my Tivo. It sounds like you're on to something.

    with regard to the "second try" it occured AFTER iTivo was done encoding to mp4. Usually (with tivodecode or with your simple passthrough option) when this occurs, the original file is instantly overwritten. But since iTivo had converted to mp4, the original file (mpg) was not there to be overwritten. The resulting mp4 WAS SUCCESSFUL so I just canceled the download. I'll see if I can duplicate the results.

    Tomorrow, I'll see if your "alternate" setting work for mencoder. I'm not too "versed" on these type of things. I'm lucky if I can properly install some of these mashups half the time. I'll give your setting a try and report back.
     
  5. cuyahoga

    cuyahoga New Member

    104
    0
    Nov 15, 2002
    Warwick...
    Playing with 1.7b6 now.

    Its in the 'Generating MetaData' phase after transfer has completed and before turbo.264 takes over.

    How long should metadata generation take? Its been about 5 minutes as I write this.
     
  6. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Metadata generation should be a few short seconds unless there's a bug.

    However, metadata isn't supposed to be done until AFTER the encode is completed.. so the Turbo.264 was supposed to have been run and completed already (it modifies the resulting encoded file). Did it not start the encoder at all?

    Can you attach the contents of /tmp/iTiVo-<username>/iTiVo.log ?
     
  7. cuyahoga

    cuyahoga New Member

    104
    0
    Nov 15, 2002
    Warwick...
    The encoder did not start; it did the transfer, said it was doin' the metadata thing and then just sat there until I quit or canceled the transfer and quit. the turbo.264 encoder never kicked off.

    And I'm kind of embarrassed to say that I'm having trouble finding the log file! I can't even find the temp directory in the path you mentioned! I'm having a stupid moment. :(
     
  8. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    No stupid moment. Apple tried to make life difficult (user-friendly) by hiding /tmp. Apparently if you open the finder, choose Go/Go to Folder... and then type /tmp in there, it will open /tmp up

    There should be a directory named iTiVo-<yourusername> in there.
    Copy the file named iTiVo.log out of there.


    As for the main issue at hand.. Can you run Turbo.264 manually? Since I don't have the usb device, all I can do is watch it download, then run Turbo.264 (which reports to me that I need to insert the device). So I'm guessing it is failing to find Turbo.264 on your computer.. One thing to try:

    Open up /Applications/Utilities/Terminal.app
    and in there, run

    Code:
    osascript /Applications/iTiVo.app/Contents/Resources/Scripts/elgato.scpt a b c d e f g
    Tell me if that starts the program at least... (yeah those are completely bogus files I'm asking it to run on.. but hey.. it should still start it)
     
  9. Ereth

    Ereth Well-Known Member

    42,498
    219
    Jun 16, 2000
    Jacksonville...
    Just FYI - I tried the Playstation 3 settings (labeled untested) and the show started, and I thought it was going to be great, but the audio and video were not in sync and after a short time (about 2 commercials), the PS3 suddenly complained that it could not play that file and stopped.

    Not really much of a bug report, but hopefully useful as a datapoint.
     
  10. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Hey it's a useful bug report.. Turns out I do own a PS3 so might as well start toying with the settings :)

    -- yoav
     
  11. Jan 3, 2009 #131 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    This version supports a bunch of meta-data related changes to use in conjunction with pyTivoX (or on its own).

    Should work better for those with ppc machines.

    And you can now save your user-created formats.
     
  12. Jan 4, 2009 #132 of 741
    fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    Yoav,

    Nice work. The meta data is a nice addition for iTunes sorting too. I did a SD transfer this morning with iPhone/Comskip enabled. The transfer was successful and the speed was on par with what I'd expect from a PPC machine.

    I'll try some 720/1080 HD tonight and see if I get the same results. Hopefully it'll be a non-issue.

    Nice work and thanks for still working on the PPC side of things. It'll keep me from dropping a couple of grand for at least a few more months :)
     
  13. Jan 4, 2009 #133 of 741
    istarigul

    istarigul New Member

    1
    0
    Jan 4, 2009
    Novice iTivo user - I have been playing around with the various download options. Something that has me puzzled is that when I watch a tv thru my tivo on my sony widescreen tv I have it set to full and it fills the screen. When I use iTivo to download it and watch it then it only uses the middle of the screen. Is this something I should/tweak with dsize?

    Whats the best intro into understanding mencoder?

    thanks
     
  14. Jan 5, 2009 #134 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I'm not sure I fully understand.. so if I'm answering completely incorrectly, feel free to explain more.

    If what you mean is that after you download, it's only using a small window on your computer to show the movie, that's because most of the download formats convert to a smaller version (and even when not, your computer is usually much higher resolution than your TV). For example, iPhone converts to a 480x320 movie. The h.264 quicktime formats do not resize, but keep at the original resolution, which can be anything from 320x480 to 1920x1080, depending on the source.

    Probably the easiest fix is simply to tell the viewer (I assume you view with Quicktime) to use the full screen. Load up the movie under Quicktime, and then from the menu, select View... Full Screen, or Option-F.

    Edit: I just realized you might be complaining about sideboxing.. Was the above the correct fix? or are you complaining about black bars on the sides that you want the movie stretched to fill like some TVs do? If so, quicktime will has a little icon that looks like two arrows pulling to the sides (once you enter fullscreen mode). Click that, and watch your movies get deformed...
     
  15. Jan 5, 2009 #135 of 741
    Fofer

    Fofer XenForo Rocks! TCF Club

    82,098
    288
    Oct 29, 2000
    And make sure you have the latest QuickTime... it wasn't until QuickTime 7.2 that fullscreen viewing was available in the free version. (QuickTime Pro was required before that :rolleyes: )
     
  16. Jan 5, 2009 #136 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Sadly the documentation is lagging VERY much behind the program. The main documentation is at http://www.mplayerhq.hu/DOCS/HTML/en/index.html Starting with chapter 9.

    The other approach is the google-shoot-and-hope-you-get-something. Search for mencoder plus whatever problem you're having or format you want to convert to, and see if anyone else wrote anything about it....
     
  17. Jan 6, 2009 #137 of 741
    Mindflux

    Mindflux TiVowned

    934
    0
    Jan 16, 2008
    Does anyone know by chance where iTivo keeps files it's downloaded/re-encoding? They aren't in my selected storage folder. I had to stop a transfer/re-encode because it had frozen (seemingly) and I want to be sure that I don't have large files floating around on my drive with no use.
     
  18. Jan 7, 2009 #138 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    All intermediate files are kept in /tmp/iTiVo-<username>/

    They are deleted whenever a new encode is started, when iTiVo is started, or when iTiVo exits cleanly.
     
  19. Jan 7, 2009 #139 of 741
    Mindflux

    Mindflux TiVowned

    934
    0
    Jan 16, 2008
    Ah alright.

    Well I re-started the download/encoding, selecting my output to be "DVD"... however the resulting file was an mpg. (which also doesn't seem to play, even with Perian installed)

    I was hoping for a VOB I could place on an actual DVD and have it load on my wife's DVD player at work so she could show her coworkers something..
     
  20. Jan 7, 2009 #140 of 741
    PacoII

    PacoII New Member

    19
    0
    Jun 16, 2008
    Yoav, when the app told me that 1.7 was available, it showed some release notes, but I hit install too quick and didn't get a chance to read them. I searched the itivo site, as well as downloaded the installer, but can't seem to find those release notes anywhere. Where can I find those? Thanks!
     

Share This Page