Log in

View Full Version : Utility to automate a 2 pass encoding with VirtualDub and DivX 5 Pro


Pages : [1] 2 3 4

jonny
6th April 2002, 20:04
Homepage: http://jonny.leffe.dnsalias.com/

I'm no longer going to edit the first message on this thread... it's becoming a copy of my site, so better to go to my site :D.


The original post here was something like:

I've written this tool... here is the v1.00

-----
jonny

DJ Bobo
6th April 2002, 21:26
I downloaded your utility, it's pretty cool, but can you please introduce a batch processing mode or something like a job list, this is very important.
And then an option to shutdown windows when encoding is finished.

Thank you...

SuperflyTNT
6th April 2002, 21:46
nice proggY, I'll use it when i use divx 5 ;)

jonny
6th April 2002, 23:06
@bobotns:
nice input ;)

@SuperflyTNT:
thanks :D

ChAoS Overlord
7th April 2002, 14:25
what is the "overwrite/delete" options necessary for? Doesn't this happen automatically?
Also does your utility switch to fast recompress or full processing? I prefer fast recompress most of the time.

Also why did you change: keyframe interval to 250 & max quantiser setting to 12?

DJ Bobo
7th April 2002, 19:57
@ chaos
The delete option is the contrary of the protect option in the codec, so it's usefull!
It works in fast recompress mode.
And jonny hasn't changed anything, you change the settings as you want, if you wanna 250 or 1000 for keyframe, it's your decision. Same for quantizers!

ChAoS Overlord
7th April 2002, 20:34
Hmm so am I right when I see, that protect is on when the delete option hasn't been activated then?

DJ Bobo
7th April 2002, 21:12
Originally posted by ChAoS Overlord
Hmm so am I right when I see, that protect is on when the delete option hasn't been activated then?

YES

ookzDVD
8th April 2002, 04:33
I think this is Divx4pass2 ;) win GUI.

Nice proggie,
next version should be batch support and shutdown after finish. :)

rui
8th April 2002, 10:21
Good work jonny
It even has an ending report, saying our average quantizer. :)

yosemite
8th April 2002, 11:08
thanks for such a prog , very helpful indeed :D

but I've a little problem:

I encoded Matrix and in Gknot I've choosen a filesize for 3CDs!
But the movie is smaller than 1GB, whats wrong here?

jonny
8th April 2002, 12:27
If you check overwrite/delete, the file will be overwritten (if exists) and deleted at the end of the encode.

If you don't check overwrite/delete, the file will be not overwritten (if exists, this generate and error) and not deleted at the end of the encode.

I dunno if i'll keep this options in the next ver... i think are not so useful... let me knot what you think...


@ookzDVD: hihihi :D

@yosemite: there are A LOT of answers in the forum for those getting undersized :rolleyes:

DJ Bobo
8th April 2002, 12:33
@ yosemite
I thought you asked such a question before. First: 3 CDs is a joke! don't go for more than 2 CDs for any rip! second: Matrix is good compressible, so it's already saturated by 1GB, so go for higher resolution like 640x272 or 704x304.
This has nothing to do with his utility!

ChAoS Overlord
8th April 2002, 13:23
Originally posted by jonny
I dunno if i'll keep this options in the next ver... i think are not so useful... let me knot what you think...

You're right, it should be overwritten/deleted by default (also make your program "remember" all settings please)

ulfschack
8th April 2002, 16:59
Good job, jonny

Could you make the settings stick? Like in some sort of ini-file, I wonder?

cheers

jonny
8th April 2002, 17:08
Wait for the next version and keep posting your opinions ;)

yosemite
8th April 2002, 17:32
Originally posted by bobotns
@ yosemite
I thought you asked such a question before. First: 3 CDs is a joke!


sure, but not if u go for 2 audio streams!

UHT
8th April 2002, 18:26
it depends on the format of the audio streams i guess, 2 ac3 streams then maybe 3cd's its still overkill for such a short and dark film

yosemite
8th April 2002, 18:33
well, but a video-bitrate about 709kbps are not so nice in my opnion (thats what u get with 2 CDs)

think about it:
the 2 audio streams are about 2x 359MB!

Acaila
8th April 2002, 21:06
Still, 3 CD's is overkill. For a codec with B-frames it is even more so. And are you really going to listen to all those extra soundtracks?

And the bitrate doesn't say anything about the resulting quality. It's the compressability of the movie that determines the quality. High compressability with low bitrate could sometimes look better than low compressability with high bitrate :)

P.s.
With any dark movie you'll get ugly marcoblock artifacts in the near-black areas. But not even extreme high bitrate will get rid of those, so it's not worth the effort.

UHT
8th April 2002, 21:19
*UHT agrees 100%*

TelemachusMH
8th April 2002, 22:40
@jonny
What compiler did you use to make this file? Also (if you know) where can I get it?

Thanks,
TelemachusMH

jonny
9th April 2002, 09:26
@TelemachusMH:

The compiler is Perl 2 EXE
Link:
http://www.indigostar.com/perl2exe.htm

It's not free (there is a trial version)
I've emailed at indigorstar to know if i can publish a free util with the trial version... they offered me a free license :):):), very COOL

jonny
13th April 2002, 17:44
v1.01 Work with DivX 5.0.1 - DivX 5.0.1 + VirtualDub 1.4.10 -
- Option to disable fast recompress
- PE settings
- Scene change threshold setting
- The log files are overwitten by default and optionally deleted
- Save setting stuffs
- A lot of internal changes... job list in the next week ( i hope :D )

Homepage: http://jonny.leffe.dnsalias.com/

Dali Lama
14th April 2002, 06:55
Angelfire shut down your file d/l. Just want to let you know.

Dali

TelemachusMH
14th April 2002, 06:58
no they didn't ... you have to copy and paste the link into your browser.
(I just redownloaded it to make sure)

Dali Lama
14th April 2002, 07:12
Thanks, that worked. Sorry ;)

muralin
14th April 2002, 14:17
i did a copy & paste of the link on the browser and it said that the URL is no good. luv to get hold of the latest version.

jonny
14th April 2002, 15:48
I hope the moderator approve the attachment shortly ;)

ShinerSpoon
14th April 2002, 19:02
This is very slick. Thank you very much for taking the time to do it! Q: For the novice, were the default values you provided considered to be "about right" or would/where you suggest changes?

jonny
15th April 2002, 00:22
I stay with the default settings (i only change max quant depending of the comp. test value)
I don't use GMC and QPel because my compy is too slow to play the final avi :(

Play with the settings to know what are the best for you ;)

jonny
15th April 2002, 00:28
v1.02 Job list version! - DivX 5.0.1 + VirtualDub 1.4.10 -

(set the desktop at 1024x768 minimum...)


Homepage: http://jonny.leffe.dnsalias.com/

ShinerSpoon
15th April 2002, 22:40
I used this last night to do about 20 short test segments. Worked well. Thanks for the new feature, it's great.

Frisco
16th April 2002, 07:12
@ Jonny

Angelfire shut down your file d/l.


I like your tool and it is useful too me (v1.01).

I can get v1.02.

jonny
16th April 2002, 09:45
Now i'm at work (no access to divx5enc... angelfire shut down my ftp access too!!!)... when i'll go at home (2 hours from now) i'll send the 1.02 via attachment...

Can someone tell me a free hosting server better than angelfire to move all my work?

jonny
16th April 2002, 10:39
v1.02 Here

(Please wait until the moderator approve the attachment)

@edit: sorry.. had to remove the attachment.. all the people leeching a 1mb file plus all the people coming here for the xvid 2 pass tool is just above our bandwith limit. I'm upping the prog to my site now.



-----
Sorry for this, i'll never expected this number of downloads.
I hope to not reach the limit in the freewebz site... (angelfire hosting was always down in this 2 days)
-----
jonny

kilg0r3
16th April 2002, 10:52
I apologize in advance. For i am rather sure to ask a stupid question. But i can't help it.

What does this tool do that virtual dub's job control cannot?

Ps: Download worked via Internet Explorer but not via Opera

jonny
16th April 2002, 11:02
Nothing.
But with this tool is EASY and FAST to setup a lot of DivX 5 jobs (and to control the DivX 5 settings for every job)...

I get bored when i open the DivX 5 configuration panel from VDub...
If you don't like it don't use it... I LIKE IT :D

-----
jonny

kilg0r3
16th April 2002, 11:29
@jonny

just out of curiosity, what hardware do you have?

jonny
16th April 2002, 11:41
P3 @733
Matrox G400 (16MB)
192MB OF RAM
12GB HD

I encode (when is possible) at 704x432 and using always 2CDS.
I play with no post processing (correcting the aspect ratio with BSPlayer).

Nic
16th April 2002, 11:57
Jonny you could try www.freewebz.com if you have lots of troubles with angelfire.com...freewebz is pretty good (but bandwidth limit is around 500MB per month :(

-Nic

philippas
16th April 2002, 13:21
@ Jonny
A suggestion
If its possible to add a compressibility test in your program it would be great.
You could add a line in the avs script, while you open it, for the SelectRangeEvery command and a slider with the percentage of the test.
Then do a 1-pass encoding at quantizer 2 and get the size of the first pass so you can calculate the compressibility of the movie and then delete the file that was made for the test.(you could calculate the size of the first pass by reading the log that divx5 creates but it would be more complex and if they change anything in structure of the log file you would have to modify your program again).

Just a suggestion :)

sillKotscha
16th April 2002, 13:22
(sorry for my bad english... a german-"Kraut" is speaking ;) )

Hi fellows,

I was reading about this nice utility and downloaded the v.1.01 - unfortunately I canīt tell anything about my results with it, because itīs working at the moment (30% of the 1pass)... but I think iīll work fine - just because of the fact that I trust in utilities made by genius heads like you (@jonny).

what about v1.02 - is there any place to download it, for example www.freewebz.com, like Nic sad?!!

(i tried copy&paste, but ttp://www.angelfire.com/wizard/div...vx5enc_1_02.zip is still dead!!)

Thanx a lot Sill

stay cool, stay clever - doom9 forever!!!

jonny
16th April 2002, 13:51
@nic & sillKotscha: thanks! :) I'll try www.freewebz.com

@philippas: Do you read in my mind? :eek:
I'm thinking about the integration of a compressibility test in my tool, but with a totally different approch... indipendent from the first pass log file. Read this if you are interested:
http://forum.doom9.org/showthread.php?s=&threadid=23208

-----
jonny

philippas
16th April 2002, 14:23
@ Jonny
@philippas: Do you read in my mind? :eek:
hahaha :D

I meant do an encoding at quality mode 100%(quant 2)using the script with the SelectRangeEvery command and get the size of the avi file produced not from the log file. SO say you did a 10% comp test and size of the avi file is 100mb then the size of the first pass is 100*10=1000mb and the quality is 1400/1000=1.4 =>140% (to fit in 2cd's) and 700/1000=0.7=>70% (to fit in 1cd)
The disadvantage is that you will have to store the avi file produced and then get it's size and then delete it, but the benefit is that it would complete abstract.


The advantage of your method, that you described in the other thread, is that you don't store the avi file but the disantavage is that you have to read the log file and calculate the average quantizer(a bit slow) and also the structure of the log files that divx5 produces is likely to change so each time the change the log files you will have to modify your program.

Beave
16th April 2002, 14:27
For the Webspace problem:

I suppose you have a flatrate. Then you could install IIS (Internet Information Server) from the WIndows CD. This sets up a WWW and a FTP Server on your computer at home. If you have a dynamic IP from your Provider, you could make an account at www.dyndns.org with a name like ftp://jonny.dyndns.org. Then everybody could connect to to your computer anonymously and get the file. Maybe it is not that fast then, but you don't need to upload anything anymore or you could make a little website in the WWW folder.
It could be a problem though, if too many people want that file at once and if you don't want to have your computer on all the time.

jonny
16th April 2002, 14:39
@philippas:
The method you described is good.
My method is good too (it is easy, average quantizer is stored in the first line of the "analyse.log" file). But is slow because is actually done with a 2-pass encoding...
I'll make some tests on both methods before deciding...
Thanks :)

@Beave:
:D:D:D I'm a 56K modem user :D:D:D
( I think apache server is better ;) )

-----
jonny

jonny
19th April 2002, 17:00
@philippas:

I'm not sure the method you described work.
If i use a sample of 13 frames every x frames (like GKnot do), 1 artificial keyframe (for the scene change) will be introduced every 13 frames, and this will false the test...

Please tell me your opinions...

-----
jonny

TelemachusMH
19th April 2002, 19:29
Just a quick question for jonny. Do you use a program to help you build the tk interface? If so, what program?

thanks,
TelemachusMH

jonny
19th April 2002, 20:06
@TelemachusMH:

No
Build the interface in Tk is simple (i think).
You can place the controls like in an html table (with the "grid" method) and for every cell of the table you can insert, if you want, another table (creating a "frame" widget).

It's not difficult, read the documentation for "grid" and "frame" and make your experiments.

I hope this help!

Bye

-----
jonny