2008-04-05, 04:51 PM
thanks for the tips. I'll try them this morning
2008-04-05, 04:51 PM
thanks for the tips. I'll try them this morning
2008-04-07, 08:22 AM
when you do a cd command on another drive it does the cd action, but does not change to that drive letter
if you need to do this, you will have to change the drive too (i.e. in your case try to add a line "d:" in your batch). quicker & better alternative: instead of your "cd D:\GB-PVR" just use "pushd D:\GB-PVR". pushd changes the dir AND the drive at the same time sub Wrote:Yep, what he said. curiosity killed the cat
2008-04-07, 05:11 PM
I changed my postprocessing.bat to
[INDENT]echo 1 >>pp.log c: echo 2 >>pp.log cd \program files\devnz\gbpvr >>pp.log echo 3 >>pp.log contig -v%1 >>pp.log echo 4 >>pp.log[/INDENT] and this is what it shows: [INDENT]1 2 3 [/INDENT] so it is definetly hanging on the contig command. I have a hung cmd.exe and contig.exe in my task manager. What I knoticed, there is no command window that pops up when it trys to run this. I'm not sure where it is running this, but it is hidden. If I add other commands to postprocessing.bat, they hang as well, so its not just contig thats having a fit. If I dbl click on postprocessing.bat, it opens, and runs fine. Is there any way to control how pvrx2 opens postprocessing.bat?
2008-04-07, 06:28 PM
I thought there must be a space between -v and %1 so
contig -v %1 >>pp.log
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
2008-04-07, 11:18 PM
I just gave up on trying to get contig to run. I found an alternate called defragme.
Works fine. DefragMentor Lite CL 5.0 for Windows NT/2000 FREE command line utility for defragmenting files on FAT/FAT32 and NTFS volumes Copyright © 1999-2001 Michael Gromov Web-site: http://www.defragmentor.com E-mail: mailbox@defragmentor.com FILE: C:\gbpvr\recordings\Just for Laughs Gags\Just for Laughs Gags_20080407_17001730-2.mpg COMPLETED: Defragmented from 73 to 1 fragment(s) thanks everyone.
Bluethunder
I'd never tried contig but I gave it a try with the details of your last PostProcessing.bat. It did the same for me, i.e., seemed to hang. I noticed the first time I ran contig from the command prompt, it popped up a licence agreement and I had to click 'Accept' for it to proceed. This is where the problem lies. When you accept the EULA, it creates a registry entry for the current user. The problem is that the GB-PVR Recording Service (by default) runs as LocalSystem. As a result, there isn't a EulaAccepted registry value for contig for that pseudo 'user' and the hidden PostProcessing.bat window is waiting with a hidden EULA popup dialog. I just tried changing the logon account for my GB-PVR Recording Service to my normal user account and contig ran fine in PostProcessing.bat... Quote:1 In short - if you run the rec. service as LocalSystem, NEVER put anything into the PostProcessing.bat which has a popup EULA or similar unless it has a command-line argument along the lines of... -d Don't show popups EDIT: Fix for LocalSystem - use Regedit (normal disclaimer applies). HKEY_USERS\S-1-5-18\Software\SysInternals\C add a DWORD value named 'EulaAccepted' as 0x1. Contig should now run in PostProcessing.bat when the rec. service is running as LocalSystem. Cheers, Brian
2008-04-08, 09:54 AM
bgowland Wrote:In short - if you run the rec. service as LocalSystem, NEVER put anything into the PostProcessing.bat which has a popup EULA or similar unless it has a command-line argument along the lines of... doh, should have thought about that. sysinternals are notoriuos for their changes regarding EULA (since the takeover from m$), they do have a command line option -accepteula... guess what: it's a bug in contig, this switch is not supported :-( that's not so nice... does anybody know hot to add that key to the local systems current user part? i would not like to run the recordingservice under a local user, don't like to see the ugly dos boxes... sub Wrote:Yep, what he said. curiosity killed the cat
2008-04-08, 03:49 PM
bgowland Wrote:Bluethunder Your a magician. I thought cause I had accepted the eula before, it would be fine, and never gave it a thought.. Might try it again. Don't know if contiq made it into the wiki, but this info NEEDS to be added, cause its frustrating as hell.
2008-04-08, 07:06 PM
K.S. Wrote:does anybody know hot to add that key to the local systems current user part? i would not like to run the recordingservice under a local user, don't like to see the ugly dos boxes...See the edit to my post... Quote:EDIT: Fix for LocalSystem - use Regedit (normal disclaimer applies). HKEY_USERS\S-1-5-18\Software\SysInternals\C add a DWORD value named 'EulaAccepted' as 0x1. Contig should now run in PostProcessing.bat when the rec. service is running as LocalSystem.That seemed to work for me. Cheers, Brian
2008-04-08, 07:31 PM
Bluethunder Wrote:I thought cause I had accepted the eula before, it would be fine, and never gave it a thought.Yeah - it confused me for a while then I discovered the EulaAccepted registry entry and put 2 and 2 together. Quote:Don't know if contiq made it into the wiki, but this info NEEDS to be added, cause its frustrating as hell.I think it would be worth putting something in the 'Batch Files' section which warned about this sort of behaviour. zehd put together the batch files section on the wiki - I'll PM him in case he isn't following this thread. Cheers, Brian |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
help with postprocessing batch file and contig.exe | fluffykeith | 8 | 2,686 |
2008-12-04, 01:29 PM Last Post: mmatheny |