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
  #41  
Old 04-20-2006, 03:45 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
That should work too.
If not, I like to know.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #42  
Old 04-20-2006, 03:49 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Quote:
Originally Posted by jlindborg
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.
jlindborg,
I received a report that build 33 delivers worse results compared to build 30.
Which build do you use?
Can you test with
volume_slip=20
in the ini file?
Can you mail me a .csv file generated with
output_framearray=1
in the ini file?
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #43  
Old 04-20-2006, 08:52 AM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
I'm using build 33 and have been since it came out - haven't had any significant problems with it on any content thus far.
__________________
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
  #44  
Old 04-20-2006, 01:51 PM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
Now that I've straightened out my .ini problems comskip seems to be doing quite well; however, it doesn't appear that it's outputting the commercials to the .txt file as it finds them.

Is there a way to make it output the commercials as they are found or do I have to wait until the show is fully processed?
Reply With Quote
  #45  
Old 04-20-2006, 02:03 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
set
live_tv=1
in the ini file
But the results if this form of processing is not as good as when the full bag of tricks is applied as can only be done after the whole file is processed
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #46  
Old 04-20-2006, 02:17 PM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
Hey Erik - follow up to this.

I notice it kicks off processing even if the file is being recorded to anyway on my box - I don't have this parameter configured... is it supposed to check to see if the file is being written to still and bail out right away or something? I'm guessing without the SA style web server interface the only thing you can do is watch the file for a few seconds and see if it's getting bigger or not. Perhaps with file caching it's not waiting long enough and taking off on it anyway? Just guessing...
__________________
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
  #47  
Old 04-20-2006, 02:49 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Comskip is designed to detect the file is still being recorded and wait for a while and then retry and process the part that was recorded.
However if you do not set
live_tv=1
no output will be written to the .txt file while processing you don't see its making progress.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #48  
Old 04-20-2006, 03:04 PM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
so is there a way it can just stop entirely and return if the file is being written to instead of trying again on its own? short story is I don't want it touching files that are being written to at all - I'm using DirMon to drive the process and if it fails and returns, DirMon will kick it off again in a while (say 10 minutes) - I only want it to process shows that are finished recording if possible.
__________________
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
  #49  
Old 04-20-2006, 03:04 PM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
Quote:
Originally Posted by erik
set
live_tv=1
in the ini file
But the results if this form of processing is not as good as when the full bag of tricks is applied as can only be done after the whole file is processed
That was going to be my next question.

Guess I'll have to decide if having the commercials output in "real time" is more important than accuracy.
Reply With Quote
  #50  
Old 04-20-2006, 03:06 PM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
Quote:
Originally Posted by jlindborg
so is there a way it can just stop entirely and return if the file is being written to instead of trying again on its own? short story is I don't want it touching files that are being written to at all - I'm using DirMon to drive the process and if it fails and returns, DirMon will kick it off again in a while (say 10 minutes) - I only want it to process shows that are finished recording if possible.
Why not simply check the box in dirmon that tells it not to launch the process if the file is still being written to?
Reply With Quote
  #51  
Old 04-20-2006, 04:42 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Hm, I just downloaded and ran on about 30 shows. A combination of HDTV and SDTV sources, all files are program streams.

It did not flag a single commercial properly. Typically the first 3rd of the show is marked as a commercial, then a couple other sections in the file are flagged.

I tried using defaults settings, and setting the detect to 255. Same poor results.

Ideas on how to tune?

thanks,
Reply With Quote
  #52  
Old 04-21-2006, 12:20 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Assuming you are in the USA the default ini file should have worked better then you describe so I assume something else is wrong.

Can you set
output_framearray=1
and
verbose=10
in the comskip.ini file and mail me the log file and the .csv file that is created with the same name as the recording?
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #53  
Old 04-21-2006, 10:24 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Erik,
I did some testing and have a couple questions.

If I do not specify the ini file where does it default to? The directory where the executable is located or the directory where the executable was call from?

I think this maybe the issue. When I run comskip in the directory where I call it from with the ini file there, things seem to work well. Otherwise I get poor results as it is not seeing the comskip.ini file.

thanks,
Reply With Quote
  #54  
Old 04-21-2006, 10:59 AM
DFA DFA is offline
Sage Expert
 
Join Date: Oct 2003
Location: Bakersfield
Posts: 638
jlindborg:

As Blade mentioned, Dirmon2 has checkbox to wait until file is finished before processing. Can't recall about original Dirmon if this feature is there.

If upgrading to Dirmon2, original Dirmon has to be uninstalled. However, there is a "gotcha' (bug) in the uninstall of original Dirmon: it wipes out the entire [HKLM\SOFTWARE\Dragon Global] registery key rather than just the Dirmon sub-key which wipes out the SA license and some config params as well. Recommend export "Dragon Global" key first before uninstall of Dirmon and then import after uninstall of old Dirmon. Then hand delete old Dirmon subkey under "Dragon Global". SA subkey will then be preserved. Just a heads up.

EDIT: I suppose you can just export the SA subkey under "Dragon Global" and save the step of deleting the old Dirmon subkey after re-importing.

DFA
__________________
Wrong information is worse than no information

Last edited by DFA; 04-21-2006 at 06:24 PM.
Reply With Quote
  #55  
Old 04-21-2006, 11:44 AM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
yeah, I tried DirMon2 last night and couldn't get it to fly but I hadn't fully uninstalled DirMon (good thing I didn't based on your note). Thanks for the heads up - I'll snag the registry branch and save it off first and give it another try.
__________________
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
  #56  
Old 04-21-2006, 04:26 PM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
Quote:
Originally Posted by erik
Comskip is designed to detect the file is still being recorded and wait for a while and then retry and process the part that was recorded.
However if you do not set
live_tv=1
no output will be written to the .txt file while processing you don't see its making progress.
I thought I understood all of this, but let me double check.

1. Comskip can process the file as it's recorded and output the commercials when found, but the results aren't as accurate.

2. Comskip can process the file as it's recorded but waits to output the findings until the entire file is processed? Is this more accurate than the first way listed? I thought maybe by waiting to output the findings it was able to use more of it's tricks.

3. Wait until the entire recording is finished before doing any processing. Is this more accurate than #2?

I ask because I ran comskip using the #2 & #3 ways and the frames listed in the .txt were identical. I'm just trying to find the quickest way to get my shows processed while maintaining accuracy.
Reply With Quote
  #57  
Old 04-21-2006, 06:32 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Quote:
Originally Posted by erik
Comskip can find always the ini file if you put the ini file in the same directory as where the recodings are.
I suspect this is worth investigating further. I was ready to switch to SA because comskip was not detecting well for me. It was only detecting a bit at the very beginning and very ending of shows. As I said in another post, I suspected the problem was related to comskip not finding the .ini file when run under DirMon2 (because others had suggested that).

I tested this out today by moving comskip.ini to System32 and indeed, that solved the problem of bad detection. So, at least on my computer, I have proven that Comskip could not find the .ini file when it was located in the same folder as the .exe, if run under DirMon2.
Reply With Quote
  #58  
Old 04-21-2006, 07:51 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
dshields,
I have proven that on my computer also. I uninstalled Dirmon2 and re-installed Dirmon. The command line options in Dirman work correctly with comskip.

I even tried creating a shortcut for the comskip.ini file and put that in the recordings directory, but that did not work either for some reason.
Reply With Quote
  #59  
Old 04-21-2006, 07:59 PM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
My guess, since I've done this exact same thing in apps I've written, is that DirMon changes the currently active directory to where the application that it's launching is installed - all is well. DirMon2 is likely not - if ComSkip is checking the current directory when it runs, it would not get the directory it's installed in, but the current directory DirMon2 had active - as such it wouldn't find the .INI file in that directory. one of the many goofy bugs I had to run down in various services I've writen in the past.

This is easier when you're running as a desktop app instead of as a service - I wonder if the "hidden" derivative of DirMon2 works properly or not.

Either way you should be able to pass a hard coded path to the INI file in question on the comskip command line to get around it.
__________________
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
  #60  
Old 04-21-2006, 10:33 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
I tried putting it on the command line and Dirmon2 would not take it and command line options get put at the end of the command so comskip wont accept that. Hence I'm back with Dirmon. But hey it works and I have HDTV source marked properly
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.