4evrplan
26th September 2008, 15:52
I threw together a very quick and dirty scheduling app to start captures for me. All I have to do is log in to my favorite listings website, find the show I want, click the little red record button next to the listing, and the scheduling app picks it up from there. However, I just got a new computer and all of the sudden, it's capturing everything in XViD instead of the MJPEG (via ffdshow) format I set it to. I've discovered, that if I run my capture software (Virtual VCR) with my login, it works as expected, but if I run it under the system login (ala the AT command) it uses the XViD codec every time. I can only assume that ffdshow only works under a user account and not the system.
I found an alternate way to schedule captures via the schtasks command, but the way it works is a little different than AT, so I'd have to change a lot of my code, including the way it writes logs. I was sort of hoping I could find a work around to get ffdshow working when I'm not sitting there at the console.
Here's what I've tried so far:
I read somewhere that you can fix this by running the "Task Scheduler" service under a user login, so I tried it. It requires that you stop and restart the service. However, it fails to restart and displays an error stating that the login is different than 'other services in the same process'. When I google this error, the fix is to set the service to run under the system login (Arrrrgh!).
Does anyone know of a bug in ffdshow or Virtual VCR related to this and/or a way to work around it?
EDIT: I just found this relevant post on the sourceforge ffdshow forum: http://sourceforge.net/forum/forum.php?thread_id=2073044&forum_id=597594. The guy that posted this got it to work by running the service under an Admin account, but as stated above, that didn't work for me. Someone please help.
I found an alternate way to schedule captures via the schtasks command, but the way it works is a little different than AT, so I'd have to change a lot of my code, including the way it writes logs. I was sort of hoping I could find a work around to get ffdshow working when I'm not sitting there at the console.
Here's what I've tried so far:
I read somewhere that you can fix this by running the "Task Scheduler" service under a user login, so I tried it. It requires that you stop and restart the service. However, it fails to restart and displays an error stating that the login is different than 'other services in the same process'. When I google this error, the fix is to set the service to run under the system login (Arrrrgh!).
Does anyone know of a bug in ffdshow or Virtual VCR related to this and/or a way to work around it?
EDIT: I just found this relevant post on the sourceforge ffdshow forum: http://sourceforge.net/forum/forum.php?thread_id=2073044&forum_id=597594. The guy that posted this got it to work by running the service under an Admin account, but as stated above, that didn't work for me. Someone please help.