NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 83 84 85 86 87 … 93 Next »
Commercial Detection

 
  • 0 Vote(s) - 0 Average
Commercial Detection
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#31
2004-09-08, 11:10 PM
I just grabbed the exe as well.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#32
2004-09-09, 12:13 AM
I just tried "Raiders of the Lost Ark" which i taped off the TV (cannot remember which station) and it hit 7 of the 8 commercials. I set the following lines to

test_brightness=20
max_avg_brightness=15

With the default settings it hit one commercial, so it looks like a bit of playing with the parameters is a requirement,

Colin.

Edit:
test_brightness=20
max_avg_brightness=10

hit them all
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#33
2004-09-09, 01:43 AM
Brightness huh.  Unfortunately that is going to vary show to show.  

If there is some kind of level adjustment that defines a cutoff for black frames, that might be a more generic adjustment.

Edit: I just saw the .ini file, what they call brightness is basically the cutoff. So it does look promissing.
-CodeMonkey
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#34
2004-09-09, 03:36 AM
[b Wrote:Quote[/b] ]Edit: I just saw the .ini file, what they call brightness is basically the cutoff. So it does look promissing.

I was wondering about the terminology - didn't make sense that lowering the values was producing better results.

Guess we can try it on various programmes and see what happens. Hats off to the guys who wrote this, at least it has given us a starting point.

Codemonkey, I may pick your brains over the coming weeks on the src code and what parts are doing.

Cheers,
Colin.
Bigted
Offline

Junior Member

Posts: 45
Threads: 5
Joined: Aug 2004
#35
2004-09-09, 10:26 AM
Last episode of the Apprentice
PAL in New Zealand

After much mucking around...

Changed:

fps=25 (for PAL)
test_brightness=60
max_avg_brightness=10
max_commercial_size=305 (the default caused some commericial breaks to be ignored)

The settings above caught everything perfectly.

Bigted
Bigted

My Setup:
Windows Server 2003 SP1 on AMD XP2200+, 1 Gig DDR Ram, 1 x 200 Gig and 1 x 160 Gig Seagate Harddrives, Hauppauge PVR500MCE
2 x Hauppauge MVP's (Bedroom and Lounge)
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#36
2004-09-09, 11:39 AM
Cool, this does sound promising,

Colin.
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#37
2004-09-09, 01:22 PM
That does sound promising. I am going to start developing two tools.

the first will recursively run through a directory and if the text file is not there it will run comskip on the file. (So we can batch the jobs to run in the early morning). I am going to put the frame rate in another file a config file and swap it in the ini.

I am also going to create a xml that has the filename prefix and the ini file to use. (That way you can customize it per show, since the framerate is extracted we can share these customized configs.

The second tool would take a list of mpegs and run multiple scripts using different comskip.ini and build a table of the results. Perhaps we will pass in a commercial skip points (that were measured manually) and a margin of error and it will tell us what script was the best match.


thoughts?
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#38
2004-09-09, 01:42 PM
It would be useful to do a batch run with various .ini settings against a mpeg to determine if there is a best match .ini

Colin.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#39
2004-09-09, 02:17 PM
[b Wrote:Quote[/b] (colin @ Sep. 08 2004,18:36)]Hats off to the guys who wrote this, at least it has given us a starting point.

Codemonkey, I may pick your brains over the coming weeks on the src code and what parts are doing.
I agree, they did the hard work and it is a testament to what great things can happen with open projects.

My brain is here for the picking Wink

Sounds like sub should look into implementing cut point logic into gbpvr Wink
-CodeMonkey
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#40
2004-09-09, 02:23 PM
[b Wrote:Quote[/b] ]I agree, they did the hard work and it is a testament to what great things can happen with open projects.

agreed. we should provide some feedback to them based on our testing. the developers would be interested in it.

[b Wrote:Quote[/b] ]My brain is here for the picking Wink

Excellent (in my best Monty Burns impersonation)

[b Wrote:Quote[/b] ]Sounds like sub should look into implementing cut point logic into gbpvr Wink

I suggested this to him and I think he is going to look into it. Certainly now that Bigted has had positive results on NZ shows I think that should helpSmile

Colin.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (18): « Previous 1 2 3 4 5 6 … 18 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Commercial Skipping Ommina 3 2,374 2011-05-24, 05:36 AM
Last Post: Ommina
  Client/server detection imilne 1 1,761 2010-08-08, 04:23 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode