PDA

View Full Version : Use DivX CLI from the command-line?


piscator
3rd October 2003, 21:46
It's a bit strange that it is so difficult to find how to set DivX encoding parameters from the command line (want to use it in a batch script).

So I've the CLI parameters, e.g. -b1q 2.0 -psy 2 -key 300 -b -g -sc 50 -pq 192 -profile 0 -nf.

So what command do I run to set these parameters to the DivX encoder? I expect it to be something like rundll32 divx.dll <params>, but that doesn't work.

I know I can use VDub and SetCompData in a jobs-file, but that's not really flexible.

thanks,
Piscator

FastMike
4th October 2003, 05:29
For command line encoding, you can try AVS2AVI. Its a command line utility that reads in AviSynth scripts.

You can't exactly pass in a CLI script, but you can use its own internal configuration file. It's easier than hacking a VDub jobs file (which I have done)

piscator
4th October 2003, 17:11
Hacking the VDub jobsfile is exactly what I'm doing now. I'll try your hint, but unfortunately it still is a work-around.

greetz,
Piscator