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. Sep 10, 2013 #5701 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    I thought you were using the "Use VideoRedo GUI to review detected commercials" option. For that one kmttg brings up VideoRedo editing a project (.Vprj) file and you are expected to review/change cut points and then save to same .Vprj file and then exit VideoRedo.

    For the "Bring up VideoRedo GUI to make manual cuts" option then yes you should to a video file with naming convention given in the Wiki and when that completes you need to exit VideoRedo.

    For eiither one of the above tasks kmttg will wait for you to close VideoRedo before proceeding with subsequent tasks.
     
  2. Sep 10, 2013 #5702 of 10412
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Sorry, I didn't realize there was a difference. I thought manual meant manually setting the cuts.

    Anyway, I saved it as a project and got this error? Looks like it was expecting a specific output file in a certain place. I guess I need to figure out how to set that as part of the project??? I just selected the cuts then hit save project?

    Also, how can I pick back up at this point without having to re download the file from the Tivo and starting from scratch? I think that's why I quit trying to figure this out, it takes so long to get back to the point of failure when you have to start from scratch.
     
  3. Sep 10, 2013 #5703 of 10412
    ALbino

    ALbino Lurker Series 2

    109
    0
    Jun 24, 2002
    If anybody has any advice on encoding profiles I'd appreciate it. My goal is a high bitrate 1080 MP4/MPEG2/MKV that has been inverse telecined down from 29.97 to 23.976 that I can post process later (crop any black bars, select specific scenes, color correct, etc).

    I tried using hb_tivo_hd_crf which has this command line:

    Code:
    HANDBRAKE -i INPUT --detelecine --decomb --vfr --large-file -e x264 -f mp4 -O -q 21.0 -a 1 -E ac3 -x keyint=48:min-keyint=4 --denoise="weak" -v -o OUTPUT
    However the file that was outputted is variable frame rate, and completely unusable for post-processing. Here's the relevant portion from Media Info:

    Code:
    Frame rate mode: Variable
    Frame rate: 24.244 fps
    Minimum frame rate: 14.983 fps
    Maximum frame rate: 29.970 fps
    Any suggestions on other encoding profiles to try? Or on creating my own? I'd be grateful for any help. Thanks.
     
  4. Sep 10, 2013 #5704 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    OK I see there still is confusion:
    For the "Bring up VideoRedo GUI to make manual cuts" option it's up to you to create the _cut.mpg file using VideoRedo, so for that one you DO NOT save the project, you save the video output file just as the error message pointed out, it's looking for either:
    E:\From Tivo\edited_000 (02).mpg
    OR
    E:\From Tivo\edited_000_cut.mpg

    To start from an already downloaded file you use the FILES tab in kmttg. Click on Add button and browse to the file you want to start from.
     
  5. Sep 10, 2013 #5705 of 10412
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...

    Cool, gotcha and that worked fine. But it appears I'm doing this the hard way, can I make manual cuts using the GUI and still use the project method? I assume for starters I uncheck "Bring up VideoRedo GUI to make manual cuts". Is that all I need to do?
     
  6. Sep 10, 2013 #5706 of 10412
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,724
    8
    Apr 6, 2000
    SF Bay Area
    Yes, you can manually make your cuts, with or without the points made in ADDetect, save Project and let ADCut do it.
     
  7. Sep 10, 2013 #5707 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    If you want things semi-automated where commercials are detected but you want to review them with VideoRedo before letting kmttg proceed with subsequent tasks:

    In kmttg VideoRedo tab:
    Turn off "Bring up VideoRedo GUI to make manual cuts"
    Turn on "Use VideoRedo GUI to review detected commercials"

    Then for kmttg task set you would have both "Ad Detect" and "Ad Cut" turned on. Following the "Ad Detect" stage kmttg will start VideoRedo with a .Vprj file that you can review/edit. Then save project and exit VideoRedo and kmttg will then proceed to run VRD in the background for the "Ad Cut" step using the saved .Vprj file as input.
     
  8. Sep 10, 2013 #5708 of 10412
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Wow, this is great. i guess I should have asked sooner instead of living with the "comskip" jobs. I appreciate the program but it's accuracy varied greatly depending on the show.

    Last question, anyway to make it process all other steps and stack up the encoding jobs. I have 3 more shows that are downloaded but QSFix and Adcut don't seem to run until one of the shows that are encoding finishes. Then it runs QSFix and adcut on the next.

    I would like to get all the editing out of the way and let the encode run at it's own pace. That can take all night if it has to since it doesn't require human intervention. As it stands I'm stuck at the PC watching the encode bar so I can do the edits to the next show.
     
  9. Sep 10, 2013 #5709 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    That's because especially older versions of VRD can only have 1 background instance at a time. However if you choose the "Allow multiple VideoRedo jobs at once" option then that's the workaround, but you will get actual VideoRedo windows popping up when running VRD tasks instead of running transparently in the background.

    P.S. You should just mouse over each VideoRedo option in kmttg and read the tooltips as there's good information there on what options mean as well as what else you need to consider when using them.
     
  10. Sep 11, 2013 #5710 of 10412
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    That box was already checked??? Maybe I have an old version or something. I will update when my encodes finish. Running a version you made for my cookie problem kmttg_v1p0c_beta2

    I read them but one of my downsides is I'm a visual person. Unless I can make a visual image then written descriptions don't always speak to me. This is the cross I've had to bear...
     
  11. Sep 11, 2013 #5711 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    As the tooltip says the "active job limit" setting under Program Options can also limit # of jobs that can run at a time so maybe that's affecting things too.
     
  12. Sep 11, 2013 #5712 of 10412
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    This is now happenning about 1 in 3 videos. I've tried reinstalling VRD.
    Anyone else seeing this? Is there a solution?

    I've noticed that the output is almost always finished and the resulting file is playable, so just need something to kick VRD out so the next item can process.
     
  13. Sep 11, 2013 #5713 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Perhaps toggle the "Allow multiple VideoRedo jobs at once" setting in kmttg to see if that makes any difference?
     
  14. Sep 11, 2013 #5714 of 10412
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    I've tried that. It works, kind of. There is also a toggle for max number of jobs. If a VRD hangs, it DOES start a second or third, etc up to the max jobs to run

    But, as an example, If I have 10 jobs to run overnight, if I set max jobs to 3, if 3 VRD hang, it will still stop (I think downloads still run, but can't be sure).
     
  15. Sep 11, 2013 #5715 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Have you tried bringing up VRD manually to encode one of these shows that hangs via kmttg launch? If it still happens there then I would report it as a bug to VRD, though technically what it's doing already sounds like a bug. (If you don't already make sure you are running QS Fix before encode step).
    Other option of course is to use a non-VRD encoding profile for the "encode" step.
     
  16. Sep 11, 2013 #5716 of 10412
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    Actually, now that you mention it, it started happening when I turned ON QS-FIX as place of decode. I used to do download and decode and then use VRD to cvt the files. I switched it to Download/QS-FIX/CVT with vrd or ffmpeg and the hangs occur, which makes no sense.

    I looked and also noticed this:
    Code:
    vrdencode failed (exit code: 0 ) - check command: C:\Windows\system32\cscript.exe //nologo "W:\machines\SVRW2K8R2-ENT\kmttg v1p0eB1\VRDscripts\encode.vbs" "E:\KMTTG Data\Thriller.The Watcher.14110.Sep11-0300.mpg" "W:\video\TIVO_Underground\Newdownloads\Thriller.The Watcher.14110.Sep11-0300.mp4" /l:C:\Users\philhu\AppData\Local\Temp\2\VRDLock3131750959105859087.tmp "/p:MP4 470x352 1.5Kbps SD-FR (SD)" /m 
    W:\machines\SVRW2K8R2-ENT\kmttg v1p0eB1\VRDscripts\encode.vbs(47, 1) (null): The remote procedure call failed. 
    
    On my system, this has always meant that kmttg is running out of memory. If I kill kmttg and restart it, this goes away for a few days.
     
  17. Sep 11, 2013 #5717 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    I guess I'm still not following. Sounds like you're saying kmttg is hanging, not VRD (since you say if you encode with ffmpeg instead the encode task doesn't exit properly)?
     
  18. Sep 11, 2013 #5718 of 10412
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    No, I mistyped.

    I switched to QSFIX because I was testing ffmpeg (audio/video sync problems a few weeks ago).

    I since went back to VRD but left the qsfix as a seperate step. Thats when the transcode started to hang, if I ran QSFIX as a seperate step. So I know it is a problem in VRD and just reported it

    As I am now typing, I just realized I also UPDATED VRD about the time this started happenning. VRD had a new version, I installed.

    Hmmmmm
    My money is on the new version having a problem, although I have seen this very rarely quite a while ago.
     
  19. Sep 11, 2013 #5719 of 10412
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    I'm getting the hang now, I had cut that down to 2 because it would try and encode 3 or 4 shows at the same time. ow I realize "Encode Cores" means simultaneous encodes and not how many cores my processor has.
     
  20. Sep 11, 2013 #5720 of 10412
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...

    I guess I got that wrong, is there a way to limit simultaneous encodes to say 2? Then I think the shows will stack up waiting to be encoded while allowing me to edit and place them in the encode queue. As it stands, upping the "active job limit" seems to up the number of simultaneous encodes and the editing stops once that's reached.
     

Share This Page