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
  #941  
Old 01-01-2007, 11:05 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Yeah, it's usually a file with nothing in it. Not sure why that is, almost like it's just messed up or something.

I've been running it for a while now, and my process for doing any kind of installing, upgrading, or settings in SA, require stopping DM2, and uninstalling it first (the service, not the software). I'm not sure why, but having DM2 running seems to have caused me grief more than once. Since I've been doing it that way, I haven't had any problems...
__________________
-Jason
Reply With Quote
  #942  
Old 01-02-2007, 08:43 AM
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 stanger89
Jere,

I've got Dirmon2/SA 0.8.4 setup to scan shows as they're being recorded (vs waiting for them to finish). I'm having a problem where some (but not all) shows that are started while recording is in process, never finish. I've set the Live Detection Delay to 10s, and the Live Detection Hold Off to 10MB (which seems to have solved my problem with some detections ending prematurely).
Do I understand right that SA never really gets started?

Are these files that get deleted before SA gets to them?

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #943  
Old 01-02-2007, 10:43 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Yeah, I restarted DM2 as an app (not service) so it would start SA interactively, and setup SA to show the log window when it starts.

All I get in that is the info that SA pulls from the webserver, then nothing else.

And no the files aren't deleted (not this time ), because if I kill the SA process DM will kick it off again (with the now complete file) and SA will scan it just fine.
Reply With Quote
  #944  
Old 01-02-2007, 12:51 PM
Gaurav's Avatar
Gaurav Gaurav is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Sugar Land, TX
Posts: 205
I've seen this a couple of times as well..
I never saw this when i had SA generating txt files only.
Since i set it up to write edl files, SA has done this twice in about a month (might be coincidence...might not be).

Last time i saw this, an SA instance had been running for 16 hours.
I killed the SA process from task manager and everything was fine (i guess!).
Reply With Quote
  #945  
Old 01-02-2007, 04:48 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 stanger89
And no the files aren't deleted (not this time ), because if I kill the SA process DM will kick it off again (with the now complete file) and SA will scan it just fine.
Can you kill SA before the file completes and see if the problem happens again? I'd like to know if it happens due to starting on an empty file or if it is is due to an incomplete file.

There is some code to pause for your live delay if the file is 0 bytes long but I haven't tested to see how it interacts with the live hold off and am a little suspicious of it in the first place.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #946  
Old 01-02-2007, 04:55 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
I'll see if I can catch it.
Reply With Quote
  #947  
Old 01-03-2007, 09:26 AM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
ignoring channels

Hopefully a quick one, I've got SA and dirmon2 setup now, set it to use the web interface, and to ignore some movie channels.

I was wondering though, when SA checks the mpg file and decides its to be ignored, does it create a log file or something, so that it knows not to process it again?

Its just started processing my 50 or so saved programs..... it could be a long night.

thanks.

Dave
Reply With Quote
  #948  
Old 01-03-2007, 09:32 AM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by doc
Hopefully a quick one, I've got SA and dirmon2 setup now, set it to use the web interface, and to ignore some movie channels.

I was wondering though, when SA checks the mpg file and decides its to be ignored, does it create a log file or something, so that it knows not to process it again?

Its just started processing my 50 or so saved programs..... it could be a long night.

thanks.

Dave
I believe it creates an empty comskip file, IIRC.
__________________
-Jason
Reply With Quote
  #949  
Old 01-03-2007, 09:41 AM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
Quote:
Originally Posted by geogecko
I believe it creates an empty comskip file, IIRC.
thanks, thats nice to know.

I've just watched it process 2 file continuously for an hour while I tried to see the error in my settings. As usual is was SO OBVIOUS when I found it. I think I need new glasses...

cheers.
Reply With Quote
  #950  
Old 01-03-2007, 12:19 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 jds23
CC now works with the PVR150, PVR500, and many other Hauppauge cards due to some new drivers being released by them (http://www.shspvr.com/smf/index.php?topic=10505.0). Do you by chance know if the above holds true for the captions being saved as a srt/sub/smi file for these newly supported cards? I imagine the files are being written the same way (as the 250/350 .mpg files) as it took nothing but one property change in Sage to make it work. Thanks for your help... -John
I suspect that it should work correctly. I don't have a 150 or 500 to verify though. Also, it should be noted that the CC extration is not, um, very, um, reliable.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #951  
Old 01-04-2007, 12:19 AM
sabre sabre is offline
Sage Aficionado
 
Join Date: Aug 2004
Posts: 279
late night desparation Q. Can someone tell me how to stop DirMon2 from having SA process mpg files that already have txt files? In other words, i am moving to edl files, but all of my files now have txt files, and i do not want it to process them all over again (unless i have to). Under triggers in Dirmon2, under must not exist, i have "edl OR txt", but it still triggers and creates new edl files.

Thanks
Reply With Quote
  #952  
Old 01-04-2007, 06:12 AM
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 sabre
late night desparation Q. Can someone tell me how to stop DirMon2 from having SA process mpg files that already have txt files? In other words, i am moving to edl files, but all of my files now have txt files, and i do not want it to process them all over again (unless i have to). Under triggers in Dirmon2, under must not exist, i have "edl OR txt", but it still triggers and creates new edl files.

Thanks
Change it to AND. Think of it like this: An edl doesn't exist AND a txt doesn't exist.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #953  
Old 01-04-2007, 08:24 AM
sabre sabre is offline
Sage Aficionado
 
Join Date: Aug 2004
Posts: 279
Thanks Jere,

I have tried that too. Nonetheless, I think it should be OR, since I only want it to trigger if an edl does not exist OR a txt does not exist. If a txt does exist (which is the case with most of the previous recorded files now), then I do not want it to trigger. (An aside, i have told it not to process shows from this channel and I have webserver working, but it still is processing them.)

This brings up another point - is the comskip plugin in the default STV able to process txt or edl files. In other words some of the mpg's would have txt and others edl. Or do i have to specify one or the other. I have been told edl files tend to be more accurate, thus want to use them on future recordings.
Reply With Quote
  #954  
Old 01-04-2007, 01:31 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
This brings up another point - is the comskip plugin in the default STV able to process txt or edl files. In other words some of the mpg's would have txt and others edl. Or do i have to specify one or the other. I have been told edl files tend to be more accurate, thus want to use them on future recordings.
I think it can use either, but if both exist, I have no clue which one it chooses.

Quote:
I have tried that too. Nonetheless, I think it should be OR, since I only want it to trigger if an edl does not exist OR a txt does not exist. If a txt does exist (which is the case with most of the previous recorded files now), then I do not want it to trigger. (An aside, i have told it not to process shows from this channel and I have webserver working, but it still is processing them.)
Actually, you or Jere aren't quite correct...LOL.

If you eventually want to only have EDL files (when all your recordings with TXT files get deleted/watched), then you have a problem.

For instance, say you have the following recordings, with respective comskip files:

old_show_1.mpg
old_show_1.txt

old_show_2.mpg
old_show_2.txt

new_show_1.mpg
no comskip file yet

Now, if you use OR, you will end up getting .edl files for your old_show_*.mpg files, and just .edl files for your new_show_1.mpg file. If you use AND, you will end up having no change on your old_show_*.mpg files (meaning, the .txt file will exist, but you won't get a .edl file), but you'll end up with both a .txt file and .edl file on your new_show_1.mpg file, which is probably not what you want.

OR
old_show_1.mpg
old_show_1.txt
old_show_1.edl

old_show_2.mpg
old_show_2.txt
old_show_2.edl

new_show_1.mpg
new_show_1.edl

AND
old_show_1.mpg
old_show_1.txt

old_show_2.mpg
old_show_2.txt

new_show_1.mpg
new_show_1.txt
new_show_1.edl

Not only that, but you'd have to have both EDL and TXT file generation enabled in SA when using the AND option, otherwise, you'd get stuck in a loop.

I would just do this option, generating both files (no idea if EDL has priority over TXT in the STV, but hopefully it's EDL, for your case), then just trigger on "No TXT" only.

When your collection of video's gets to where every file has an EDL file with it (because you have deleted those videos), you can then turn off TXT file generation in SA, and change the trigger to trigger on "No EDL" only, and delete all your TXT files.

Another option, is that you could have a second instance of a SA profile in DM2, and have the blackout period set to when you will not be viewing material, and have it setup to where it will also generate both files, but have it trigger on "No EDL." This will start converting your files that only have TXT files, to also have an EDL file, but only at night.

No idea if the two profiles will fight with each other, if perhaps, you have a recording that is not in the blackout period... I'll leave that one to Jere.

Depending on how much material you have, and your CPU, it shouldn't take more than a few nights to convert it all anyway. I think I did 500GB worth one time, and it only took 2-3 days, with an AMD 3000+ processor.
__________________
-Jason
Reply With Quote
  #955  
Old 01-04-2007, 01:57 PM
sabre sabre is offline
Sage Aficionado
 
Join Date: Aug 2004
Posts: 279
Thanks for that Jason. I think I did read somewhere since my last post that comskip will choose EDL over TXT if both are present. so that should work.

Thus, I think the best option is to have SA output both TXT and EDL at this time. I assume the answer is no, but does that mean it will have to scan the mpg 2x? or does one scan do it for both files?

It is not fully clear why my logic is incorrect on the OR under 'must not exist', but they way you described i understand.
Reply With Quote
  #956  
Old 01-04-2007, 03:09 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by sabre
Thus, I think the best option is to have SA output both TXT and EDL at this time. I assume the answer is no, but does that mean it will have to scan the mpg 2x? or does one scan do it for both files?
As far as I know, SA scans once and outputs whatever files you want. The exception is if you've got a TXT there, but not an EDL, dirmon will run SA again to create the EDL.

Quote:
It is not fully clear why my logic is incorrect on the OR under 'must not exist', but they way you described i understand.
I think it's just the confusing nature of computer "logic". When you put TXT and EDL in there, Dirmon looks and if it sees an MPEG file that is missing a TXT or EDL file, it will run SA.

Perhaps try changing that to AND, so that dirmon will only run SA if the TXT and EDL are missing.

I think it's one of those cases where the idea expressed in English:
"Do x if not a or b"
is translated to the following logic:
if not a and not b
Instead of if not a or not b.
Reply With Quote
  #957  
Old 01-04-2007, 08:21 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
FYI: If you want to translate your TXT comskip files to EDL files you can import my Video Edit plugin and load with TXT as the "cut file preference" in the configure open file options and save with EDL as the preference in the close file/stop options. You do have to load and save each file there is no automation for this. But if you have any cut points that are a little off you can correct them before you save with this plugin.

BobP.
Reply With Quote
  #958  
Old 01-04-2007, 09:01 PM
sabre sabre is offline
Sage Aficionado
 
Join Date: Aug 2004
Posts: 279
Thanks for the help guys. I am checking for NO txt file and producing txt and edl files. I have confirmed that comskip on the default STV will work on either file if present, and if both are there, it will use the edl file.

I am unable to get SA to not process if set to a certain channel, but get around that by ignoring in Dirmon2 certain files of kids shows - such as dora*, or sesame*. Does pretty much the same thing for these shows.

edit - thanks Bobp. i cant wait to use that plugin.

edit 2 - in a couple shows recorded since using an updated SA and D2, the first comm break always starts early, maybe 30-40 seconds. Will look to see if this pattern continues. the other breaks seem to be ok

Last edited by sabre; 01-05-2007 at 08:56 AM.
Reply With Quote
  #959  
Old 01-20-2007, 10:59 AM
Xsabre Xsabre is offline
Sage Advanced User
 
Join Date: Mar 2005
Posts: 112
I have a simple question. I am curious to update my version of SA (v6) and Dirmon (v1) to the newest version but I just don't know if it will be worth it. Presently, I have a good to high rate of success with commercial detection but it is not perfect.

What would be the advantages of going to SA (v7 or v8) and Dirmon2. I know that SA (v7) does edl versus txt. But I don't see or understand the real benefit. Your expertise is greatly appreciated. Thanks in advance...
Reply With Quote
  #960  
Old 01-20-2007, 09:20 PM
mdnttoker mdnttoker is offline
Sage Aficionado
 
Join Date: Aug 2006
Posts: 446
Quote:
Originally Posted by Xsabre
I have a simple question. I am curious to update my version of SA (v6) and Dirmon (v1) to the newest version but I just don't know if it will be worth it. Presently, I have a good to high rate of success with commercial detection but it is not perfect.

What would be the advantages of going to SA (v7 or v8) and Dirmon2. I know that SA (v7) does edl versus txt. But I don't see or understand the real benefit. Your expertise is greatly appreciated. Thanks in advance...
I just updated to the latest SA beta posted online (the one w/school house) and it fixed a commercial detection issue I was having with CSI. Made everything better, nothing worse, I consider that a success

But if the imperfection doesn't bother you, I'd say don't mess with it...
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 09:57 AM.


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