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
    yep.. rm deletes the file. Usually you'd use that when itunes makes a copy of the file into its own library. Otherwise.. yeah you don't want it..
     
  2. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Sadly, not without some serious hacking of configs (I'm sure mencoder can do it, I just don't know the options ...)

    so, yeah.. sorry.

    Then again, what do you need the stereo track for?
     
  3. steinbch

    steinbch Member

    136
    4
    Nov 23, 2007
    My understanding from my limited playing around with encoding videos for the AppleTV is that videos won't work on the AppleTV if they only have one audio track and it is 5.1. Things seem to work fine when the first audio track is AAC and the second is passthrough 5.1

    On another note, and I didn't see this in the FAQ or the issues reported through the website, when encoding files, I've noticed that the time reported on the lower left side of the screen is not matching up with the time of the video file. I've also noticed that the blue status bar will move backwards and forwards during the encoding process.
     
  4. Flyinace2000

    Flyinace2000 New Member

    234
    0
    Aug 2, 2005
    For some reason it doesn't work at all now. The download never starts. Before it would at least download the file. I have tried using the decrypt only option and iphone. Can you take another look at the logs. Thanks
     

    Attached Files:

  5. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    The time is just a number being reported by mencoder. And I have also seen it be completely wrong (like starting at 10 mins, or freezing for a while). The same is true for estimates for how long until it completes.

    The bar moving backwards is a seperate issue related to how progress is being determined. Especially during a long commercial cut, the progress measurements 'break'... Again, none of it will affect the actual underlying code.. it's just related to underlying tools, what they report, and how they are used.

    (fwiw, you may also see time remaining estimates jump up to 200 mins, and the progress bouncing to 0 for a while). I *could* put in the effort to try and smooth all that information, but really it's very low priority for me.
     
  6. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I *think* you have a competing download going on from that tivo.
    You may need to reboot the computer to make sure there's nothing hanging from a previous broken iTiVo. Also, make sure you do not have ANY other tools running (like tivo desktop) or the NowShowing widget.
     
  7. Flyinace2000

    Flyinace2000 New Member

    234
    0
    Aug 2, 2005
    I restarted and it still failed, but i looked at the logs and it said there was a permissinos error to the save target. Not sure why. I am running this as a local admin to the machine. Either way, i changed the save target to the admin's own Movies folder and it is downloading now. I will fix the permssion thing once i confirm the download/decrypt worked.

    How does the comercial remover work?

    -Will
     
  8. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    MAGIC!!!!


    :p

    It generally 'doesn't work' but it's a tool called comskip (look it up on google) which tries to figure out where there are commercials based on a LOT of tricks -- detailed on their homepage. However, since it ends up cutting your movie up, sometimes it can lead to audio/video sync issues. Try it first and see if it's worth it for you. A lot of people who care about commercial removal prefer to do it manually. It's worked fairly well for me when the source has been of high quality.
     
  9. Flyinace2000

    Flyinace2000 New Member

    234
    0
    Aug 2, 2005
    I might give it a shot. I repaired permissions on the folder and i am now able to save to the RAID.

    FYI: You can officially say that iTivo runs on 10.5.6 server (ppc).
     
  10. steinbch

    steinbch Member

    136
    4
    Nov 23, 2007
    After playing around a little more, I'm even more confused!

    1) While the Apple TV Handbrake preset creates two audio tracks, the second track (ac3 passthrough) seems to be 2.0 sound regardless of what the initial Tivo source is (originally an HD movie with 5.1).

    2)I currently am unable to get any video files to transfer to the AppleTV using the AppleTV Handbrake preset (tried both SD and HD files). They will all import into iTunes, but refuse to transfer over.

    3) I tried just downloading the videos using the 'decrypt' preset in hopes of using handbrake manually to encode into an AppleTV 5.1 file. Unfortunately, it seems like the file I get from the 'decrypt' preset no longer has a 5.1 ac3 track and only has a 2.0 track.
     
  11. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    The decrypt takes whatever the tivo provides and just removes the DRM. So if you ended up with a 2-channel audio, that is all there is in the original source.

    That probably explains why you have 2 tracks of 2-channel audio from handbrake. One is probably aac 2-channel, and one is dolby digital 2-channel (the second one would be 5.1 channels if the source had 5.1, but it looks like it doesn't).

    As for failing to transfer to the AppleTV. short version: <sigh>. AppleTV causes no end of headaches. I wish apple stopped making it or at least made it into a real device that can play REAL h.264 files at 1920x1080. Handbrake is doing its best. Look around on the web and you'll find tons of people having issues encoding for it, and some advice of things to try. You can completely control the handbrake or mencoder invocation through the advanced prefs options, but that's about all I can help with (don't own an AppleTV).
     
  12. pmd

    pmd New Member

    32
    0
    Dec 14, 2004
    I believe it's required for 5.1 AC3 playback on AppleTV (as done by Handbrake):

    http://support.apple.com/kb/TA25199
     
  13. bohbot16

    bohbot16 New Member

    21
    0
    Sep 21, 2008
    Katonah, NY
    Go to the Advanced tab in Prefs and change "encoder video options" from
    Code:
    -Z "AppleTV"
    to
    Code:
    -Z "AppleTV" --rate 29.97
    That allowed me to create files that sync to the AppleTV.
     
  14. roblight

    roblight New Member

    19
    0
    May 22, 2003
    First off, many thanks to Yoav for a great program!

    So my question is when using Turbo.264 does iTiVo first transfer the show then encode? If so, is there a way to transfer and encode at the same time like when using mencoder? Thanks again!
     
  15. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Yes to transfer it first, No to can I do transfer and encode at the same time.

    The documented method for encoding with the device involves providing a complete file to compress. So iTiVo first downloads it, removes the DRM and possibly commercials, and then puts all that data into a temporary file. It then calls the appropriate invocations to get their encoder to do the work.

    If they had a documented method for providing an mpeg-2 stream instead of a file to encode, I'd be happy to try using it. I should point out though that I don't even have an turbostick, so the support is entirely based on documentation....

    I should give you a heads up that people have complained that sometimes only the last file in a scheduled list gets saved, and the rest are not. I can't really debug this though :(.


    The only encoder that I support downloading AND encoding at the same time from is mencoder. It is possible (though I haven't tried it) that ffmpeg will also happily accept a stream via a named pipe, in which case it would be possible to use ffmpeg... But I haven't tried that yet.
     
  16. steinbch

    steinbch Member

    136
    4
    Nov 23, 2007
    Thanks! Will try that tonight! Do you know offhand if that creates a 5.1 ac3 track as well? I noticed today as I tried to use handbrake on a DVD that the appletv preset defaulted to the 2.0 ac3 track for track 2.
     
  17. fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    Flyinace,

    I have had very little luck getting my Dual G5 (tiger) to work seamlessly. Decrypt works like a champ, but mencoder is BRUTALLY slow. I use other tools to transcode the video once it's downloaded to my storage drive on the PC. Even with the previous (few pages back) mentioned changes to the compression quality, I get MUCH better results using VisualHub or ffmpegx to do the compression. I can't remove the commercials, but it's what I'm stuck with until my QUAD shows up... someday... ;)

    -fate
     
  18. bohbot16

    bohbot16 New Member

    21
    0
    Sep 21, 2008
    Katonah, NY
    If your source is 2.0 ac3, then you'll end up with 2.0 ac3. If your source is 5.1 ac3, then you get 5.1 ac3.
     
  19. steinbch

    steinbch Member

    136
    4
    Nov 23, 2007
    That worked perfectly! Might I suggest that be implemented as part of the standard preset in iTivo? :)
     
  20. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I'm really not 'ignoring' the suggestion. But I don't want to do this. The point of the handbrake 'appleTV' preset is to use the preset that the handbrake developers (who spent a lot more time over this) believe is 'correct' for appleTV. You *may* want to get in touch with the handbrake developers and tell them that for your specific video you had to add some flags.

    The real problem is that while it seems to fix it for your particular input, I suspect it breaks it for others (notably 1280x720 video at 24fps (720p) will either look really bad or break). As such I'm glad you have a workaround, and I'm happy to add it to the FAQ, but I'd rather trust the handbrake developers opinion of what are the 'right' flags and have them put it into the preset...

    Here is the link to the handbrake forum where all their encodings are discussed. It may also give you other ideas for more flags you may want to use too: http://forum.handbrake.fr/viewforum.php?f=7&sid=fea73cbbdbc87e146f1f032c4bfc9bc7

    That said, if you *DO* prefer that to be a format that is available, you can go to the advanced prefs, make your edits and click the 'save format' button at the bottom. Call it something like "My Handbrake AppleTV", and from now on, you can select that as a format. I'm curious if it works fine for all the following inputs:
    1) shows recorded in medium and best quality.
    2) digital shows in SD resolution. (480i and 480p)
    3) digital shows in HD 1080i
    4) digital shows in HD 720p

    If all those work fine and look as good as without the flag, I would probably be more amenable to making the changes to the default flags, although I *do* wonder why the handbrake developers didn't make that the default for appleTV.
     

Share This Page