View Full Version : mmm, not autodivx available yet.....
alx
14th March 2002, 09:03
Hi, i saw in another post that someone is putting the values inside the windows registry "by hand".....he didn´t explain too much, and put a .bat file that i could not make it works..........something like this:
reg add HKEY_CURRENT_USER\Software\DivXNetworks\DivX4Windows /v "Bitrate" /t REG_DWORD /d 850 /f
but, when i tried to execute the .bat file with this entries, the windows command prompt said that "reg" is not a known command or program file..........
does anyone, who obiously knows more about DOS commands and windows registry, tell me what is wrong with this line??? which command do i have to use to add values into the windows´registry in a .bat file???
Thanks a lot ppl.
Alx
ps.....divxauto4.0c would be better, he he
Koepi
14th March 2002, 09:16
Please ask the author of autodivx, this is somewhat unrelated to XviD.
Please, respect the forum rules.
Regards,
Koepi
alx
14th March 2002, 09:28
koepi, maybe you don´t understand me.......of course that i would prefer a new version of divxauto, but in the meanwhile, we have to work with anything that help us.......
i use mpeg2avi in a .bat file to left the machine enconding at night, sometimes 2 or 3 movies......but now that i discovered how good is xvid over divx4, i want to migrate my batch file, but i found this little problem.....divxauto does not work with the setup screen of xvid......
as usually, i came here looking for an idea, then i read about putting the settings "by hand" in the windows registry and someone share a .bat file with a demo of it, but the .bat file, as i explained before, didn´t work for me, because "reg" is not program (at least in w2k or w9x) to put values in the windows registry....
what i am asking, if someone knows which is the command that i have to use to put values in the registry, at least, until a new version of divxauto came to the light........nothing more, nothing less
sorry if you understand another thing, was my mistake.
i know that the example, is using the divx5 registry values, but, -h, told me that xvid values were stored in the same way.....
Excuse me
Alx
i know that the example, is using the divx5 registry values, but, -h, told me that xvid values were stored in the same way.....
They are indeed.
If you want to do this through a batch file, here's a sample:
rem Begin batch file
regedit /s 1start.reg
mpeg2avi (1st pass mpeg2avi paramters for 1st movie)
regedit /s 1end.reg
mpeg2avi (2nd pass mpeg2avi parameters for 1st movie)
regedit /s 2start.reg
mpeg2avi (1st pass mpeg2avi paramters for 2nd movie)
regedit /s 2end.reg
mpeg2avi (2nd pass mpeg2avi parameters for 2nd movie)
rem End batch file
Now as for the contents of the 1start.reg and 1end.reg files, first you should configure EVERYTHING in XviD's GUI interface that will be the same in both passes. For example, you should set the keyframe intervals, curve compression values, quantization type, motion search precision, desired file size, etc., so that all you have to change in the .reg files is the encoding mode (1st pass, 2nd pass). Of course you can change other settings in the registry, but this is an easy test to start with.
Begin 1start.reg - this sets the mode to 2-pass 1st pass
REGEDIT4
[HKEY_CURRENT_USER\Software\GNU\XviD]
"mode"=dword:00000003
End 1start.reg
Begin 1end.reg - this sets the mode to 2-pass 2nd pass internal
REGEDIT4
[HKEY_CURRENT_USER\Software\GNU\XviD]
"mode"=dword:00000005
End 1end.reg
Now if you wanted to enable lumi masking in the second pass only, you'd add ("lum_masking"=dword:00000000) to 1start.reg, and ("lum_masking"=dword:00000001) to 1end.reg.
But anyway, test, play, and see what works :) This is probably the easiest way to go about setting XviD's registry entries however.
-h
Nic
14th March 2002, 11:21
I wrote myself a version of DVD2AVI 1.82 that could do DivX4 two-pass,
I might update it to use XviD...looks like some folks might find it useful.
-Nic
rui
14th March 2002, 12:40
Originally posted by Nic
I wrote myself a version of DVD2AVI 1.82 that could do DivX4 two-pass,
I might update it to use XviD...looks like some folks might find it useful.
-Nic
Humm.. Interesting.
I never used DVD2AVI, except for creating the dv2 project and to extract the ac3 file, but the encoding is always made using Vdub.
Could we have any speed beneficts by using a DVD2AVi version that supported xvid? I suppose that only the video part would be done using it, right? The audio would be joined later, using Nandub.
I now that DVD2AVi allows crop and resizing, but never tried it. It's easy enough, or more complicated than using Gnot and avisynth?
Nic
14th March 2002, 12:53
LoL
Its everso easy, (hence I use it sometimes when I dont feel upto other solutions....& yes im that lazy :) )
(Its not so much that, but the fact that I put an interface into a modified version of VStrip, so I can rip the DVD in DVD2AVI too....(that really is how lazy I am when it comes to ripping DVD's :) )
The speed won't be really any quicker than using a VDub method. (seeing MPEG2DEC.DLL is just DVD2AVI, only slightly slower with VDub due to very slight frameserving overhead)
Cheers,
-Nic
alx
15th March 2002, 02:12
People, really thanks for all your help, expecially to -h for the well explained tutorial....................
Really thanks.........this is very useful to me.
Alx
Nic
15th March 2002, 11:37
I also have the code to divx4auto, so maybe ill try & mod it (seeing so many people have asked for it)...or at least right a simple prog that can do -h's way inside an executable (i.e. foolproof :) )
Cheers,
-Nic
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.