View Full Version : Looking for a way to automate the creation of test files
I want to encode an avi using a variety of settings to create a number of test files. I see that there is a Batch Control file but I can only find reference to using it for ripping. Is it possible to use it for avi encoding?
If not, is there a program that could serve as a batch front end in the same manner that DVD2SVCD is a front end. I guess such a program would have to be written specifically for this task.
Here's specifically what I want to do:
-take an source avi file
- encode it with cce using a set of parameters (bitrate, etc.)
- encode it again with cce using a new set of parameters (bitrate, etc.)
... and so on
- do the same thing with procoder
If there are ten tests in a batch, I want to end up with ten encoded muxed files after running the batch. If this can be done with a batch file, I can take care of renaming the muxed file that AVI2SVCD creates.
Probably explaining the type, kind, and method of the tests you want to do would help get you an answer. Perhaps the batch capability in D2S would work for the tests depending on what they are.
/edit I see my query crossed with your edit. Still a little more info on the tests would help.
ddog,
I guess I was editing my post at the same time that you were replying to it.
I edited my post again to be more specific about what I'm trying to do.
hehehe, well at this stage I would just suggest you try it and report back any problems you run into. Then maybe some workarounds could be suggested.
I took a look at the project file which is used by Batch Control. I see now that the project file is actually used by DVD2SVCD for all it's processing. That leads me to think that once you understand how this file works, you can automate all aspects of DVD2SVCD processing using Batch Control. Very cool.
Originally posted by sync
I took a look at the project file which is used by Batch Control. I see now that the project file is actually used by DVD2SVCD for all it's processing. That leads me to think that once you understand how this file works, you can automate all aspects of DVD2SVCD processing using Batch Control. Very cool.
Well, I don't think I'd go down that alley - I wrote D2Sroba - http://home.no.net/tylo/ and I know it's a hazzle to figure out how D2S uses its .d2s and .ini files at the different stages.
Anyway, I may be wrong, but I thought that the batch functionality was designed only to work with DVD2SVCD, and not AVI2SVCD.
But, what you want to do should be pretty simple when it comes to CCE:
1. Load your avi file (or avs with a Resize func - if you want SVCD)
2. Make your settings, and save the ECL file.
3. Repeat 2. for as many encodings you want, but save ECL to a new name. Alternatively you could edit and copy the ECL file in a text editor.
4. Create a .bat file:
EclCCE -ecl file1.ecl -batch
EclCCE -ecl file2.ecl -batch
...
If you want muxed files in the end, I recommend you to download Avi2wav, BeSweet (comes with DVD2SVCD), and mplex (in the mjpegtools package of VCDEasy).
Bat file:
Avi2wavcmd file.avi file.wav
BeSweet -core( -input file.wav -output file.mp2 ) -2lame( -e -b 192 )
mplex -f 4 -V -o file1.mpg file1.mpv file.mp2
I have made a program that does all this for you + much more - keep looking at the address above - it may pop up there soon.
tylo
@ sync
Was this of any help, or did I miss what you wanted to do? Like DDogg said - you didn't really explain what you wanted with these tests?
tylo
DVD2SVCD Plugins: http://home.no.net/tylo/
- D2Sroba
- vStrip for DVDDecrypter
tylo,
I've only used DVD2SVCD so far. But I know how to create batch files and once I get familiar with each of the individual programs then I'll be able to automate in the manner that you suggested.
The test files are to find out what the limits of my dvd player are and also to try different sets of parameters to see what gives me the best results.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.