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. May 10, 2009 #641 of 10413
    atlanta-mike

    atlanta-mike New Member

    3
    0
    May 9, 2009
    Of course you where correct, and I even remember reading that way back earlier in the thread. I guess I chose version 5.8xx thinking it would be easier and never thought about the Tk package again.

    Thanks for the help.


    Mike
     
  2. May 10, 2009 #642 of 10413
    Morlane

    Morlane New Member

    2
    0
    Jan 27, 2008
    Excellent! Thanks much.
     
  3. May 11, 2009 #643 of 10413
    tlc

    tlc Member

    710
    0
    May 29, 2002
    Could the kmttg design possibly support a web interface someday?
     
  4. May 11, 2009 #644 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    Not sure what you mean exactly, but it's already possible to run kmttg on WAN side and still get access to 1 tivo. That's what the "wan http port" setting is for in the config.
    (you need to port forward port 443=https to 443 of a tivo and some other port of your choosing to port 80 of the same tivo in your router setup)
     
  5. May 11, 2009 #645 of 10413
    fyodor

    fyodor Member

    523
    0
    Sep 19, 2006
    I think that he means the ability to run/control KMTTG from a machine other than the one on which it's running. So, someone has BIGFASTSERVER in garage/closet/office doing the extraction/transcoding, but is administering it from their laptop in the family room. I understand that this is probably too time consuming to implement, but it'd be a neat feature.

    F
     
  6. May 11, 2009 #646 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    Something like VNC is a better option for that kind of thing. You run VNC server on machine you want to control (Windows, Linux, whatever) and a VNC client on any other machine (Windows, Linux, whatever) and you can get control of the server from any client so that you can then interact with any program that runs on the server. I use that almost every day. It's very similar to Windows Terminal Services if you are still not clear what I'm talking about but with cross-platform support.
     
  7. May 11, 2009 #647 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Interesting idea. It might be quite easy on the Mac side, because Apache is built into every version of the OS, but on the Windows side I can't remember if a web server is built into every OS. (Client)

    On the other hand, I did write an application (on the Mac side) that allows me to monitor a "Status Log" via ssh, but it doesn't allow me to actually control KMTTG.
     
  8. May 11, 2009 #648 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    Still don't get what's being asked for that's not already possible. To recap what's already possible today is to run kmttg on a machine outside your LAN and still get access to Now Playing List of at least 1 Tivo on your LAN. With something like VNC it's already possible to take control of one machine from any other machine so you can run kmttg or any other application and display it back to wherever you are. I take advantage of those capabilities quite extensively already.
     
  9. May 12, 2009 #649 of 10413
    tlc

    tlc Member

    710
    0
    May 29, 2002
    fyodor essentiallly nailed it. My BIGSLOWSERVER server is a headless linux box. I don't run X or any GUIs there.

    Sometimes, such as now, I'm halfway around the world on a bad connection. I don't want to DL shows to my laptop, I want to DL them to my home server before they fall off the NPL. Even when I'm home, I'd prefer to DL shows directly to the server.

    In any case, I didn't mean to make it sound like a feature request. I was just asking if the kmttg design has a clean split between the core functionality and the GUI which might enable such a feature.

    For example, the bittorrent client "transmission" has a GUI form and also a daemon form with a web interface. Very useful for servers.
     
  10. May 12, 2009 #650 of 10413
    camnito

    camnito New Member

    20
    0
    Apr 1, 2009
    Hi,

    First of all, let me say, thank you, for the great work you've done creating and making KMTTG available.

    I was using KMTTG on my old P4 Win XP machine and had no issues, but I recently upgraded my PC and decided to try out Windows 7 x64 RC and have a couple of minor problems.

    For those who are trying to do the same, please note that I could not get Perl 5.10 x86 or x64 working properly in Win7 x64. I think the problem was with Tk, because once I installed Perl 5.8 x64, everything was fine. I haven't tried downloading a show from the TiVo yet, but I can download the listings, so communication is fine. I was also able to encode a previously downloaded HD show to mp4, so that functionality is working fine as well.

    So here is my problem: I tried to use Comskip and Comcut and about 45s to 1m into the Comskip, Windows 7 pops up and says that Mencoder/Mplayer has caused a problem and wants me to close it. Now if I just sit there and not acknowledge the pop-up, KMTTG shows Comskip cranking away, but obviously, as soon as I kill Mencoder, the Comskip process in KMTTG crashes.

    I tried looking for a different version of Mencoder (well, there's no x64, but I found some sites that had made some mods to it), but nothing worked.

    I would appreciate any insight you could provide.

    Cam
     
  11. May 12, 2009 #651 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    What he said...
    Plus, a way to remotely get status of what is currently being processed by the Auto Transfers.
     
  12. May 12, 2009 #652 of 10413
    fixxit

    fixxit New Member

    8
    0
    Dec 19, 2006
    USA
    Speaking of BIGSLOWSERVER I'm trying to get my kmttg instance to use a network share that requires a password to mount. kmttg 0.5n is running in a VMWare VM that I access via VNC or RDP and that works nicely. I want to keep the VM as small as possible so I'm trying to get kmttg to write to a network share that requires a password to mount.

    If I log into the VM as me the network share is mounted as V: and a manual crunch (my nickname for download, decrypt, comskip, reencode) works perfectly. But because the automatic download runs as a service (LocalService) it can't use the specified share and, unfortunately there's no open share to use instead.

    Is there a way to have kmttg run as a specific user rather than LocalService? I tried to change the user to my username but the run failed.

    Thanks!
     
  13. May 12, 2009 #653 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Can you not map the drive?
     
  14. May 12, 2009 #654 of 10413
    fixxit

    fixxit New Member

    8
    0
    Dec 19, 2006
    USA
    As I mentinoed it is already mapped as drive V:. But that only shows up if I'm logged in as me since mapping the drive requires a password. User LocalService can't map it. I could probably use tweakUI to give LocalService the password but I'd rather run the kmttg service as my user than spread my user's password around.

    Can a service use a mapped drive? If I create a user on the file server called LocalService and sync the password on the client and server will it use the network share?

    -Jason
     
  15. May 13, 2009 #655 of 10413
    mcharkowski

    mcharkowski Member

    48
    0
    Aug 11, 2004
    Epping, NH
    Moyekj,

    I finally got around to running the newer version of KMTTG and I'm glad to report that the addition of metadata via AtomicParsley works great!! That was a phenomenal upgrade for a lot of us. In addition to letting you know how well it works, I thought I'd also mention the one thing you could add to the current implementation (because I know you're always looking to add stuff, right?). The only piece of metadata that wasn't added was the TV show's season #. Tivo Desktop Plus does do it, so I figure that metadata must be in the file. So if you're ever bored and just itching for something to do, that's something that would be nice.

    Thanks again for adding that feature, I can't tell you how much easier it makes it for those of us that use iPods.
     
  16. May 13, 2009 #656 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    It's not clear from this description what the problem is. Comskip does not use mencoder at all, comcut is the step that uses mencoder unless you have VideoRedo path configured in which case it used VideoRedo instead to do the cuts. If either comskip or comcut step crash kmttg should be spitting out an error message of some sort so can you determine which step is crashing?
     
  17. May 14, 2009 #657 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    What happens when you put these in "Stored User Names and Passwords"?
    What happens if the password for LocalService is the same as yours?
    Can you run the service as your user account?
     
  18. May 14, 2009 #658 of 10413
    camnito

    camnito New Member

    20
    0
    Apr 1, 2009
    Sorry, you are correct. I am not using VideoRedo and it is "comcut" that is crashing. The log says that comskip doesn't run and goes directly to comcut. The error appears after Windows kills mencoder.exe and it is a mile long but it starts with this:

    *ERROR* comcut failed (exit code: 5) - check above C:\MeTiVo\kmttg\mencoder\mencoder.exe command
    Limiting audio preload to 0.4s.
    Increasing audio density to 4.
    [mpeg @ 0x3647b80]invalid dts/pts combination

    1 duplicate frame(s)!

    and it ends with:

    [mpeg @ 0x3647b80]Invalid timestamps stream=0, pts=137459232, dts=137459233, size=17651

    1 duplicate frame(s)!
    Couldn't realloc frame buffer(idx), abort


    PARSE_MPEG12: add_frames(67947) failed, exit



    I have tried running it on two different shows with the same results.

    Thanks,

    Cam
     
  19. May 14, 2009 #659 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    OK that's clearer now. kmttg is likely skipping comskip step because the .edl file from comskip is already in place. The problem is that mencoder doesn't like the video file to be cut. That's not very uncommon for recordings originating from cable companies. You will need to run an mpeg GOP fixer on those mpeg files to fix those errors mencoder is reporting. VideoRedo is the best utility out there I know of - run QuickStream Fix to fix those kinds of errors. There may be others but I haven't heard conclusive evidence of a good free utility to do it. Using VideoRedo this kind of issue won't happen as you can setup kmttg to 1st run QSFix before cutting/encoding the file. Even if mencoder were able to process these files it's likely you'd end up with audio/video sync issues which is unlikely to happen using VRD. There is a free trial version of VRD that you can try out to see if it indeed fixes these issues and is worth the investment.
     
  20. May 14, 2009 #660 of 10413
    camnito

    camnito New Member

    20
    0
    Apr 1, 2009
    You're great. Thanks for taking the time and helping me with this issue. I'll give VideoRedo ago and hopefully that'll take care of it.

    Cam
     

Share This Page