BTV, Comskip, VRD and commercial removal

ghealy

New member
I've seen mention both here and over at Sanpstream's BeyondTV, using Comskip with BTV to produce an output file that would have potentially identified sections for commercial deletion, which in turn could be used in VRD to either manually or automatically edit out commercials.

For the life of me, I've not been able to find a guide explaining how to set things up. Least ways nothing I've understood to be a guide.

Would appreciate any guidance/suggestions from more experienced users on how to use comskip with BTV and then transfer the output to VRD for final processing.

Thanks in advance

--Gene
 

bits

New member
I've seen mention both here and over at Sanpstream's BeyondTV, using Comskip with BTV to produce an output file that would have potentially identified sections for commercial deletion, which in turn could be used in VRD to either manually or automatically edit out commercials.

For the life of me, I've not been able to find a guide explaining how to set things up. Least ways nothing I've understood to be a guide.

Would appreciate any guidance/suggestions from more experienced users on how to use comskip with BTV and then transfer the output to VRD for final processing.

Thanks in advance

--Gene
Try the 'How to Guides and Wiki' fourm section of this forum.

However, since writing that I have started finding commercials a little differently because something in BTV changed from version 4.2 to 4.3 that I could not fix.

Basic summary of what works for ME:
- Dirmon2 (freeware, latest version) invokes comskip when BTV recording is complete. It generates a .vprj file.
- Once per day or so I open VRD and manually confirm cuts. This takes 20-40 secs per show. As I confirm each video file I load it into VRD batch and start that when all files are checked.

If you want more details let me know.

A few comments:

- VRD is at the top of my list for software apps and especially for support
- I use comskip because it is faster, more customizable, constantly updated, really does run in 'low priority and is better than Adscan.
- I do not auto cut because no commercial detection software is 100% on all files especially if you record a wide range of things.
 

ghealy

New member
Thanks for the feedback. Have actually seen you post over at the BTV forums.

I have looked at the 'How to Guide' section.

I've been wanting to ask a question about this part of the guide:
bits said:
' Wait until scan is done.
while( VideoRedO.IsScanInProgress() )
Wscript.Sleep 2000
wend

projectFile = VideoReDo.WriteProjectFile( destFile )
'Wscript.Echo(" Ad-Detective project written to: " + projectFile )

VideoReDo.Close()
'Wscript.quit 0

It is not obvious but the last three lines need to have a ' put in front in order to make these lines non active.
You write ". . . the last three lines . . ".

Do you mean the last three lines seen above or are there three other lines in the script that are not seen above?

However, since writing that I have started finding commercials a little differently because something in BTV changed from version 4.2 to 4.3 that I could not fix.
Out of curiosity, what were the issues?

Basic summary of what works for ME:
- Dirmon2 (freeware, latest version) invokes comskip when BTV recording is complete. It generates a .vprj file.
- Once per day or so I open VRD and manually confirm cuts. This takes 20-40 secs per show. As I confirm each video file I load it into VRD batch and start that when all files are checked.

If you want more details let me know.
Suspect I will. :)

I can't use the Snapstream program guide so I usually manually schedule a week's recordings at one time. Then during the week, as time permits, I grab the recorded files, run them through VRD to manually select and cut commercials. I create a Chapters.txt file from the cuts.

Then bring the modified files into Ulead's DVD MovieFactory 4SE. Insert chapters manually. If the final files exceeds 4.3 GB, I save to HD, and then use either CloneDVD2 or DVDShrink to compress to a SL DVD+RW.

The PC is on 24/7, and most times sitting ideal. So ideally, it would be nice to have the potential cuts already identified when I get around to processing the files

What I'm looking for is a process that will automatically scan and mark suspected commercials after recording prior to me manually processing the resultant files. This is why I tweaked to comskip.

Appreciate the help.

--Gene

P.S. After I left here, I headed over to the Snapstreeam forum. And what should I find there?
http://forums.snapstream.com/vb/showthread.php?t=38840

A lot to digest for me, but thought you and others might find it interesting.
 
Last edited:

Anole

Moderator
chapter file list

... I create a Chapters.txt file from the cuts.
Then bring the modified files into Ulead's DVD MovieFactory 4SE.
Insert chapters manually.
I don't use Ulead, but I read a lot of what gets posted here...
... and I think PHD once said that there was a big problem making a Chapters file that Ulead could/would read.
On the other hand, several other authoring programs were much more accommodating.
I know DVD Labs Pro will accept files in a number of formats.
VideoReDo will make files in quite a few formats.
So, if you wish to make life easier, you might want to consider a different authoring program.

Oh! And somewhere in the future (several months?) VRD is planning on offering an authoring feature.
You just know they'll make those chapters easy!
 

ghealy

New member
I don't use Ulead, but I read a lot of what gets posted here...
... and I think PHD once said that there was a big problem making a Chapters file that Ulead could/would read.
On the other hand, several other authoring programs were much more accommodating.
I know DVD Labs Pro will accept files in a number of formats.
VideoReDo will make files in quite a few formats.
So, if you wish to make life easier, you might want to consider a different authoring program.

Oh! And somewhere in the future (several months?) VRD is planning on offering an authoring feature.
You just know they'll make those chapters easy!
And boy am I eager to see what the guys in the backroom come up with when they finally add DVD authoring to an already great program. :)

As far as chapters with DMF4 & VRD, I generate a chapters.txt file in VRD and then manually enter those numbers in DMF4. It often requires a small tweak in DMF4 to land on the right frame, but once done, it works like a charm.

--Gene
 

bits

New member
Thanks for the feedback. Have actually seen you post over at the BTV forums.

I have looked at the 'How to Guide' section.

I've been wanting to ask a question about this part of the guide:


You write ". . . the last three lines . . ".

Do you mean the last three lines seen above or are there three other lines in the script that are not seen above?



Out of curiosity, what were the issues?



Suspect I will. :)

I can't use the Snapstream program guide so I usually manually schedule a week's recordings at one time. Then during the week, as time permits, I grab the recorded files, run them through VRD to manually select and cut commercials. I create a Chapters.txt file from the cuts.

Then bring the modified files into Ulead's DVD MovieFactory 4SE. Insert chapters manually. If the final files exceeds 4.3 GB, I save to HD, and then use either CloneDVD2 or DVDShrink to compress to a SL DVD+RW.

The PC is on 24/7, and most times sitting ideal. So ideally, it would be nice to have the potential cuts already identified when I get around to processing the files

What I'm looking for is a process that will automatically scan and mark suspected commercials after recording prior to me manually processing the resultant files. This is why I tweaked to comskip.

Appreciate the help.

--Gene

P.S. After I left here, I headed over to the Snapstreeam forum. And what should I find there?
http://forums.snapstream.com/vb/showthread.php?t=38840

A lot to digest for me, but thought you and others might find it interesting.
My theory is that when BTV 4.3 started using smart file placement so that there would be less of a need to defrag, made Dirmon2 start looking for commercials before the recording was complete. This lead to incomplete commercial detection because comskip would finish what portion of the show that had recorded and then would stop checking.

Dirmon2 has been updated and now works quite nicely. The main reason I use Dirmon2 is that it is simplier than what is in the guide I wrote.

My Dirmon2 config file:
[Global]
Polling Time = 600
Available Resources = 85

[Service]
Start Automatically = 1
Run as Local System = 1
Allow Interaction With Desktop = 1
Run as User = 0
User Name =
User Password =

[Job Description 1]
Name = BTV
Processor = C:/My Downloads/Comskip/comskip.exe
Targets Are Paths = 0
Targets Are Extensions = 1
Command Line Options = --ini="C:/My Downloads/Comskip/comskip.ini" [[%FULLFILESPEC%]]
Must Exist 1 =
Must Exist Logic = OR
Must Exist 2 =
Must And Or Must Not Exist Logic = AND
Must Not Exist 1 = txt
Must Not Exist Logic = OR
Must Not Exist 2 =
Directory 1 = D:/Video/TV Recordings/Watch
Target 1 = mpg
Resources Needed = 85
Timeout Enabled = 0
Timeout = -1
Priority Boost Due To Job Description = 0
Priority Boost Due To Age = 1
Priority Boost Due To Name = 0
Process Subdirectories = 1
Wait Until File Is Finished = 0
Wait Until File Is Idle = 0
Wait Until File Is Not Growing = 0
Wait Until File Is Not Growing Time = 3
Wait Until Drive Is Idle = 1
Wait Until Drive Is Idle Time = 2
Hide Console = 1
Blackout Enabled = 0
Blackout Start Time = 0
Blackout End Time = 0

Just a suggestion but maybe you should look into a networked media player and scale back on the DVD burning. I used to burn lots of DVDs because that was the only way my wife and I could view them after recording and cutting commercials. It was fun at first but soon became a chore and the DVDs began to pile up. Purchased a Linkplayer2 from I-O Data 18 months ago and have not regretted it. Watch and delete or on occassion save and burn. HDD space is reusable and cheap!
 

ghealy

New member
I wrote a guide for Beyond TV Video Fixing (using VideoRedo), Commercial Detection (using Comskip) and Removal (using VideoRedo.)
Thank you for that link. I will need some time to digest it all.

But I do very much appreciate all the work you have put into it and your willingnes to share it with others.

Regards,

--Gene
 

mronayne

New member
Generate BTV Chapters file from VidroRedo Project file

For what it's worth, I implemented a small Windows GUI interface around Geoff Stewarts source code for generating a BTV Chapters files from a VideoRedo Project file (GVprjToBtv). I realize that there isn't much interest in doing this sort of thing these days but I wanted to learn C# and used this as an exercise. For that reason the program does what it does in a somewhat protracted manner. You'll need to have Microsoft's .NET Framework V2 installed for this program to work. By the way, I use this program when I want to tweak a recorded program with VideoRedo and then save the Project file with the changes. I then generate an updated BTV chapters file with my tweaks included. I only use this when I have recordings where I don't bother to strip out the commercials with VideoRedo - basically things I don't plan on holding onto for very long.

So, if you find your way here you are probably looking for something like this. Try it out and let me know if you find it useful. If it breaks you can let me know and I'll try to fix the problem but no promises... Send the Vprj file that gives you problems if you have them.

This is also posted in the BeyondTV forums.

Mike

PS: Geoff Stewart's original command line version has been updated significantly and both the GUI and Command Line version use the same conversion code - I've attached the command line version as well (VprjToBtv).
 

Attachments

Last edited:

Anole

Moderator
Thanks for the contribution.

Hopefully, some of the members will test out your toys and tricks and report their findings.
It's always great to see what users come up with. :)
 
Top Bottom