VAP6 - TVSuite 6 Auto-Processor Program

wpjonesnh

New member
Think I found the problem. Please get this zip file
https://vap.videoredo.net/VAP6b3testExe.zip

and replace the VideoReDoAutoProcessor6.exe file in your VAP6 runtime folder with the version unpacked from the zip. The zip also includes a cleaned up version of "VAP6profiles.xml" that could (optionally) replace the one in the Profiles subfolder of the runtime folder, although AFAIK the original version is not causing problems. I recommend copying off the file(s) being replaced then deleting them, before copying the new replacements from the zip into the proper location.

Before, and then after, doing this replacement do this test:
Edit the VideoFileManager.xml file in your VAP6 data folder and delete the line starting with "<AdScanProfile>", which is roughly line 16. Then start up VAP6 and without touching the AdScan profile selector (which should say "*Default") run an AdScan process. With the old exe this should induce the failure. With the test replacement exe it should run OK.
Good Day......
Been off the grid for a little while and I am now in the process of upgrading to version 6. I am running into this particular problem but it appears the link to the zip file is no longer valid? Is there an alternative link available?

Regards.......
 

dlflannery

Administrator
Good Day......
Been off the grid for a little while and I am now in the process of upgrading to version 6. I am running into this particular problem but it appears the link to the zip file is no longer valid? Is there an alternative link available?

Regards.......
Uninstall your current VAP6 version and install the latest version using the link in the first post of this thread.
 

wpjonesnh

New member
Uninstall your current VAP6 version and install the latest version using the link in the first post of this thread.
I need to take a closer look at my setup. I did as you requested and I am still getting the same error message. Will report back either way after I can take a look at it.
 

dlflannery

Administrator
I need to take a closer look at my setup. I did as you requested and I am still getting the same error message. Will report back either way after I can take a look at it.
Just to be clear, what error message are you getting? Can you provide a log excerpt? Also, what version of TVSuite 6 are yuo running?
 

wpjonesnh

New member
Here is the error message I am receiving (Copied from VRDAutoProcessLog.txt ).
Code:
3/5/2020 5:10:18 PM VideoReDo said: INFO: VideoReDo version 6.60.10.816 - Mar  2 2020
3/5/2020 5:10:21 PM VideoReDo said: INFO: VideoReDo opened file: D:\PlayOn\Star Trek_ Picard - s01e07 - Nepenthe.mp4
3/5/2020 5:10:21 PM VideoReDo said: ERROR: VideoReDo failed to create AdScan file: D:\work dir\Converted\Star Trek_ Picard - s01e07 - Nepenthe.mp4.vprj
3/5/2020 5:10:21 PM Output file missing: D:\work dir\Converted\Star Trek_ Picard - s01e07 - Nepenthe.mp4
3/5/2020 5:10:21 PM Moving File to failed_file folder: D:\PlayOn\Star Trek_ Picard - s01e07 - Nepenthe.mp4
3/5/2020 5:10:22 PM Started moving failed file: "Star Trek_ Picard - s01e07 - Nepenthe.mp4"
3/5/2020 5:10:25 PM Finished moving "Star Trek_ Picard - s01e07 - Nepenthe.mp4" to failed folder
I have also zipped up the logs and have attached them but outside of the error, I am not seeing much else in them and I have personally still not ruled out the PC I am using which is running Windows 10 Professional with:
Code:
VideoReDo version 6.60.10.816 - Mar  2 2020
8GB RAM
Intel Celeron CPU G3930 @ 2.90GHz
(PC also running PlayOn Desktop Suite)
Still kind of feels like some weird permissions issue because I also can't seem to run VAP unless I right click on it and choose "Run as Administrator". It immediately terminates if I don't.
Thank you in advance for your assistance and regards.......
 

Attachments

dlflannery

Administrator
Not sure about your possible permissions issue. Do you normally run on an admin account? Do you install VAP6 and TVSuite 6 while running the same account? If so, you should not have to "run as administrator".

Meanwhile there is an issue of VAP6 not handling the AdScan profiles "Current Settings" and "Default Settings". These are new in the latest TVSuite build that you are using and this is causing the failures you see. Until I figure out the fix, your workaround will have to be to select "*Default" as the AdScan profile.
 

wpjonesnh

New member
Not sure about your possible permissions issue. Do you normally run on an admin account? Do you install VAP6 and TVSuite 6 while running the same account? If so, you should not have to "run as administrator".

Meanwhile there is an issue of VAP6 not handling the AdScan profiles "Current Settings" and "Default Settings". These are new in the latest TVSuite build that you are using and this is causing the failures you see. Until I figure out the fix, your workaround will have to be to select "*Default" as the AdScan profile.
Hello.......
Yes. The account I use is an admin account and it is also the account I run the programs under. I will also switch to "*Default*" and give that a try and report back.

Thanks you.
 

wpjonesnh

New member
Hello.......
Yes. The account I use is an admin account and it is also the account I run the programs under. I will also switch to "*Default*" and give that a try and report back.

Thanks you.
So I definitely narrowed this down to the pc I am/was running on. I reinstalled everything on a virtual machine and it runs without any issues. All I need to do now is figure out why it can't scan with comskip now :)

3005

3006

I can scan with comskip manually though (log from manual execution attached). Is this a known issue? Jus wondering before I run down a debugging rabbit hole. :)

Regards..........
 

Attachments

dlflannery

Administrator
VAP has logic based on video encoding type and file extension to determine whether Comskip (either version) can be used. Could be a hole in this logic. I can see the extension is .mp4. I need to know the encoding (e.g., mpeg2 or H.264). This will be found in the log file as it starts processing the file. Or you can load the file in TVSuite and hit control-L. If you do that, copy the results to clipboard and paste it into a post or a text attachment here. I noticed in your previous log excerpts that apparently some of your input files have mpeg2 encoding in a .mp4 extension (container). This is an unusual (although valid) combination and maybe the VAP logic doesn’t handle it correctly.

EDIT: The logic was not allowing ComSkip Donator version to process .mp4 files. This has been fixed in test executable version 1.01T2 in attached zip. This is not an installer. It is a replacement for just the VAP6 executable. Give it a try.

EDIT2: Attachment removed. Superseded by release version 1.01
 
Last edited:

dlflannery

Administrator
VAP6 Version 1.01 has been released. Download link in first post of this thread.

23 March 2020 Ver. 1.01
Enhanced: Reads metadata from either NextPVR or MediaPortal XML files if they exist beside the input file, appropriately named. Must use command-line option -metaBTV. .For MediaPortal files, it attempts to decide whether the video is a TV episode or movie by looking at the EPISODENAME and parsing the movie year out of the COMMENT field. If theTVDB and/or TMDb searches are enabled, it augments the XML data with those search results, but will not overwrite the XML items.
Fixed: Comskip Donator (Early Access) version prevented from processing .mp4 files.
Changed: Gets XML for “Default Settings” and “Current Settings” AdScan Profiles at start up.
 

JerryB

Member
Should VAP6 work with Videoredo Pro 6? If so, I have a few problems. 1) When I start VAP6 I receive an error message "Unable to get VideoReDo install folder from Windows Registry. Will not be able to launch interactive (GUI) version of VideoReDo. 2) If I click okay on this error message, the Monitor, Temp, and Output Folders are not retained from prior attempts at running VAP6 and 3) I then receive an error message "VAP was unable to run TVS6 COM objects. Thus usually means the VideoReDoSilent COM interface is not functioning correctly. Shut VAP down and run TVS6 one time as administrator. I've done this and still get the same error message.

For now, I'm going to uninstall VAP6 but I'd be happy to reinstall it if it should work or if you'd like to try and get it to work. Thank you.
 

Bradj@mira.net

New member
I am having an intermittent issue with latest VAP6 and VRD6.

I did some test files, maybe 12 or so and didn't see an issue. Maybe because I didn't do them in large batches, or maybe because they were larger files.
I am now pumping about 123 files through it. Another thing of note is that these files are relatively small. Lots are 300MB so VAP6 detects a few at a time.
The issue is occurring during the TRANSFERRING / Monitor phase with VAP6 'Stopped'. The files are being copied off my PVR onto a local drive.
What happens is that it will get to the point that regularly an error will pop up saying:

VideoRedo-TVSuite6
Problem while seeking to:00:00:00:00.00
Please consider running Tools->QuickStream Fix


It like VAP6 is running VRD when it shouldn't (Its in Stop Processing mode) and VRD is choking on files still transferring or locked by VAP6 or something.
When it gets to this point I click on the error message to dismiss it and it will pop up again later. Sometimes I think when the next file is detected in VAP6 and VAP6 kicks off VRD again.
Nothing appears in the log file on the screen when the problem occurs other than VAP6 logging a line:
(Datetime) MPEG2 is encoding for: blah

Once some files are transferred if I click on Start Processing then VAP6 starts QSF'ing and AdScanning the files and the errors don't pop up.
If I Stop Processing, or (I think) if VAP6 runs out of new files to VRD (because they are TRANSFERRING), then it starts happening again.

Its been happening all the while I have been typing this and sometimes it will go for minutes without the error and then it just starts again.

Sorry for the lack of a solid recreation path but its a bit random. But I would start with dumping a hundred or so 300MB files into the monitor folder while VAP6 running but stopped with them dropping at a rate of about 1 every 30 seconds.

Let me know what I can do to help.
 

dlflannery

Administrator
First I want to investigate the possibility that these errors are a reaction of VRD6. If you can determine a particular file associated with this error try loading it into VRD6 manually and hit Ctrl-L (to display file parameters) . If you can’t determine a particular file then do this with several of them (the more the better). If this generates that error then we know it has nothing to do with VAP6. VAP6 runs VRD6 on each input file when first encountered to determine the video encoding. I suspect this error is occurring at that time.

If there is such a thing as a “typical” input file, please cut and paste the Ctrl-L results and insert or attach to a post.

Also please post the version or build number of the VRD6 you are running.
 

dlflannery

Administrator
VAP6 Ver. 1.02 has been released -- see first post for download links.
8 August 2020, Ver. 1.02
Fixed: AdScan profile loading errors killed smart QSF
Changed “Current Settings” and “Default Settings” AdScan profiles removed – Use “*default”

VAP6 has only been tested with the current non-beta release, Build 816. There may be changes to the AdScan profile system in later versions or betas. In Build 816 the two profiles that have been removed from VAP6 are not properly implemented in the COM functions that VAP6 uses and were causing problems. You can use the internally defined "*default" profile or define other AdScan profiles in TVS6, which will be visible and usable by VAP6 (if enabled). Remember if you create or modify profiles in TVS6 you must restart VAP6 to allow it to get the modified or new profiles.
 

turas

Member
When I start processing and there are still some videos being transferred, the transfer is never finished.
Program even "hangs" when all files already transferred are finally processed.

Is it by design that I need to wait until all files are transferred before "start processing"?
or is something wrong with my config etc...?
 

Attachments

dlflannery

Administrator
When I start processing and there are still some videos being transferred, the transfer is never finished.
Program even "hangs" when all files already transferred are finally processed.

Is it by design that I need to wait until all files are transferred before "start processing"?
or is something wrong with my config etc...?
No, it should not require waiting for all files to be transferred, although I admit I have not tested behavior when many files are being simultaneously transferred and processed.

I guess your Y:, E:, and N: drives are on different networked drives, correct? VAP has had some problems with networked resources and the cause for those has never been understood. As an experiment can you set up to put all three folders on a local (not networked) hard drive? If rhat eliminates the problem we can discuss work-arounds to allow you to still use the networked drives.

Also by “the program hangs” do you mean the user interface no longer responds?
 

turas

Member
only y: is on the network (the original location of the recorded files) - all others are local.
will try to check with all on local drives the next time i need it.

and yes, by "hang" i mean the ui no longer responds.

and one more remark. i think a long time ago (some version pre 6) it did work
and it's not a really big problem, sometimes it's just boring to wait until transfer ended before you can start processing...

thx
 

turas

Member
good news... :)
since you mentioned network sometimes being a problem i tried to switch setting the "monitor folder"
- from: y:\xxx
- to: \\server\share\xxx

and it seems that this did the trick (at least for now)... (y)
tested with a few remaining input files and processing / transferring were done in parallel without problems

thx again for your great program, and being so responsive!
 

dlflannery

Administrator
good news... :)
since you mentioned network sometimes being a problem i tried to switch setting the "monitor folder"
- from: y:\xxx
- to: \\server\share\xxx

and it seems that this did the trick (at least for now)... (y)
tested with a few remaining input files and processing / transferring were done in parallel without problems

thx again for your great program, and being so responsive!
Good! I’m puzzled because I remember the solution in previous cases being the opposite, i.e., switching from the \\server\share\xxx syntax to the y:\xxx syntax. But I hope this continues to work for you. Such behavior can be affected by the .NET framework, the VideoReDo COM functions, network properties, etc., all of which can vary with time or setup.

If the problem continues the simplest (although not convenient) work-around is just to not mix transferring and processing.
 
Top Bottom