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
  #21  
Old 04-17-2006, 05:36 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
I'm sorry if this has been asked recently--but how would you use comskip with dirmon? or without? I'm using SageMC. I switched to SA a while ago but wanted to check out the recent builds of comskip. Would i just install it in the sage directory and then just in the sagemc options enable it? That would not require dirman correct? Or--i assume i could set dirman to launch comskip whenever it finds a new recording?

Thanks,

JUC
__________________
Server: Athlon 2000XP; 1GB Kingston Ram; 250GB Seagate; 160GB Seagate; 160GB Western Digital; Lite-on DVD player; Hauppauge Rosyln; Hauppauge PVR-150; ATI AIW 7500; Actisys 200L; running stock v5 .stv


Client: MVP Extender running SageMC
Reply With Quote
  #22  
Old 04-17-2006, 09:24 AM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
I use DirMon with Comskip myself - it can be done either way. I switch between SA and Comskip so keeping it in Dirmon is easiest for me. Both kick out the same format .TXT file with the start/stop times of the commercials detected so the commercial skip plug ins for Sage work the same for either one.

all I had to do in dirmon is switch from running the ShowAnalyzer.exe to the comskip.exe which I have installed in its own folder. Works like a champ.
__________________
Server: 2 PVR 150s hooked to DirectTV tuners w/ serial control. 1 HDHR unit with Comcast QAM. Intel duo core 2.4 GHz, 1 gig RAM. 500 Gig SATA. ReadyNAS with 4 500 Gig WD drives. Sage 6.
Clients:
Living room: HD Extender w/ Pannasonic 42" plasma via HDMI cable.
Basement: HD Extender connected to Dell projector.
Back room: MVP 1000 hooked to 21" CRT TV.
Bedroom: MVP 1000 hooked to 27" CRT TV.
Reply With Quote
  #23  
Old 04-17-2006, 11:37 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
so you don't install comskip in the sagetv folder then? just in its own folder based on the last reply. Is it dirmon that tells it where to output the txt file to? same as SA?
Thanks,

JUC
__________________
Server: Athlon 2000XP; 1GB Kingston Ram; 250GB Seagate; 160GB Seagate; 160GB Western Digital; Lite-on DVD player; Hauppauge Rosyln; Hauppauge PVR-150; ATI AIW 7500; Actisys 200L; running stock v5 .stv


Client: MVP Extender running SageMC
Reply With Quote
  #24  
Old 04-17-2006, 12:07 PM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
yep. In fact I have all commercial detection running on a seperate box - both SA and ComSkip are installed on that box and DirMon is processing files through shares on the main sage rig. Yes, DirMon passes the full path to the MPG file into either SA or ComSkip and the folder where that MPG file is found determines the location of the output .TXT (and log and other files like ViedoRedo jobs and such) are stored.
__________________
Server: 2 PVR 150s hooked to DirectTV tuners w/ serial control. 1 HDHR unit with Comcast QAM. Intel duo core 2.4 GHz, 1 gig RAM. 500 Gig SATA. ReadyNAS with 4 500 Gig WD drives. Sage 6.
Clients:
Living room: HD Extender w/ Pannasonic 42" plasma via HDMI cable.
Basement: HD Extender connected to Dell projector.
Back room: MVP 1000 hooked to 21" CRT TV.
Bedroom: MVP 1000 hooked to 27" CRT TV.
Reply With Quote
  #25  
Old 04-18-2006, 07:10 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
Could you post your .ini file?

Quote:
Originally Posted by jlindborg
I use DirMon with Comskip myself - it can be done either way. I switch between SA and Comskip so keeping it in Dirmon is easiest for me. Both kick out the same format .TXT file with the start/stop times of the commercials detected so the commercial skip plug ins for Sage work the same for either one.

all I had to do in dirmon is switch from running the ShowAnalyzer.exe to the comskip.exe which I have installed in its own folder. Works like a champ.
Reply With Quote
  #26  
Old 04-18-2006, 07:19 PM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
It's all default for the new install other than
verbose=0
output_debugwindow=0
delete_logo_file=1
output_videoredo=1

here's the full file for fun:

detect_method=43 ;1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 64=silence, 255=all
verbose=0 ;show a lot of extra info, level 5 is also OK, set to 0 to disable
max_brightness=60 ;frame not black if any pixels checked are greater than this (scale 0 to 255)
test_brightness=40 ;frame not pure black if any pixels checked are greater than this, will check average brightness (scale 0 to 255)
max_avg_brightness=25 ;maximum average brightness for a dim frame to be considered black (scale 0 to 255) 0 means autosetting
max_commercialbreak=600 ;maximum length in seconds to consider a segment a commercial break
min_commercialbreak=25 ;minimum length in seconds to consider a segment a commercial break
max_commercial_size=120 ;maximum time in seconds for a single commercial or multiple commercials if no breaks in between
min_commercial_size=4 ;mimimum time in seconds for a single commercial
min_show_segment_length=120 ; any segment longer than this will be scored towards show.
non_uniformity=500
max_volume=500 ; any frame with sound volume larger than this will not be regarded as black frame
min_silence=20 ; Any deep silence longer than this amount of frames is a possible cutpoint
ticker_tape=0 ; Amount of pixels from bottom to ignore in all processing
punish=0 ; Compare to average for sum of 1=brightness, 2=uniform 4=volume, 8=silence, 16=schange, set to 0 to disable
punish_threshold=1.3 ; Multiply when amount is above average * punish_threshold
punish_modifier=2 ; When above average * threshold multiply score by this value
intelligent_brightness=0 ; Set to 1 to use a USA specific algorithm to tune some of the settings, not adviced outside the USA
logo_percentile=0.92 ; if more then this amount of logo is found then logo detection will be disabled
logo_threshold=0.80
aggressive_logo_rejection=0
connect_blocks_with_logo=1 ; set to 1 if you want successive blocks with logo on the transition to be regarded as connected, set to 0 to disable
cut_on_ar_change=0 ; set to 1 if you want to cut also on aspect ratio changes, set to 0 to disable
delete_show_after_last_commercial=0 ; set to 1 if you want to delete the last block if its a show and after a commercial
delete_show_before_or_after_current=0 ; set to 1 if you want to delete the previous and the next show in the recording, this can lead to the deletion of trailers of next show
shrink_logo=5 ; Reduce the duration of the logo with this amount of seconds
after_logo=0 ; set to number of seconds after logo disappears comskip should start to search for silence to insert an additional cutpoint
padding=0
ms_audio_delay=5
delete_logo_file=1 ; set to 1 if you want comskip to tidy up after finishing
output_videoredo=1
output_womble=0
output_cuttermaran=0
output_mpeg2schnitt=0
output_mpgtx=0
output_zoomplayer_chapter=0
output_zoomplayer_cutlist=0
output_edl=0
output_vcf=0
output_btv=0 ; set to 1 if you want Beyond TV chapter cutlist output
output_projectx=0 ; set to 1 if you want ProjectX cutlist output (Xcl)
output_demux=0 ; set to 1 if you want comskip to demux the mpeg file while scanning
output_framearray=0
output_debugwindow=0
live_tv=0 ; set to 1 if you use parallelprocessing and need the output while recording
cuttermaran_options="cut=\"true\" unattended=\"true\" muxResult=\"false\" snapToCutPoints=\"true\" closeApp=\"true\""
mpeg2schnitt_options="mpeg2schnitt.exe /S /E /R25 /Z %2 %1"
__________________
Server: 2 PVR 150s hooked to DirectTV tuners w/ serial control. 1 HDHR unit with Comcast QAM. Intel duo core 2.4 GHz, 1 gig RAM. 500 Gig SATA. ReadyNAS with 4 500 Gig WD drives. Sage 6.
Clients:
Living room: HD Extender w/ Pannasonic 42" plasma via HDMI cable.
Basement: HD Extender connected to Dell projector.
Back room: MVP 1000 hooked to 21" CRT TV.
Bedroom: MVP 1000 hooked to 27" CRT TV.
Reply With Quote
  #27  
Old 04-18-2006, 08:49 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I tried your settings and get the same thing (only marks for the beginning and ending few minutes).
Reply With Quote
  #28  
Old 04-18-2006, 11:23 PM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
wish I knew why my behavior is so different from other folks here... you guys have a creepily consistent set of output regardless of shows you're processing. Seems pretty wierd given all the folks using Comskip. But the actual logic it's using is a bit beyond me... I'm a database flunky so I leave that stuff to the smarter kids.
__________________
Server: 2 PVR 150s hooked to DirectTV tuners w/ serial control. 1 HDHR unit with Comcast QAM. Intel duo core 2.4 GHz, 1 gig RAM. 500 Gig SATA. ReadyNAS with 4 500 Gig WD drives. Sage 6.
Clients:
Living room: HD Extender w/ Pannasonic 42" plasma via HDMI cable.
Basement: HD Extender connected to Dell projector.
Back room: MVP 1000 hooked to 21" CRT TV.
Bedroom: MVP 1000 hooked to 27" CRT TV.
Reply With Quote
  #29  
Old 04-18-2006, 11:30 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
In case someone wants to understand why on certain shows comskip does a bad job I invite them to follow this procedure
http://mk.kaashoek.com/comskip/viewtopic.php?t=34
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #30  
Old 04-19-2006, 08:45 AM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
erik, thanks for your continued updates. I set my computers clock 20 seconds fast to ensure I catch the start of shows and your version of comskip does a good job of marking the period before the shows starts as commercials so I can jump right to the start of the show. I've also enjoyed using it on some of my HDTV shows.
Reply With Quote
  #31  
Old 04-19-2006, 08:50 AM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Erik,

Thanks for the update and getting HDTV working with comskip. I almost have everything working but there is one problem (Sorry if it has been brought up before) and I do not think that it is a comskip problem but comskip can solve. On 720p/60 material the Sage comskip plugin cannot interpret this correctly because it needs 29.97 fps If the commercial is 10 minutes into the show Sage puts it at 20 minutes. It would be good for comskip (within the .ini) to allow you to tell it to divide the frame numbers by 2 in the final output. That would fix the problem.

Last edited by ldavis; 04-19-2006 at 08:52 AM.
Reply With Quote
  #32  
Old 04-19-2006, 09:38 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
To check if I understand.

If a certain setting is enabled in the ini file and I detect 60fps material I will divide the frame numbers by 2?
Can someone upload a short recording in 720p/60fps to my ftp server so I can test if I indeed to recognize correctly?
I will PM with the upload details.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #33  
Old 04-19-2006, 09:53 AM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Quote:
Originally Posted by erik
To check if I understand.

If a certain setting is enabled in the ini file and I detect 60fps material I will divide the frame numbers by 2?
Can someone upload a short recording in 720p/60fps to my ftp server so I can test if I indeed to recognize correctly?
I will PM with the upload details.
Erik,

I sent you a PM but I know that comskip recognizes it as 60fps (59.94). This is in the first line of the output file.
Reply With Quote
  #34  
Old 04-19-2006, 02:43 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Utilit: Comskip

From the changelog

Changes in 0.79.34
- Added the proposed cutlistformat for TVersity, enable with output_edlx=1. Warning: This output only is available correctly when scanning the video file, not when editing the cutpoints or processing the .csv file.
- Added ini parameter sage_framenumber_bug=1 to halve the .txt file frame numbers when 720p/60fps content is detected.
- Changed logic when enabling both SILENCE and other detection methods to become more robust against input variations over broadcasting styles.
- Warning: Some changes did have the risk of slightly less quality in detection. Notify me when you detect this.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #35  
Old 04-19-2006, 07:52 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I think I've figured out the problem. When using Dirmon2, I started getting the expected results when I added the --ini parameter. I think the problem is that it can't find the ini file.
Reply With Quote
  #36  
Old 04-19-2006, 08:15 PM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
Intersting - I haven't upgraded to DirMon2 yet, still using the old DirMon... but I don't pass any params other than the MPG filename itself. Cool, though...
__________________
Server: 2 PVR 150s hooked to DirectTV tuners w/ serial control. 1 HDHR unit with Comcast QAM. Intel duo core 2.4 GHz, 1 gig RAM. 500 Gig SATA. ReadyNAS with 4 500 Gig WD drives. Sage 6.
Clients:
Living room: HD Extender w/ Pannasonic 42" plasma via HDMI cable.
Basement: HD Extender connected to Dell projector.
Back room: MVP 1000 hooked to 21" CRT TV.
Bedroom: MVP 1000 hooked to 27" CRT TV.
Reply With Quote
  #37  
Old 04-19-2006, 10:13 PM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Erik,

Thanks for getting the 720p/60fps fix installed. Works perfectly.
Reply With Quote
  #38  
Old 04-19-2006, 10:42 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
I fixed the .ini issue with dirmon2 by moving the comskip .ini to my System32 folder.
Reply With Quote
  #39  
Old 04-19-2006, 11:35 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Comskip can find always the ini file if you put the ini file in the same directory as where the recodings are.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #40  
Old 04-20-2006, 03:33 AM
Wheemer's Avatar
Wheemer Wheemer is offline
Sage Icon
 
Join Date: Dec 2004
Location: Deer Lake, NL, Canada
Posts: 1,493
It would make a lot more sense if the ini was expected to be in the same folder as the comskip exe.

Having the ini placed in the recordings folder could be rather sloppy with multiple recording folders.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comskip Monitor: Announcement Steep SageTV Customizations 340 09-26-2020 09:23 AM
STV Import: Comskip Playback for Default STV (v1.5.4 30/August/2008 for SageTV 5/6) JREkiwi SageTV Customizations 600 11-23-2011 07:58 AM
Sage TV partial recordings and Comskip garyellis SageTV Customizations 4 04-22-2009 04:33 PM
Dirmon2 + Comskip + Mencoder bnh SageTV Customizations 11 09-08-2008 06:40 PM
Comskip & SageMC ? raoul SageMC Custom Interface 17 01-27-2008 05:13 PM


All times are GMT -6. The time now is 06:24 PM.


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