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
  #1  
Old 11-14-2008, 12:43 AM
Deacon Crusher Deacon Crusher is offline
Sage Expert
 
Join Date: Aug 2004
Location: Berkeley, CA
Posts: 504
dirmon2 with comskip no edl files?

I've been running comskip with comskipmon, but want to run 2 iterations of comskip so working with dirmon2.

Problem is comskip runs, but creates no edl files????????

I now have a dirmon2 config that works how I want, here's it's ini.

[Global]
Polling Time = 600
Available Resources = 55

[Service]
Start Automatically = 1
Run as Local System = 1
Allow Interaction With Desktop = 1
Run as User = 0
User Name =
User Password =

[Job Description 1]
Name = comskip-ts
Processor = C:/comskip-ts/comskip.exe
Targets Are Paths = 0
Targets Are Extensions = 1
Command Line Options =
Must Exist 1 =
Must Exist Logic = OR
Must Exist 2 =
Must And Or Must Not Exist Logic = OR
Must Not Exist 1 = edl
Must Not Exist Logic = AND
Must Not Exist 2 = txt
Directory 1 = D:/Sage
Directory 2 = E:/sage
Target 1 = ts
Resources Needed = 25
Timeout Enabled = 1
Timeout = 7200
Priority Boost Due To Job Description = 0
Priority Boost Due To Age = -1
Priority Boost Due To Name = 0
Process Subdirectories = 0
Wait Until File Is Finished = 0
Wait Until File Is Idle = 0
Wait Until File Is Not Growing = 0
Wait Until File Is Not Growing Time = 1
Wait Until Drive Is Idle = 0
Wait Until Drive Is Idle Time = 2
Hide Console = 1
Blackout Enabled = 0
Blackout Start Time = 0
Blackout End Time = 0
Avoid Hidden Files = 1
Avoid Large Files = 0
Avoid Files Larger Than = -1
Avoid Small Files = 1
Avoid Files Smaller Than = 1000000
Avoid New Files = 0
Avoid Files Newer Than = -1
Avoid Old Files = 0
Avoid Files Older Than = -1

[Job Description 2]
Name = comskip-mpg
Processor = C:/comskip-mpg/comskip.exe
Targets Are Paths = 0
Targets Are Extensions = 1
Command Line Options =
Must Exist 1 =
Must Exist Logic = OR
Must Exist 2 =
Must And Or Must Not Exist Logic = OR
Must Not Exist 1 = edl
Must Not Exist Logic = AND
Must Not Exist 2 = txt
Directory 1 = D:/Sage
Directory 2 = E:/sage
Target 1 = mpg
Target 2 = mpeg
Resources Needed = 25
Timeout Enabled = 1
Timeout = 7200
Priority Boost Due To Job Description = 0
Priority Boost Due To Age = -1
Priority Boost Due To Name = 0
Process Subdirectories = 0
Wait Until File Is Finished = 0
Wait Until File Is Idle = 0
Wait Until File Is Not Growing = 0
Wait Until File Is Not Growing Time = 1
Wait Until Drive Is Idle = 0
Wait Until Drive Is Idle Time = 2
Hide Console = 1
Blackout Enabled = 0
Blackout Start Time = 0
Blackout End Time = 0
Avoid Hidden Files = 1
Avoid Large Files = 0
Avoid Files Larger Than = -1
Avoid Small Files = 1
Avoid Files Smaller Than = 100000
Avoid New Files = 0
Avoid Files Newer Than = -1
Avoid Old Files = 0
Avoid Files Older Than = -1

[Cleanup Description 1]
Directory = D:/Sage
Process Subdirectories = 0
Target Extension 1 = txt
Target Extension 2 = log
Target Extension 3 = edl
Target Extension 4 = my
Trigger Extension 1 = mpeg
Trigger Extension 2 = mpg
Trigger Extension 3 = ts
[Cleanup Description 2]
Directory = E:/sage
Process Subdirectories = 0
Target Extension 1 = txt
Target Extension 2 = log
Target Extension 3 = edl
Target Extension 4 = my
Trigger Extension 1 = mpeg
Trigger Extension 2 = mpg
Trigger Extension 3 = ts

And here's the comskip ini from one of my 2 installs.

detect_method=43 ;1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 64=silence, 128=cutscenes, 255=all
validate_silence=1 ; Default, set to 0 to force using this clues if selected above.
validate_uniform=1 ; Default, set to 0 to force using this clues (like pure white frames) if blackframe is selected above.
validate_scenechange=1 ; Default, set to 0 to force using this clues if selected above.
verbose=10 ;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=125 ;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=125 ; any segment longer than this will be scored towards show.
non_uniformity=500 ; Set to 0 to disable cutpoints based on uniform frames
max_volume=500 ; any frame with sound volume larger than this will not be regarded as black frame
min_silence=12 ; 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
logo_at_bottom=0 ; Set to 1 to search only for logo at the lower half of the video, do not combine with subtitle setting
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.75
punish_no_logo=1 ; Default, set to 0 to avoid show segments without logo to be scored towards commercial
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
logo_filter=0 ; set the size of the filter to apply to bad logo detection, 4 seems to be a good value.
cut_on_ar_change=1 ; set to 1 if you want to cut also on aspect ratio changes when logo is present, set to 2 to force cuts 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
delete_block_after_commercial=0 ;set to max size of block in seconds to be discarded, set to 0 to disable
remove_before=0 ; amount of seconds of show to be removed before ALL commercials
remove_after=0 ; amount of seconds of show to be removed after ALL commercials
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
volume_slip=20
skip_b_frames=0 ; Set to 1 to force Comskip to skip frames for higher processing speed.
max_repair_size=200 ; Will repair maximum 200 missing MPEG frames in the timeline, set to 0 to disable repairing for players that don't use PTS.
disable_heuristics=4 bit pattern for disabling heuristics, adding 1 disables heristics 1, adding 2 disables heristics 2, adding 4 disables heristics 3, 255 disables all heuristics
delete_logo_file=0 ; set to 1 if you want comskip to tidy up after finishing
output_framearray=0 ; create a big excel file for detailed analysis, set to 0 to disable
output_data=0 ; create a dump of the user data channel, used for CC and XDS (such as V-Chip info). Can be use together with output_framearray to remote debug CC decoding
output_videoredo=0
output_womble=0
output_mls=0 ; set to 1 if you want MPeg Video Wizard bookmark file output
output_cuttermaran=0
output_mpeg2schnitt=0
output_mpgtx=0
output_dvrcut=0
output_zoomplayer_chapter=0
output_zoomplayer_cutlist=0
output_edl=1
output_edlx=0
output_vcf=0
output_bsplayer=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_avisynth=0
output_vdr=0 ; set to 1 if you want XBMC to skipping commercials
output_demux=0 ; set to 1 if you want comskip to demux the mpeg file while scanning
sage_framenumber_bug=0
sage_minute_bug=0
live_tv=0 ; set to 1 if you use parallelprocessing and need the output while recording
live_tv_retries=4 ; change to 16 when using live_tv in BTV, used for mpeg PS and TS
dvrms_live_tv_retries=300 ; only used for dvr_ms
standoff=0 ; change to 8000000 when using live_tv in BTV
cuttermaran_options="cut=\"true\" unattended=\"true\" muxResult=\"false\" snapToCutPoints=\"true\" closeApp=\"true\""
mpeg2schnitt_options="mpeg2schnitt.exe /S /E /R25 /Z %2 %1"
avisynth_options="LoadPlugin(\"MPEG2Dec3.dll\") \nMPEG2Source(\"%s\")\n"
dvrcut_options="dvrcut \"%s.dvr-ms\" \"%s_clean.dvr-ms\" "
windowtitle="Comskip - %s"

Anyone have any clue why I wouldn't end up with edl files?

thanks
__________________
Server: PhenomII X4 810, 16GB, 4850, C: 256GB Samsung SSD, D: HGST 3TB, E: HGST 4TB, H: 3T Seagate, 1.5 TB on NAS via UNC, Win 10 x64,
Sage 9 Cable provider is Comcast, Schedules Direct
Tuners: 4 ATSC - 2 seperate HD Homeruns all via Channel Master CM2016 on roof, 6 cable via 2 hdhomerun primes (opendct), 1 HD-PVR (in tuner priority order)
Clients: Wired: HD300, HD200, HD200 running Squeeze Slave, Placeshifters, HD200 (via wireless N bridge)

Last edited by Deacon Crusher; 11-14-2008 at 12:52 AM.
Reply With Quote
  #2  
Old 11-14-2008, 03:37 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Dirmon2 starts comskip in a very strange way making it sometimes impossible for comskip to find its ini file.

make shure to pass as an extra parameter where comskip can find its ini file
comskip.exe --ini=path_to_ini.ini file_to_process.mpg
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #3  
Old 11-17-2008, 02:02 PM
Deacon Crusher Deacon Crusher is offline
Sage Expert
 
Join Date: Aug 2004
Location: Berkeley, CA
Posts: 504
Thanks Erik

that did it.
__________________
Server: PhenomII X4 810, 16GB, 4850, C: 256GB Samsung SSD, D: HGST 3TB, E: HGST 4TB, H: 3T Seagate, 1.5 TB on NAS via UNC, Win 10 x64,
Sage 9 Cable provider is Comcast, Schedules Direct
Tuners: 4 ATSC - 2 seperate HD Homeruns all via Channel Master CM2016 on roof, 6 cable via 2 hdhomerun primes (opendct), 1 HD-PVR (in tuner priority order)
Clients: Wired: HD300, HD200, HD200 running Squeeze Slave, Placeshifters, HD200 (via wireless N bridge)
Reply With Quote
  #4  
Old 11-18-2008, 07:25 AM
Polypro Polypro is offline
Sage Icon
 
Join Date: Jun 2005
Posts: 1,804
It must do the same thing to SA...I could never get .edl files to appear, only .txt

Regular old Dirmon worked.


P
Reply With Quote
  #5  
Old 11-18-2008, 09:10 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by Polypro View Post
It must do the same thing to SA...I could never get .edl files to appear, only .txt

Regular old Dirmon worked.


P
Dirmon2 and SA create .edl files on my system all night long. And like erik mentioned comskip just needs the path to the ini switch placed on the comand line.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #6  
Old 11-18-2008, 12:35 PM
Deacon Crusher Deacon Crusher is offline
Sage Expert
 
Join Date: Aug 2004
Location: Berkeley, CA
Posts: 504
Yep, it's working great for me now.

I really like the options in dirmon2.
__________________
Server: PhenomII X4 810, 16GB, 4850, C: 256GB Samsung SSD, D: HGST 3TB, E: HGST 4TB, H: 3T Seagate, 1.5 TB on NAS via UNC, Win 10 x64,
Sage 9 Cable provider is Comcast, Schedules Direct
Tuners: 4 ATSC - 2 seperate HD Homeruns all via Channel Master CM2016 on roof, 6 cable via 2 hdhomerun primes (opendct), 1 HD-PVR (in tuner priority order)
Clients: Wired: HD300, HD200, HD200 running Squeeze Slave, Placeshifters, HD200 (via wireless N bridge)
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 help please eclas SageTV Customizations 8 09-28-2008 07:17 AM
SageTV V6.3.10 Release Candidate Narflex SageTV Beta Test Software 0 02-28-2008 06:07 PM
DVD Burning process stuck on yellow balloon & comskip problem ddilbeck SageTV Customizations 19 12-16-2006 12:50 PM
Comskip and HD Jesse SageTV Customizations 7 02-08-2006 06:31 PM
what I don't understand: TS files and network encoders potpiejimmy Hardware Support 4 01-10-2006 02:28 PM


All times are GMT -6. The time now is 03:17 AM.


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