VideoReDo-Autoprocessor Program

dlflannery

Moderator
OK, I've now run the process against 100+ files and it's working pretty well. Maybe 15-20% of the files have some kind of a problem with commercial detection where an autocut file would have been missing part of the program so chaptering is definitely a better approach for me.

I continue to have the same two intermittent issues. The first is where VRD throws an error about being unable to open the input file for the Ad-Detective step. VAP/VRD continues properly after clicking the error message so it's not a big deal unless I don't login for a few days and processing gets backed-up The second issue is where VRD doesn't release the output file before running Drax so Drax throws and error. The fastest way for me to fix the problem is kill the VRD process if it's still running, delete the mp4 output file, and re-run the process in VAP.

I see one issue or the other every few days so that's about 10% of the files.

Both these problems feel like VRD problems rather than VAP problems. VAP 0.67 has been stable and I've seen no issues with it.
It isn't clear to me whether you're saying that skipping the SetEditMode step has been a definite improvement. Has it?

What version of VRD are you running? One has to wonder whether some of this behavior will change from version to version.

Regarding Drax failing because "VRD doesn't release the output file", I'm puzzled. What file are you calling the "output" file? The .drx file is a file created by VAP and any failure to release it would not be a VRD problem. What information do you get from the Drax run to indicate what the problem is? I always suspect the OS in file-release problems. You could try a 5 or 10 second delay in the script running Drax, just to allow the OS time to release the file.

Regarding failure to open the input file for the Ad Detective run, do I remember correctly that in this case the VRD process task is still running per Task Manager? It is possible for VAP to detect stalls and kill processes. Code to do this for HandBrake postprocess runs is still in VAP, carried over from TVAP, because at one time long ago I had a problem of HB stalling.
 
Last edited:

tannebil

New member
I was running 612 for most of the last month. I upgraded to 614 when I returned on Saturday. I can't see any difference.

I'm not sure 100% sure about the effect of disabling SetEditMode but don't think it made any difference.

I'll check what happens if I kill the VRD process rather than acknowledging the error message when the file open fails.

The chaptering problem happens in VAPpostprocess. The first step in my command file is to wait for two minutes. Then it renames the output file from an mp4 extension to an m4v extension. That step fails because the output file is still open. I'm assuming that's because VRD failed to close it. I'll check it more closely next time it happens but it's a relatively infrequent problem so it may take a week or so.
 

dlflannery

Moderator
For the postProcess/name-change problem, it would be interesting to know if a VRD process is showing in Task Manager when this occurs. Also, can't you configure VAP to output .m4v so you don't need the name change?

I find it "interesting" that these file-access glitches occur mostly with Win7. On my Win7 x64 machine, if VAP outputs a .wtv or .dvr-ms file and writes metadata to it, the file is unavailable for access to play in WMP, and the metadata doesn't show in explorer, for a period of a minute or more -- unless VAP goes on to process another input file, or is shut down. Weird!
 
Last edited:

tannebil

New member
m4v isn't one of the output options in the VRD profiles so that's not an option. Nor is keeping mp4 because chaptering doesn't work right in my Apple environment unless the extension is m4v. It seems like it would be easy for VRD to add m4v but they have not done it. I asked about it in the main forum but, in the absence of chaptering support in VRD, the idea didn't attract much interest. Since a rename solves the problem, I didn't give it much energy.

MS made some changes in the file system in Windows 7 which causes some funkiness. Explorer sometimes takes 30 seconds or so to open even a relatively small directory and I've noticed with WMC that deleted files sometime take some time to disappear from the file system. That said, I'm pretty sure in this case that the problem is with VRD not exiting but I'll double check next time.
 

msmart

New member
setting .m4v as the profile output extension in the VAP UI, or in a profile match string config item?
ding,ding, ding. This is exactly how I do it on both accounts. VAP UI and profile match string.
 

msmart

New member
However, it would be nice if VAP started up with the same extension that was last used instead of defaulting to .mp4. I have VAP start up automatically after rebooting via a Startup shortcut. I have to stop processing, change the extension then start processing again. I may have asked this before but don't recall (and don't want to search.... just being lazy).
 

dlflannery

Moderator
What I am doing, that works pretty well. Using kmttg to download and decrypt. It can do this automatically via a service. It will also automate comskip and QSFix. It can also "push" them back to the tivo if you like.
Check out...
http://code.google.com/p/kmttg/
I believe most readers here already know about kmttg. It is an excellent program but only works on TiVo files. (VAP works on any video type that VRD can process.)
 

dlflannery

Moderator
New issues with TVS4 builds 618 and 619

I started a new thread on these problems **here**.

I'm working on them and seem to have a fix that works on the QSF process. Now need to look at the other processes/scripts.

Meanwhile you might want to periodically check your Task Manager Process List and "end" any rogue or dead videoredo processes.
 

Bill Aggie

New member
Really great program

This program is very well made and I'm glad I found it.
I won't really use the VideoRedo Program except for this add-on.

Thanks for the effort!

I do have a couple questions that I have not found answers to and hopefully someone might be able to answer:


Is there a recommended way to automatically load with processing turned on when the system is booted? I know I can automatically load by putting VAP into the start menu but then you still have to manually start processing.

Since the only reason to buy Videoredo for me is to use VAP to automatically remove commercials from my scheduled recorded TV folder, what is the cheapest option for buying the VideoRedo? I'm unclear if the lower cost packages will work ok.

Thanks!!!!!!

BIll
 
Last edited:

dlflannery

Moderator
This program is very well made and I'm glad I found it.
I won't really use the VideoRedo Program except for this add-on.

Thanks for the effort!

I do have a couple questions that I have not found answers to and hopefully someone might be able to answer:


Is there a recommended way to automatically load with processing turned on when the system is booted? I know I can automatically load by putting VAP into the start menu but then you still have to manually start processing.

Since the only reason to buy Videoredo for me is to use VAP to automatically remove commercials from my scheduled recorded TV folder, what is the cheapest option for buying the VideoRedo? I'm unclear if the lower cost packages will work ok.

Thanks!!!!!!

BIll
Look at item 18 in the "Things to Know" section of VAP-readme.pdf, on Command-Line arguments:
-hotStart If present, VAP starts processing on startup without clicking the Start Processing
button, and minimizes itself (after the usual delay to check for new transferred files).

-shutdown:## where ## is the minutes after startup when VAP will automatically shutdown --
but only after completing whatever video it was processing when the shutdown time was reached.
This feature is only active if the -hotstart CL argument is used. This allows VAP to be started by the
Windows scheduler, run for (at least) the specified time then shut down. Note: no spaces allowed
anywhere in this argument.
Using Windows scheduler to run VAP on Win7 can be very tricky, but it can be done. Using the start menu is much simpler. Go ahead and try something and if you have questions just ask.

See the chart on **this webpage**. If you want to process H.264 or WTV files you must get TVSuite H.264 ($96). If you want to make DVD's you must get TVSuite 3 ($75). If you don't need any of these capabilities, VRD Plus ($50) will do. VAP will work with any of them. (But VAP does not automate making DVD's.)
 

Bill Aggie

New member
dlflannery,

Maybe you can offer me some advice with a problem Im having. It's not your app, I keep running into it. I've tried several auto zap commercial programs using ShowAnalyzer and Comskip. I often end up with shows that have most of the commercials in them still. When I run the comskip or showanalyzer to see what it finds, it usually finds all or most commercials. so in my system configuration .. for some reason when running automatically this removal fails. It's happening in VideoRedo with your app, it happens in MCEBUDDY and all the others I've tried. I'm at a loss where to solve this. ANy gut feeling what I should look for? It even happens when using VideoRedo's zapper. But never when run in videoredo, only when done automatically.

Will you ever support Showanalyzer?
 

dlflannery

Moderator
I would need a more specific understanding of the problem you're having. Let's stick to territory I know, i.e., VAP, VideoReDo AdDetective (AdScan) and ComSkip, although if the problem can be demonstrated without using ComSkip that would be preferable. What is your system? What version of VRD? Give a specific example of type of input file and how you set up VAP to process it, for a case where the problem occurs. I assume you know that just detecting scene markers is not the same as cutting commercials. If you bring up a .vprj file (created by either VRD or ComSkip) in VRD and see red lines (scene markers), nothing has actually been cut until you see solid red regions between scene markers.

Regarding ShowAnalyzer, this topic has come up before. Just do a search of this thread on "ShowAnalyzer" to get the history. There is a free proxy program for ShowAnalyzer, **here**. It has the same name as the comskip program (comskip.exe). Supposedly if you install ShowAnalyzer and then place this proxy program to replace the "real" comskip.exe installed with VAP, it should now run ShowAnayzer instead of ComSkip. However, as you will see by your search, the limited testing done with this didn't seem to work. There could be various issues involved in this, starting with which files from the ShowAnalyzer installation need to be located where relative to the proxy location. You could experiment with this if you own a copy of ShowAnalyzer (I don't).
 

BusterB55

New member
I would need a more specific understanding of the problem you're having.
Hmmm. I wonder if what Bill's seeing is similar to what I was seeing. I was running TVSv4 v629 (yeah, I know....) with paid early-access version of Comskip (81_043). Everything seemed to work fine, but the resulting mp4 file was only ~10 minutes long, and corrupted in that there was video, but the muxing seemed to be way off: commercials showing, big chunks of the show missing. (This happened twice in a row with the same file). So to verify it wasn't comskip I manually ran comskip w/the same comskip.ini, then I ran VRD TVS4 manually with the vprj comskip created and put it through the QSF profile and it worked. (I get a commercial-free 42 minute show.) Running the same .wtv through VAP again with the same settings as before gave me the 10-minute version.

So the sequencing seemed to work; the muxing/QSF seemed to fail.

Next I upgraded to TVS v641 beta, and ran the script again (after re-starting VAP) but now I get a popup consistently that VRD TVS4 has crashed (it seems to be during the QSF profile part). Since I upgraded TVS4 from 629->641, I figured I'd re-run comskip again manually and then test the QSF profile with the vprj through TVS4 manually. Well, that worked. So again, it seems to be the 2nd QSF call that's causing the problem. (By the 2nd call, I mean the conversion to mp4; the first call of QSF to MPEG-2 PS seems to work ok, but is a redundant step for what I'm trying to do, which is monitor my Windows Media Centre WTV H.264 recordings output file directory, rename the file based on TVDM metadata, run a TVS4 profile to convert the file to MP4 so it can play on my iPod touch, and move it to my NAS. I know the MPEG-2 PS call is for supporting older versions, but isn't required in my case, and I'm suspicious that "double conversion" is what's causing trouble.

I'm thinking if VAP can do the monitoring of the directory, run comskip, rename based on the Metadata, then convert the file -- I'd be pretty happy. If it did this as a <service>, I'd be ECSTATIC! :D As a work-around, I'm thinking I could probably skip the initial QSF call (convert to MPEG2-PS) and process the VPRJ itself by calling a batch file afterward, similar to:

"C:\Windows\System32\cscript.exe" -d //nologo "C:\Program Files (x86)\VideoReDoTVSuite4\vp.vbs" "%~2.prj" "%~3\%~1.mp4" /p:mp4 /d /q

Would that work? (Help with the actual syntax would be greatly appreciated).
 

dlflannery

Moderator
Sorry but I'm a long way from understanding what you're doing or trying to do here. Please look at this sticky post: http://www.videoredo.net/msgBoard/showthread.php?t=29956
and supply every piece of info described there unless you are absolutely sure it does not apply to your situation.

Also, it appears you are augmenting the process flow beyond what VAP does. Is so please give a detailed listing of your process flow steps before and/or after running VAP.

Put yourself in my place. I need enough info to duplicate what you are doing.

Also I note there are some problems with batch operations (which are basically what VAP does) with build 641. Don't know if they could be involved here but you might want to review the thread discussing them:
http://www.videoredo.net/msgBoard/showthread.php?t=30088
 
Last edited:
Top Bottom