R.1
25th February 2006, 04:36
The Project started like this: I had more than 1000 short or not so short films from the internet in all sorts of formats on my HDD. I began sorting through them and I decided to recompress the ones I didn't delete to a constant format with constant quality. After endless tests I found the best compromise is: (as my machine isn't really capable of handling H.264/MP4)
548kbit XviD 1.1.0 (better than DivX 5 with a progressive source)
112kbit Fraunhofer ACM Codec 3.3.2 (better than Lame IMHO)
AVI Container, 320x240, 24fps, 48khz
A side note on the frame rate: for the longest time I didn't realize this but not converting the frame rate is very troublesome if you are at the limit with bitrate: 30fps will give you a much lower bit-per-pixel rate...
After I found my setting I wanted to convert every film and format literally at the press of a button whenever I had some time to review them. Needless to say, I wouldn't be writing this if I could have simply downloaded the solution somewhere!
Using my script is pretty easy: You only have to Drag&Drop your video files into the .bat file... That way the files are passed over as parameters into the script and can be further processed. To make things even easier you can for example put the script into the Quickstart area in the taskbar, enabling the functionality in every folder.
Generally the AutoConvert script generates an avs file for every film you passed over and puts it into the temp directory. You have to specify this directory at the beginning of the script (see the REM comments). Then it compresses the file using VirtualDub, putting the finished file right next the original one and deletes the files it has created in the temp dir. Neat!
I think this script can be a great starting point for many different tasks. While it looks complicated (and it's actually more like a small program than a script) it should be easy to customize according to your needs.
The script features some nifty automations like:
deciding between MPEG2Source or DirectshowSource as input
automatic AudioDelay for MPEG files
Framerate conversion with PalTrueSpeed Option when needed
Mono to Stereo Detection
So modify the avs script as you see fit, save a VirtualDub vcf file as your compression profile and happy converting...
As a side note, this way you get postprocessing on MPEG1 files before recompressing (something which normally can't be done)
Copyright is MINE... You can freely use this script. :D
5500
548kbit XviD 1.1.0 (better than DivX 5 with a progressive source)
112kbit Fraunhofer ACM Codec 3.3.2 (better than Lame IMHO)
AVI Container, 320x240, 24fps, 48khz
A side note on the frame rate: for the longest time I didn't realize this but not converting the frame rate is very troublesome if you are at the limit with bitrate: 30fps will give you a much lower bit-per-pixel rate...
After I found my setting I wanted to convert every film and format literally at the press of a button whenever I had some time to review them. Needless to say, I wouldn't be writing this if I could have simply downloaded the solution somewhere!
Using my script is pretty easy: You only have to Drag&Drop your video files into the .bat file... That way the files are passed over as parameters into the script and can be further processed. To make things even easier you can for example put the script into the Quickstart area in the taskbar, enabling the functionality in every folder.
Generally the AutoConvert script generates an avs file for every film you passed over and puts it into the temp directory. You have to specify this directory at the beginning of the script (see the REM comments). Then it compresses the file using VirtualDub, putting the finished file right next the original one and deletes the files it has created in the temp dir. Neat!
I think this script can be a great starting point for many different tasks. While it looks complicated (and it's actually more like a small program than a script) it should be easy to customize according to your needs.
The script features some nifty automations like:
deciding between MPEG2Source or DirectshowSource as input
automatic AudioDelay for MPEG files
Framerate conversion with PalTrueSpeed Option when needed
Mono to Stereo Detection
So modify the avs script as you see fit, save a VirtualDub vcf file as your compression profile and happy converting...
As a side note, this way you get postprocessing on MPEG1 files before recompressing (something which normally can't be done)
Copyright is MINE... You can freely use this script. :D
5500