H264 & MPEG2 WTV Support - my reliable solution

Here you can ask your questions on how to use Comskip for the detection of commercials. Also questions on how to remove commercials are welcome
erik
Site Admin
Posts: 3338
Joined: Sun Aug 21, 2005 3:49 pm

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by erik »

Is comskip setup to generate the output file dvrsmstoolbox expects?
I see you enable vprj output but I am not sure if that is what dvrmstoolbox expects

WScottCross
Posts: 12
Joined: Sat Nov 26, 2011 3:20 pm

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by WScottCross »

erik wrote:Is comskip setup to generate the output file dvrsmstoolbox expects?
I see you enable vprj output but I am not sure if that is what dvrmstoolbox expects
I added "output_dvrmstb=1" to comskip.ini and that generated the XML file that DTB expects.

marvin-miller
Posts: 114
Joined: Wed Nov 02, 2011 3:43 am

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by marvin-miller »

I think you need both of these in comskip.ini

output_dvrmstb=1
dvrmsstandoff=120000

QuadraQ
Posts: 12
Joined: Sat Feb 28, 2009 8:44 am

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by QuadraQ »

marvin-miller wrote:I think you need both of these in comskip.ini

output_dvrmstb=1
dvrmsstandoff=120000
The output_dvrmstb=1 was enough for me.

WScottCross
Posts: 12
Joined: Sat Nov 26, 2011 3:20 pm

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by WScottCross »

QuadraQ wrote: The output_dvrmstb=1 was enough for me.
Same here

marvin-miller
Posts: 114
Joined: Wed Nov 02, 2011 3:43 am

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by marvin-miller »

It seems to me a lot of people ask this same question over and over. Maybe it would be an idea for Erik to put output_dvrmstb=1 in the comskip.ini file and just set it to 0 with a REM saying "If you're running DVRMS-Toolbox set this to 1"

Just my .02c :mrgreen:

QuadraQ
Posts: 12
Joined: Sat Feb 28, 2009 8:44 am

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by QuadraQ »

marvin-miller wrote:It seems to me a lot of people ask this same question over and over. Maybe it would be an idea for Erik to put output_dvrmstb=1 in the comskip.ini file and just set it to 0 with a REM saying "If you're running DVRMS-Toolbox set this to 1"

Just my .02c :mrgreen:
I agree that would have been very helpful. I wouldn't have needed to ask if I seen that.

erik
Site Admin
Posts: 3338
Joined: Sun Aug 21, 2005 3:49 pm

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by erik »

Will be in the next build

WScottCross
Posts: 12
Joined: Sat Nov 26, 2011 3:20 pm

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by WScottCross »

erik wrote:Will be in the next build
Good stuff! I told you it would be popular now that WTV support is there! ;)

marvin-miller
Posts: 114
Joined: Wed Nov 02, 2011 3:43 am

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by marvin-miller »

QuadraQ wrote:
marvin-miller wrote:I think you need both of these in comskip.ini

output_dvrmstb=1
dvrmsstandoff=120000
The output_dvrmstb=1 was enough for me.
Yeah, the second line might have been deprecated at some point...

erik
Site Admin
Posts: 3338
Joined: Sun Aug 21, 2005 3:49 pm

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by erik »

That has become the default value.

McGiverGim
Posts: 18
Joined: Mon Nov 23, 2009 4:01 pm

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by McGiverGim »

I only want to say thanks to Erik. I'm trying your latest donators version (81_023) and it is superb. It scans ok all my wtv files and the accuracy is near perfect. Good job!!!

Will it be possible that we can see in a near future live_tv?

Regards and thanks for your hard work!!

erik
Site Admin
Posts: 3338
Joined: Sun Aug 21, 2005 3:49 pm

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by erik »

Can not guarantee near future but the basic framework is done.

McGiverGim
Posts: 18
Joined: Mon Nov 23, 2009 4:01 pm

Re: H264 & MPEG2 WTV Support - my reliable solution

Post by McGiverGim »

Ok Erik. Thanks for all!

Maybe, if live_tv is difficult, another possibility can be that comskip detects if the wtv file is finished or not and makes a pause waiting for the end of the record.

Now, some programs like DVRMSToolbBox make this taking a look at the size of the file, but it is very difficult to do in this way. Windows takes a long buffer for wtv files. The size of the buffer changes (5 min, 10 min, 20 min, 25 min...) so we cannot never know if the record has finished or not.

live_tv will be the perfect solution, but any other solution that pauses the processing using another system (like scan metadata or something similar) can be very helpful too...

Only an idea...

Regards!

Post Reply