VideoReDo-Autoprocessor Program

dlflannery

Moderator
WHAT IS IT?
A free utility program for users of VideoReDo TVSuite5. A separate version VAP6 exists to use with
TVSuite 6 --- link in signature. VAP detects video files
being transferred into a designated monitor folder,and, when transfer completes, it automatically
and silently runs VideoReDo processes on the files as configured by the operator in the program
GUI. QuickStream Fix (QSF) and/or Ad Detective scans ("Ad Scans") may be run. Optionally,
input files are moved automatically to specified folders after processing is completed, or deleted.
Output file types defined by any existing TVS5 Output Profile are supported, including transcoding
to H.264 encodings. ALL configuration is via the GUI - NO MANUALLY
PREPARED CONFIGURATION FILES ARE REQUIRED!
You can also select a video file and click a button to launch the "normal" (interactive GUI) version
of VideoReDo (Plus or TV Suite) with the file loaded. This allows you to set Ad Detective
parameters or just to preview the video (or anything else VRD can do).
VAP will run a batch file of your creation after processing each video file.
You can configure to produce a project (.vprj) file with automatic (Ad Detective or ComSkip) cuts
as your output file. VAP remembers this and displays a status of "AWAITING CUTS" for this
video. Then if you later review this project in VideoReDo and save it with your modified cuts,
VAP will automatically call VRD to produce the final edited output video with YOUR cuts. For
videos that are awaiting cuts the "Run VideoReDo" button will load the project file, ready for you
to review and modify the cuts.
You have the option of using ComSkip for commercial detection instead of the VideoReDo Ad
Detective.
Metadata is read from input files (when possible) and inserted into output files (when possible).
Read the VAP-ReadMe.pdf document for more details

2769

VAP Ver. 1.43 is available, with:

Output VideoReDo project files​
Wild card filtering to select files to be processed.​
Automatic processing retry when a file stalls VRD.​
Thumbnail images can be embedded in .mp4 and .m4v outputs.​
Output file organization in subfolders based on metadata template for TV series shows.​
GUI management of all optional configuration files.​
meta-data-based output file renaming using user defined template.​
Output Profile and process flow selection based on input file name match strings and/or video width & height (TVS4 only)​
metadata support including theTVDB and TMDb searches and input file name parsing.​
automatic QSF filter dimensions​
multiple simultaneously running configuration capability​
Automatic Drax chapter file generation​
Support for post-process HandBrake encoding and metadata insertion.​
Support for customized comskip options and ini files.​
Optional Pushover notifications​
Optionally outputs CSV-formatted metadata files for TV show episodes​
Download setupVAP143.exe installer **here** and/or view VAP-ReadMe.pdf documentation **here**. See changelog in VAP-ReadMe.pdf and recent posts in the VAP sub-forum for latest changes.
 
Last edited:

phd

Super Moderator
Will it also monitor for DVDs inserted into a drive?

Home recorded DVDs including DVD+RW and DVD-RAM as well?
 

dlflannery

Moderator
I'm working on a new program that will be similar to TVAP (link in signature) but will monitor a "hot" folder and auto-process input files having any file extension that VideoReDo can take as input.

The program should be ready for test in a few days but I will need some volunteer testers because my only source of input files is TiVo transfers, so I can't test the program with other source types. Testing needs to be done on a computer with the actual source mechanism in place, rather than just sending me files, in order to test proper hot folder monitoring (e.g., that the program doesn't start processing partial files while they are still transferring or being copied in.)

Anyone willing to help with this testing please let me know.
Bump.....

No interest? I thought some folks might want this but .....
 

phd

Super Moderator
I'm surprised other users haven't chimed in since they have asked for these kinds of features in VRD and have also asked how to accomplish it with scripting.
 
will monitor a "hot" folder and auto-process input files having any file extension that VideoReDo can take as input.
Hi dlflannery, how will your application determine when the file in the ''hot folder'' is ready? For example, when a recording starts your app will ''see'' a new file but you do not want to touch it until it is done.

Mike
 

dlflannery

Moderator
Hi dlflannery, how will your application determine when the file in the ''hot folder'' is ready? For example, when a recording starts your app will ''see'' a new file but you do not want to touch it until it is done.

Mike
The basic method is to watch file size over periods of a few seconds and make sure it isn't growing anymore. This works well in TVAP for TiVo files being transferred by either TiVo Desktop or TiVoPlaylist. If the source can have transfer pauses of more than a few seconds then you have to increase the time interval to something longer than the longest possible pause. This is an example of the kind of issue to be investigated by testers. It may be necessary to make this time interval user-configurable.

Windows file copies are different. The reported destination file size jumps to the total file size immediately even before the copy is completed. That has been handled in TVAP also.

Progress report: VAP (VideoReDo-AutoProcessor) is breathing and will probably be ready for other users to test in a day or two. If anyone has particular input file extensions they are interested in monitoring, please post. I have .mp4, .mpg, .mpeg, .ts, .rec, .m2ts and .dvr-ms but I may have missed one.
 
Ok I read your signature. Is this app about Tivo or copying files? My initial impression, when I saw this thread, was about processing a video file--specifically after it is done recording. Hence my question about the ''hot folder''. Unless I missed something.

Mike
 

dlflannery

Moderator
Ok I read your signature. Is this app about Tivo or copying files? My initial impression, when I saw this thread, was about processing a video file--specifically after it is done recording. Hence my question about the ''hot folder''. Unless I missed something.

Mike
TVAP and soon-to-be VAP are both about monitoring hot folders where some other process is dumping files and then automating VRD processsing of those files. TVAP monitors TiVo files only. VAP will monitor for any file type that VRD can take as input (except DVD folders).
 

dlflannery

Moderator
COM problems on Windows 7 64bit

I've been doing my TVAP and VAP development on a Win XP Pro SP3 computer but just got a new Win7 Pro 64bit computer.

I've installed TVS4-595 on both computers.

When I try to run a .vbs script in a command window using the VideoReDoSilent object on the Win7 computer I get this error:

Wscript.CreateObject: Could not locate automation class named "VideoReDo.VideoReDoSilent".

This exact code works fine on my XP computer. I launch the VBS with:

cscript profiles.vbs

The vbs code is:


Code:
Set xmlDoc = CreateObject("Microsoft.XMLDOM")
xmlDoc.async = False
Set VideoReDoSilent = WScript.CreateObject( "VideoReDo.VideoReDoSilent" )
set VideoReDo = VideoReDoSilent.VRDInterface

count = VideoReDo.GetProfilesCount()

rem WScript.echo( "Profile count: " & count  )
For i = 1 to count
    profileName = VideoReDo.GetProfileName( i )
	
	enabled = "Enabled"
	if not VideoReDo.IsProfileEnabled( i ) then enabled = "Disabled"
	
	' Retreive and parse the XML to retreive the output video codec.
	profileXML = VideoReDo.GetProfileXML( i )
	xmlDoc.loadXML( profileXML )
	set root = xmlDoc.documentElement
    set fileTypeNodes = root.getElementsByTagName( "FileType" )
	fileType = fileTypeNodes(0).firstChild.nodeValue
	
    wscript.stdout.writeline("profile::" & profileName & "::" & enabled & "::" & fileType )
next
VideoReDo.Close()
Wscript.quit 0
This code is to get info on TVS4 profiles and as you can see it started with some sample code posted here recently. The code in in use in TVAP and runs fine, including on Win7 machines -- when launched from the program. However, when I install VAP on my Win7 machine it crashes at start up and I'm pretty sure it's because this VBS is one of the first things it launches.

I haven't actually used TVS4 to do anything on my new Win7 machine, nor have I added any custom profiles. Could this be the cause? I mean, just installing TVS4 isn't enough for the COM functions to work?
 

phd

Super Moderator
I would suggest adding .VRO to the file list also.

This would be useful for DVD-RAM discs which are not parsed normally like standard DVDs.
 

dlflannery

Moderator
Got past the VBScript problems

I guess I was experiencing typical Win 7 newbie problems. I did the registry delete fix that PhD posted several months ago and, making sure everything is setup to run as administrator, both VAP and TVAP (and the VBScripts) run fine now. One concept the newbie has to learn is running a command window as administrator.

VAP is ready for testing now, as soon as I gen up some instructions and a "deployment" package (probably just a zip file initially, since a VAP installation amounts to just placing files).
 

dlflannery

Moderator
VAP Ver. 0.30 (New program to test)

See the first post in this thread for the general intent of the program.

Download VAP030.zip and/or view the "documentation" (VAPreadMe.pdf) at the same download site used for TVAP:

ftp://upload:upload@videoredo.net/VRD Add-Ons/TiVo-VideoReDo-AutoProcessor/

To install just unpack the entire contents of the zip to any folder. If you create a shortcut to VideoReDoAutoprocessor.exe, you can get a VAP icon from the same folder: VAPicon.bmp.

When you report problems (and I know you will!) please give details on your setup and the video source and type of video, as well as the settings you were using. An excerpt cut from the log file may be helpful too.

Previous TVAP users will feel at home, but the way folders are used has changed considerably. Be sure to read the "Process Flow and Folders" section of the doc.

There are tooltips for most items in the GUI.
 

tannebil

New member
I'm interested but I've been on vacation so I have not been following the forum.

I've been told that you have to do an initial "run as administrator" on VRD to create the COM objects. You only have to do it again if you reinstall or upgrade VRD. I've been using another add-on with BeyondTV that calls VRD and it gives a similar error message until this is done.

BeyondTV implements "pooled" video folders so that recordings are spread out across multiple drives. It's nothing fancy, it just picks the drive with the most free space before it starts recording. VAP would be more useful if it could monitor multiple folders so that it can be integrated directly into BTV.
 

dlflannery

Moderator
I'm interested but I've been on vacation so I have not been following the forum.

I've been told that you have to do an initial "run as administrator" on VRD to create the COM objects. You only have to do it again if you reinstall or upgrade VRD. I've been using another add-on with BeyondTV that calls VRD and it gives a similar error message until this is done.

BeyondTV implements "pooled" video folders so that recordings are spread out across multiple drives. It's nothing fancy, it just picks the drive with the most free space before it starts recording. VAP would be more useful if it could monitor multiple folders so that it can be integrated directly into BTV.
Does the BTV user specify the "pooled" folders?
 

tannebil

New member
Yes. It's a manually configured option. There's a default destination folder (which can be the pool) that can be overridden on an individual recording or series basis.
 
Last edited:

dlflannery

Moderator
Yes. It's a manually configured option. There's a default destination folder (which can be the pool) that can be overridden on an individual recording or series basis.
What I'm asking is: What determines what folders are in the "pool" ? Is that done automagically or does the user have to designate them? If it's automagic, does the BTV documentation give any description of how?
 

tannebil

New member
The user creates the pool by manually specifying in BTV which folders should be in it. I'm sure there's a way to get a list of the folders using a BTV API but I don't know anything about the API's. I'd be perfectly happy with a more general solution where VAP can monitor multiple folders.

One slight complication is that in post processing I'll need to know which folder contains the source file so that I can export the metadata. In theory, I'd need the extension as well since BTV records mpg files from analog sources and .ts files from digital sources.
 
Top Bottom