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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#11
2004-08-27, 07:44 PM
I talked to a couple of the users from the Sage forums who were developing a plugin of this type for SageTV. They'd produced an .exe file that would try and identify the commercials. This was based on the open source libmpeg2 and the commercial detection from Mythtv.

They said they were happy for me to use this standalone application with GB-PVR, but unfortunately on my tests it did a really crap job at finding the commercials so I didn't pursue it any further.
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#12
2004-08-27, 08:03 PM
No one has really done anything yet. I haven't had the time to look into mpeg processing in detail to do anything that would get anywhere.

Something we could implement would be a file.mpg.com which Codemonkey begain defining, which would like the commercial frames (ie. start frame, no of frames) which if detected Sub could use these as skip markers when watching an mpg.

If we could do this, then we can simply manually create these files until someone is able to implement a plugin to do this automatically.

Colin.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#13
2004-08-27, 11:17 PM
[b Wrote:Quote[/b] (sub @ Aug. 27 2004,10:44)]I talked to a couple of the users from the Sage forums who were developing a plugin of this type for SageTV. They'd produced an .exe file that would try and identify the commercials. This was based on the open source libmpeg2 and the commercial detection from Mythtv.

They said they were happy for me to use this standalone application with GB-PVR, but unfortunately on my tests it did a really crap job at finding the commercials so I didn't pursue it any further.
Can you get the source for it? Maybe we can tweak it.
-CodeMonkey
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#14
2004-08-27, 11:59 PM
http://www.sage-community.org/index.cgi/browser/
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#15
2004-09-08, 02:16 AM
I have taken a quick look at it. It does seem to work for some shows (I was playing with the west wing). I havent had time to play around with it to see how often it fails. If it fails for certain shows that have fade to black in the show maybe the solution is to build a list of exception shows.

I am now looking for a program that I can feed the output into that will produce a new mpeg that has the sections obmitted. Or if someone can send me a link to a library that would allow me to write a quick application that will split the mpeg into sections.

If you havent played with the app, It spits out a starting and ending frame number for each commercial. I want to find a library that will allow me to split the mpeg appart by using the frame numbers.

Even if it is does not work for all shows if it works for some shows reliabily that would be cool.
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
#16
2004-09-08, 02:49 AM
Over at kvcd.net there is a program call Dikumciser which can split mpeg files by size. I'll see if Kwag can modify it to split out parts of a mpeg based in frames,

Colin.
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#17
2004-09-08, 09:51 AM
That would be great. I will continue to test the tool with different shows to figure out how reliable it is. There is an ini that we can use to tweak its configuration.
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
#18
2004-09-08, 11:07 AM
Hey Jorm,

is there a .exe at this location or is it just src files?

Colin.
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#19
2004-09-08, 12:45 PM
There is an exe.

Browse the source for
/comskip/branches/jeredev/

You need the exe and the ini. I am going to test it on nip/tuck and scrubs to see how well it works.

If you can not find it send me your email and I will forward it to you.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#20
2004-09-08, 02:09 PM
Thanks for picking up the ball guys. Work is kicking my butt lately. I have an image processing background and will try and contribute whenever possible.

If someone went through and grabbed the source files and got it to build, please post a zip of that build environment to save others the trouble.

Trying with different shows, including different types of shows (sitcom, sports, etc.), and different networks would seem to make sense for testing. Sub, you mentioned you saw it not do a good job. What kinds of shows were you trying it on?
-CodeMonkey
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Commercial Skipping Ommina 3 2,375 2011-05-24, 05:36 AM
Last Post: Ommina
  Client/server detection imilne 1 1,764 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