1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New program for 1 step TTG downloads, decryption, encoding - kmttg

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Mar 15, 2008.

  1. Jun 27, 2011 #3201 of 10413
    moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
    Sending you PM.
     
  2. Jun 27, 2011 #3202 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,733
    8
    Apr 6, 2000
    SF Bay Area
    Did you leave out the fact that Series 3/HD/XL also have the network remote control feature, minus the remote delete.
     
  3. Jun 27, 2011 #3203 of 10413
    moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
    I think that's the Crestron (telnet) interface you may be thinking of. That's a different and much less capable protocol. This new RPC protocol doesn't work for Series 3 TiVos - at least it didn't for my S3.
     
  4. Jun 28, 2011 #3204 of 10413
    moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
    v0p8c just released with a couple of fixes related to the new iPad Remote Control related additions. Consult release_notes for details. Hopefully means the "Will Not Record" retrieval works for everyone now.

    Thanks 'innocentfreak' for help testing.
     
  5. Jun 29, 2011 #3205 of 10413
    huntaar

    huntaar New Member

    1
    0
    Jun 8, 2007
    Thanks moyekj. This is working great for me and my premiere. I don't have a hacked tivo, so finally being able to auto delete shows is the last piece to my puzzle.

    One small issue I noticed, when running in GUI mode, the remote control refreshes get queued up behind processing shows. Can this be treated more like the 'Now Playing' refreshes and get higher priority? Thanks.
     
  6. Jun 30, 2011 #3206 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Hmm... In addition to backing up Season Passes, utilization of "channelSearch" and "channelUpdate" may be a nice enhancement to preserve the checked/unchecked channel list. Even altering the limited number of OTA channels I currently get can be a tedious task, let alone the hundreds of channels found on cable systems.
     
  7. Jun 30, 2011 #3207 of 10413
    moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
    Disregard the position in the job monitor. The remote jobs do run through same time as any other job except another remote job on same TiVo. i.e. For example if you have a download going from a Premiere the remote job will still execute for that same Premiere.
     
  8. Jul 1, 2011 #3208 of 10413
    moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
    Good point. I've had plenty of times with either a new TiVo or after re-doing guided setup where this had to be re-done involving many, many remote presses. Would be nice to have a saved list that could be restored for each TiVo or for a newly purchased TiVo. I'll look into it for next release.
     
  9. Jul 1, 2011 #3209 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    :up:

    My "playtime" with RPC is on hold as I freak out about moving in the next couple days... :D
     
  10. Jul 2, 2011 #3210 of 10413
    moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
    "channelUpdate" is not a valid/available RPC command unfortunately. I get:
    ERROR: RPC error response: The active partner ID does not have access to the operation.
     
  11. Jul 2, 2011 #3211 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,733
    8
    Apr 6, 2000
    SF Bay Area
    Can you add in a keystroke, say Ctrl-R, for 'Reset Tivo Web Server'? I tend to use it alot.

    Thanks Moyekj.
     
  12. Jul 2, 2011 #3212 of 10413
    moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
    Added for next release. Still not convinced that URL actually does anything though.
     
  13. Jul 2, 2011 #3213 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
  14. Jul 2, 2011 #3214 of 10413
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Since the iPad app doesn't have the functionality it may not be active yet. I imagine this might be something more for the Q/Preview so you could do it channel listings from the Preview.
     
  15. Jul 2, 2011 #3215 of 10413
    moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
  16. Jul 3, 2011 #3216 of 10413
    tlc

    tlc Member

    710
    0
    May 29, 2002
    I'm new to kmttg and having an issue with comcut. The file produced is way to small and appears (in vlc) to be the audio with a single frame of video. If it matters, I'm running on linux and comskip was run via wine.

    Here's the edl file for a 1/2 hour show:

    494.69 654.92 0
    905.77 1089.35 0
    1363.20 1528.43 0
    Here's the kmttg log for comcut:

    >> Running comcut on /home/media/Videos/FromTivo/House Hunters International - Apartment in Argentina (01_27_2011).mpg ...
    /usr/bin/mencoder "/home/media/Videos/FromTivo/House Hunters International - Apartment in Argentina (01_27_2011).mpg" -edl "/home/media/Videos/FromTivo/House Hunters International - Apartment in Argentina (01_27_2011).edl" -oac copy -ovc copy -of mpeg -vf harddup -o "/home/media/Videos/FromTivo/House Hunters International - Apartment in Argentina (01_27_2011)_cut.mpg"
    comcut job completed: 0:00:30
    ---DONE--- job=comcut output=/home/media/Videos/FromTivo/House Hunters International - Apartment in Argentina (01_27_2011)_cut.mpg
    I ran the mencoder line by hand and got the following output. The end of the log shows that it's recognized a sizable video stream.

    $ /usr/bin/mencoder "/home/media/Videos/FromTivo/House Hunters International - Apartment in Argentina (01_27_2011).mpg" -edl "/home/media/Videos/FromTivo/House Hunters International - Apartment in Argentina (01_27_2011).edl" -oac copy -ovc copy -of mpeg -vf harddup -o "/home/media/Videos/FromTivo/House Hunters International - Apartment in Argentina (01_27_2011)_cut.mpg"
    MEncoder 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
    success: format: 0 data: 0x0 - 0xd33c2742
    MPEG-PS file format detected.
    VIDEO: MPEG2 1920x1080 (aspect 3) 29.970 fps 16000.0 kbps (2000.0 kbyte/s)
    [V] filefmt:2 fourcc:0x10000002 size:1920x1080 fps:29.970 ftime:=0.0334
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    [ac3 @ 0x182b680]frame sync error
    AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
    Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
    ==========================================================================
    PACKET SIZE: 2048 bytes, deltascr: 245760
    videocodec: framecopy (1920x1080 24bpp fourcc=10000002)
    audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 B/s=48000 sample-1)
    Limiting audio preload to 0.4s.
    Increasing audio density to 4.
    Read 3 EDL actions.
    Writing header...
    INITV: 0.200, 0.167, fps: 29.970
    Pos: 0.5s 15f ( 0%) 0.00fps Trem: 0min 0mb A-V:-0.047 [0:0]
    BUFFER UNDEFLOW at stream 0, raising muxrate to 1980 kb/s, delta_scr: 223418

    ERROR: scr 1.334, dts 0.000, pts 0.300

    BUFFER UNDEFLOW at stream 1, raising muxrate to 2178 kb/s, delta_scr: 203107

    ERROR: scr 1.643, dts 0.000, pts 0.364

    ERROR: scr 1.778, dts 0.000, pts 0.396

    ...

    Pos:1017.8s 30491f (84%) 1362.24fps Trem: 0min 58mb A-V:0.068 [15508:384]
    Skipping frame!
    Pos:1032.2s 30923f (85%) 1359.49fps Trem: 0min 58mb A-V:0.067 [15511:384]
    Skipping frame!
    Writing index...47f (100%) 1313.23fps Trem: 0min 62mb A-V:0.016 [15503:384]

    Overhead: 1.578% (1010702 / 64052210)
    Writing header...

    Video stream: 15503.418 kbit/s (1937927 B/s) size: 2499645539 bytes 1289.855 secs 38647 frames

    Audio stream: 384.000 kbit/s (48000 B/s) size: 61884954 bytes 1289.270 secs
    But the output file is about 63M, while the source mpg file was about 3.3G.

    Thanks for any help,
    tlc
     
  17. Jul 3, 2011 #3217 of 10413
    moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
    edl file looks reasonable. Looks like mencoder is having hard time with video/audio muxing & cutting. Probably source video from TiVo has timestamp problems. Only fix I know is using VideoRedo instead which doesn't run under Linux.
     
  18. Jul 5, 2011 #3218 of 10413
    bwall23

    bwall23 New Member

    73
    0
    Jun 8, 2009
    Just wanna say thanks for all the works! Love it, especially the <> feature which we won't talk about. VOTED BEST APP FOR THE TIVO!!! If it wan't for all of these user apps, the TiVo would be second-rate! I sure wish TiVo Corp. would listen to it's users instead of it's Marketing wanna-bees and Lawyers.
    Bang-Away!!!
     
  19. Jul 6, 2011 #3219 of 10413
    mattack

    mattack Active Member

    20,743
    4
    Apr 9, 2001
    sunnyvale
    I'm the one who asked for the # of NPL fetches feature, and use it a lot.

    However, I realized that an even better way of doing it would be if you could interact with it while it fetched the now playing list.. Or maybe automatically fetch one page, then when you started a download, then automatically fetch the full NP list. (Since you can get the now playing list while downloading.)

    (I also just found out about the no-verify option, and I have at least one show that fails very near the end of decrypting.. one of the Star Wars Family Guy episodes I think. I don't THINK I downloaded it with a different program yet, so I'll try that if I still have it.)
     
  20. Jul 8, 2011 #3220 of 10413
    tlc

    tlc Member

    710
    0
    May 29, 2002
    I'm trying a bunch of things to find a workable, automated, linux-only solution. I'm willing to give up on comcut, but I don't want VideoReDo (Windows).

    I downloaded 4 episodes of a show. The mpeg 2 files are all about 3.5G and play fine in VLC. I tried 4 encodings and checked them in VLC.

    • 'hb_tivo_hd', 1.27G, In sync in VLC
    • 'ff_h264_high_rate', 1.02G, Won't play in VLC
    • 'ff_h264_med_rate', 540M, Out of sync in VLC
    • 'ff_tivo_hd', 1.89G, Out of sync in VLC

    Ok, I thought. The HandBrake encoding is in sync!

    Then I PUSHED it to the TiVo with pyTivo, where it was badly out of sync.
    Then I PULLED it to the TiVo with pyTivo (ffmpeg transcode to mpeg2), where it was in sync. Also, it transcoded/transferred slower than anything I've ever seen. (And I use pyTivo a lot.)

    Anyone have a linux solution?
    Anyone have the technical details of "the timestamp problem"?

    Thanks,
    tlc
     

Share This Page