avs2xvid.bat with Lux presets
Author |
Message |
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
avs2xvid.bat with Lux presets
All right, you should switch from virtualdubmod encoding cause this nails it's ass
It's pretty simple and you can have 6 encodes running at the same time if you want!
Anyways this basically the same thing as originally posted here
http://forum.doom9.org/showthread.php?t=119500
so all credit to henryho_hk and also teegadeck for the great preset ideas. I simply added my own presets and changed some things inside avs2xvid.bat which henryho_hk said we should change but he forgot to add it himself cause it was late.
-----------------------------------------------------------------------------------
Soooo here it is
<a href="http://www.bad-good.org/avs2qxvid.bat.rar"> DOWNLOAD</a>
Just extract the folder somewhere, you don't need install anything, just avisynth 2.5.7 if you don't already have it
http://downloads.sourceforge.net/avisyn ... g_mirror=0
-----------------------------------------------------------------------------------
The steps should be simple, first you run a comptest and then select one of the presets based on the test!
How do I make the comptest Lux?!!?!
1) you make an .avs for your movie, with the filtering etc. you want. So it's the usual stuff here.
2) create a simple text file in the same folder. You name it depending on your .avs name so if your .avs is called
the text file will be 3) inside the .txt file write where size is the size of your video, like 1162MB for example. 4) Drag the .avs file onto avs2qxvid_25h.bat that's it! Your comptest should start running! tip: run the comptest in a different folder so you have the log file with the result later on ----------------------------------------------------------------------------------- Here's what preset to choose depending on the comptest percent. If you get an oversize file choose the next higher preset, and if undersize choose the lower one. Though if you don't get much over/under sizing (under 100mb), perhaps it's better to just slightly decrease/increase resolution, sharpening if you use it etc. Anyways here they are... "<"49 - LUX-40 50-59 - LUX-50 60-69 - LUX-55 70-79 - LUX-60 80-86 - LUX-70 87-100 - LUX-80 101-109 - LUX-85 110-130 - LUX-90 131-145- LUX-95 146-160 - LUX-97 160">" - LUX-99 if you get undersizing with LUX-95 then feel free to ue LUX-99 now in the yourmovie.enc.txt you write the preset name and the video size EXAMPLE and just like the comptest, simply drag it onto the .bat and you have an encode running! !Or you can enter and have it run the comptest and choose the preset for you! Thanks to elguaxo.
still testing, especially the ones under 90 and over 85, I'll update the percent ranges more in detail when I have some results.
Last edited by Lux Delux on Thu Jul 26, 2007 10:18 pm, edited 7 times in total.
|
Sat Jun 16, 2007 2:58 am |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
I'll format the post better later on. I need to now write the beta preset choosing
|
Sat Jun 16, 2007 2:58 am |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
I'll have a go probably tomorrow night
|
Sat Jun 16, 2007 3:00 am |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Added not fully tested preset percent choosing options. Happy testing
These were mostly out of my head, still don't have too much sources tested to be more precise
|
Sat Jun 16, 2007 3:37 am |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
Gonna start testing tomorrow!
Edit: one little trick. With this .bat thingy you will be using xvid_encraw and the xvid version you have installed in your system. But you can encode with newer versions of Xvid, just downloading the latest version here and extracting xvidcore.dll to the same directory of xvid_encraw.exe included in avs2qxvid.bat.rar.
Why would you want to try a newer version of Xvid? Via xvid_encraw you can access some new features not supported by your regular Xvid forntend. For example I am running SSIM with all my encodes. SSIM is another little number that tell us about the quality of the resulting encode.
|
Sat Jun 16, 2007 5:01 am |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
I had no idea about that SSIM thingie! Do I have to add a line for it in the .txt file?
BTW I removed -3 for b-frame sensitivity in my presets. I had Beowulf running with it and the DRF values are great, with V3 but it looks crappy.
DRF4 is only 7% but DRF3 is 59% so I guess it had a lot of P3 frames, didn't look very good with V3. Gonna test it with SixOfNine now, hope Bloodrayne will look better with heini, although it also used the old one with -3 b-frames... damn
|
Sat Jun 16, 2007 1:38 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
Code: -ssim_file filename : outputs the ssim stats into a file
_________________ Old2New SBiG URL Replacement Script | SBiG searchplugin my AviSynth Plugins folder | Show Just Image 2 | Doom10
|
Sat Jun 16, 2007 1:53 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Ah so that's in encraw, damn gotta update the presets then
|
Sat Jun 16, 2007 1:58 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
I'll probably be dropping V3, running tests currently.
For SSIM, I just add the line to the end of the 2nd pass settings?
|
Sat Jun 16, 2007 3:53 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
Yep. SSIM is not necessary for the presets, but I'm sure you like to have another little stat about your encodes!
_________________ Old2New SBiG URL Replacement Script | SBiG searchplugin my AviSynth Plugins folder | Show Just Image 2 | Doom10
|
Sat Jun 16, 2007 3:57 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Yes I like more stats
Interesting revelation.
J2CD 1/1/0 gives better compression than V3 at 1/1/1 I hope heini_mr at 1/1/0 will be the same as V3 at 1/1/1 so that would be it's replacement
|
Sat Jun 16, 2007 4:00 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Made a few changes so wait a bit for the updated package.
V6 matrix replaced with MPEG, makes more sense concerning compression etc. under J2CD.
V3HR replaced with heini_mr-sap but this one has -3 b-vops to have the same compression level. Hope that will make sense in the encodes
I guess V3 stays for now. Need to see how it works on different sources!
|
Sat Jun 16, 2007 4:54 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
New shit is up. Let's make some encodes with it
|
Sat Jun 16, 2007 5:08 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
Ok. I have the VOBs of V for Vendetta in my HD. Already done by many people, that's why it is nice test! Let's see...
Edit: has anyone the version by UnSeen? Could you post the AVInaptic stats?
|
Sat Jun 16, 2007 5:24 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Shit, I had it but deleted it I think cause of space issues
Maybe it's on one of my externals, gonna look
|
Sat Jun 16, 2007 6:25 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Yup I don't have it
|
Sat Jun 16, 2007 6:31 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
Anyone else?
Comptest ready. I aimed for a 1/3DVD
Code: H:\dvd\new5_v>avs2qxvid_25f.bat v.avs
"Checking Source...." Streaming frame 0 (of 1, 0.00%) 1
start "3% Compressibility Test - Single Pass" /b /wait /belownormal "H:\dvd\new5 _v\bin\xvid_encraw_20070203.exe" -zones 0,w,1,KO -threads 1 -progress 100 -max_ key_interval 240 -nopacked -quality 4 -vhqmode 0 -max_bframes 2 -bquant_ratio 16 2 -bquant_offset 0 -qtype 1 -qmatrix "H:\dvd\new5_v\matrix\Didees-SixOfNine.cqm" -nochromame -turbo -single -cq 3 -stats "H:\dvd\new5_v\tmp\v.ct.stats" -type 2 -i "H:\dvd\new5_v\v.ct.avs" -avi "H:\dvd\new5_v\v.ct.avi"
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
xvid [info]: outputting statistics to H:\dvd\new5_v\tmp\v.ct.stats Trying to retrieve width and height from input header xvid [info]: Avisynth detected xvid [info]: Input colorspace is YV12 xvid [info]: Input is 720 x 304, 23.976fps (24000/1001), starting from frame 0 xvid [info]: Number of frames to encode: 5740 xvid [info]: xvidcore build version: xvid-1.2.0-dev xvid [info]: Bitstream version: 1.2.-127 xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 3DNOW 3DNOWEXT TSC xvid [info]: Detected cpus = 1, threads requested = 1, threads in use = 1 5701 frames( 99%) encoded, 2.05 fps, Average Bitrate = 1291kbps Tot: enctime(ms) =2797635.00, length(bytes) = 38839826 Avg: enctime(ms) = 487.22, fps = 2.05, length(bytes) = 6764, psnr y = 4 5.97, psnr u = 49.65, psnr v = 51.02 I frames: 320 frames, size = 23664/ 7572790, quants = 3 / 3.00 / 3 P frames: 2193 frames, size = 10079/ 22104488, quants = 3 / 3.00 / 3 B frames: 3226 frames, size = 2840/ 9162541, quants = 4 / 4.00 / 4 N frames: 1 frames, size = 7/ 7
Source FPS = 24000/1001 No. of frames for CT = 3280 Size of selected frames = 17860910 Target Bitrate = 1118kbps Compressibility Test = 107 Selected Level = 90
Should I pick LUX-99?
_________________ Old2New SBiG URL Replacement Script | SBiG searchplugin my AviSynth Plugins folder | Show Just Image 2 | Doom10
|
Sat Jun 16, 2007 6:33 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
elguaxo wrote: Should I pick LUX-99?
off course not, that's if you get undersizing with 6of9, which is very unlikely
Try LUX-85, that's heini_mr but with b-vop sensitivity -3, I still haven't tested it yet
|
Sat Jun 16, 2007 6:35 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
Heh, forgot to read your comptest-lux table. Ok, starting with LUX-85.
_________________ Old2New SBiG URL Replacement Script | SBiG searchplugin my AviSynth Plugins folder | Show Just Image 2 | Doom10
|
Sat Jun 16, 2007 6:37 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Looking forward to the results, I'm not sure about 85, since it's the same as 80 but with sensitivity -3 to lower compression. Supposedly it should be better qualty wise but I'm not too sure.
Oh well, we'll see
|
Sat Jun 16, 2007 6:43 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
What about using the same LUX-80 settings and the eqm_v3hr matrix?
Gonna do 2 encodes, one with your current LUX-85 and anoteher with LUX-80 but using eqm_v3hr.
The b-vop sensitivity is pumping more quality in the B-Frames area, but perhaps a higher bitrate matrix would improve the overall quality.
We'll see
_________________ Old2New SBiG URL Replacement Script | SBiG searchplugin my AviSynth Plugins folder | Show Just Image 2 | Doom10
|
Sat Jun 16, 2007 7:05 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
If v3hr turns out better I'll put it back in, it was there in the first place.
Gonna be interesting. I'll have Bloodrayne soon done with heini and -3
|
Sat Jun 16, 2007 7:07 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
still encoding?
It seems Bloodrayne turned out smashing. Checking it out now. It had -3 sensitivity with heini..
|
Sun Jun 17, 2007 12:16 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
It's a ~3 fps encode and the 1st pass is done. I think it is going to undersize.
_________________ Old2New SBiG URL Replacement Script | SBiG searchplugin my AviSynth Plugins folder | Show Just Image 2 | Doom10
|
Sun Jun 17, 2007 12:26 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Interesting
You're also running one with V3HR?
Hmmm I guess maybe V3 matrix then
|
Sun Jun 17, 2007 12:29 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
nopo, I'm running your original LUX-85, the test with the modified version comes next.
_________________ Old2New SBiG URL Replacement Script | SBiG searchplugin my AviSynth Plugins folder | Show Just Image 2 | Doom10
|
Sun Jun 17, 2007 12:31 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Kewl, can't wait for the results
I personally can't decide if I should release Bloodrayne. It looks great at 100% size but FS I don't like it Im such an anus
|
Sun Jun 17, 2007 1:00 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
I never wanted to watch Bloodrayne in the first place. Now with all your stories I am feeling this is the most awaited encode of the year!
_________________ Old2New SBiG URL Replacement Script | SBiG searchplugin my AviSynth Plugins folder | Show Just Image 2 | Doom10
|
Sun Jun 17, 2007 1:14 pm |
|
|
El Mariachi
buttfuckbullfrog
Joined: Tue Jul 04, 2006 10:35 am Posts: 10201 Location: On top of a turd
|
elguaxo wrote: :spank: I never wanted to watch Bloodrayne in the first place. Now with all your stories I am feeling this is the most awaited encode of the year!
actually, it's quite entertaining. Lots of blood and some boobs. Storywise, actingwise, costumewise, Uwewise it's a piece of crap
|
Sun Jun 17, 2007 1:30 pm |
|
|
elguaxo
End of Level Boss
Joined: Fri Mar 16, 2007 5:10 pm Posts: 7535
|
_________________ Old2New SBiG URL Replacement Script | SBiG searchplugin my AviSynth Plugins folder | Show Just Image 2 | Doom10
|
Sun Jun 17, 2007 1:35 pm |
|
|
|