Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | Link |
|
Registered User
Join Date: Feb 2002
Location: Italy
Posts: 876
|
New tool: Enc (encode, compressibility test, size prediction with almost every codec)
http://jonny.leffe.dnsalias.com/enc/
This tool is able to encode, make a size prediction at a given quantizer and make a compressibility test with (almost) every codec. As input an AviSynth file is required (the file doesn't have to contain "return" or "end" in order to make compressibility test or size prediction). It's structured in a way that make it work with every codec without the need to be modified. You can also put multiple jobs in the joblist and save/restore both settings and joblist. Needs VirtualDub for working (the latest VirtualDubMod version is strictly required if you are going to use size prediction or compressibility test). First time you run this tool, be sure to open the help menu to see the nice people that helped me (i'll never be able to thanks all as i should... but i try ).Some important notes: Every time you update to a new codec version, you must trash all the settings/jobs saved for the previous version of the codec (codec data structures could be changed, so previous settings doesn't work any more). Another good idea is to restore codec defaults settings (only the first time you open the codec settings interface). If you are going to make compressibility test or size prediction with XviD using bframes, be sure to use a version after 07-03-2003. There are still some XviD bframes configuration where the error in the size prediction is high (something like 7%-8%), i'm working on this problem night and day .Using AviSynth 2.5 + MPEG2Dec3 v1.00 seems to leak a lot of memory if you run a lot of jobs or you get AviSynth info on the file. A reference can be found here: http://forum.doom9.org/showthread.php?s=&threadid=47970 Nic have solved this problem, be sure to check this thread: http://forum.doom9.org/showthread.php?s=&threadid=53164 Opening 32 times the DivX codec control panel crash the app on Win98SE (this doesn't happen with XviD or with DivX+Win2000 ... DivX bug?) It's all for now, i hope this tool will be useful
__________________
home sweet home Last edited by jonny; 13th May 2003 at 12:56. |
|
|
|
|
|
#2 | Link |
|
Registered User
Join Date: Mar 2003
Posts: 109
|
Awesome timing! I just posted at the GKnot Dev forum last night about problems loading B-frames XviD stats files in Gknot:
http://forum.doom9.org/showthread.php?s=&threadid=50682 I used DivX Enc for quite some time before switching to XviD. I am anxious to try Enc when I get home this evening. Many thanks for your work!! -kaitsuburi
__________________
~~ aim low, deliver. |
|
|
|
|
|
#3 | Link | |
|
Registered User
Join Date: Oct 2001
Posts: 343
|
Re: New tool: Enc (encode, compressibility test, size prediction with almost every codec)
Quote:
Just tested with xvid with b-frame, and it works, give me a day to do a full encode and we see how much it deviate. feature request: a slider for output resolution, so if the compression is too high or too low we can change it accordingly. |
|
|
|
|
|
|
#4 | Link | ||
|
Remember Rule One
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,612
|
Re: Re: New tool: Enc (encode, compressibility test, size prediction with almost every codec)
Quote:
Quote:
|
||
|
|
|
|
|
#5 | Link |
|
Registered User
Join Date: Feb 2002
Location: Italy
Posts: 876
|
@kaitsuburi:
Thanks! (i've switched to XviD too )@kxy: Usually for testing i (helped a lot by betatesters) do a serie of 11 jobs, running size prediction with 1%-10% of the movie and the last at 100%. You can find some results here: http://jonny.leffe.dnsalias.com/enc/sp/xvid.htm (there are still some tests left and i'll go to update the page soon) This version have an option keep/delete a special log file. If you have the time to run 11 jobs and you are able to send me the joblist+11logfiles, this will be a really helpful for me.
__________________
home sweet home Last edited by jonny; 23rd April 2003 at 17:07. |
|
|
|
|
|
#6 | Link | |
|
Xvid Tribalistic Fan
Join Date: Oct 2001
Location: Portugal
Posts: 264
|
Re: Re: New tool: Enc (encode, compressibility test, size prediction with almost every codec)
Quote:
-aspect ratio into consideration -different resizing filters -cropping I would not need anything else and be a happier person :-)))) Great job for a small and simple program without any dependence on .net. All the best, Sharro PS: Will run a few tests tonight as I have already a few full first pass lying on my hd. |
|
|
|
|
|
|
#7 | Link |
|
Registered User
Join Date: Feb 2002
Location: Italy
Posts: 876
|
Thanks Sharro.
Yep, doing an integrated AviSynth generator will be great, i know. This could require some time, anyway i'm working on something similar now (for a different project)... so, why not?
__________________
home sweet home |
|
|
|
|
|
#8 | Link |
|
Registered User
Join Date: Oct 2002
Posts: 15
|
error i can't seem to trouble shoot
I'm getting a strange (though I'm guessing somewhat simple to fix) error in which when I run a compressiblity test usting Xvid (b-frames on VHQ=1 Motion search=6 et al) I get an error at the end of it that says "Cannot open vdenc.log" instead of the compressiblity info.
I have Vdubmod.exe and Enc on my C: (in differenet places) and the video files (vob, d2v and avs) on my D: drive. I'm also using one of Koepi's newest unstable builds. So for the life of me I cannot figure out where this error is coming from. Thanks for your time and consideration and thank you for this tool... I remember asking about Compressiblity tests for XVID a short while back. Nice to see it finally has it (and then some) ![]() DeeCo NOTE: Whoops sorry... I noticed I didn't have the latest VirtualDubMod version. I put that in place and everything is working now. Out of curiosity what is it about the latest versions of VirtualDubMod that make it work with ENC that slightly older versions won't? Last edited by d.co; 10th April 2003 at 22:03. |
|
|
|
|
|
#12 | Link | |
|
Registered User
Join Date: Feb 2002
Location: Italy
Posts: 876
|
Quote:
yes, basically the latest build have an option that generate this log file (that contains informations about encoded frames size)I use this log instead of the XviD or DivX log... so there is no need to update my tool if XviD or DivX log file format change (and the method can be applied with every codec) @Kamui-Dash: You can try to use FFVFW fcc in order to use it (read the docs about using custom fcc), i'm not able now to see if it works correctly (probably later in the evening i'll try) @ookzDVD: Thanks
__________________
home sweet home |
|
|
|
|
|
|
#13 | Link |
|
Registered User
Join Date: Feb 2002
Location: Italy
Posts: 876
|
@Kamui-Dash:
Yep it works, simply put fvfw in one of the custom fcc slots and you are ready to use FFVFW. (tested with ffvfw-20030325.exe)
__________________
home sweet home |
|
|
|
|
|
#16 | Link |
|
Registered User
Join Date: Mar 2003
Posts: 109
|
@jonny-
A big THANKS from me too. Enc has been working like a charm so far on about 4 XviD encodes. B-frames, vhq, custom matrices -- no problem, compressibility tests have given me almost perfectly accurate results. -kaitsuburi
__________________
~~ aim low, deliver. |
|
|
|
|
|
#17 | Link |
|
Registered User
Join Date: Feb 2002
Location: Italy
Posts: 876
|
@Siku, ((( atom ))), kaitsuburi:
Many thanks for the kind words ![]() There is a tiny update on my site: 1.01 (13th April 2003) - Added ffvfw and Microsoft WMV 9 codecs - Removed ICConfigure and ICGetState error checking (some codecs doesn't return a correct value, it's better to completely remove the check) PS: atm size prediction accuracy is not guaranteed with ffvfw+bframes
__________________
home sweet home |
|
|
|
|
|
#18 | Link |
|
Registered User
Join Date: Feb 2002
Location: Italy
Posts: 876
|
Updated the notes with this really important thing:
Every time you update to a new codec version, you must trash all the settings/jobs saved for the previous version of the codec (codec data structures could be changed, so previous settings doesn't work any more). Another good idea is to restore codec defaults settings (only the first time you open the codec settings interface).
__________________
home sweet home |
|
|
|
|
|
#19 | Link |
|
CG Movies Freak
Join Date: Oct 2002
Location: SG//VN
Posts: 51
|
@jonny
I have some questions ![]() - Does Enc work "mostly" with avs2.5 and above for compressibility test? With an avs 2.08 script, unless I choose to use 100% of the movie, Enc will create a temp avs script with the function SelectRangeEvery(...) which doesn't seem to be recognized by avs2.08... - Is it more accurate to use more % of the movie for compressibility test? Or is 1-10% enough? I did some compressibility tests with 5% movie used and the predited filesizes at quant 2 are always very near to the original filesize of the .m2v files...I wonder if it's accurate or not... if I follow the suggestion in the readme file to let the final encode filesize at 50-60%, my encode would be huge... Really sorry if the questions are dumb...I'm quite new to all this Thanks a lot for creating such a useful tool anyway ![]() PS: oops, forgot to mention that I did all tests with XviD latest Koepi unstable build with b-frame "extended method"
Last edited by TNM; 14th April 2003 at 11:05. |
|
|
|
|
|
#20 | Link | ||
|
Remember Rule One
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,612
|
Quote:
Check the box marked 'Use SelectEvery' and you should be OK. Strange though, I thought SelectRangeEvery should be included in v2.08. Quote:
|
||
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|