Option to not punish for no logo in first/last X seconds?

To discuss the tuning of comskip and for posting your ini files
Post Reply
evilpenguin
Posts: 13
Joined: Thu Oct 05, 2006 3:24 pm

Option to not punish for no logo in first/last X seconds?

Post by evilpenguin »

I've got a few shows that don't put a logo at the start/beginning segments of the program. Would it be possible to add an option that says to not punish just during these time periods?
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: Option to not punish for no logo in first/last X seconds?

Post by erik »

Did you try to set the logo present modifier to 1 or a value close to 1?
That works for all the test cases I have at the moment
If you have a recording where that does not work I would like to receive the .csv and .ref files.
evilpenguin
Posts: 13
Joined: Thu Oct 05, 2006 3:24 pm

Re: Option to not punish for no logo in first/last X seconds?

Post by evilpenguin »

Yeah, that still didn't work. Here's the files you asked for.

http://perl2dvd.wiki.sourceforge.net/sp ... Videos.zip
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: Option to not punish for no logo in first/last X seconds?

Post by erik »

Thanks for the files, Indeed nice problem

There are two problems at the start of the show.
1: No logo
2: A small segment is recognized as a strict commercial

For problem 1 there are multiple solutions.
You can try
punish_no_logo=0
or
logo_present_modifier=1
Both solve the problem of the first block

Problem 2 is more difficult
As the block is 30 seconds you could set
min_commercialbreak=35
or as it is at the start of the recording you can use
min_commercial_break_at_start_or_end=100
However (and this is why I like it to receive test files) none of the two solutions for problem 2 work.
Will have to dig deeper.
evilpenguin
Posts: 13
Joined: Thu Oct 05, 2006 3:24 pm

Re: Option to not punish for no logo in first/last X seconds?

Post by evilpenguin »

Out of curiosity, what exactly does "logo_present_modifier" do?
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: Option to not punish for no logo in first/last X seconds?

Post by erik »

Did you read the fucking manual? :lol:

The modifiers are used when combining all the information about a certain block.
For historic reasons there is inconsistency in the interpretation (it is either divide by or multiply by) but a value of 1 causes the modifier not to have any effect.
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: Option to not punish for no logo in first/last X seconds?

Post by erik »

Oops,

I am too stupid to understand my own logic.

As the block is 30 seconds you could set
min_commercialbreak=35
but make sure you keep
min_commercial_break_at_start_or_end=25
or so as any commercial that is shorter then the min_commercial_break_at_start_or_end will NOT be deleted, even if it is shorter then min_commercialbreak.

Are these settings usable?
evilpenguin
Posts: 13
Joined: Thu Oct 05, 2006 3:24 pm

Re: Option to not punish for no logo in first/last X seconds?

Post by evilpenguin »

Hey Erik,

Thanks for the tips, here are the results...

* Setting punish_no_logo=0 takes care of block 0, but not block 1.
* Setting min_commercialbreak=35 and min_commercial_break_at_start_or_end=25 don't take care of anything on their own
* Setting all 3 correctly assigns the first two blocks to the show

But I really don't like giving up logo detection for the entire show as its such a great method 95% of the time.
Post Reply