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
  #221  
Old 08-26-2005, 10:08 AM
ErsatzTom's Avatar
ErsatzTom ErsatzTom is offline
Sage Expert
 
Join Date: Dec 2003
Location: Southwest Florida
Posts: 712
Send a message via AIM to ErsatzTom
BTW, when you are recording multiple simultaneous shows, will dirmon startup one SA for each? I haven't tested that but if not, that would be a really great feature since analyzing live shows take so little cpu.

t
__________________
Thomas Micheline
duff@sage-community.org
http://www.sage-community.org/
Reply With Quote
  #222  
Old 08-26-2005, 10:17 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 ErsatzTom
BTW, when you are recording multiple simultaneous shows, will dirmon startup one SA for each? I haven't tested that but if not, that would be a really great feature since analyzing live shows take so little cpu.

t
Not yet. Eventually, but not yet.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #223  
Old 08-26-2005, 11:13 AM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
I have only one processor set up and it calls SA. I had assumed that if I setup another processor calling SA that it would be able to analyze simultaneous shows even if live. Is it not possible to run multiple instances of SA?

I don't plan on actually doing this, I'm just asking because I am curious.
Reply With Quote
  #224  
Old 08-26-2005, 11:56 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 sleonard
I have only one processor set up and it calls SA. I had assumed that if I setup another processor calling SA that it would be able to analyze simultaneous shows even if live. Is it not possible to run multiple instances of SA?

I don't plan on actually doing this, I'm just asking because I am curious.
DirMon will only run one processor at a time. So while it is possible to run multiple instances of SA, it is not possible for DirMon to run multiple instances of SA.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #225  
Old 08-26-2005, 12:25 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
You could setup multiple processors in DirMon which would then launch multiple instances of SA?
Reply With Quote
  #226  
Old 08-26-2005, 12:35 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
DirMon will only run one processor at a time. It runs a processor, waits for it to finish, then runs the next one.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #227  
Old 08-26-2005, 12:49 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Strange. Well, since I knew the new version was probably there, I just changed the link to point to the real .4 version.

Just got switched over to Verizon FiOS this morning, and wow, it's fast. Pulling 5.1Mbps right now!
__________________
-Jason
Reply With Quote
  #228  
Old 08-26-2005, 06:44 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Bug fixes anyone? Especially for free mode users.
0.5.5 26 August 2005
- Placing the mouse over the system tray icon will now display what show is being analyzed and the percentage complete.
- Fixed bug with free decoder crashing.
- Free decoder can now decode HD files. The AC-3 audio stream will be ignored.
- Fixed the mode indication on the status window. (It always indicated normal mode)
- Added more command line options. These allow you to specify recording specific information about the show being analyzed (e.g. show name, channel, category, etc.) that will be used in selecting the settings profile.
- Fixed Free/Normal selection bug.
Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #229  
Old 08-26-2005, 11:21 PM
hchucky hchucky is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 140
Quote:
Originally Posted by Jere_Jones
@hchucky,

I think what you are seeing is the "crash at the end" bug. I think I fixed it in 0.5.4 and have had one confirmation that it was fixed.

One of the tests that I run is running multiple instances of SA at the same time. I also run SA against the same file at the same time. Both finish fine. The only real concern is that the results of the one that finish first are thrown away. But you shouldn't be seeing crashes.

Looking at the filenames that you listed, they are all show fragments. Something must have gone wrong to cause the fragment, so the file itself is probably messed up. Another possibility is that fragments are often too short to get any meaningful information from so SA could have just not found any commercials.

Jere

I upgraded to 5.5 and I am still seeing the issue. Not sure how the show in my previous example got fragmented. I don't believe that is a factor here since it happens on all shows. I've uploaded another screen print. As you can see it just sits there idle until the timeout shuts it down. An interesting thing is that it always hangs like this on the same computer, never on the other one.

Is it possible to put an exclusive lock on the .txt file so the second analyzer is unable to write to it? Then add a check where if it can't open the .txt file exclusively it moves on?

HC
Attached Images
File Type: jpg ShowAnalyser.jpg (22.5 KB, 346 views)

Last edited by hchucky; 08-26-2005 at 11:25 PM.
Reply With Quote
  #230  
Old 08-27-2005, 07:55 AM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Try uninstalling completely and making sure that the \Software\Dragon Global keys are deleted in HK Local Machine and HK Current User.

Reinstall and reregister.

As a side question, the computers that are processing, which is locking up? The one that has the files locally? Or the one that is accessing over a network? What kind of network?

The one that freezes, will it run okay manually if the other computer isn't running on that file?

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7

Last edited by Jere_Jones; 08-27-2005 at 08:21 AM. Reason: Inappropriate advice
Reply With Quote
  #231  
Old 08-27-2005, 08:21 AM
hchucky hchucky is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 140
Quote:
Originally Posted by Jere_Jones
@HC

Your trial is probably expired. On the 11th you said you were using a demo key and that you did not have the TPD's.

I couldn't associate your name here with anyone that requested a key, so I can't be certain. Every trial key gets sent with an expiration date.

Jere
I did purchase a key but it is under a different name. I sent you a PM with the details. Below are log file snippets from the two systems if that helps. Note that both should be configured the same with one exception. The system that hangs checks every 5 min. and the other system checks every 3 min. On both I have set a 4 hour timeout.

Logfile snippet from the ShowAnalyzer that hangs:
Fri Aug 26 16:00:19 2005: Checking directories...
Fri Aug 26 16:00:19 2005: Checking "U:\Video"
Fri Aug 26 16:00:19 2005: Checking "Y:\Video"
Fri Aug 26 16:00:19 2005: Checking for orphan targets.
Ensuring U:\Video\KimPossible-NumberOne-3897893-0.mpg still exists.
Verifying the that U:\Video\KimPossible-NumberOne-3897893-0.mpg should still be processed.
Fri Aug 26 16:00:19 2005: Attempting to execute the following command:
"C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" U:\Video\KimPossible-NumberOne-3897893-0.mpg
Fri Aug 26 16:00:20 2005: Waiting for processor to finish.
Fri Aug 26 20:00:21 2005: Processor not finished after timout period. Terminating process.
Ensuring U:\Video\KimPossible-NumberOne-3897893-0.mpg still exists.
Verifying the that U:\Video\KimPossible-NumberOne-3897893-0.mpg should still be processed.
Nope. It's done. Not processing.

Logfile snippet from the ShowAnalyzer that does not hang:

Fri Aug 26 16:01:00 2005: Checking directories...
Fri Aug 26 16:01:00 2005: Checking "U:\Video"
Fri Aug 26 16:01:00 2005: Checking "Y:\Video"
Fri Aug 26 16:01:00 2005: Checking for orphan targets.
Ensuring U:\Video\KimPossible-NumberOne-3897893-0.mpg still exists.
Verifying the that U:\Video\KimPossible-NumberOne-3897893-0.mpg should still be processed.
Fri Aug 26 16:01:00 2005: Attempting to execute the following command:
"C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" U:\Video\KimPossible-NumberOne-3897893-0.mpg
Fri Aug 26 16:01:00 2005: Waiting for processor to finish.
Fri Aug 26 16:29:58 2005: Processor Done.
Ensuring U:\Video\KimPossible-NumberOne-3897893-0.mpg still exists.
Verifying the that U:\Video\KimPossible-NumberOne-3897893-0.mpg should still be processed.
Nope. It's done. Not processing.
Ensuring U:\Video\KimPossible-NumberOne-3897893-0.mpg still exists.
Verifying the that U:\Video\KimPossible-NumberOne-3897893-0.mpg should still be processed.
Nope. It's done. Not processing.
Fri Aug 26 16:29:58 2005: Pass complete.
Reply With Quote
  #232  
Old 08-27-2005, 08:35 AM
hchucky hchucky is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 140
Quote:
Originally Posted by Jere_Jones
Try uninstalling completely and making sure that the \Software\Dragon Global keys are deleted in HK Local Machine and HK Current User.

Reinstall and reregister.

As a side question, the computers that are processing, which is locking up? The one that has the files locally? Or the one that is accessing over a network? What kind of network?

The one that freezes, will it run okay manually if the other computer isn't running on that file?

Jere
I will try uninstalling and clearing out the reg. I had reinstalled both in the past but have not cleared out the reg.

The files are remote to both systems.

Yes, I believe that in every case when it hangs the other system is working on the same file. Also if you look at the log entries that I posted it appears that the hanging systems starts to process the file first then the other system comes along a min. later and starts to process the same file.

One other interesting thing I noticed...when DirMon times out ShowAnalyzer it leaves the icon in the systems tray. It disapears when you run the mouse over it. Not a big deal, just an observation.

HC
Reply With Quote
  #233  
Old 08-27-2005, 09:13 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 hchucky
One other interesting thing I noticed...when DirMon times out ShowAnalyzer it leaves the icon in the systems tray. It disapears when you run the mouse over it. Not a big deal, just an observation.
Yep. When SA is closing, part of the clean up is removing the tray icon. Since SA doesn't have a chance to clean up, the tray icon is left until Windows goes looking for the responsible process (e.g. you move the mouse over it) and removes it.

While I won't put an exclusive lock on the txt file, what I will do is add an option so that SA looks for the txt file immediately before it tries to create it. If it already exists, then SA will exit nice and quiet. That should prevent SA from processing the same file more than once.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #234  
Old 08-27-2005, 08:05 PM
hchucky hchucky is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 140
Quote:
Originally Posted by Jere_Jones
Yep. When SA is closing, part of the clean up is removing the tray icon. Since SA doesn't have a chance to clean up, the tray icon is left until Windows goes looking for the responsible process (e.g. you move the mouse over it) and removes it.

While I won't put an exclusive lock on the txt file, what I will do is add an option so that SA looks for the txt file immediately before it tries to create it. If it already exists, then SA will exit nice and quiet. That should prevent SA from processing the same file more than once.

Jere
Thanks Jere. That sounds like a great idea.

HC
Reply With Quote
  #235  
Old 08-30-2005, 07:44 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
** YOU MUST UNINSTALL ANY OLD VERSION BEFORE INSTALLING THIS VERSION**
0.5.6 30 August 2005
- SA will silently exit if a txt file is found. This should prevent two instances from running on the same file.
- Modified mouse over text. Will only display the base name. Won't display percent done if it doesn't make any sense.
- SchoolHouse: Made cursor a little easier to see. (It's the blue box)
- Modified audio decoder in normal decoder to improve syncronization in DVR-MS files.
- Optimized DVR-MS support some. Should be twice as fast or faster.
- Corrected behavior of -help command line parameter.
- SAConfig: Improved ability to determine if profiles need to be saved.
- Improved DVR-MS demuxer's adherance to the specification.
- Fixed "out of order frames" in DVR-MS files.
- AC3 audio in DVR-MS files is now properly handled.
- Improved the closed caption handling. Now handles all types of captions and can extract them from DVR-MS files.
- Changed registration key saving methods.

NOTE TO DEVELOPERS:
To determine if SA is registered, look at the contents of the file "mode.status" in SA's settings directory. The "IsRegistered" key is no longer used. Hopefully, this will allow SA to be run by a service.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #236  
Old 08-30-2005, 08:02 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
I don't seem to be getting "live" commercial detection when pausing LiveTV. Is this normal? Does SA only process files that have been setup within Sage as "recorded?" I'm using DirMon, and think I have it setup correctly. I'm using 0.5.5, not the newest version.

I still have comskip enabled in the SageMC 16x9 STV, should I disable this, now that I'm using DirMon?
__________________
-Jason
Reply With Quote
  #237  
Old 08-30-2005, 09:55 PM
briands briands is offline
Sage Icon
 
Join Date: Aug 2004
Location: Bloomington, IN
Posts: 1,093
Quote:
Originally Posted by Jere_Jones
** YOU MUST UNINSTALL ANY OLD VERSION BEFORE INSTALLING THIS VERSION**

----------

Jere

Argh!!! How do I make it stop??? In order to uninstall so I can install the new version, how do I make it stop! If I kill it, it restarts. Dirmon is not running to start it, how is this happening... PLEASE help me make it stop!!!

scratch that... Dirmon was running, but there was no Icon in the system tray or application in task manager... Hmmmm....

Oh well.

Also, do we have to register each time we update?
Reply With Quote
  #238  
Old 08-31-2005, 05:06 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 geogecko
I don't seem to be getting "live" commercial detection when pausing LiveTV. Is this normal? Does SA only process files that have been setup within Sage as "recorded?" I'm using DirMon, and think I have it setup correctly. I'm using 0.5.5, not the newest version.

I still have comskip enabled in the SageMC 16x9 STV, should I disable this, now that I'm using DirMon?
The first step is to determine if SA is running as soon as a show starts or as soon as it finishes. DirMon needs to have both "Process while" blocks checked to do what you want.

If SA is running, then make sure the "Output commercials as they are found" setting is checked in SAConfig.

If that is done, then it is up to the STV to reload the txt file occassionally.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #239  
Old 08-31-2005, 05:09 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 briands
scratch that... Dirmon was running, but there was no Icon in the system tray or application in task manager... Hmmmm....
There is an option to not display the system tray icon in SAConfig. Using "invisible" will also stop the system tray icon from showing.
Quote:
Originally Posted by briands
Also, do we have to register each time we update?
You don't have to register each time you update, but you do need to register each time you un/reinstall.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #240  
Old 08-31-2005, 07:16 PM
hchucky hchucky is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 140
Quote:
Originally Posted by hchucky
Thanks Jere. That sounds like a great idea.

HC
I have upgraded but the mystery continues. ShowAnalyzer is still hanging from time to time until the timeout shuts it down on the workstation. The latest logs are listed below. As you can see the workstation started processing the show at 18:30 but then the server came along at 18:33 and started to process the same show. Looking at the txt file that was generated it shows a create time of 18:33. So it would appear that the server either overwrote the existing txt file or created one from scratch. Maybe the workstation computer is not properly creating the txt file? Is there any advanced logging that I can enable to try and get a better picture of what is happening?


**** Server Log ****
Wed Aug 31 18:33:01 2005: Checking directories...
Wed Aug 31 18:33:01 2005: Checking "U:\Video"
Wed Aug 31 18:33:01 2005: Checking "Y:\Video"
Wed Aug 31 18:33:01 2005: Checking for orphan targets.
Ensuring U:\Video\EntertainmentTonight-3942957-0.mpg still exists.
Verifying the that U:\Video\EntertainmentTonight-3942957-0.mpg should still be processed.
Wed Aug 31 18:33:01 2005: Attempting to execute the following command:
"C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" U:\Video\EntertainmentTonight-3942957-0.mpg
Wed Aug 31 18:33:01 2005: Waiting for processor to finish.
Wed Aug 31 19:00:07 2005: Processor Done.
Ensuring U:\Video\EntertainmentTonight-3942957-0.mpg still exists.
Verifying the that U:\Video\EntertainmentTonight-3942957-0.mpg should still be processed.
Nope. It's done. Not processing.
Ensuring U:\Video\EntertainmentTonight-3942957-0.mpg still exists.
Verifying the that U:\Video\EntertainmentTonight-3942957-0.mpg should still be processed.
Nope. It's done. Not processing.
Wed Aug 31 19:00:08 2005: Pass complete.


**** workstation Log ****
Wed Aug 31 18:30:31 2005: Checking directories...
Wed Aug 31 18:30:31 2005: Checking "U:\Video"
Wed Aug 31 18:30:31 2005: Checking "Y:\Video"
Wed Aug 31 18:30:32 2005: Checking for orphan targets.
Wed Aug 31 18:30:32 2005: Deleting U:\Video\NBCNightlyNews-3942986-0.txt
Ensuring U:\Video\EntertainmentTonight-3942957-0.mpg still exists.
Verifying the that U:\Video\EntertainmentTonight-3942957-0.mpg should still be processed.
Wed Aug 31 18:30:32 2005: Attempting to execute the following command:
"C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe" U:\Video\EntertainmentTonight-3942957-0.mpg
Wed Aug 31 18:30:32 2005: Waiting for processor to finish.
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:42 AM.


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