Dragon Global Forums

Go Back   Dragon Global Forums > ShowAnalyzer > ShowAnalyzer, DirMon and your DVR

ShowAnalyzer, DirMon and your DVR A place to go to find out how to setup SA and DirMon with your DVR/PVR software.

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 01-20-2010, 07:36 PM
Junior Member
 
Join Date: Jan 2010
Posts: 12
rashire is on a distinguished road
Default Re: Looking for help on setup.

Quote:
Originally Posted by Jere_Jones View Post
There is a setting on the service configuration page (in Windows, not DirMon) that is something like "Allow service to interact with the desktop". That has to be enabled or the windows get shunted to another desktop session.

Jere
I see I'll just have to do output via log files. Still having a issue of SA not running from DirMon though.

Quote:
Originally Posted by spockers View Post
That setting is only available if the service is running as "local system account" though, not if running as a user. Why MS does this is anybody's guess...
It seem from google that it allows the service code to be exposed to the user, and thus exploitable. Seems like a good idea to keep services from being infected by viruses. Though i suppose a dll replacement will do the same.

Anyways, Guess I'll edit my app to write args to file.

Edit: What options do I need to successfully run SA via Command line? just SA.exe and Pass it the video File path?

Last edited by rashire; 01-20-2010 at 07:46 PM.
Reply With Quote
  #12 (permalink)  
Old 01-20-2010, 07:59 PM
Junior Member
 
Join Date: Jan 2010
Posts: 12
rashire is on a distinguished road
Default Re: Looking for help on setup.

Ok well I found out why SA wasn't running for me.

Apparently it checks against history and doesn't run on the same file twice. Which makes sense but didn't help that i was testing by removing resulting files after running everything manually to see how it worked.

Now just to make sure it works automated and get VRD executing.

Last edited by rashire; 01-20-2010 at 08:02 PM.
Reply With Quote
  #13 (permalink)  
Old 01-20-2010, 08:05 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default Re: Looking for help on setup.

Quote:
Originally Posted by rashire View Post
Apparently it checks against history and doesn't run on the same file twice. Which makes sense but didn't help that i was testing by removing resulting files after running everything manually to see how it worked.
That is configurable in the settings for SA. It can look for artifacts, a history entry or either.

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #14 (permalink)  
Old 01-20-2010, 08:07 PM
spockers's Avatar
Telephone handset sanitiser, 2nd class
 
Join Date: Oct 2007
Location: Greenville, SC USA
Posts: 499
spockers has disabled reputation
Default Re: Looking for help on setup.

I found a way to enable a service to interact with the desktop, via a registry hack. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es and find the entry for dirmon. Find the "Type" value, and in hex, flip the third bit from the right. For example, if the type is 0x00000010 (dec 16), change it to 0x00000110 (dec 272). Found this at InstallUtil.exe - Allow Service to Interact with Desktop? - GameDev.Net Discussion Forums and Interact With Desktop when Installing Windows Service - CodeProject
__________________
Intel DG965WH mobo, Intel C2D E4400 2.0 GHz, 2GB RAM, ATI HD2400 PCI-e, (2) ATI TV-Wonder 650 PCI tuners, Win7x86 Ultimate, Media Center, DTB
Reply With Quote
  #15 (permalink)  
Old 01-20-2010, 08:13 PM
Junior Member
 
Join Date: Jan 2010
Posts: 12
rashire is on a distinguished road
Default Re: Looking for help on setup.

Quote:
Originally Posted by Jere_Jones View Post
That is configurable in the settings for SA. It can look for artifacts, a history entry or either.

Jere
Ya, it make sense not to run it multiple times. Now that I realized this it worked from DirMon automated.

Quote:
Originally Posted by spockers View Post
I found a way to enable a service to interact with the desktop, via a registry hack. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es and find the entry for dirmon. Find the "Type" value, and in hex, flip the third bit from the right. For example, if the type is 0x00000010 (dec 16), change it to 0x00000110 (dec 272). Found this at InstallUtil.exe - Allow Service to Interact with Desktop? - GameDev.Net Discussion Forums and Interact With Desktop when Installing Windows Service - CodeProject
Thanks for looking that up, but looks like I may not need it after all.
Reply With Quote
  #16 (permalink)  
Old 01-20-2010, 08:25 PM
spockers's Avatar
Telephone handset sanitiser, 2nd class
 
Join Date: Oct 2007
Location: Greenville, SC USA
Posts: 499
spockers has disabled reputation
Default Re: Looking for help on setup.

Quote:
Originally Posted by rashire View Post
Ya, it make sense not to run it multiple times. Now that I realized this it worked from DirMon automated.



Thanks for looking that up, but looks like I may not need it after all.
It's something I've wondered about before; you just gave me a reason to look it up
__________________
Intel DG965WH mobo, Intel C2D E4400 2.0 GHz, 2GB RAM, ATI HD2400 PCI-e, (2) ATI TV-Wonder 650 PCI tuners, Win7x86 Ultimate, Media Center, DTB
Reply With Quote
  #17 (permalink)  
Old 01-20-2010, 08:35 PM
Junior Member
 
Join Date: Jan 2010
Posts: 12
rashire is on a distinguished road
Default Re: Looking for help on setup.

Pretty close to getting this, I'll update another post in a few.

Think i might be having issues with variables in command line for DirMon sending /'s instead of \'s though.

Last edited by rashire; 01-20-2010 at 08:55 PM.
Reply With Quote
  #18 (permalink)  
Old 01-20-2010, 09:16 PM
Junior Member
 
Join Date: Jan 2010
Posts: 12
rashire is on a distinguished road
Default Re: Looking for help on setup.

OK it seems VRD and SA xml/vprj files are not compatible.

Can SA handle outputing a new file minus the commercials?

Jere's Post here shows this feature:
Code:
Example
Command Line Options: -i [[%FULLFILESPEC%]] -o [[%PATH%/%BASENAME%.avi]]
Result: ShowAnalyzer -i X:/Directory/file.mpg -o X:/Directory/file.avi
but SA just exits when i use that

FULLFILESPEC also seems to return a incorrect path. I got 'D:d\My Recordings\...' instead of 'D:\Ed\My Recordings\...' when checking with my application.
Reply With Quote
  #19 (permalink)  
Old 01-21-2010, 01:14 AM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default Re: Looking for help on setup.

Quote:
Originally Posted by rashire View Post
Can SA handle outputing a new file minus the commercials?
No.

Quote:
Originally Posted by rashire View Post
Jere's Post here shows this feature:
Code:
Example
Command Line Options: -i [[%FULLFILESPEC%]] -o [[%PATH%/%BASENAME%.avi]]
Result: ShowAnalyzer -i X:/Directory/file.mpg -o X:/Directory/file.avi
That was just an example of the types of substitutions that can be made. SA doesn't actually support those parameters.

Quote:
Originally Posted by rashire View Post
FULLFILESPEC also seems to return a incorrect path. I got 'D:d\My Recordings\...' instead of 'D:\Ed\My Recordings\...' when checking with my application.
That is interesting.... I wonder if I still have the source code to DirMon around here somewhere....

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup question David Becht ShowAnalyzer 1.0 5 11-10-2009 07:21 PM
Somebody help me setup Staxrip using Dirmon dvd_maniac DirMon Discussion 1 05-13-2007 10:57 PM
Comskip setup question phunny General Discussion 1 10-03-2006 11:58 AM
Basic setup of DirMon and ShowAnalyzer wheemer ShowAnalyzer Beta 31 08-18-2005 05:34 PM
Setup trouble mikaelgu ShowAnalyzer Beta 4 07-28-2005 07:57 PM


All times are GMT -4. The time now is 04:35 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0