SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #501  
Old 11-10-2004, 01:53 PM
Pumpkinhead's Avatar
Pumpkinhead Pumpkinhead is offline
Sage User
 
Join Date: Nov 2004
Location: Illinois
Posts: 71
If closed captioning is working for in 2.1, and I'm able to view my captions while watching LiveTV, is it safe to assume that Comskip .60 is using these closed captions to improve the commercial detection?

Last edited by Pumpkinhead; 11-10-2004 at 03:21 PM.
Reply With Quote
  #502  
Old 11-11-2004, 08:47 AM
snipeman's Avatar
snipeman snipeman is offline
Sage Advanced User
 
Join Date: Jan 2004
Location: Big Easy
Posts: 195
Andy,

I'm happy to report that the script ran perfectly! I installed the registry object pack, the script and the version of comskip that I'm running on my media server.

Using the command line options I launch your script with a batch file that processes everything in my video directory. The script has no access to my SageTV program installation whatsoever.

Process times faster than across my gigabit network by about 30%, and I have CPU utilization for comskip on my HTPC.

I've run the script manually now two times, and will set it up on it's permanant schedule tonight.

I can't think of any other "must have" features. It would appear anyone with any setup can now use this just fine.

Thanks for the time and effort you put forth to share this with other people.


Regards,

The Other Andy
Reply With Quote
  #503  
Old 11-11-2004, 12:24 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Comskip ver 0.61 available

Added
  • Aspect Ratio can now be used as another source of information.
  • Added a comskip.dictionary file. (Discussed below)
  • Added min_show_segment_length to ini file
  • Added command line argument to specify the ini file
Changed
  • Logo detection is more aggressive in rejecting "maybes". MUCH fewer false positives
  • CC type determination code was improved to accurately reflect the time the text would have been displayed.
The list isn't long, but this version works WORLDS better for me than 0.60. I hope it improves for y'all as well.

The min_show_segment_length was added at the request of a GBPVR user, but I'm very impressed on how it "cleans up" the detection.

If you use --ini to specify an ini file and it can't be found, comskip will revert to the default ini file.

Ahh... the dictionary... this has made a lot of difference and can easily be customized to the shows that YOU watch. The included dictionary has phrases for Mythbusters, Stargate and Charmed. The dictionary is a list of phrases or words. The first lines are expected to be found in the show. Then there is a line with 5 dashes (i.e. "-----"). All the lines after that are expected to be found in commercials.

For example, Hersheys has a swoops commercial that starts out "Swoops, there it is." I put swoops in the dictionary file and if swoops is found in the closed captioning data, then the score for that block is slightly increased (by 5% for every match). Setting verbose=11 will include a "transcript" in the log file to help in finding good phrases to add to the dictionary.

I highly encourage and request that if you make additions/changes to your dictionary that you share them.

Oh, comskip pulls the CC data directly from the mpeg file, so no additional programs or steps are needed. Just make sure that they are embedded in the recording (if Sage shows them, then they're there and comskip can find them).

As always the latest source files are available at the sage-community website. The command line and ini pages have also been updated.

Enjoy,
Jere
Attached Files
File Type: zip comskip-0.61.zip (108.1 KB, 333 views)
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7

Last edited by Jere_Jones; 11-11-2004 at 02:38 PM.
Reply With Quote
  #504  
Old 11-11-2004, 01:06 PM
Snuffy2 Snuffy2 is offline
Sage Advanced User
 
Join Date: Mar 2004
Posts: 93
Is the dictionary file supposed to be named comdskip.dictionary or is it a typo and should it be named comskip.dictionary?

Just checkin.

Thanx
Reply With Quote
  #505  
Old 11-11-2004, 02:06 PM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
Yes, it should be comskip.dictionary
I got a message saying "Dictionary not processed successfully" until I renamed it.
Reply With Quote
  #506  
Old 11-11-2004, 02:38 PM
snipeman's Avatar
snipeman snipeman is offline
Sage Advanced User
 
Join Date: Jan 2004
Location: Big Easy
Posts: 195
Andy,

I turned on the deleting of orphaned files, and it deleted all my .BAT files and your VBS script file in the directory! Can you have the deleteing of orphaned files ONLY touch the *.TXT files?

Thanks,

Andy
Reply With Quote
  #507  
Old 11-11-2004, 02:39 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by malore
Yes, it should be comskip.dictionary
I got a message saying "Dictionary not processed successfully" until I renamed it.
Oops...

Fixed and uploaded.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #508  
Old 11-11-2004, 03:35 PM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
Quote:
Originally Posted by snipeman
Andy,

I turned on the deleting of orphaned files, and it deleted all my .BAT files and your VBS script file in the directory! Can you have the deleteing of orphaned files ONLY touch the *.TXT files?

Thanks,

Andy
It also deletes VideoReDo .VPrj files.

Edit: removed bad info. Wasn't paying attention.

It does not remove the showname.log files generated by comskip itself however.

Last edited by sleonard; 11-11-2004 at 03:48 PM.
Reply With Quote
  #509  
Old 11-11-2004, 04:42 PM
Deadbolt's Avatar
Deadbolt Deadbolt is offline
Sage Expert
 
Join Date: Nov 2003
Posts: 687
On the http://www.sage-community.org/index....ComSkipIniInfo community page states that the detect method default is 31....but that doesn't coorespond to any methods in the lower definition area. Also, if detect_method=32 ... does that include all the detection methods?

Thanks!
Reply With Quote
  #510  
Old 11-11-2004, 04:48 PM
ChrisAllenFiz ChrisAllenFiz is offline
Sage User
 
Join Date: Nov 2004
Posts: 37
Quote:
Originally Posted by Deadbolt
On the http://www.sage-community.org/index....ComSkipIniInfo community page states that the detect method default is 31....but that doesn't coorespond to any methods in the lower definition area. Also, if detect_method=32 ... does that include all the detection methods?

Thanks!
you sum the numbers of the detection methods to get the overall number to put in, so 31 is everything except aspectratio

Chris
Reply With Quote
  #511  
Old 11-11-2004, 04:50 PM
Deadbolt's Avatar
Deadbolt Deadbolt is offline
Sage Expert
 
Join Date: Nov 2003
Posts: 687
ok, so 63 is everything?
Reply With Quote
  #512  
Old 11-11-2004, 04:55 PM
Cayars Cayars is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 2,029
I think it's now 255
Reply With Quote
  #513  
Old 11-11-2004, 06:46 PM
pnyberg pnyberg is offline
New Member
 
Join Date: Nov 2004
Posts: 1
Need a clue

First, I'd like to thank everyone who's worked on CA. The fact that this project and this community exists is one of the reasons that I've just jumped onto the Sage bandwagon.

Second, as I just said, I'm a newbie with Sage (though I hope not a complete idiot in general), so please keep that in mind.

Being a recent arrival, I'm using version 2.1.10. I'm not messing with the client yet. I've set up my server set to run as a Windows service.

I'd really like to get the CA functionality into my Sage setup, but I can't seem to get to first base. I've tried using malore.stv as in import module, which seems to do nothing at all. I've tried using malore.stv as a custom module, which froze the machine. There are many references in this thread that refer to menus that I just don't seem to have (Custom Menus ?).

I'd be grateful for any pointers.

Thanks,
Peter
Reply With Quote
  #514  
Old 11-11-2004, 07:29 PM
krutaw's Avatar
krutaw krutaw is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Oklahoma City, OK
Posts: 457
Send a message via AIM to krutaw
Quote:
Originally Posted by snipeman
Thanks for the time and effort you put forth to share this with other people.


Regards,

The Other Andy
Glad to hear it's working! :-D

- The Other Other Andy
__________________
Warm Regards,

Andy Kruta A+, CNA, MCSA, Network+, RHCE

"It's kinda fun to do the impossible"
- Walt Disney
Reply With Quote
  #515  
Old 11-11-2004, 07:31 PM
krutaw's Avatar
krutaw krutaw is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Oklahoma City, OK
Posts: 457
Send a message via AIM to krutaw
Quote:
Originally Posted by snipeman
Andy,

I turned on the deleting of orphaned files, and it deleted all my .BAT files and your VBS script file in the directory! Can you have the deleteing of orphaned files ONLY touch the *.TXT files?

Thanks,

Andy
Yeah, that's actually the reason why I turned off the deleting of orphaned files by default so that wierd stuff wouldn't be deleted. This was one of the features that Jere asked for to clean up the folder of all orphaned files. I can see both sides of the coin and will build in another command line option this weekend to handle that
__________________
Warm Regards,

Andy Kruta A+, CNA, MCSA, Network+, RHCE

"It's kinda fun to do the impossible"
- Walt Disney
Reply With Quote
  #516  
Old 11-11-2004, 08:18 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by Deadbolt
On the http://www.sage-community.org/index....ComSkipIniInfo community page states that the detect method default is 31....but that doesn't coorespond to any methods in the lower definition area. Also, if detect_method=32 ... does that include all the detection methods?

Thanks!
If detect_method=32 then comskip will only use the aspect ratio. Which is impossible because black frames are a requirement.

I've corrected the sage community page to reflect the truth: 255 is the default detect_method. Basically it means that all possible detection methods are used.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #517  
Old 11-11-2004, 09:57 PM
Cayars Cayars is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 2,029
Quote:
Originally Posted by pnyberg
First, I'd like to thank everyone who's worked on CA. The fact that this project and this community exists is one of the reasons that I've just jumped onto the Sage bandwagon.

Second, as I just said, I'm a newbie with Sage (though I hope not a complete idiot in general), so please keep that in mind.

Being a recent arrival, I'm using version 2.1.10. I'm not messing with the client yet. I've set up my server set to run as a Windows service.

I'd really like to get the CA functionality into my Sage setup, but I can't seem to get to first base. I've tried using malore.stv as in import module, which seems to do nothing at all. I've tried using malore.stv as a custom module, which froze the machine. There are many references in this thread that refer to menus that I just don't seem to have (Custom Menus ?).

I'd be grateful for any pointers.

Thanks,
Peter
Download and try the Cayars STV. It will do Commercial Skip/Advance out of the "box" and now includes .61. You won't have to configure anything with it to get CA to work.
Reply With Quote
  #518  
Old 11-12-2004, 07:09 AM
JasonJoel JasonJoel is offline
Sage Icon
 
Join Date: Mar 2003
Location: St. Louis, MO
Posts: 1,043
I need to switch my recording profile from "DVD Standard Play" to one that uses constant bit rate (to test some issues with the Media MVP client).

Are there any CBR base recording profiles that will still have closed captions in them for use in COMSKIP??

Thanks in advance!

Jason Bottjen

Last edited by JasonJoel; 11-12-2004 at 09:13 AM.
Reply With Quote
  #519  
Old 11-12-2004, 08:57 AM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
Aren't all the standard DVD profiles constant bit rate?
Reply With Quote
  #520  
Old 11-12-2004, 09:05 AM
Cayars Cayars is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 2,029
I thought so.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.