VideoReDo-Autoprocessor Program

tannebil

New member
Another idea would be to make all the scene change markers into chapters rather than just the start and end of detected ad blocks. That would make the issues I saw with the first file managable. Is that possible?
 

dlflannery

Moderator
Another idea would be to make all the scene change markers into chapters rather than just the start and end of detected ad blocks. That would make the issues I saw with the first file managable. Is that possible?
I think that is what I suggested in post #457, i.e.:
Another approach would be to use the scene markers generated by Ad Detective, instead of cut start/end points. Try running Ad Detective manually on one of your .mp4 files. The scene markers are the red lines. In my limited experience, it is usually very good at finding the scene changes where commercials start and end -- much better than at deciding whether what's between scene markers is a commercial.
Assuming we're talking about the same thing, I will make the mod.

EDIT: Attached exe VAP067T3 is the scene marker version.
 
Last edited:

tannebil

New member
It might be awhile before I can do my testing. VRD started crashing and a reinstall didn't fix the problem. BTV also started crashing although the problem went away when I switched to software rendering which would seem to point a finger at a problem with my video/DirectX environment. Reinstalling the video driver didn't resolve the problem either so it looks like I'm going to be spending my time trying to fix this problem rather than doing much more fun VRD/VAP stuff.
 

dlflannery

Moderator
It might be awhile before I can do my testing. VRD started crashing and a reinstall didn't fix the problem. BTV also started crashing although the problem went away when I switched to software rendering which would seem to point a finger at a problem with my video/DirectX environment. Reinstalling the video driver didn't resolve the problem either so it looks like I'm going to be spending my time trying to fix this problem rather than doing much more fun VRD/VAP stuff.
You're probably already aware of the VMR9 video driver issue.

Hard to see how that would affect BTV though.
 

tannebil

New member
I was not aware of the VMR9 issue but VRD crashes pretty much instantly when I open it so there's no way to check or change the setting. I'm going to try hunting down all the registry references after uninstalling to see if it's a setting not removed during the uninstall.
 

tannebil

New member
OK, I'm back.

Chaptering in the latest version looks good. I was tearing my hair out because the chapters were fine on iTunes/Windows, iPod Touch (2G), and QuicktimeX/Mac but had problems on iTunes/Mac and Apple TV (1G). Renaming the file from mp4 to m4v made the problem go away. Why? Not a clue. I'll do the rename in vappostprocess and get on with my life until it breaks.

I'll work with it for a couple of weeks before passing verdict on this particular chaptering strategy.
 

tannebil

New member
I watched my first show that had the new chapter marks in it on my new Apple TV and it was way cool. In fact, it was so cool that I'm wondering how to do it for the other 540 shows in my backlog. Any suggestion?
 

dlflannery

Moderator
No way to do it with the existing VAP code, and I don't want to incorporate this oddball feature into VAP.

Two other ideas:
1. A script to run Drax on all the files and just settle for 30 sec intervals.

2. A script to:
a) Run VRD Ad Scan on all the files.
b) Run a command line program to create Drax files (which I can provide)
c) Run Drax
I assume you realize the processing time involved in this approach would be major.

I suspect either approach may be complicated by having your files scattered over multiple folders (?). There are probably script methods to find all the files but maybe not trivial to get running properly.

How good is your scripting ability? I can help with a VBScript to run VRD Ad Scan via the COM functions, similar to what VAP uses (or you could modify the VAP version, AdScan.vbs).
 
Last edited:

tannebil

New member
I am better at hacking up the scripts of others than writing new ones as I never do enough in any one language to get any good at it.


All my output files are in one place so that won't be a complication and I'm not doing much recording over the next few weeks so the amount of time required to do the processing should not be too big an issue either.

I looked at AdScan.vbs and have a couple of starter questions:

1. What are the 2nd and 3rd arguments?

2. Do I call it from the command line with cscript or wscript or does it not make any difference?

3. This looks like it creates a VRD scene marker file. How does the Drax-compatible file get created?

Thanks.
 

dlflannery

Moderator
I've attached a stripped down adScan VBS file. The original has a bunch of stuff you won't need. The first argument is the complete path for the input video and the 2nd is the complete path for the output project (.vprj) file.

I will create a CL program that reads the .vprj file and creates the .drx file. This is just pulling routines out of VAP so easy to do.

Run the VBS with cscript. I think you need a /B arg for cscript but don't remember offhand what that does. There's another arg /nologo that you may need too, e.g.:

cscript /B /nologo adScanBT.vbs <input file path> <output .vprj path>

When testing the .cmd file containing this make life easy by putting a pause statement after the cscript command. That way you can view any errors.

Note I had to add ".txt" to the attachment -- forum doesn't allow .vbs.

EDIT: The command line program is attached also. Run without args for usage. Warning: It deletes the .vprj file if it succeeds in generating a Drax file.
 

Attachments

Last edited:

tannebil

New member
The chaptering process seems to be working fine. My system is doing about 12 shows per hour so I figure about 50 hours to finish my library. Remember, the library is just a hobby and I don't really expect that I will ever watch all the shows. :D

VRD is crashing on about 10% of the shows so far. As far as I can tell, the shows play fine but there's something in them that VRD doesn't like. I've got to do more testing to see if I can narrow the cause down a bit more.
 

msmart

New member
Hi dl, I'm using VAP 0.67 with VRD4 609 and want to convert some previously processed TiVo files which are now .mpg to H.264 but theTVDB lookup isn't being done.

They are .mpg files so they don't have any metadata in them. I drag them (I tried a few) into the Monitor Folder and let VAP do the QSF and Ad Scan but the theTVDB lookup isn't performed. If a drag a true .TiVo file back into the Monitor Folder, the lookup is done. Does the fact that there is no metadata in the file matter? I tried renaming the files from .mpg to .TiVo but it still doesn't do the lookup.
 

dlflannery

Moderator
Hi Max,
The TVDB lookup needs the series title and either the episode title or the air date. These can be obtained from metadata in input files or by parsing the input file name (using a template set up in Advanced Config). Only the latter method would be possible for mpeg2 files of course. The "translation" tables for series- and episode-titles (Advanced Config) can be used to compensate for mismatches between those items, as obtained from input file metadata, or from file name parsing, and their TVDB versions, to enable a successful TVDB search.

Thus, unless your mpeg2 file names can be parsed to get the required items, I'm afraid you're out of luck.

Do you have matching pyTiVo metadata files for the mpeg2 input files? If so, a program similar to "metapopper", which I did recently for sirfergy, might be the ticket. See **here**.
 

msmart

New member
"Ah, the old 'MetaData Templates Advanced Configuration trick!!' Once again, Chaos has been foiled."

I looked at the Advanced Configuration but it didn't click that it was what I needed. It works as advertised. Thanks.

For the movies, I do have the pyTivo metadata files (what forethought I had to keep them!!) so a mpeg2 version of metapopper would be nice. I have ~70 movies in my library that I could use it with.
 

dlflannery

Moderator
OK Max,

See this post. Try it on just a few files first, using copies in test folders, just in case it's not working correctly. And check the metadata to see it's being inserted correctly.
 

dlflannery

Moderator
Thanks dl, check the ftp site, file not found when trying to download (and still references 031).
Try refreshing your browser -- this happens sometimes. I just checked the ftp download link and actually downloaded the file just to be sure.
 
Top Bottom