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. Jan 7, 2009 #141 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Have you tried loading the output from iTiVo (whatever format you selected) into a DVD authoring program? That should make a valid chunked vob for you (or just burn the DVD for you entirely).

    The DVD format (and in fact, most mpeg2 formats) are giving me a nasty headache, they work for some inputs and not others... I've mostly given up on doing anything about it, but if you figure out mencoder options to make it work, I'll gladly incorporate them.

    One thing to make sure of though: If the encode didn't complete cleanly, the file is almost guaranteed to not work (there's some header information that isn't written out until the encode is completed).
     
  2. Jan 7, 2009 #142 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    http://code.google.com/p/itivo/source/browse/trunk/www/changelog.html
     
  3. Jan 7, 2009 #143 of 741
    Mindflux

    Mindflux TiVowned

    934
    0
    Jan 16, 2008

    All I did is tell iTiVo to download the program last night and encode it with the DVD preset, I was expecting to see a .VOB this morning (I let it run while I slept) so I could drop it in a VIDEO_TS folder so my wife could take it to work and show some coworkers.

    The resulting file was a 1.6GB mpg (it was an hour long show, 6.6GB size wise on the TiVo). Again double clicking on the file tells me it can't be played. So I'm not even sure if it finished properly? iTiVo was just idle this morning.. no 'complete' notice and no 'failure' notice either.

    I haven't tried to load it into a DVD Authoring program.. I'm assuming you mean like Toast? I'd expect it would need to transcode it yet again (two transcodings, ick).. to get that to work.
     
  4. Jan 7, 2009 #144 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    If it's just the filename that's bothering you, rename it with a .vob extension :) vobs are just mpeg-2 files with stricter requirements (for one, I think they need to be under 1 gig in size or something). Since the file is already an mpeg-2 file, it wouldn't need to be recoded again.

    The fact that the movie isn't playing in quicktime though isn't a good sign. It looks like the encode didn't work.
     
  5. Jan 7, 2009 #145 of 741
    Mindflux

    Mindflux TiVowned

    934
    0
    Jan 16, 2008
    Well I'll try to do it all over tonight in another mpeg2 format I guess, since I can move those readily to DVD authoring. I didn't have the time/energy to babysit it last night. Though a completion or fail dialog would have helped alleviate the confusion.
     
  6. Jan 7, 2009 #146 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    One quick question: Does the mpg play fine under vlc or mplayerOSX?
    (quicktime's mpeg-2 component doesn't work for all files). If it does, then just rename the file with a .vob extension.. (you can have that be the default under Prefs... Advanced.. Filename Extension.)
     
  7. Jan 7, 2009 #147 of 741
    Mindflux

    Mindflux TiVowned

    934
    0
    Jan 16, 2008
    I haven't tried it under VLC or mplayerOSX. I've had plenty luck just using the Perian codecs to play anything I've come across through Quicktime. This file, thus far is the exception.
     
  8. Jan 7, 2009 #148 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    The reason I asked is because I just tried downloading an HD source using the DVD format. It didn't play for me under quicktime (I have Perian installed too). It did work under MPlayerOSX.

    Edit: So, I guess that still doesn't guarantee anything about it working in a DVD player... but...
     
  9. Jan 7, 2009 #149 of 741
    Mindflux

    Mindflux TiVowned

    934
    0
    Jan 16, 2008
    Ok, this plays in VLC and looks beautiful. Thanks :)

    Toast however does want to encode the video.. not sure there.
     
  10. Jan 7, 2009 #150 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Well, I'm not really a codec-weenie, so I don't know what changes are needed to get everything to play nice.. All the options are controllable under 'advanced'... I just don't know what toast/quicktime needs...

    Personally, I'd download it as a quicktime format (h.264) and have it re-encode when making the DVD. At least that way everything *should* be able to read it and play nice... If encoding takes too long, select a lower-res format (like iphone super-res)...
     
  11. Jan 8, 2009 #151 of 741
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ooh I may have found something that helps here:

    select "DVD" as the format. Then go to advanced, and look at the video settings. You need to add a muxrate=36000 option to the format... To do that:

    delete the encoder video options (completely) and paste this in there:
    Code:
    -ovc lavc -of mpeg -mpegopts format=dvd:tsaf:muxrate=36000 -vf scale=720:480,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:cbp:mv0:vqmin=1:lmin=1:dc=10:vstrict=0:aspect=16/9
    
    I think that will make it work in quicktime.. Can't say anything about toast though.
     
  12. cuyahoga

    cuyahoga New Member

    104
    0
    Nov 15, 2002
    Warwick...
    I've attached the log, renamed with a .txt extension.

    And, the bit of script code you gave me does launch the turbo.264 app when I put the line of code in the terminal.
     

    Attached Files:

  13. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok, I see the problem. (my bad). the elgato iPhone setting was missing a video encoder argument.

    Select AppleTV iPhone, and go under Advanced, encoder video options.
    put in 'iPhone' (capitalization matters) there, and select "OK"

    Whenever you change format, your changes will be lost by the way. So you'll need to add iPhone in there each time you change format.

    I *believe* it should work now. (Or try using the elgato AppleTV setting instead). I will fix this in the next beta release...
     
  14. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Is this some sort of joke? Isn't that the exact text of the first reply in this thread? Mpeg-2 native format hasn't been available for several versions. Please update your program.
     
  15. Fofer

    Fofer XenForo Rocks! TCF Club

    82,126
    300
    Oct 29, 2000
    No, but it's some sort of spam. This user is just here to pimp something, it seems... I'm not sure the mods are doing all they can to minimize this sort of interruption here.

    Pay no heed, carry on, and thanks for all of your great work and support, Yoav.
     
  16. zero hectic

    zero hectic New Member

    2
    0
    Aug 20, 2008
    Hey Yoav, thanks for a great piece of software. Hoping you could help me out.

    I've been trying to use Decrypt/Copy to snatch shows off my Tivo, strip out the commercials, then take the file over to Handbrake and use a custom preset I've been using that gives me a high quality file that's playable on both the Apple TV and my iPhone. Problem is, whenever iTivo gets to the third phase (copy) mencoder crashes, leaving me with maybe a few minutes worth of video.

    Any help you could give would be appreciated.

    Here's the log file:

    curl 'hxxp://192.168.0.106:80/download/Leverage.TiVo?Container=%2FNowPlaying&id=491315' -c /tmp/cookies.txt --retry 12 --retry-delay 10 --digest -u tivo:8140656381 -o /tmp/iTiVo-mrubio/iTiVoDLPipe --stderr /tmp/iTiVo-mrubio/iTiVoDL
    /Applications/iTiVo-1.7/iTiVo.app/Contents/Resources/tivodecode -n -D -m 8140656381 -o /tmp/iTiVo-mrubio/iTiVoDLPipe2.mpg /tmp/iTiVo-mrubio/iTiVoDLPipe
    Encryption by QUALCOMM ;)

    End of File

    1+0 records in
    1+0 records out
    1024 bytes transferred in 0.000071 secs (14461169 bytes/sec)


    /Applications/iTiVo-1.7/iTiVo.app/Contents/Resources/mencoder -edl /tmp/iTiVo-mrubio/iTiVoDLPipe2.edl -ovc copy -of mpeg -mpegopts format=mpeg2:tsaf:muxrate=36000 -noskip -mc 0 -forceidx -oac copy -hr-edl-seek -o /Users/mrubio/Downloads/Tivo\ Downloads/Leverage\ -\ The\ Wedding\ Job.mpg /tmp/iTiVo-mrubio/iTiVoDLPipe2.mpg >/tmp/iTiVo-mrubio/iTiVoDL2 2>&1

    sh: line 1: 46280 Bus error /Applications/iTiVo-1.7/iTiVo.app/Contents/Resources/mencoder -edl /tmp/iTiVo-mrubio/iTiVoDLPipe2.edl -ovc copy -of mpeg -mpegopts format=mpeg2:tsaf:muxrate=36000 -noskip -mc 0 -forceidx -oac copy -hr-edl-seek -o /Users/mrubio/Downloads/Tivo\ Downloads/Leverage\ -\ The\ Wedding\ Job.mpg /tmp/iTiVo-mrubio/iTiVoDLPipe2.mpg > /tmp/iTiVo-mrubio/iTiVoDL2 2>&1
     
  17. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    You're gonna hate this answer:

    I wish I could help.. but it looks like mencoder is crashing on the input. There's not much I can do about it (unfortunately, cutting commercials is only done via mencoder, and for some reason mencoder is barfing on your input).

    Some things to try:

    check if you can manually run mencoder (no arguments). Does it always crash? (if so, then the build of mencoder is broken, and I can look into fixing it).

    Does everything work fine if you use 'HandBrake iPhone' as the download format?
    (if so, we can still make this work).

    Make sure you have enough space on your main hard drive to hold DOUBLE the size of the original movie...?

    Is it working fine if you disable commercial skipping?

    Manually run each of those command in the log:
    (curl to fetch the file, tivodecode to strip the encoding, comskip to detect commercials, mencoder to strip them out) and see if you're still getting the crash -- if you are, you can play with the mencoder invocation to see if you can get it to be happy...)



    By the way, on an unrelated note. You can tell iTiVo to use Handbrake as the encoder, and fully control all the settings (it's documented in the FAQ). So you wouldn't have to manually load up the file into HandBrake to encode it. Unfortunately, it will still use mencoder to strip out the commercials -- and that's the part that seems to be crashing...
     
  18. vasu

    vasu New Member

    3
    0
    Jan 17, 2009
    I have a question about de-interlacing that I'm hoping to get some help with. I searched the forum, and this thread, and did a google search, but haven't seen an answer yet, so sorry if this has been answered, i'm new to the forum :)

    I just used iTivo to pull off tonight's episode of battlestar galactica, and used the Quicktime H264 5megabit option with commercial skip. The resulting file looks great, but is interlaced 1080i.

    Is there a way I can enable de-interlacing to this preset? I wasn't sure what mencoder flag to add...
     
  19. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Go under 'Prefs, Advanced'
    Look at the encoder video options.
    In there will be a chunk labeled
    Code:
    -vf harddup
    Change it to
    Code:
     -vf pp=lb,harddup
    (or you can use any of the other ones, like
    Code:
     -vf pp=ci,harddup
     -vf yadif=1:1,mcdeint=2:1:10,harddup
    A full examination of the deinterlacers and what they look like is available at http://guru.multimedia.cx/deinterlacing-filters/. Keep in mind that if your source is 'telecined' a de-interlacer may make things look worse (you'd want to inverse telecine it). Also, the de-interlacing will probably slow down the encoder somewhat. It's all fun and games...
     
  20. steinbch

    steinbch Member

    136
    4
    Nov 23, 2007
    Kudos to the author of this program! It is exactly what I've been trying to do for a long time on my computer. The one question I have is does the program have the ability to change the name of a show downloaded and put into iTunes. For example, when I set up a subscription to The Colbert Report, after the import, iTunes reports the title of the program as "The Colbert Report 1531227". The number is apparently the ID number on the Tivo, but has nothing to do with the actual program. Is it possible to have the episode number instead, or even the date?

    Thanks!
     

Share This Page