View Full Version : Utility to automate a 2 pass encoding with VirtualDub and DivX 5 Pro
jonny
6th April 2002, 21: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, 22: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, 22:46
nice proggY, I'll use it when i use divx 5 ;)
jonny
7th April 2002, 00:06
@bobotns:
nice input ;)
@SuperflyTNT:
thanks :D
ChAoS Overlord
7th April 2002, 15: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, 20: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, 21: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, 22: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, 05:33
I think this is Divx4pass2 ;) win GUI.
Nice proggie,
next version should be batch support and shutdown after finish. :)
Good work jonny
It even has an ending report, saying our average quantizer. :)
yosemite
8th April 2002, 12: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, 13: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, 13: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, 14: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, 17:59
Good job, jonny
Could you make the settings stick? Like in some sort of ini-file, I wonder?
cheers
jonny
8th April 2002, 18:08
Wait for the next version and keep posting your opinions ;)
yosemite
8th April 2002, 18: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!
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, 19: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, 22: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.
TelemachusMH
8th April 2002, 23: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, 10: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, 18: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, 07:55
Angelfire shut down your file d/l. Just want to let you know.
Dali
TelemachusMH
14th April 2002, 07: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, 08:12
Thanks, that worked. Sorry ;)
muralin
14th April 2002, 15: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, 16:48
I hope the moderator approve the attachment shortly ;)
ShinerSpoon
14th April 2002, 20: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, 01: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, 01: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, 23: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, 08: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, 10: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, 11: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, 11: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, 12: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, 12:29
@jonny
just out of curiosity, what hardware do you have?
jonny
16th April 2002, 12: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, 12: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, 14: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, 14: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, 14: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, 15: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, 15: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, 15: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, 18: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, 20: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, 21: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
philippas
20th April 2002, 16:00
@jonny
The frame for the scene change is discarded by the selectRangeEvery command. It works nicely!
jonny
20th April 2002, 17:31
I'm making some internal changes in the tool, after this i'll test the method! (sorry but i don't have a large amount of free time :( )
Thank you very very much!!!
-----
jonny
philippas
20th April 2002, 18:22
Thanks for developing your tool :)
acjones4
20th April 2002, 22:55
Hey Johny, you should throw an option in there to just do the second pass. Like if you missed on your file size on the first try, you could adjust bit rate or whatever and try again without having to do the first run over again. This would mean you would have to add some code that would give each job in the job list a unique divx log file, see what I mean? They way you have it now the log file is overwritten for each new movie in the job list.
Also, I'm not sure but isn't '1' a valid min quantizer? I think it is but when I try to use it with your utility I get an error message from your program. I get undersized movies with an average quant of 2.00000, so being able to go under 2 would be great. Thanks! I love this program!
jonny
21st April 2002, 11:45
>Hey Johny, you should throw an option in there to just do the second pass. Like if you missed on your file size on the first try, you could adjust bit rate or whatever and try again without having to do the first run over again.
When the compressibility test will be finished... you'll never get undersized (for now you can use my comptest utility, if you get more than 80% the final avi will be undersized).
>This would mean you would have to add some code that would give each job in the job list a unique divx log file, see what I mean? They way you have it now the log file is overwritten for each new movie in the job list.
If you don't check the delete options you can see that the log files are MOVED in the same dir where the avi is created (the name of the avi is "appended" to each log file), so you can always do the second pass manually if you really need this.
>Also, I'm not sure but isn't '1' a valid min quantizer? I think it is but when I try to use it with your utility I get an error message from your program. I get undersized movies with an average quant of 2.00000, so being able to go under 2 would be great. Thanks! I love this program!
I think this is a DivX 5 bug, DivX 5 doesn't do any parameters checking. If you make a 2-pass encode seems that setting quants to 1 is ignored (is equal to setting quants to 2).
If you set quants 1 when you do a one-pass encode the filesize increase (i've made this test 2-3 weeks ago so i'm not 100% sure to remember exactly the results)
I hope people at DivX make some parameters checking routines, for now i think the correct minimum value is 2.
DJ Bobo
21st April 2002, 15:02
Please don't forget to include a "shutdown windows when done" option in your next version :D
jonny
21st April 2002, 20:28
v1.03 - DivX 5.0.1 + VirtualDub 1.4.10 -
- Added load default settings function
- Added load/save settings to a file
- Infos on log file are now appended
- Added function to reset the log file
- Added function to reset the job list
- Added functions to load/append/save the job list to a file
- Added function to copy settings to the selected job
- Added function to copy settings from the selected job
- DivX 5 Enc disappear when you start encoding
- Cosmetic changes in the interface (i think is better :) )
- After encoding the status of each job appear in the job list
- A HUGE amount of internal changes (the source code is better :D )
- Other things i don't remember...
Homepage: http://jonny.leffe.dnsalias.com/
@bobotns: i'm working on it... it's not easy to do this in perl... i don't have full access to the windows api :D ... i have a lot of new things to add... ;)
jonny
21st April 2002, 23:40
Help!
I've made a little proggy to shutdown windows... please test this and tell me if it works in your system!
I have no problems under Win98, but i'm not sure it works on 2000/NT/XP
http://www.angelfire.com/wizard/divx4pass3/sd.zip
(copy and paste the link to a new browser window)
(bobotns i'm waiting you :D )
Beave
22nd April 2002, 00:00
Well it shuts down windows XP, but not the computer. It leaves you with "You can turn off your Conputer now!" message.
Beave
22nd April 2002, 02:48
A small suggestion:
Could you automaticly suggest the same name in the same folder when a Input file *.avs is being selected? So the Output would show *.avi.
And maybe some Credits support would be nice. Maybe something like two buttons with the settings for the movie and the credits predefined (looking for the settings file each time is boring). For the Credits it would be nice to have also 1-pass support, but not nessacary.
Thanks for your tool, I use it a lot.
jonny
22nd April 2002, 10:05
>Well it shuts down windows XP, but not the computer. It leaves you with "You can turn off your Conputer now!" message.
Ops... reading the ms docs... i think it's my fault :D
I'll post a modified ver about 4 hour from now... i think this will work :)
>Could you automaticly suggest the same name in the same folder when a Input file *.avs is being selected? So the Output would show *.avi.
Yes this can be done (i think is better only when the output field is empty)
>And maybe some Credits support would be nice. Maybe something like two buttons with the settings for the movie and the credits predefined (looking for the settings file each time is boring).
I'm thinking on adding a little listbox showing all the configs you have saved... so with a dblclick you can select the predefined setting you want.
>For the Credits it would be nice to have also 1-pass support, but not nessacary.
I dunno if i'll add this option in the near future
Thanks for the test!
Please wait until i'll post the modified ver to test if it work correctly (now i'm at work)
bye
-----
jonny
jonny
22nd April 2002, 14:05
This time 2 different versions for shutdown, both works on win98.
http://www.angelfire.com/wizard/divx4pass3/sd.zip
(copy and paste the link to a new browser window)
Please someone test this on 2000/NT/XP and report if both works or only one (or zero :D )
Thanks
-----
jonny
Krack
22nd April 2002, 19:22
Well the second file of Jonny works and shut down XP pro.
And thanks a lot to Jonny for the time he spend in this utility for lazy men like me :D .
Beave
22nd April 2002, 20:45
For me SD1 and SD2 work on XP.
jonny
22nd April 2002, 21:57
Thanks very much to all for testing!!!
@Krack:
>Well the second file of Jonny works and shut down XP pro.
This mean sd2.exe work and sd1.exe NOT work?
Krack
22nd April 2002, 23:19
I had understand that only the second one may work with XP but I have try it now and it work as well as the other.
Sorry for the fear I have created whithout thinking.
I expect like many people (I think... (always :cool: )) a version with these softwares :D .
acido
23rd April 2002, 00:04
@jonny
Ciao jonny,
but pls explain us also how to use sd1 and sd2, it's still unclear to me how to shutdown the pc at the end of the encoding.
I already found a bypass, there is a utility called "poweroff" that lets you specyfy a timed shutdown (at a given hour) but last time it luckily started 3 minutes after the encode completed :D
So what we really need here is an option in your GUI.
Thanks for your efforts .
P.S on my WinXP pro system sd1 works too.
wr975
23rd April 2002, 09:37
About shutting down...
Wouldn't it be easier for you to include Steve Gibson's 29K freeware WIZMO in your files, and trigger it with parameters? Like 'wizmo shutdown' or 'wizmo hibernate', etc. Adding an exclamation point forces the requested shutdown operation.
http://grc.com/wizmo/wizmo.htm
Thanks for your helpful utility! :)
jonny
23rd April 2002, 10:05
:)
SD1.EXE AND SD2.EXE ARE ONLY TESTS :D !
The shutdown will be integrated in the next version (in this week)
jonny
24th April 2002, 10:46
v1.04 Shutdown! - DivX 5.0.1 + VirtualDub 1.4.10 -
- Option to shutdown when done
- Added some accelerators to fast access the menu functions
- Output file name automatically created (only when the field is empty) when you select the .avs file
- Left double click on the job list: copy settings from the selected job
- Right double click on the job list: copy settings to the selected job
- Added function to delete a settings file
- Added function to delete a job list file
- Added quick load settings listbox (NOTE: .conf files must be saved in the settings dir)
- Added function to refresh this list (if you rename or delete manually some file in the settings dir)
- + You have a little app (shutdown.exe), if you want to... shutdown :D
- No source code this time (if you want the source drop me an e-mail :) )
Homepage: http://jonny.leffe.dnsalias.com/
Please test the shutdown option!!! and tell me if you have problems
(NOTE: i don't force the shutdown, so if some program don't want to terminate... the shutdown will fail)
acido
24th April 2002, 11:02
Great work Jonny !!!
Just in time for next weekend encodings !
jonny
24th April 2002, 11:22
@acido:
Thanks!
E direi un lungo weekend... visto il ponte ;)
acido
24th April 2002, 11:40
@jonny
hai un link o della doc su come funziona il compression checking?
Ho visto che hai un altro tool per questo ma devo prima capire a che serve ... ;)
Mandami una mail se vuoi, ciao!
Krack
25th April 2002, 18:29
your shutdown option works with XP pro.:D
tx Jonny
ready to test other new features ;)
jonny
25th April 2002, 21:47
v1.05 Small fix - DivX 5.0.1 + VirtualDub 1.4.10 -
- Fix: changed some accellerators that make conflict with copy/paste
- Added option to do a one pass encode
homepage: http://jonny.leffe.dnsalias.com
Sorry for making you redownload the file :(
I'll be out in the week end for a little vacation :D, so i can't respond to e-mails/forum.
-----
jonny
acido
27th April 2002, 15:38
Jonny,
a little thing about the shutdown option, it works on my XP but not in all circumstances. I've noticed that if the only apps active are Divx5enc and virtualdub, the shutdown will occur, if i forget any other application active the shutdown will fail.
In other programs that do planned shutdowns i can choose an option to "Force all applications to close" during shutdown, and i think this should be added also to your shutdown app :D
Mine is just an impression, anyother can confirm that?
Ciao
cjaar
28th April 2002, 08:29
@jonny...
How about support for divx4 and xvid :) This will be cool utility
dude.
cheers
cj:D
ivan_alias
28th April 2002, 08:52
There is a quick2pass xvid tool already. Check out the Xvid forum for the details, or have a look back through the news on the doom9 front page.
jonny
28th April 2002, 15:48
@acido:
Yes i can add this, but force shutdown is a little dangerous... some application can lose data...
@cjaar:
For divx4 there is GKnot, for xvid quick2pass, do you want to encode in 3 different formats :) ?
Acaila
29th April 2002, 09:00
Last few posts moved to the the thread they belong in....
daniel
29th April 2002, 17:42
great program! everything on one screen!
maybe another thing that would be handy: in nandub you can set a title, author and copyrights; maybe it's cool to add a button for these options? because that's the only thing I use nandub for...
jonny
29th April 2002, 17:59
Thanks :D
Do you have used this tool with NanDub and all works fine?
This can be possible... but i must first verify.
I dunno if this options are really useful for the users, please let me know what you think (consider that i'm adding other options and the free space in the interface is lowering :) )
-----
jonny
daniel
29th April 2002, 19:32
no I didn't use it WITH nandub...
what I mean, is that AFTERWARDS I use nandub to put in the title and author and copyrights
and about the interface: maybe just one button and if you click on it, you get the fields (title etc); something like that i was thinking about
so if these options were in your program too, I don't have to use nandub anymore
muralin
29th April 2002, 19:46
this is an awesome program and i wonder how i lived without it. lets not go overboard & make it complicated that we need another program to control this.
there is power in simplicity.
jonny
29th April 2002, 22:29
Yes i agree with muralin, i think the people don't need this.
Sorry daniel :)
-----
jonny
daniel
29th April 2002, 23:08
hmmkay :p
I'm already happy that you made such a program anyway :D
The process in nandub takes about 1 min. so...
muralin
4th May 2002, 15:49
hey jonny:
sorry i am violating my own rule - keep it simple.
how about audio mux using nandub including the audio delay. nothing else plz!!!
murali
First i want to make the video part more complete (at least for me)
I dunno if i'll add mux support, but surely not in the near future
bye
jonny
... wait and pray :D
jonny
11th May 2002, 01:12
New version out!
v1.06 Compressibility test - DivX 5.0.1 + VirtualDub 1.4.10 -
- Added compressibility test (read comptest.htm and whywork.htm in the docs dir)
Homepage: http://jonny.leffe.dnsalias.com
I have not compared the results with my old CompTest tool, the best % values must be determined!!!
It's time to test :D
Please report your experiences :)
-----
jonny
philippas
11th May 2002, 14:05
Good job Jonny! :) I'll be happy to test the new compTest in your program.
Kb_cruncher
13th May 2002, 06:45
i get a"can not open settings"error everytime i open divx5enc.
saving settings to conf file does not fix the problem.any ideas?
jonny
13th May 2002, 09:36
1 - or you have deleted the "settings" dir.
2 - or you have made a link to divx5enc configuring a path different to where is installed.
choose 1 or 2? :)
Let me know if this solve the problem!
Thanks
jonny
Kb_cruncher
13th May 2002, 10:45
i extracted the contents of the zip file to a directory but there was no settings directory,so i created one and it works fine now.thankyou.
jonny
13th May 2002, 11:12
It's strange, trust me, "settings" exists in the .zip archive.
What program are you using to decompress?
DJ Bobo
13th May 2002, 22:25
Is your site down? I can't get into it, I get "Server not found".
jonny
13th May 2002, 22:34
I think it's not a problem of my site.
I've run "tracert jonny.leffe.dnsalias.com"
...
10 170 ms 171 ms 164 ms Vlan2.msfc1.Copenhagen3.teleglobe.net [195.219.136.8]
11 175 ms 173 ms 166 ms bredbandsbolaget-gw.dix.dk [192.38.7.65]
12 170 ms 174 ms 169 ms ge6-0.cr2.cph1.dk.bredband.com [195.54.118.241]
13 172 ms 172 ms 170 ms ge1-0.cr1.mlm2.se.bredband.com [195.54.124.177]
14 177 ms 177 ms 177 ms pos6-0.cr2.sto1.se.bredband.com [195.54.123.29]
15 srp9-0.cr1.sto3.se.bredband.com [195.54.124.165] rapporti: Host di destinazione irraggiungibile.
I think the last node have problems...
I'm not able to connect to my site too :(
Swede
14th May 2002, 07:19
Sorry, it was my fault... I'm on a dynamic IP and it was changed yesterday and my excellent? script for automatic update didn't do it's job. It's fired now and replaced with one that *do* work.
(Hopefully it won't happen again)
jonny
14th May 2002, 09:49
Thanks Swede! :)
acido
14th May 2002, 09:58
jonny
me too had problems yesterday evening ... your site was not reachable.
This morning all seems working again.
Ciao :)
jonny
14th May 2002, 10:04
It's allright now :D
Ciao Acido!
flooo
15th May 2002, 11:30
hi jonny...
regarding to divx5enc v1.06 (with the compressability test):
just read your html-help on your homepage of divx5enc. i have just a question about it...
why do you have to specify a bitrate for the comptest? i mean... do you have a special value here? how do you get the bitrate... when ecoding with divx5 i always get the bitrate after doing some resolution settings and comptests...
flooo
jonny
15th May 2002, 11:55
why do you have to specify a bitrate for the comptest?
I need the bitrate to calculate the target size.
If, after a comptest, you decide for example to use 2 cds instead of 1, GKnot will calculate a new bitrate... you can use this new bitrate to make another comptest.
When you'll be sadisfied with your comptest value, you must use the same bitrate used in the test to encode.
flooo
15th May 2002, 13:45
hi jonny...
ok... got that. but what if i do a compressability check and afterwards i change the resolution... how accurate is the comptest in divx5enc v1.06? do i have to do a comptest again with the new resulution? can i use the value i will get after changing resolution and use +/- x% ?
flooo
jonny
15th May 2002, 14:26
You must do another comptest if you change the resolution.
The best thing for me is to do the first tests at 1%, when the comptest value is ok for you... do the final test with an higher % (example: 5%-10%), to make sure the value doesn't change too much.
There is a formula around in the forum for what you are searching... but is more accurate to do another comptest.
PeterTheMaster
15th May 2002, 19:56
the formula i remember is this one:
first do compressibility test at 2 different resolutions,
one with width wn and height hn, the other one wo and ho.
the tests should use the same snippets of 13 frames length,
the first frame of each snipped should be discarded (the
gknot test does this)
note the filesizes sn and so.
then calculate the file size exponent:
fse=ln(sn/so)/ln(pn/po) with pn=wn*hn and po=wo*ho
and finally calculate the maximum resolution (in pix,
you still have to find the best width and height):
s=so*(pn/po)^fse
this worked pretty good for divx3, i havent done a lot
of encodes since then, so i dont know how much it applies
to divx5 or so.
First: Thanks for this great tool, I hope it'll develop in the future!
It really fills in a space that was created with divx5.
Note: use this tool in combination with the DivX-VirtualDub versions i specify.
Ok.
Does this also mean, that I shouldn't use v1.06 with Divx 5.02 or does this only concern bigger changes?
jonny
17th May 2002, 11:45
Ops... i've missed it, the 5.0.2 is out! :rolleyes:
I must test this version.
I'll quickly put some info in my site after the tests :)
Hihg,
what about adding quality based pass ?
anyway, thanks for the great tool.
jonny
17th May 2002, 16:07
You can do quality based pass setting min quant = max quant and 1 pass encode.
Waltarro
18th May 2002, 11:10
Just curious what performace/quality setting this program uses?
could someone verify that it uses the slowest setting? if so then
this is the perfect program.
jonny
18th May 2002, 12:18
Slowest! MY TARGET IS QUALITY :)
jonny
19th May 2002, 12:12
v1.06 work perfectly with 5.0.1 or 5.0.2
I think there should be no problems running the new GKnot with the 5.0.1 too.
-----
jonny
Originally posted by jonny
You can do quality based pass setting min quant = max quant and 1 pass encode.
Well, I knew that, but I'm not sure what 100% quality is.
(min quant = max quant = 2) or (min quant = max quant = 1) ?
Same with 50% qualiy and so on.
DJ Bobo
20th May 2002, 11:32
@ max7
There is no quantizer = 1, the smallest setting is 2.
If you wanna see which quantizer is used by which quality setting, go to virtual dub, open the divx configuration menu and play with the quality based scale, the quantizer will change on the right.
jonny
20th June 2002, 14:32
shutdown.exe v1.01 Fix: works on NT 4.0
(20th June 2002)
- Fix: now the shutdown works on NT 4.0
- Replace the old shutdown.exe with this one in the DivX 5 Enc dir
- Tested on 95-98-ME-NT40-2000-XP, thanks to all the testers!!!
Homepage: http://jonny.leffe.dnsalias.com/
DJ Bobo
30th June 2002, 10:22
@ jonny
I have a problem (remember Houston? :D)
Well, my computer won't shutdown sometimes, after encoding, it prepares to shutdown then shows a window, where it asks if your program should be closed or not (the same one that you get when you try to close a stubborn program, for example some programs in the CTRL+ALT+DEL Menu)
That incident is sporadic, that means sometimes the computer shuts down, sometimes not (I must then specifically hit "close task" so it shuts down).
I'm using Windows 98 SE.
yeah a forced shutdown would be cool...
thx for the great tool :)
jonny
2nd July 2002, 09:37
I'll try to fix this... :) (strange problem, never happened on my system)
Cheers
jonny
DJ Bobo
3rd July 2002, 12:04
@ jonny
I'm no programmer, and I don't know the cause of that. But here is a suggestion: implement a delay of 10 seconds after encoding is finished for the shutdown, cause I have the feeling that shutdown applies directly and I always hear the hard drive working intensively before the computer shuts down.
Just an idea! :D
NB: I encode almost every day something using your tool (while sleeping ;)), so I can tell you for sure, if the delay insertion solves the problem or not (yesterday shutdown was done properly, we'll see today what happens :D)
jonny
3rd July 2002, 17:46
Yes, i think adding a delay will probably fix this (anyway this is not the best solution :D) i hope to find some time in the weekend to make some experiments (it's too hot in italy to make big programming things in this period :))
jonny
11th November 2002, 23:34
v1.07 The return :D - DivX 5.0.1 or 5.0.2 + VirtualDub 1.4.11 -
(11th November 2002)
- Support for VirtualDub 1.4.11
- Added Pre Processing Source setting
- Interface now fit 800x600
- No more need to enter frames and fps in compressibility test
- Correct report of the average quant at the end of a 2-pass encode (average quant is now calculated with the log file)
- Include shutdown.exe v1.01
Homepage: http://jonny.leffe.dnsalias.com/
PS: the problem with shutdown will be fixed in the next ver... i hope :D
Stampede
12th November 2002, 00:58
I love this utility! I've been using it for the last month and I think it's much more convenient than clicking through VDub manually. And this way I don't accidently forget to change my codec setting when I do my second pass :)
Stampede
12th November 2002, 01:05
Umm, why don't you use the same defaults as the codec itself? For example their max keyframe interval defaults to 300.
jonny
12th November 2002, 09:46
I encode pal movies, 25 fps, so i like a keyframe every 10 seconds (250 frames) :)
Krack
18th November 2002, 21:16
thanks a lot for making a new release of my favorite encoding program :):D
jonny
18th November 2002, 22:53
:)
jonny
9th December 2002, 22:16
v1.08 The return: part 2 - DivX 5.0.1 or 5.0.2 + VirtualDub 1.4.11 or 1.4.12 or 1.4.13 -
(9th December 2002)
- Added DivX 5 Resize and Crop codec options (NOTE: remember to not use crop/resize in your avisynth script if you enable the codec crop/resize)
- Added DivX 5 Performance/quality option (previous default value was "slowest")
- Added SelectEvery option in compressibility test (check this if your avisynth script doesn't contain the mpeg2dec.dll plugin. NOTE: not needed if you are using avisynth 2.5)
- Check to see if DivX5Enc is already running
- Check to see if the desktop resolution is at least 800x600
- Increasing the window size now increase the job list and the settings space
- Fix: now you can't resize below the minimum window size
- Not used options are now grayed selecting 1-pass/2-pass/comp. test (options are still editable, i think this should be useful)
- Shutdown fix: now DivX5Enc is closed instead of waiting for the kill signal (this should be more safe)
- Fix: pressing the right mouse button in the log file window doesn't popup a search/replace window
- Other things i don't remember...
eXistenZ
11th December 2002, 16:01
Hi Jonny!
Can I ask you a feature to add to your tool?
I'd like to disable the use of MV (Motion Vector log file) in a 2-pass encoding.
It could be a new option (checkbox) in your GUI.
I've tried using / testing your tool, but I think MV keeps crashing my machine :(
(Dunno why, but I can't use MV, this is true for DVDx, XMPeg, GKnot, VitrualDub, so I think it's the same problem with your tool...)
Furthermore, AFAIR, MV log file speeds up encoding but could slightly decrease quality, so I got used not to use it :)
Thank you and keep on with this great job...
jonny
11th December 2002, 17:14
yep i can do this... nice suggestion
can you open the divx codec setting in vdub and post your "quick config cli"?
Cheers
jonny
eXistenZ
11th December 2002, 18:12
Great! Many thanks! :D
A typical "quick config cli" of mine looks like this:
-b21 725 -c 10,12,16,12 -r 576,304,1 -psy 1 -key 250 -log "D:\Temp\divx.log" -b -dr 12,2,70000,10,20 -sc 45 -pq 5
As you can see I use crop&resize inside the codec... but you have yet added these to your tool ;)
Bye, eXistenZ
jonny
11th December 2002, 18:29
So, when you enable the mv file, you set something like this:
-mv "D:\Temp\mvinfo.bin"
Is that right?
Are you sure you have enought space in D: for the mv file?
Have you tryed with the divx default (-log "c:\divx.log" -mv "c:\mvinfo.bin")?
Anyway strange problem...
Bye
jonny
jonny
11th December 2002, 22:12
v1.08.1 Fix! - DivX 5.0.1 or 5.0.2 + VirtualDub 1.4.11 or 1.4.12 or 1.4.13 -
(11th December 2002)
Note: This is only an update, you need to replace divx5enc.exe contained in divx5enc_1_08.zip with the one in divx5enc_1_08_1_update.zip
- Fix: settings are now displayed correctly if your desktop use "Large Fonts"
- Fix: better colors for not used options (i take care of the current color scheme in your desktop)
eXistenZ
12th December 2002, 09:41
Originally posted by jonny
So, when you enable the mv file, you set something like this:
-mv "D:\Temp\mvinfo.bin"
Is that right?
Yes!
Are you sure you have enought space in D: for the mv file?
Well, it's an empty 10 GB partition reserved... you know for what... ;)
Have you tried with the divx default (-log "c:\divx.log" -mv "c:\mvinfo.bin")?
Anyway strange problem...
Yeah, I tried... I think something messed up in my WinXp system, 'cos at the beginning it worked...
Tried to uninstall DivX codec, delete all registry entries, reinstall, with no luck...
Bye, eXistenZ
jonny
12th December 2002, 12:19
Probably a "format c:" & "format d:" + XP reinstall is the solution :)
Anyway in the next ver i'll add the mv option.
cu
jonny
ChannelK
14th December 2002, 10:42
Great program, 'another satified user'.
Just one question, because I have only just started using it i compared the compressibility tests to those done using GKnot (same default unedited GKnot scripts for both tests) but the results were somewhat different (up to 10% + in favour of divx5enc) for lord of the rings extended. Any ideas why this might have occured or could it be simply a freak occurance as there is no difference for any other movie (as obviously expected).
What I really like to see is a divx5enc GKnot collabiration if at all possible because imho that would take the best of the best GUIs for encoding to create basically the all you need solution for divx5.
jonny
14th December 2002, 11:48
Thank you :)
>Just one question, because I have only just started using it i compared the compressibility tests to those done using GKnot (same default unedited GKnot scripts for both tests) but the results were somewhat different (up to 10% + in favour of divx5enc) for lord of the rings extended. Any ideas why this might have occured or could it be simply a freak occurance as there is no difference for any other movie (as obviously expected).
It should be useful if you post both DivX5Enc log file & GKnot log file & avisynth file you are using.
Another thing you can do is to run the test @ 100%, in this way you obtain a "free of errors" predicted size.
(i have LOTRE dvds near to me now :), so i can easly replicate the problem... not so easly ok... i have 1,5GB left on my HD :D)
>What I really like to see is a divx5enc GKnot collabiration if at all possible because imho that would take the best of the best GUIs for encoding to create basically the all you need solution for divx5.
This would be a really nice thing :)
But i love to program alone because i can design my tool exactly like i want, anyway this don't exclude that i can help nice ppl & be helped be nice ppl sometime :).
Regards
jonny
ChannelK
15th December 2002, 11:33
Unfornutely everything but the resulting divx is gone so i cant post anything. Am REALLY happy with the result so i didnt save anything as i was finished with LoTR. Just thought id ask as perhaps there was a simple explanation.
jonny
15th December 2002, 14:16
Ok, when i'll free more space from my HD i'll make some tests with LOTRE :) (better to buy a new HD i think :D)
jonny
17th December 2002, 18:36
A little documentation is up on my site
jonny
29th December 2002, 15:26
v1.09 GPL! - DivX 5.0.1 or 5.0.2 + VirtualDub 1.4.11 or 1.4.12 or 1.4.13 -
(29th December 2002)
Note: You need WinRAR 3.00+ to decompress the files.
- Source code under GNU General Public License
- Added the MV option in the 2-pass mode
- Now the temp files are created in the DivX 5 Enc "tmp" directory (instead of c:\), this is useful for people with more than one hd and it's more clear. Note: DivX 5 log files and MV files will be written in this directory too
- Option to auto save the job list at the end, useful if you use the shutdown option: you can see the status of each job directly in the job list
- Function to see general info (frames/fps/resolution) of the current AviSynth file
- Function to get "RC averaging period, frames" from the current AviSynth file, the value will be half of the total frames in the file
- Option to toggle "Auto set output file" when you select a new AviSynth file
- MV file is no more written when you run a compressibility test
- Fixed: saving settings or jobs files without specifing the extension will no more cause a truncated extension (this was happening on Win95 only). Now defalut extensions are .d5s and .d5j
- avsinfo.exe and shutdown.exe recompiled using Visual C 6 SP5 (instead of Borland C Compiler), this fix some bad frames/fps/resolution detection using AviSynth 2.50, thanks to Paky for reporting this!
- Fix: audio processing disabled in VirtualDub, this will avoid DivX5+Wav file production if your AviSynth file generate audio, thanks to seewen for reporting this!
- AviSynth errors detection added in avsinfo.exe (taken from VirtualDub, thanks to Avery Lee!, thanks to Belgabor too for giving me the right place to go!)
Limitations of v1.09:
If your avisynth script contain "return" or "end", this will cause always a compressibility test with 100% of the movie. No fix ATM, at least without breaking compatibility with AviSynth 1.06 and AviSynth 2.50
Happy new year to all!!!
I'll be out for 4 days... so i can't read e-mails/forum
eXistenZ
29th December 2002, 21:53
Originally posted by jonny
- Added the MV option in the 2-pass mode
Many Thanks! :D I'll try out ASAP!!
Test done with Avisynth 2.5 and VirtualDubMod 1.4.12: great success :D
I can now forget XMpeg (never liked GKnot...): your tool is by now my favourite one!!
Happy new year to you and to all Doom9 crew & community!!!
N_F
2nd January 2003, 02:13
Jonny:
I know your program has existed for more than half a year, but I've only started using it on more regular basis during the last month.
I just wanted to say thanks for a great program :)
jonny
2nd January 2003, 23:02
Thanks to all :)
I'm returned today from Firenze :)... i need a lot of sleeping now :D
Beave
9th January 2003, 00:13
Thx for the new version. It works quite well with YV12 and VirtualDubMod. I noticed one thing though: Divx5Enc doesn't know the procedure ConvertToYV12(). But It works in VDM.
jonny
9th January 2003, 02:02
Hi Beave!
I've made a simple test using this AviSynth script:
LoadPlugin("c:\yv12\MPEG2Dec3\MPEG2Dec3.dll")
mpeg2source("D:\divx_d2v\test.d2v")
ConvertToRGB()
ConvertToYV12()
Seems to work without problems.
(bad colors effect after the 2 conversions, but no error reported about ConvertToYV12())
I'm using:
DivX5Enc v1.09
avisynth_a_030103.zip
MPEG2Dec3 v0.94.zip
VirtualDubMod 1.4.13.1
The error you see is probably returned by AviSynth when D5E read the file informations
Can you give me more info?
Beave
9th January 2003, 04:24
My avs file:
LoadPlugin("PathTo\Convolution3DYV12.dll")
DirectShowSource("PathTo\test.mpg")
ConvertToYV12()
Convolution3d(preset="movieLQ")
BicubicResize(352,256,0,0.5)
Trim(0,36759)
Only thing changed to make it shorter is the path.
divx5enc 1.09
AviSynth 2.50 beta 13.11.02
mpeg2dec3 v0.94
VirtualDubMod 1.4.13.1
The error sais:
AviSynth open error: Script error: there is no function named "ConvertToYV12" ("PathTo\test.avs, line 3)
Obviously my avisynth is outdated, so I will try to find the new one. Maybe that's the mistake?
jonny
9th January 2003, 09:14
I've tryed with this:
LoadPlugin("Convolution3DYV12.dll")
DirectShowSource("test.mpg")
ConvertToYV12()
Convolution3d(preset="movieLQ")
BicubicResize(352,256,0,0.5)
Trim(0,36759)
But still no errors (i'm using Convolution3D beta 3).
Please try with the latest AviSynth to see if the error popup again.
hakko504
9th January 2003, 09:34
Originally posted by Beave
AviSynth 2.50 alpha 13.11.02
Obviously my avisynth is outdated, so I will try to find the new one. Maybe that's the mistake? Yup, that one is old, way too old. Sh0dan has put out new alphas about once a week. Find them here. (http://cultact-server.novi.dk/kpo/avisynth/avisynth_alpha.html)
Beave
9th January 2003, 16:07
Hmm, i got the avisynth 03.01.03 binary and unzipped it into the Virtualdubmod folder. (In system32 I still have the 2.07 avisynth)
When i load Version.avs in VDM i still get the info, that it is
avisynth 2.50 beta 1 (avisynth.og) 7 nov. 2002
Did the avisynth developers just forget to update this? Or is VDM reading another avisynth from somewhere else? (I found 34 avisynth.dll on my system)
Well, anyhow, it doesn't work now either. still same messege when i try Get "RC Average..." or start encoding.
One sidenote for johnny: could you add a a checkbox for automaticaly loading the RC Averaging when opening an .avs file?
hakko504
9th January 2003, 16:15
Unfortunately Sh0dan hasn't bothered to change the dates everytime he's compiled a new version. And if you have 34 avisynth.dll in your system it is definitely time to clean up. Also, even though it says beta, it is really still only in alpha stage. Official beta will probably be released soon.
jonny
9th January 2003, 16:19
>(In system32 I still have the 2.07 avisynth)
This is the problem! AviSynth need to be installed on system32 or divx5enc will use 2.07 (you can also try to copy it in the DivX5Enc folder, but i'm not sure it works)
Let me know if this solve the problem (but i think 99% yes)
Be sure to verify the current installed version with a simple script containing "Version()"
(to switch between different Avs versions, i'm actually using some simple .bat files that copy the correct avisynth.dll into system/system32 dir, you can do the same thing)
>One sidenote for johnny: could you add a a checkbox for automaticaly loading the RC Averaging when opening an .avs file?
Yes :)
Beave
9th January 2003, 16:55
You were right! It was the 2.07 avisynth, that caused the trouble.
Funny thing is, i actually already had two .bat files which did exactly that! But I found it easier to simply take virtualdub for yuv2 and virtualdubmod for yv12.
Thanks for your help.
Have you ever thought of giving your program the possiblity to be started over the commandline?
What I'm looking for is a way of starting the 2-pass encode with the divx Cli settings as parameter. i.e something like:
divx5enc --cli -b22 817 -psy 2 -key 250 -log "F:\divx.log" -mv "F:\divx.bin" -b -dr 12,2,2000,10,20 -sc 50 -pq 5 --input "F:\test.avs" --output "f:\test.avi" --2pass --RCAveraging --comptest 3% ...
Or you could store the fixed settings in a file...?
What do you think about it? Or is there already a tool like that?
jonny
9th January 2003, 17:37
You were right! It was the 2.07 avisynth, that caused the trouble.
Funny thing is, i actually already had two .bat files which did exactly that! But I found it easier to simply take virtualdub for yuv2 and virtualdubmod for yv12.
Well done!
Have you ever thought of giving your program the possiblity to be started over the commandline?
Sorry, i have others priorities at the moment, i think after 2-3 new versions something like this will be possible (anyway i could fast do something like "divx5enc jobs.d5j" or "divx5enc job.d5e", could this be useful in your opinion?)
Or is there already a tool like that?
I think the answer is no.
Beave
10th January 2003, 07:25
If you mean, that the jobs.d5j or jobs.d5e is in the style of the settings default.* files, then yes, that would be ok i think.
I have to study them a little closer then, but at first glance they seem to have all the settings stored.
jonny
10th January 2003, 10:12
If you mean, that the jobs.d5j or jobs.d5e is in the style of the settings default.* files, then yes, that would be ok i think.
Yes
I have to study them a little closer then, but at first glance they seem to have all the settings stored.
Do you want to generate this kind of files?
(if yes i can give you some tips... let me know)
Beave
10th January 2003, 19:22
Do you want to generate this kind of files?
(if yes i can give you some tips... let me know)
Yes, I want to generate them by my vbscripts, so some tips are very welcomed.
jonny
10th January 2003, 20:10
go to the D5E source and search for:
"sub DefaultSettings"
this contains the list of all the settings in a .d5s file.
Some values are text values (example bitrate, RC params...), other values are boolean (0 or 1), other values in radiobuttons have predefined values (you can find this values searching in "sub Main")
a .d5s file is a list containing all this parameters, it have this format:
length#name_of_the_parameter#length#value_for_the_parameter ... and so on ...
it's something like a mixed text/binary format (the order you put the parameters it's not important, but it's important to put ALL the parameters).
N_F
13th January 2003, 08:43
After a completed 2-pass encoding with your tool it will report the avg. quant. This value does not seem to the same as the one found in analyse.log
Any thoughts?
jonny
13th January 2003, 09:45
Final average quant is calculated summing the quant in analyse.log & dividing by the n of frames (this is the correct final quant. Final quant at the top of analyse.log refer to the first pass and is not accurate. Since 1.07, DivX5Enc report the correct value). Thanks to Alex_e_Basta for this, he had asked what is the correct value at divx.com.
A cool thing: there is a relationship between comp. test value & final average quantizer and it's something like this:
http://jonny.leffe.dnsalias.com/g2.gif
Red, green & blue are 3 different clip.
With every clip i've slowly incremented the bitrate and every time i've calculated:
1-comp. test value
2-final average quant encoding in 2-pass mode
N_F
13th January 2003, 10:55
Ok, so we are "forced" to use DivXEnc (not that that's necesarilly a bad thing, it's just that Gordian Knot is usually a bit easier to use for normal movies) to get a precise value. Or is there a way to get the correct value directly from the analyse.log with some program (so that you don't necesarilly need to have used DivXEnc)?
Is this widely known? I've found the values to be off by quite big amounts (up to ~25% IIRC) on occasions.
jonny
13th January 2003, 12:57
Is this widely known? I've found the values to be off by quite big amounts (up to ~25% IIRC) on occasions.
I thing 5-10 persons know about this :).
This is the original post at DivX.com:
http://forums.divx.com/viewtopic.php?topic=34345&forum=6
From Sparky139 (DARC):
"Average quantizer" is basically a quantizer that will be used for encoding frames with average complexity in the clip. An example: your clip has 100 frames with complexity 1000, 100 frames with complexity 2000 and 100 frames with complexity 3000. Average complexity is 2000. Frames with this complexity will receive the quantizer equal to "average quantizer". Quantizer for frames with complexity 1000 will be lower, and for frames with complexity 3000 will be higher.
This explanation does not take into account B frames, rate error correction and a few other things, but it shows the general idea.
This is correct definition of the "Average quantizer" you usually find in the log.
Ok, so we are "forced" to use DivXEnc (not that that's necesarilly a bad thing, it's just that Gordian Knot is usually a bit easier to use for normal movies) to get a precise value. Or is there a way to get the correct value directly from the analyse.log
I can add an option to load analyse.log and show the correct avg quant if you want.
N_F
13th January 2003, 13:13
Originally posted by jonny
I can add an option to load analyse.log and show the correct avg quant if you want.
That'd be nice.
jonny
13th January 2003, 18:08
@N_F:
I think you have probably noticed the avg quant problem in reference to this thread:
http://forum.doom9.org/showthread.php?s=&threadid=40838&perpage=20&pagenumber=3
I think the safest why to split the movie in 2 parts is to make sure the 2 parts have the same compressibility value (this doesn't mean necessary the same average quant at the top of analyse.log).
If you want to compare quality using avg quant, you should use divx5enc (anyway the next version will have the load analyse.log option)
You can try to take a look at this thread:
http://forum.doom9.org/showthread.php?s=&threadid=42868
As you can see in the graphics, using divx5enc compressibility test you can actually predict the REAL final average quant before encoding.
jonny
2nd February 2003, 23:45
Double release this time :)
Here:
http://members.lycos.co.uk/nontelodiromai/
My site is down this days, if someone want to put this file on a mirror...
v1.11 DivX 5.0.3 support!
- DivX 5.0.3 + VirtualDubMod 1.4.13.1 + VirtualDubMod_310103.zip -
Note: You need WinRAR 3.00+ to decompress the files.
Note: You need VirtualDubMod 1.4.13.1 + the latest VirtualDubMod bugfix/cvs (VirtualDubMod_310103.zip).
- Added support to all the new modes.
- Added full configuration of the log files.
- New function: "Size prediction", with this new toy you'll be able to predict the final size for a quality based encode at a given quant, encoding only a % of the movie/clip.
- Parametric snip size in compressibility test & size prediction (for those who want to make experiments :))
v1.10 Size prediction 8)
- DivX 5.0.1 or 5.0.2 + VirtualDubMod 1.4.13.1 + VirtualDubMod_310103.zip -
Note: You need WinRAR 3.00+ to decompress the files.
Note: You need VirtualDubMod 1.4.13.1 + the latest VirtualDubMod bugfix/cvs (VirtualDubMod_310103.zip).
- Added 1-pass quality based mode
- New function: "Size prediction", with this new toy you'll be able to predict the final size for a quality based encode at a given quant, encoding only a % of the movie/clip.
- Parametric snip size in compressibility test & size prediction (for those who want to make experiments :))
- Added new accelerators to fast access the menu functions with the keyboard.
- Added new option: Auto set "RC averaging period, frames", if enabled, will automatically set the RC value when you load a new avisynth file.
- Added new function: "Calculate average quant from analyse.log", this will calculate the correct average quant from an external log file (works only with DivX 5.0.2 logs).
NOTE: with v1.11 you can very easly find DivX 5.0.3 BUGS :D
X-Nemesis
3rd February 2003, 06:22
Jonny...thanks for such a great proggy...used it many times already.
Question though, I just tried out the size prediction utility and I got this error message:
File "vdenc.log" not found
Any recommendations?
N_F
3rd February 2003, 09:58
Thanks! I've yet to try it, but I will as soon as I get home.
Beave
3rd February 2003, 09:58
Thanks Jonny,
Nice one again.
What divx 5.03 Bugs do you mean? Or was it just a joke?
eXistenZ
3rd February 2003, 12:04
@X-Nemesis
File "vdenc.log" not found
As pointed out in VirtualDubMod Bugfix release thread (http://forum.doom9.org/showthread.php?s=&threadid=41578&perpage=20&pagenumber=2), this log file should be produced by VDubMod, but only if you have the latest fix, dated 31/01/2003.
Maybe are you using a previous release?
Bye, eXistenZ
jonny
3rd February 2003, 12:08
@X-Nemesis:
Like eXistenZ says, you need the latest VirtualDubMod bugfix/cvs release (for the compressibility test and size prediction).
This VDubMod version include 2 new commandline option added by me.
"/log /nowrite", like in my signature :)
@Beave:
it's a joke... i hope :)
X-Nemesis
3rd February 2003, 17:20
Updated virtualdubmod and it's all sailing smooth.
Cheers!:D
N_F
6th February 2003, 12:24
Hi jonny,
So far DivXEnc 1.11 works great! A few questions and thoughts though:
1. Any chance DivXEnc could show avg. fps after encoding? I know it shows the amount of time it took and the total amount of frames, so you could easily do it yourself if you took out your calculator, but it'd be easier if DivXEnc told us right out.
2. I guess there is no way to find out the avg. quant used anymore since they changed the way the logs look?
3. Ever since I first used your program there is one little thing that've bugged me. Imagine the following:
I want to do some tests where I use different values for a specific setting and set up 15 jobs and let DivXEnc finish them. Now after they are done I notice I'd like to add another job to the list. But since you can only start all the encodings at once, I'd have to write down (or something like that) the previous results and then delete them before I add the new job and run it.
What I'd like to see is that you can select one or several jobs and only start them, so that the previous results will still be there after DivXEnc finished the job(s).
I'm not a programmer so I have no idea how much work this would take, perhaps it's not worth the effort.
jonny
6th February 2003, 14:02
1. Any chance DivXEnc could show avg. fps after encoding? I know it shows the amount of time it took and the total amount of frames, so you could easily do it yourself if you took out your calculator, but it'd be easier if DivXEnc told us right out.
Yes, this can be done :)
2. I guess there is no way to find out the avg. quant used anymore since they changed the way the logs look?
I'm experimenting a new way to obtain this... give me some days and i'll tell you the results ;)
3. Ever since I first used your program there is one little thing that've bugged me. Imagine the following:
I want to do some tests where I use different values for a specific setting and set up 15 jobs and let DivXEnc finish them. Now after they are done I notice I'd like to add another job to the list. But since you can only start all the encodings at once, I'd have to write down (or something like that) the previous results and then delete them before I add the new job and run it.
What I'd like to see is that you can select one or several jobs and only start them, so that the previous results will still be there after DivXEnc finished the job(s).
Simply save the job list after the encodes, delete all the jobs, add/run the new encode, use the append job list function.
Jobs & settings management is REALLY powerful in DivX5Enc, please, spend some time to deeply read the entire documentation, i'm sure you'll find a lot of nice hidden features ;)
N_F
6th February 2003, 14:10
Originally posted by jonny
Simply save the job list after the encodes, delete all the jobs, add/run the new encode, use the append job list function.
Jobs & settings management is REALLY powerful in DivX5Enc, please, spend some time to deeply read the entire documentation, i'm sure you'll find a lot of nice hidden features ;)
I thought I had read everything, I'll have to check again if I missed anything. I'll certainly try the way you describe. Thanks.
jonny
6th February 2003, 14:30
From the docs:
Append job list ...
This function load a job list file, appending the jobs in the job list.
Note:
After encoding, the status of every job will appear in the job list.
If you save the job list at this point, the status will be saved too.
Using this function you can easy compare the results of differents encoding sessions (this is very useful if you are running differents compressibility tests and you want to quick compare the results).
Isn't this nice? :)
N_F
9th February 2003, 00:28
I've played around with the job list settings during the last few days and they are indeed much more powerful than you'd think at first glance.
hippoth
9th February 2003, 22:36
I have some questions to the compressibility test and size prediction:
what means size prediction(?) -> snipe size ...??? (whats the number in the field)
what means compressibility test -> snipe size ...???
and
how can I set the quantizer when the codec doesnīt support it anymore? or why isnīt it possible to set the quantizer for the real encoding session?
all clear:confused:
jonny
10th February 2003, 03:16
>what means size prediction(?)
I'll make you an example.
Suppose you want to encode the movie in quality based mode, quantizer=2.5
With this function, you'll be able to fast predict the final size of this encode, before encoding.
So you are able to change resolution/filters, in order to put the movie in the your desired target size.
>snip size
In compressibility test and size prediction only a part of the movie is encoded.
For example, if you select 5% and snipsize=14, 14 frames every 280 will be encoded.
If you select 10% and snipsize=14, 14 frames every 140 will be encoded.
If you select 10% and snipsize=4, 4 frames every 40 will be encoded.
Snipsize change the sample of frames encoded, if you are not sure about this value, simply leave it to 14 (this is the best value).
>how can I set the quantizer when the codec doesnīt support it anymore?
Simply disable the profiles and all the modes will popup.
hippoth
10th February 2003, 07:49
Originally posted by jonny
>how can I set the quantizer when the codec doesnīt support it anymore?
Simply disable the profiles and all the modes will popup.
I have already disabled the profiles but I canīt find the quantizer settings (except in your programm when I choose 1-pass QB)...do you mean I canīt set the quantizer in the CLI of the codec?
jonny
10th February 2003, 09:42
When you select the 1-pass quality based mode in the original codec control panel, you are able to find 2 things: % indicating the quality (example: 100%) and average quantizer used (example: 2), near to this percentage.
The real value that the codec use is the quantizer, the percentage is only a "slider" that enable you to change the quantizer from 2.0 to 31.0
hippoth
10th February 2003, 17:30
but I donīt want to use the 1-pass QB...I always use 2-pass or multipass...so I canīt set the quantizer!!...or?
jonny
10th February 2003, 17:53
Size prediction is related only to 1-pass quality based mode.
The old RC parameters for 2-pass mode (max quant, min quant ecc...) are not configurable in 5.0.3 (afaik)
hippoth
10th February 2003, 22:43
Originally posted by jonny
The old RC parameters for 2-pass mode (max quant, min quant ecc...) are not configurable in 5.0.3 (afaik)
thats it what I have meant ;)
hippoth
21st March 2003, 16:24
@jonny
after you explained all the things to compressibility test and size prediction...can you tell me what values you normaly take for just a simple compressibility test?
and: new in your tool is to set the bitrate for the comp-test...what bitrate do I have to set...is it the calculated bitrate for the movie or what?
:confused:
jonny
21st March 2003, 17:41
Recently i use 2%, snipsize=14 and i try to reach 75%-80% for compressibility test.
For the bitrate question, i use the one calculated with GKnot.
qwerpoi
22nd March 2003, 02:12
Sorry for making a silly request, but could you have an option in your next version to keep the temporary avi file created from a compressibility or size test instead of automatically deleting it? I always like to take a look at what my final quality would be before I decide to finalize a rip, and the avi file generated gives a great idea as to what your low motion / high motion scenes will look like in the end. Also, I was wondering if it were possible to have a encoding time prediction? It's kind of pointless since you will get a good prediction once you start encoding with Virtual Dub, but saving some information about the rough amount of encoding time could be useful for a large job list, if you are the type who takes the time to encode as a valid consideration. Anyway, thanks for the great program- it's tons better than Gordian Knot, which is just a mess (at least in my hands). Keep up the good work!
hippoth
22nd March 2003, 03:08
hi jonny,
I have made a comptest but I couldnīt find the comptest-logfile that I have to load into gordianknot...or where can I find the result of the comptest? :confused:
jonny
22nd March 2003, 03:26
@qwerpoi:
The file created for comp.test is not playable (i actually call vdubmod with an option that don't write frames to the final avi, this is bacause in this way i can make a comp.test with 100% of the movie and i don't care if the encoding final size is > 4GB)
Anyway the avi file generated for comp.test is at quantizer = 2, so you can't compare it with the avi generated in the real encode.
For the encoding time, this is possible, but i must first make other changes in the app (adding something like a progress bar while you run the joblist)
atm i'm working on a new app, it will be less easy to use compared to divx5enc, but with MORE power (i'll probably add something like this in the new app, instead of divx5enc)
@hippoth:
Docs: http://jonny.leffe.dnsalias.com/comptest.htm
qwerpoi
23rd March 2003, 21:21
Thanks for the reply, Jonny. I forgot that the temp avi file was at quantizer 2 only- when I rip anime, I actually don't use the comp test, I use the size prediction test, and I only use the 100% quality setting, leaving me the only controllable parameters being the resolution and any avisynth filters I might add. Most people will probably yell at me for overkill, but the way I see it, 2 episodes on a cd is a pretty reasonable split, and you get stunning quality (most people couldn't tell the difference from it and the original DVD). Even 4 episodes on a cd isn't bad (100% quality with a low resolution)- it's definitely blurry, but no macroblocks, kinda looks like VHS quality. Anyhow, sorry for babbling. Your new program sounds interesting, I'll be sure to try it when it comes out.
theReal
23rd March 2003, 22:28
Just wanted to say that this tool is just great! With the new multi-pass feature of Divx 5.03 it saves so much time and it's so easy to do comp-tests and encode. Thanks!
hippoth
23rd March 2003, 22:39
jonny...sorry for all my (a bit stupid) questions...it was right that you gave me the link and I have read the doc...but what I donīt like is that we donīt have the logfile anymore...yes I know that I can read the values in your programm but I would like to have a log file...can you implement it back in future versions? :D
jonny
24th March 2003, 09:59
@qwerpoi:
Yep, qb at quant=2 isn't necessary an overkill, i use it too sometime (some movies can be fit on 2 cd at q=2 + ac3 + 704xsomebigy, so why not? :))
@theReal:
Thanks :cool:
@hippoth:
The current version use a log generated via VDubMod and a real qb encode (instead of a 1st pass encode)...
the log is something like this:
1 23223
0 3221
0 4323
0 5445
...
do you still want it ? :D
jonny
22nd April 2003, 02:40
I'm posting some news about this project.
The last divx version tested with divx5enc is the 5.0.3
It's not safe to use divx5enc with 5.0.4, this means that if it seems to work, doesn't means that works correctly (i've not tested 5.0.4 with divx5enc).
I'm moving on a new project that support and will support EVERY divx version:
http://forum.doom9.org/showthread.php?s=&threadid=50714
and i'm probably no more going to update divx5enc.
I'm sorry for this, but i hope all the divx5enc users will like my new project :)
(updating divx5enc for a new divx version require from 1 to 4 days, i prefer to spend my time adding features instead of updating for a new codec version ;))
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.