Log in

View Full Version : Encoding >100 videos at once


Wax
3rd March 2004, 21:25
Most people here want to encode a few movies with the best possible quality (mainly from DVD), and there is a lot of software out there to do that.

As I want a large collection of music videos, i had problems to find a programm that can encode a whole folder with lots of .mpv+.mpa files to DivX/Xvid - given a few codec and other parameters once.
(i record some days of MTV/VIVA and cut out the musicvideos with MPEG2Schnitt)

Using GordianKnot takes much too long, there is a queue, but it takes lots of clicks to add a job, and a 3-5min video does not take very long to encode - and I'm talking about up to 10.000 videos

So if there is a programm that can do this, break reading here and tell me please. I like coding, but i hate to do things other people allready have done (better).

As I used the search function and google and tried many programms, i assume that there is no programm available that can do this.

I allways have to click the same buttons in gordian knot and keep the same setings to encode videos, so i thought that it is very easy to automate the process for a whole folder of videos.
A few hundred searches in this forum later i found out that it is not that easy, but ok.

So this is the way i want to do that (it works for one file using a batch script and fixed size)
----
1.)Create d2v project file via command line
2.)Calculate filesize (video runtime in minutes)*(10MB(vid)+1MB(audio)
3.)Run BeSweet to create mp3 with vbr 160
4.)Create .avs file (autocrop, kerneldeint, resize)
5.)Merge registry settings for XVID firstpass with custom desired filesize
6.)create firstpass.vcf
7.)run virtualdub via commandline with firstpass.vcf
8.)Merge registry settings for XVID secondpass with custom desired filesize
9.)create secondpass.vcf
10.)run virtualdub via commandline with secondpass.vcf
11.)create append.vcf
12.)run virtualdub via commandline with append.vcf
13.)delete intermediate files

14.)get the next .mpv file from the folder and run the same procedure (the .mpa has the same name as the .mpv)
----

This does almost sound like a simple .bat file, but i think about creating a c++ prog (as i dont know delphi and dont like vb) that creates the scriptfiles (avs, vcf) and calls the same programms gknot does.

I have no specific question, i just want to know if there are easier/other ways to do the whole procedure, or parts of my procedure (SetCompData is allready discarded, i prefer the registry).

Im aware of the fact that i will not get the same quality as if i would do it manually, but this is not that important in my case.

Suggestions are welcome

dani82
4th March 2004, 09:12
tmpgenc has a batch mode, and i just found out, i'd just has to highlight them and not click on each one at a time (that about a dozen seconds save)

you can also save your settings (only for video)

Wax
4th March 2004, 12:34
I might be wrong, but I doubt that tmpgenc is a programm to make XviDs out of MPEG2 files

dani82
5th March 2004, 09:06
i wouldn't know, i only make vcds