PDA

View Full Version : Multiple Encoder Processes Not Working Under Vista


AGKnotUser
5th July 2007, 23:41
When I tick Mult. Encoder Proc. with Vista Home Premium I get the attached error msg. If I untick it all is well.

jdobbs
6th July 2007, 02:06
Haven't had any other reports of this nature. What encoder are you using?

AGKnotUser
6th July 2007, 03:48
Haven't had any other reports of this nature. What encoder are you using?

Tried it with both HC Encoder and Procoder 2.

harpseal
6th July 2007, 10:34
Works fine for me on Vista Ultimate and Premium using CCE Sp and SP2 (well...it doesn't error out at least). Running Core Duos.

Rockas
6th July 2007, 10:51
@AGKnotUser
Can you post your rebuilder.ini file, please?

AGKnotUser
6th July 2007, 20:11
@AGKnotUser
Can you post your rebuilder.ini file, please?

[Options]
Mode=1
OneClick=1
ReduceOpt=0
NoWarn=1
AdditionalOutput=1
LogFile=1
QuEncHQ=1
EncoderMinimized=1
RemoveDTS=0
HC_Quality=1
HC_Matrix=1
SkinVersion=12
AudioDub=1
QuEncodeType=0
iDCT=0
GOP=0
DCPrec=0
MainMatrix=Encoder Default
LowMatrix=Same as Main Feature
VLowMatrix=Same as Main Feature
ExtraMatrix=Same as Main Feature
ProCoder_Quality=4
DVD_Label=SHOOTER_AC_169
DVD_Name=SHOOTER_AC_169.ISO
MovieOnly=0
HalfD1=00
Convert_16_9=00
DisableInterlace=00
ConvertToYUY2=1
CCE=2
Skin=Rebuilder Default
closed_captions=1
[Paths]
QuEnc=C:\Program Files\DVD-RB PRO\Encoders\QuEnc\QuEnc.exe
ReJig=C:\Program Files\DVD-RB PRO\Encoders\ReJig\ReJig.exe
HC=C:\Program Files\DVD-RB PRO\Encoders\HC Encoder\HCbatch.EXE
FFMPEG=C:\Program Files\DVD-RB PRO\Encoders\FFMpeg\ffmpeg.exe
ProCoder=C:\Program Files\DVD-RB PRO\Encoders\EclPro\EclPro.exe
DECOMB=C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll
NICAUDIO=C:\Program Files\AviSynth 2.5\plugins\nicaudio.dll
MPEG2DEC=C:\Program Files\DVD-RB PRO\DGDecode.dll
Working=C:\DVD-RB\Work\
Output=C:\DVD-RB\Output\
CCEBasic=C:\Program Files\Custom Technology\Cinema Craft Encoder Basic\cct2.exe
Source=C:\IMAGES\SHOOTER_AC_169\VIDEO_TS\
[Audio]
Selected=1
Remapping=
[Subpictures]
Selected=

jdobbs
6th July 2007, 20:44
Ok, now I'm more confused. According to this you have "CCE" selected as your mode, and "CCE Basic" as the encoder. In that circumstance "Multiple Encoder Processes" has no effect. It is ignored because CCE doesn't support multiple processes -- and it is already written to take advantage of multiple threads/processors.

Even more confusing is the fact that the "Encode_Processes=n" (n=process count) parameter isn't in the REBUILDER.INI file -- which would have to be true if you had ever set or reset it???

AGKnotUser
7th July 2007, 00:11
Ok, now I'm more confused. According to this you have "CCE" selected as your mode, and "CCE Basic" as the encoder. In that circumstance "Multiple Encoder Processes" has no effect. It is ignored because CCE doesn't support multiple processes -- and it is already written to take advantage of multiple threads/processors.

Even more confusing is the fact that the "Encode_Processes=n" (n=process count) parameter isn't in the REBUILDER.INI file -- which would have to be true if you had ever set or reset it???

I've had this issue with Vista not accurately showing what's in the program dir. This should be better:

[Options]
Mode=5
OneClick=0
ReduceOpt=0
NoWarn=1
AdditionalOutput=1
LogFile=1
QuEncHQ=1
EncoderMinimized=1
RemoveDTS=0
HC_Quality=3
HC_Matrix=1
SkinVersion=12
AudioDub=0
QuEncodeType=0
iDCT=0
GOP=0
DCPrec=0
MainMatrix=Encoder Default
LowMatrix=Same as Main Feature
VLowMatrix=Same as Main Feature
ExtraMatrix=Same as Main Feature
ProCoder_Quality=4
DVD_Label=SHOOTER_AC_169
DVD_Name=SHOOTER_AC_169.ISO
MovieOnly=0
HalfD1=00
Convert_16_9=00
DisableInterlace=00
ConvertToYUY2=1
Skin=Rebuilder Default
CCE=4
ImgBurnWrite=1
ISO_Output=0
RemoveDC=0
Completed=5
NewEditor=1
DECOMBFlag=1
ForceEncode=0
Redistribute=0
Encode_Processes=2
closed_captions=1
[Paths]
QuEnc=C:\Program Files\DVD-RB PRO\Encoders\QuEnc\QuEnc.exe
ReJig=C:\Program Files\DVD-RB PRO\Encoders\ReJig\ReJig.exe
HC=C:\Program Files\DVD-RB PRO\Encoders\HC Encoder\HCbatch.EXE
FFMPEG=C:\Program Files\DVD-RB PRO\Encoders\FFMpeg\ffmpeg.exe
ProCoder=C:\Program Files\DVD-RB PRO\Encoders\EclPro\EclPro.exe
DECOMB=C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll
NICAUDIO=C:\Program Files\AviSynth 2.5\plugins\nicaudio.dll
MPEG2DEC=C:\Program Files\DVD-RB PRO\DGDecode.dll
Working=C:\DVD-RB\Work\
Output=C:\DVD-RB\Output\
Source=C:\IMAGES\SHOOTER_AC_169\VIDEO_TS\
[Audio]
Selected=1
Remapping=
[Subpictures]
Selected=
[CCEOptions]
VBR_bias=25
Quality_prec=16
eclPasses=4
OPV=1
[Setup]
Languages=0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
sLanguages=0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

jdobbs
7th July 2007, 01:40
It has to be a security setting. When "Multiple Encoder Processes" is selected DVD-RB creates a directory called TEMPENCnn (nn = 01, 02, etc) under the DVD-RB home directory for each instance of the encoder. It then makes a copy of the HCBatch.EXE file under each of these so they can run independently. Something is happening that must cause the creation to fail.

AGKnotUser
7th July 2007, 02:41
It has to be a security setting. When "Multiple Encoder Processes" is selected DVD-RB creates a directory called TEMPENCnn (nn = 01, 02, etc) under the DVD-RB home directory for each instance of the encoder. It then makes a copy of the HCBatch.EXE file under each of these so they can run independently. Something is happening that must cause the creation to fail.

Yes, that's it. I now have DVDRB running as an administrator. It's working now. Thanks!

harpseal
7th July 2007, 14:35
It has to be a security setting. When "Multiple Encoder Processes" is selected DVD-RB creates a directory called TEMPENCnn (nn = 01, 02, etc) under the DVD-RB home directory for each instance of the encoder. It then makes a copy of the HCBatch.EXE file under each of these so they can run independently. Something is happening that must cause the creation to fail.

If I understand Vista's new security properly you wouldn't be able to create this directory there unless DVD-RB is run as an admin which is not default. It actually (when run as a standard user) creates it in it's own virtualized directory which is fine for DVDRB as it will seamlessly access it, but a secondary application (i.e. CCE) doesn't inherently see this virtualized directory, it looks in the hard coded path which doesn't exist.

From MS (http://technet.microsoft.com/en-us/windowsvista/aa906021.aspx):

File System and Registry Virtualization:
In Windows Vista, many legacy applications that were not designed to support standard user accounts can run without modification, using the built-in file/registry virtualization feature. File/registry virtualization gives an application its own "virtualized" view of a resource it is attempting to change using a copy-on-write strategy. For example, when the application attempts to write to a file in the program files directory, Windows Vista gives the application its own private copy of the file in the user's profile so the application will function properly.

jdobbs
7th July 2007, 16:15
In this instance it appears the operating system itself can't find the program in the virtual directory... it is returning an error when it is told to shell to that program.

I guess I can put the copied encoders in the working path... but then there's no telling what other "virtual" rule will come into effect.

So far I'm not to thrilled with the new Vista security concepts... if you're going to do these types of things -- you have to make the O/S is robust enough to "know" that it has done them. Especially within itself.

harpseal
7th July 2007, 19:20
actually there's a specific list of directories that are virtualized in that way, mainly Programs Files, Program Data, and System Root. Also all the previous My Docs, My pics, etc. become virtualized too but they have built-in permanent symbolic links. So as long as you create the data in one of these non-protected stores you should be fine.

Here's a better link with more details on how it works: UAC (http://www.microsoft.com/technet/technetmag/issues/2007/06/UAC/default.aspx).

Hope this helps. It's not perfect but it seems to make sense once you read the whole darn thing and figure out what they are trying to do. There's a bunch of other good article links out there but I didn't want to flood you with them.

cormor
15th July 2007, 18:50
Hello, I am also experiencing problems with CCE namely....
CCE produces a HASP Protection error...(HASP not found (-3) ), when I try to start it, this only happens on my computer with which I have Vista installed. I use DVD Rebuilder Pro Ver. 1.10.7 and CCE SP Ver. 2.70.2.12.
Would appreciate any feedback.

SpazzHH
15th July 2007, 19:11
@cormer
Well first off, if you are a legitimate registered user of RB Pro, I would recommend upgrading to the latest version, the one you are using is 10 months old and there is no point in trying to troubleshoot for it.