PlayOn and remove commercials with markers?

jriker1

New member
I have shows that I record thru the PlayOn app and it adds it's own commercial markers so are real accurate and don't need ComSkip. If I open the file manually in VideoReDo it shows the markers without scanning. Is there a way to script removal of the commercials in Windows DOS? Or an example set of commands to remove those commercials from the file and resave? I can create the scripts if I know the process to read the file, remove the commercials based on the existing markers, and save it again. I do this now with MCEBuddy but the resulting file is subject to audio sync issues so trying to do something similar thru VideoReDo.
 

musicvid

Member
I don't know how your PlayOn markers are written, but it should be a really simple task to convert them to VRD text with Excel or Word Macro.
They are written in plain English.
 
Last edited:

dlflannery

Moderator
Are you loading a .mp4 file that has markers embedded in it? Or is there a separate side-by-side file, probably text?
 

jriker1

New member
Are you loading a .mp4 file that has markers embedded in it? Or is there a separate side-by-side file, probably text?
It's embedded into the file. As Playon records the show it knows the commercials and inserts markers. VideoRedo shows them in the GUI but apparently can't do anything with them or use them directly. Getting them into a VideoRedo VPrj format isn't something I can fully figure out yet. So I have an edl file I can create thru MCEBuddy exporting:

-- MCE Buddy EDL

7.411 37.139 0
393.359 516.055 0
858.748 992.501 0
1168.116 1290.156 0
1528.636 1649.628 0

Not sure how to interpret that. So obviously the cuts will be different but run the file thru comskip. Not sure if comskip can read the markers and create a vprj but just run it thru and the EDL has:

0.00 3.30 0
390.79 515.55 0
856.29 992.93 0
1165.86 1290.46 0
1527.13 1681.35 0

It's associated VPrj file it gives is:

<Cut>0:32032000
<Cut>3906903000:5154482667
<Cut>8561886667:9928251667
<Cut>11657646000:12903557333
<Cut>15270255000:16812796000


But obviously I don't want it guessing at the cuts, I want to take what PlayOn did and use those for the cuts as I know they are accurate.
 

Dan203

Senior Developer
Staff member
So in VideoReDo they show as the red marks on the timeline? If so you can pretty easily skip to each of those marks to set in/out and mark cuts. It's not automated, but should be fast.

If you're looking for an automated solution it would be pretty easy to write a script to do this. You could loop through the scene markers and mark even ones as in and odd ones as out and cut. If you're not a programmer shoot me an email at support so I can get a sample file and I'll take a look at it for you.
 

dlflannery

Moderator
It's embedded into the file. As Playon records the show it knows the commercials and inserts markers. VideoRedo shows them in the GUI but apparently can't do anything with them or use them directly. Getting them into a VideoRedo VPrj format isn't something I can fully figure out yet. So I have an edl file I can create thru MCEBuddy exporting:

-- MCE Buddy EDL

7.411 37.139 0
393.359 516.055 0
858.748 992.501 0
1168.116 1290.156 0
1528.636 1649.628 0

Not sure how to interpret that. So obviously the cuts will be different but run the file thru comskip. Not sure if comskip can read the markers and create a vprj but just run it thru and the EDL has:

0.00 3.30 0
390.79 515.55 0
856.29 992.93 0
1165.86 1290.46 0
1527.13 1681.35 0

It's associated VPrj file it gives is:

<Cut>0:32032000
<Cut>3906903000:5154482667
<Cut>8561886667:9928251667
<Cut>11657646000:12903557333
<Cut>15270255000:16812796000


But obviously I don't want it guessing at the cuts, I want to take what PlayOn did and use those for the cuts as I know they are accurate.
I’m surprised that PlayOn provides more accurate detections than either VRD AdDetective or ComSkip. Manual review of the videos (as TiVo does to provide their commercial skip) can be very accurate of course, but I’m sure PlayOn is using only an algorithm. And I have a hard time believing they have a better algorithm than VRD or ComSkip.
 

dlflannery

Moderator
@jriker1 i see you asked about this on the comskip forum and the answer was to just run the file thru comskip. I suspect that isn’t a solution you were looking for. But if it is, then you should be aware that VAP6 will automate that process.
 

Infidelus

Member
The one thing I'm missing as a Linux user. Always used VAP with VideoReDo when I was on Windows, but sadly COM doesn't work yet with Wine.
 
Top Bottom