So Bad It's Good
It is currently Wed Oct 16, 2019 5:24 pm




Post new topic Reply to topic  [ 587 posts ]  Go to page 1, 2, 3, 4, 5 ... 20  Next
 avs2xvid.bat with Lux presets 
Author Message
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post avs2xvid.bat with Lux presets
All right, you should switch from virtualdubmod encoding cause this nails it's ass :D

It's pretty simple and you can have 6 encodes running at the same time if you want! :pooper:

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?!!?! :wtf:

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

Code:
smellymovie.avs


the text file will be

Code:
smellymovie.enc.txt


3) inside the .txt file write

Code:
COMPTEST sizeMB


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 :eek:

now in the yourmovie.enc.txt you write the preset name and the video size

EXAMPLE
Code:
LUX-90 1124MB


and just like the comptest, simply drag it onto the .bat and you have an encode running!

!Or you can enter
Code:
LUX-CT yoursizeMB
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
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
I'll format the post better later on. I need to now write the beta preset choosing :teeth:


Sat Jun 16, 2007 2:58 am
Profile
Veggie Fridge
Veggie Fridge
User avatar

Joined: Fri Mar 24, 2006 2:59 pm
Posts: 21656
Location: Fuck You! GoodBye!
Post 
I'll have a go probably tomorrow night
:cheer:


Sat Jun 16, 2007 3:00 am
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
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 :beh:


Sat Jun 16, 2007 3:37 am
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
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
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
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 :beh:


Sat Jun 16, 2007 1:38 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
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
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
Ah so that's in encraw, damn gotta update the presets then :sham:


Sat Jun 16, 2007 1:58 pm
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
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
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
Yep. SSIM is not necessary for the presets, but I'm sure you like to have another little stat about your encodes! :nose:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sat Jun 16, 2007 3:57 pm
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
Yes I like more stats :furlick:

Interesting revelation.

J2CD 1/1/0 gives better compression than V3 at 1/1/1 :beh: 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 :teeth:


Sat Jun 16, 2007 4:00 pm
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
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 :fishy:

I guess V3 stays for now. Need to see how it works on different sources! :fishy:


Sat Jun 16, 2007 4:54 pm
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
New shit is up. Let's make some encodes with it :cum:


Sat Jun 16, 2007 5:08 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
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
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
Shit, I had it but deleted it I think cause of space issues :teeth:

Maybe it's on one of my externals, gonna look :cum:


Sat Jun 16, 2007 6:25 pm
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
Yup I don't have it :teeth:


Sat Jun 16, 2007 6:31 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
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
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
elguaxo wrote:
Should I pick LUX-99?


:eek: off course not, that's if you get undersizing with 6of9, which is very unlikely :D

Try LUX-85, that's heini_mr but with b-vop sensitivity -3, I still haven't tested it yet :teeth:


Sat Jun 16, 2007 6:35 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
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
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
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
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
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
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
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 :spank:


Sat Jun 16, 2007 7:07 pm
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
still encoding? ^^

It seems Bloodrayne turned out smashing. Checking it out now. It had -3 sensitivity with heini.. :beh:


Sun Jun 17, 2007 12:16 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
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
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
:eek: Interesting :eek:

You're also running one with V3HR?

Hmmm I guess maybe V3 matrix then :beh:


Sun Jun 17, 2007 12:29 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
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
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Post 
Kewl, can't wait for the results :ele:

I personally can't decide if I should release Bloodrayne. It looks great at 100% size but FS I don't like it :grrr: Im such an anus :beh:


Sun Jun 17, 2007 1:00 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
: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! :poop:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sun Jun 17, 2007 1:14 pm
Profile
buttfuckbullfrog
buttfuckbullfrog
User avatar

Joined: Tue Jul 04, 2006 10:35 am
Posts: 10201
Location: On top of a turd
Post 
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! :poop:


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
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Post 
:bearsy:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sun Jun 17, 2007 1:35 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 587 posts ]  Go to page 1, 2, 3, 4, 5 ... 20  Next


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron