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. Apr 19, 2010 #2241 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    I'm curious, Are you wired or wireless? What speeds are you getting while downloading PS and TS stream files?
     
  2. Apr 19, 2010 #2242 of 10413
    DeWitt

    DeWitt New Member

    424
    0
    Jun 30, 2004
    Summit, NJ
    Wired network.

    TS approx 60Mbps, PS approx 28Mbps. Tivo was busy recording and viewing at the time....
     
  3. Apr 20, 2010 #2243 of 10413
    kmp14

    kmp14 New Member

    75
    0
    Sep 18, 2003
    Ok, here is a tricky one. Does tivo expose the Season number and episode number as something that could be added as choices for the file name? Long story short, i want to try to pull the kmttg processed tivo files into sagetv and use a utility to get more metadata about the show, but the tool available for metadata retrival is requires the file names to have the season and episode in them (i.e. SE05EP10 for season 5, episode 10). I realize it is a long shot, but I thought I would ask.....
     
  4. Apr 20, 2010 #2244 of 10413
    SoBayJake

    SoBayJake New Member

    407
    0
    Feb 6, 2002
    Los Angeles, CA
    I believe episode number (like 205 is season 2, episode 5) is not always available, and as such, not a reliable item to use in the filename, as it might not always be there.

    Check here: http://code.google.com/p/kmttg/wiki/configuring_kmttg
    Look under "Advanced File Naming"
     
  5. Apr 20, 2010 #2245 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    With the Premiere box, Season/Episode is listed after the episode title, under the Discovery Bar and above the show's description. This may be kept in a new metadata field, with the field name being undiscovered for the time being. Dunno though, but it looks promising!
     
  6. Apr 21, 2010 #2246 of 10413
    VideoGrabber

    VideoGrabber New Member

    114
    0
    Sep 11, 2003
    This seems odd. I have my naming set up with:

    [mainTitle] -[EpisodeNumber]- [episodeTitle] ([month] [mday], [year], [channel])

    On my Premiere, when I transfer in PS mode, I get "Name -nnn- Etcetera". But when I transfer in TS mode, I get "Name -- Etcetera". Any reason you can think of for this?

    (As a side issue, I have no way to tell between files I downloaded in TS mode vs. PS mode. And even in the log all I see is: "Refreshing encoding profiles" when I switch from one to the other. I can't even tell between files that came from the S3 via cable, and those from the S4 via antenna. If everything was working fine, I might not care. But I seem to be having sporadic glitching on a couple antenna-based channels. And TS vs PS has it's own set of issues.)
     
  7. Apr 21, 2010 #2247 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    TS mode setting has nothing to do with the file naming. EpisodeNumber is not available for all shows however, so if using it as part of file naming you will not get consistent naming. Given the same starting show whether you have TS mode enabled or not the file naming should come out the same as the metadata retrieval is the same regardless of that setting.
    It's been made abundantly clear that TS downloads and decryption have issues so you should stick to PS downloads only for now. In next version I plan to default back to PS downloads again given the feedback to date on TS downloads from Premiere units.
     
  8. Apr 22, 2010 #2248 of 10413
    VideoGrabber

    VideoGrabber New Member

    114
    0
    Sep 11, 2003
    Thanks. As indicated, it was the same show, same recording. However I went back and checked, and the difference was that the one's w/o the episode #'s had been MRV'd from the S3 to the S4. So you were correct that TS vs PS made no difference. However, it appears that some metadata may be "lost in translation".
     
  9. Apr 25, 2010 #2249 of 10413
    richklein

    richklein New Member

    98
    0
    Feb 9, 2001
    Is it possible to use KTTMG so that when it pushes files back to the tivo, that it puts those KTTMG edited files in a subfolder? I was thinking it would be nice if all transfers went to a folder for easy monitoring.


    I was also curious if its possible to edit the details of the metafile to put a description that the Tivo would read, aside from Title, Name, etc.

    Thanks I am really enjoying this big time!
     
  10. Apr 26, 2010 #2250 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    This Wiki page describes one pretty easy method to get a bunch of videos in same folder to group when pushing back to TiVo via pyTivo pushes.
     
  11. Apr 26, 2010 #2251 of 10413
    richklein

    richklein New Member

    98
    0
    Feb 9, 2001
    Thanks for getting back to me. I will play with the folder's shortly.

    I was getting an error regarding pushing files back to the Tivo. I am running Pytivo (which works) on the same machine as KMTTG. I am getting the following error (I also tried the IP for testing which also didnt work):

    Code:
    >> Pushing f:\Pytivo\Mickey Mouse Clubhouse - Super Goofs Super Puzzle (04_10_2010)_cut.mpg to Living Room
    http://localhost:9032/TiVoConnect?Command=Push&Container=I7920&File=/Mickey+Mouse+Clubhouse+-+Super+Goofs+Super+Puzzle+%2804_10_2010%29_cut.mpg&tsn=Living+Room
    Received unexpected response for: http://localhost:9032/TiVoConnect?Command=Push&Container=I7920&File=/Mickey+Mouse+Clubhouse+-+Super+Goofs+Super+Puzzle+%2804_10_2010%29_cut.mpg&tsn=Living+Room
    Internal Server Error
    
    I am really loving this program! BTW, whats the KM stand for in the KMTTG?

    Thanks,
    Rich

    PyTivo Conf:

    Code:
    [Server]
    port=9032
    ffmpeg=C:\Program Files\pyTivo\bin\ffmpeg.exe
    temp=C:\Users\Public\Documents\pyTivo
    tivo_username=removed
    tivo_password=removed
    
    [_tivo_HD]
    
    [_tivo_SD]
    
    [I7920]
    type=video
    path=F:\Pytivo
    
    [Admin]
    type=admin
    
    [loggers]
    keys=root
    
    [handlers]
    keys=console,rotfile
    
    [formatters]
    keys=basicform
    
    [logger_root]
    level=DEBUG
    handlers=console,rotfile
    
    [handler_console]
    class=StreamHandler
    formatter=basicform
    args=(sys.stdout,)
    
    [handler_rotfile]
    class=handlers.RotatingFileHandler
    formatter=basicform
    args=('C:\Users\Public\Documents\pyTivo\debug.log', 'a', 10485760, 5)
    
    [formatter_basicform]
    format=%(asctime)s %(levelname)-5s %(name)s: %(message)s
    
     
  12. Apr 26, 2010 #2252 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    richklein, are you running latest version of pyTivo? If not you should install wmcbrine latest version. You can get latest zip file from here.
     
  13. Apr 27, 2010 #2253 of 10413
    garrubal

    garrubal New Member

    67
    0
    Oct 16, 2008
    Just started using kmttg. Big :up:

    I'm interested mostly in file transfers, and this is faster than Tivo Desktop (obviously), and also tytool, which I was using until recently. Additionally, tytool required the use of s3tots to convert the .ty files to .ts files, so that added a few minutes to the process.

    I'll have to give the other features a try. Overall, it looks like a very professional job! Well done!
     
  14. Apr 27, 2010 #2254 of 10413
    richklein

    richklein New Member

    98
    0
    Feb 9, 2001
    Thanks, that did the trick & now I am in KMTTG heaven! Thanks so much!
     
  15. Apr 28, 2010 #2255 of 10413
    JohnL88

    JohnL88 New Member

    9
    0
    Oct 7, 2006
    I’ve been looking everywhere on the Tivo Community site and can’t find an answer. It looks like this is the right thread.

    I’ve been trying to download a 20GB HD Video off my Series3 box. It keeps stopping at about 5 ½ GB. I looked at the partially downloaded file, then looked on the video on the TIVO. At that point, there is a 2-second pixelation. I tried downloading using Tivo Desktop 2.8, it stopped at the same stop. Then I tried to download directly from the https web address. Same thing. Is there any way to get the entire 20GB video off the box and onto my PC? It is driving me crazy! Thanks in advance.
     
  16. Apr 28, 2010 #2256 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    If you have more than 1 HD TiVo box you can use MRV to transfer from glitch point to other TiVo and then transfer that partial to your PC, and then join the two together on your PC using mpeg editor. Another potential solution is if the glitched recording is schedule to air again sometime soon then just record it again and then you can transfer that one. Don't know of any other good workarounds.
     
  17. Apr 28, 2010 #2257 of 10413
    Stormspace

    Stormspace Electrocuted by TiVo

    5,171
    0
    Apr 13, 2004
    Hartsville, SC
    You sure it doesn't stop at 4gb? A fat32 formatted drive has a 4gb file size limit.
     
  18. Apr 28, 2010 #2258 of 10413
    Islanti

    Islanti Member

    94
    0
    Dec 13, 2001
    Georgetown, TX
    New to kmttg this week (despite living down the street from moyekj). I've been trying to read the thread for the past few weeks to avoid reporting duplicate issues. I believe the problems I'm seeing are known but I want to be sure.

    I'm trying to use it to transfer some 720p episodes (Chuggington for the curious) from my Tivo Premiere XL into iTunes for playback in HD on my AppleTVs. Ideally I want to commercial cut these episodes. I've got kmttg setup on my Mac Mini which hosts the iTunes library for the AppleTVs.

    I turned off TS and selected the hb_AppleTV profile in order to resolve some errors I had during my early attempts. Now I'm getting through kmttg OK but the output videos have several problems.
    1. In all videos I've converted (~12) the video stream dies about 10 minutes in. I assume this is the PS video stream truncation problem discussed previously? Everything after that point has audio but the screen remains black (including the controls oddly enough).
    2. When trying to sync to the AppleTVs they report the video cannot be played. The output file stats seem to be within the AppleTV specifications:
      960x544 resolution
      500-2000kbps bitrate
    3. The resulting file sizes seem awfully small. I'd expect a ~20 minute HD episode to be at least 500MiBy and these are coming out 100-300. Presumably because the video is truncated?
    Is there something obvious I'm doing wrong?
     
  19. Apr 28, 2010 #2259 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    Islanti, do the decrypted mpeg2 files (i.e. before encoding) play OK on your Mac? You can also examine the mpeg2 and encoded m4v files using mediainfo to determine if both audio & video times look correct.
    If the mpeg2 files look and play OK on your Mac then the issue is there are glitches in the mpeg2 recordings (pretty common for digital cable recordings) that need to be cleaned up before encoding to other format. The best tool for doing that is VideoRedo QuickStream Fix, but of course that's a Windows only tool... i.e. Ideally the flow needs to include VRD QS Fix step before you reach the encoding step.
     
  20. Apr 29, 2010 #2260 of 10413
    Islanti

    Islanti Member

    94
    0
    Dec 13, 2001
    Georgetown, TX
    I'll check out the video information. I hadn't done so previously because I was using the commercial cut feature so the times would be off anyway.

    Regardless mixing in Windows with the associated license costs and VM performance hit seems like a very poor option.

    For me a better workflow is using kmttg just to copy and decrypt then Toast to convert from MPEG-2 to h.264 for AppleTV. My test video encoded fine via Toast where Handbrake broke 12 for 12. Some more testing required to be sure but it seems functional so far.

    Of course the other benefit of Toast is the Elgato h.264 accelerator for faster encoding. That's very significant with the 2GHz Core 2 Duo I use to encode.

    I'd use Toast entirely but it has a limitation on the resolution of converted Tivo files.
     

Share This Page