So Bad It's Good FoRuM
https://sbig.dead-donkey.com/

avs2xvid.bat with Lux presets
https://sbig.dead-donkey.com/viewtopic.php?f=31&t=8128
Page 15 of 20

Author:  BadBugs [ Fri Sep 07, 2007 1:37 pm ]
Post subject: 

Thanks Pure :D

Author:  Lux Delux [ Fri Sep 07, 2007 6:58 pm ]
Post subject: 

I'd suggest using the bitrate, it's much safer (setting by size may calculate wrong bitrate sometimes...) :)

Author:  Vae Victis [ Fri Sep 07, 2007 7:16 pm ]
Post subject: 

ugh where is the xvid codec download?
too lazy myself for searching for it... :teeth:

Author:  elguaxo [ Fri Sep 07, 2007 7:29 pm ]
Post subject: 

Latest build:

.EXE: http://ffdshow.faireal.net/mirror/XviD/ ... ad.MTK.exe
.7z: http://ffdshow.faireal.net/mirror/XviD/ ... 7.07.25.7z

I've been using xvidcore.dll from that build in my last 3 encodes.

Author:  Vae Victis [ Fri Sep 07, 2007 7:35 pm ]
Post subject: 

a nice thx :) :ba:

Author:  Lux Delux [ Tue Sep 11, 2007 10:42 pm ]
Post subject: 

Elguaxo, any results for a preset between v3hr and v3 ? :pork:

edit: I meant a replacement for V3HR or sumthin...

Seems like I'll need something like that for Hellbound, dang! Maybe J2CD 1/1/0 ?! Or would that be too much, hmmm I need to test shit too :beh:

Author:  Lux Delux [ Tue Sep 11, 2007 10:48 pm ]
Post subject: 

An idea just hit me, if I would put heini, 1/1/0 but with b-vop sensitivity + let's say 2, perhaps.... hmmm x)

Author:  elguaxo [ Tue Sep 11, 2007 11:26 pm ]
Post subject: 

I haven't tried anything new. Each rip is getting slower and slower! :teeth: :clown:

Author:  Lux Delux [ Tue Sep 11, 2007 11:28 pm ]
Post subject: 

I'll try running Hellraiser Hellbound with heini-mr 1/1/0 and b-vop +1 and hopefully that will fill the hole!!! :nose: :clown:

Author:  Lux Delux [ Tue Sep 11, 2007 11:46 pm ]
Post subject: 

LOL seems like Hellbound hit the right spot with V3HR with -3 so I have to find another poopster to test that crap on :ohja: :tits: :dump:

Author:  Pure [ Tue Sep 11, 2007 11:49 pm ]
Post subject: 

elguaxo wrote:
I haven't tried anything new. Each rip is getting slower and slower! :teeth: :clown:


How do you think things are going on a pentium 4 2ghz :lol:

Author:  Lux Delux [ Tue Sep 11, 2007 11:59 pm ]
Post subject: 

Lux Delux wrote:
LOL seems like Hellbound hit the right spot with V3HR with -3 so I have to find another poopster to test that crap on :ohja: :tits: :dump:


I take this back :beh: How cum when not finished yet it tells me with audio it's gonna be like 1.45 or 1.46gb but when it's over it rolls back in size :spank: Oh well :cum:

Author:  ViSCeRaL [ Wed Sep 12, 2007 1:02 pm ]
Post subject: 

Started encoding Evil Dead II on LUX-90 today. Should be finished in a couple of days. :lol:

Did anything happen on the new LUX-85 to solve undersizing?

Author:  Lux Delux [ Wed Sep 12, 2007 6:29 pm ]
Post subject: 

LOL read my last few posts -> aka nothing :lol:

I do have an idea with heini-mr b-vop settings 1/1/0 and then setting +1 or +2 to b-vop, erm sensitivity if I recall correctly.

I think that should have a good picture and be a good alternative for 85.

Didn't have a chance to test properly yet :teeth:

Author:  ViSCeRaL [ Thu Sep 13, 2007 11:56 pm ]
Post subject: 

I just got an undersize with LUX-90 on Evil Dead 2. There's 2 days of encoding wasted. :grrr:

LUX-95 up next.

Author:  dvdfernandes [ Fri Sep 14, 2007 1:21 am ]
Post subject:  Re: avs2xvid.bat with Lux presets

Lux Delux wrote:

<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.


Just started trying to use avs2qxvid.bat as suggested in the first page.. But I have some noob questions...

1. Where can I see the LUX presets table?
2. What if I want to use a different matrix? Or different VHQ and MP values?
3. GordianKnot asks for the sound file. Where do I include it in this method? I don't want to mux, until after the whole encoding...

Just made my first comptest and got a lot of files in result this one for eg

DirtyDancing.ct (playable v?deo) Is this the final encode look?
:teeth:

Author:  elguaxo [ Fri Sep 14, 2007 12:37 pm ]
Post subject: 

1: \bin\xvid_presets_25f.csv
2: Why? If you have suggestions let us know!
3: Use GKnot as your 'bitrate calculator' to know the exact videobitrate for a given source/size and then use that value to encode with avs2qxvid and mux the audio at the end.

Quote:
Is this the final encode look?

No.

Author:  dvdfernandes [ Fri Sep 14, 2007 3:05 pm ]
Post subject: 

elguaxo wrote:
1: \bin\xvid_presets_25f.csv
2: Why? If you have suggestions let us know!
3: Use GKnot as your 'bitrate calculator' to know the exact videobitrate for a given source/size and then use that value to encode with avs2qxvid and mux the audio at the end.

Quote:
Is this the final encode look?

No.


Maybe I'll try it in "Dirty Dancing" (yes I'm ripping that crap!! Maybe I'll start a Patrick Sawyze collection :bla: )

In the table I see this:

Code:
LUX-99,"2","4","3",".",".","2","162","0","heini_lr_6o9.xcm",".","2","3","2","4","2","4",".",".","0",".","Y","Y",".","."



But I read somewhere (FH, I think) that MSP and VHQ should allways be set to max 6;4. Am I wrong?

That is why I asked where I would change to other matrix or these settings If needed... It just seemed almost too easy having all that (shitty) work already taked care of.

As usual, thx guaxo! you're the man!

:cheer:

Author:  vohi [ Fri Sep 14, 2007 3:15 pm ]
Post subject: 

Here are some Dirty Dances :orcass: :yeh: :cheerl: :bun: :bangger: :ba: :dancer:

Author:  elguaxo [ Fri Sep 14, 2007 3:29 pm ]
Post subject: 

dvdfernandes wrote:
But I read somewhere (FH, I think) that MSP and VHQ should allways be set to max 6;4. Am I wrong?


Lower values keep more details, specially grain, but the compressibility is a bit lower. Try the preset as it is, and change it only after seeing the final encode.

Edit:
dvdfernandes wrote:
FH, I think

FH? n00bers. :lol:

Author:  Lux Delux [ Fri Sep 14, 2007 8:14 pm ]
Post subject: 

elguaxo wrote:
1: \bin\xvid_presets_25f.csv


I think in the last uploaded he should open 25h since the avs2qxvid exe file is h I think :beh:

@Visceral, what was the comptest result for Evil Dead?

PS. I have an encode running with the new heini preset which should hopefully fill the hole between 85 and 90 :cum:

Author:  elguaxo [ Fri Sep 14, 2007 8:26 pm ]
Post subject: 

Lux Delux wrote:
elguaxo wrote:
1: \bin\xvid_presets_25f.csv


I think in the last uploaded he should open 25h since the avs2qxvid exe file is h I think :beh:


You are right, it's h!

Author:  Lux Delux [ Sat Sep 15, 2007 4:02 pm ]
Post subject: 

Someone please help out before I loose my mind :grrr: :lol:

I just need to re-do the 2nd pass, cause my computer shut down while I was in the middle of it. Here's crap from the log

Code:
start "LUX-85 - Pass 1/2" /b /wait /belownormal "J:\avs2xvid\avs2qxvid.bat\bin\xvid_encraw_20070203.exe" -zones 0,q,3,KO+2 -threads 2 -progress 100 -max_key_interval 250 -nopacked -quality 4 -vhqmode 1 -max_bframes 1 -bquant_ratio 100 -bquant_offset 0 -qtype 1 -qmatrix "J:\avs2xvid\avs2qxvid.bat\matrix\heini_mr-sap.xcm" -nochromame -turbo -bitrate 1825 -pass1 "J:\HOUSE_OF_THE_DEAD_2\tmp\VTS_02_1.pass" -type 2 -i "J:\HOUSE_OF_THE_DEAD_2\VTS_02_1.avs"
sub 15.09.2007  7:24:24,34 - Encoding Pass 2
start "LUX-85 - Pass 2/2" /b /wait /belownormal "J:\avs2xvid\avs2qxvid.bat\bin\xvid_encraw_20070203.exe" -zones 0,w,1.0,KO+2 -threads 2 -progress 100 -max_key_interval 250 -nopacked -quality 6 -vhqmode 4 -max_bframes 1 -bquant_ratio 100 -bquant_offset 0 -qtype 1 -qmatrix "J:\avs2xvid\avs2qxvid.bat\matrix\heini_mr-sap.xcm" -imin 2 -imax 3 -pmin 2 -pmax 4 -bmin 2 -bmax 4 -ostrength 0 -bvhq -bitrate 1825 -pass2 "J:\HOUSE_OF_THE_DEAD_2\tmp\VTS_02_1.pass" -stats "J:\HOUSE_OF_THE_DEAD_2\tmp\VTS_02_1.stats" -type 2 -i "J:\HOUSE_OF_THE_DEAD_2\VTS_02_1.avs" -avi "J:\HOUSE_OF_THE_DEAD_2\VTS_02_1_LUX-85_br_1825.avi"


I don't get what exactly I need to enter in the enc.txt file so it picks up :stupid:

Author:  elguaxo [ Sat Sep 15, 2007 4:19 pm ]
Post subject: 

START -> RUN -> CMD -> and paste:

Code:
"J:\avs2xvid\avs2qxvid.bat\bin\xvid_encraw_20070203.exe" -zones 0,w,1.0,KO+2 -threads 2 -progress 100 -max_key_interval 250 -nopacked -quality 6 -vhqmode 4 -max_bframes 1 -bquant_ratio 100 -bquant_offset 0 -qtype 1 -qmatrix "J:\avs2xvid\avs2qxvid.bat\matrix\heini_mr-sap.xcm" -imin 2 -imax 3 -pmin 2 -pmax 4 -bmin 2 -bmax 4 -ostrength 0 -bvhq -bitrate 1825 -pass2 "J:\HOUSE_OF_THE_DEAD_2\tmp\VTS_02_1.pass" -stats "J:\HOUSE_OF_THE_DEAD_2\tmp\VTS_02_1.stats" -type 2 -i "J:\HOUSE_OF_THE_DEAD_2\VTS_02_1.avs" -avi "J:\HOUSE_OF_THE_DEAD_2\VTS_02_1_LUX-85_br_1825.avi"


ENTER

Author:  Lux Delux [ Sat Sep 15, 2007 4:22 pm ]
Post subject: 

:aww: :good: :bisou:

:bloww: :bloww: :bloww: :bloww: :bloww: :bloww:

Author:  Lux Delux [ Sun Sep 16, 2007 12:01 pm ]
Post subject: 

Well, I did an encode with the new preset, 113 was the comptest and it didn't undersize, quants are

Code:
I-VOPs:   2131 (  1.550 %)                         
P-VOPs:  69052 ( 50.216 %) #############           
B-VOPs:  66326 ( 48.234 %) ############             
S-VOPs:      0 (  0.000 %)                         
N-VOPs:      1 (  0.001 %)                         

Max consecutive B-VOPs: 1

[ DRF analysis ]

Average DRF: 2.381465
Standard deviation: 0.486718
Max DRF: 4

DRF'<'2:      0 (  0.000 %)                         
DRF=2:  85119 ( 61.901 %) ###############         
DRF=3:  52325 ( 38.052 %) ##########               
DRF=4:     65 (  0.047 %)                         
DRF'>'4:      0 (  0.000 %)                         

I-VOPs average DRF: 2.016424
I-VOPs std. deviation: 0.127100
I-VOPs max DRF: 3

P-VOPs average DRF: 2.488820
P-VOPs std. deviation: 0.501754
P-VOPs max DRF: 4

B-VOPs average DRF: 2.281428
B-VOPs std. deviation: 0.449695
B-VOPs max DRF: 3


although this is with +1 on b-vops, I think it would be better with just +1.

Author:  Lux Delux [ Sun Sep 16, 2007 12:23 pm ]
Post subject: 

Modified it a bit so if anyone wants to try it

Code:
"LUX-85","1","4","1",".",".","2","100","0","heini_mr-sap.xcm","3",".",".",".",".",".",".",".",".",".",".",".",".","Y","."
"LUX-85","2","4","3",".",".","2","100","0","heini_mr-sap.xcm",".","2","3","2","4","2","4",".",".","0","+1","Y","Y",".","."


I guess it should be used somewhere between 105-120/130.

Author:  ViSCeRaL [ Thu Sep 20, 2007 9:37 pm ]
Post subject: 

Image

Image

Image

Image

Code:
[ About file ]

Name: ed2_95.avi
Date: 20/09/2007 18:30:40
Size: 1,563,406,336 bytes (1490.98 MB)

[ Generic info ]

Play duration: 01:24:16 (5056.389723 s)
Container type: AVI OpenDML
Number of streams: 2
Type of stream nr. 0: video
Type of stream nr. 1: audio
Audio streams: 1
ISFT: VirtualDubMod 1.5.10.2 (build 2540/release)
JUNK: VirtualDubMod build 2540/release

[ About quality ]

Resolution: VERY HIGH (720 x 384)
Width: multiple of 16 (GOOD)
Height: multiple of 16 (GOOD)
Average DRF quality: HIGH (3.165667)
Standard deviation quality: HIGH (0.696322)
Std. dev. weighted mean: HIGH (0.500413)

[ Video track ]

FourCC: xvid/XVID
Resolution: 720 x 384
Frame aspect ratio: 15:8 = 1.875 (~1.85:1)
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 15:8 = 1.875 (~1.85:1)
Framerate: 23.976 fps
Number of frames: 121232
Stream size: 1,276,002,905 bytes
Bitrate: 2018.836323 kbps
Qf: 0.304551
Key frames: 1827 (0; 240; 480; 532; 772; ... 121028)
Null frames: 0
Min key int: 1
Max key int: 240
Avg key int: 66.355774
Delay: 0 ms

[ Audio track ]

Audio tag: 0x2000 (AC3)
Bitrate: 448 kbps CBR
Channels: 6
Sample rate: 48000 Hz
Chunks: 52670
Stream size: 283,157,504 bytes
Delay: 0 ms

[ About MPEG4 encoding ]

User data: XviD0046
Packed bitstream: No
QPel: No
GMC: No
Interlaced: No
Aspect ratio: Square pixels
Quant type: MPEG custom (*)
Custom intra quant matrix:
      8  10  11  12  12  13  14  15
     10  11  12  13  13  15  15  16
     11  12  12  14  15  15  16  17
     12  13  14  15  15  16  17  18
     12  13  15  15  16  17  18  19
     13  15  15  16  17  18  19  19
     14  15  16  17  18  19  19  20
     15  16  17  18  19  19  20  20
Custom inter quant matrix:
     10  10  11  12  12  13  14  15
     10  11  12  13  14  14  15  16
     11  12  12  14  14  15  16  17
     12  13  14  14  15  16  17  18
     12  14  14  15  16  17  18  19
     13  14  15  16  17  18  19  20
     14  15  16  17  18  19  20  20
     15  16  17  18  19  20  20  20
Number of frames: 121232
Drop/delay frames: 0
Corrupted frames: 0

I-VOPs:  1827 (  1.507 %)                         
P-VOPs: 49904 ( 41.164 %) ##########               
B-VOPs: 69500 ( 57.328 %) ##############           
S-VOPs:     0 (  0.000 %)                         
N-VOPs:     1 (  0.001 %)                         

Max consecutive B-VOPs: 2
    1 consec: 16626 ( 38.609 %) ##########               
    2 consec: 26437 ( 61.391 %) ###############         

[ DRF analysis ]

Average DRF: 3.165667
Standard deviation: 0.696322
Max DRF: 5

DRF"<"2:     0 (  0.000 %)                         
DRF=2: 20908 ( 17.246 %) ####                     
DRF=3: 59435 ( 49.026 %) ############             
DRF=4: 40784 ( 33.642 %) ########                 
DRF=5:   104 (  0.086 %)                         
DRF">"5:     0 (  0.000 %)                         

I-VOPs average DRF: 2.318555
I-VOPs std. deviation: 0.465915
I-VOPs max DRF: 3

P-VOPs average DRF: 2.616563
P-VOPs std. deviation: 0.507517
P-VOPs max DRF: 4

B-VOPs average DRF: 3.582215
B-VOPs std. deviation: 0.496219
B-VOPs max DRF: 5

This report was created by AVInaptic (10-04-2007) on 20 set 2007, h 20:21:00


LUX-95 gave me the horn!

Author:  Lux Delux [ Thu Sep 20, 2007 9:40 pm ]
Post subject: 

ViSCeRaL wrote:
LUX-95 gave me the horn!


That a good thing or a bad thing? :D

Author:  dvdfernandes [ Fri Sep 21, 2007 7:37 pm ]
Post subject: 

Well, tried it for the first time... Very easy and confortable!! ^^ Loved the whole process, But I'm not sure about the results. Came out a bit blurry and washed out..

Code:
LimitedSharpenFaster(Smode=4,Lmode=3,strength=60)
mt_average(AddGrainC(2),AddGrainC(2,seed=10))


COMPTEST pointed to preset LUX60

avs
Image
encoded
Image

Here's the DRF analisys


Code:
[ About file ]

Name: DirtyDancing_LUX-60_ts_1213440.avi
Date: 21/09/2007 16:31:47
Size: 1,245,939,604 bytes

[ Generic info ]

Play duration: 01:36:00 (5760.48 s)
Container type: AVI OpenDML
Number of streams: 1
Type of stream nr. 0: video
Audio streams: 0

[ About quality ]

Resolution: HIGH (704 x 384)
Width: multiple of 16 (GOOD)
Height: multiple of 16 (GOOD)
Average DRF quality: MEDIUM (4.068792)
Standard deviation quality: HIGH (0.699938)
Std. dev. weighted mean: HIGH (0.503935)

[ Video track ]

FourCC: xvid/XVID
Resolution: 704 x 384
Frame aspect ratio: 11:6 = 1.833333 (~1.85:1)
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 11:6 = 1.833333 (~1.85:1)
Framerate: 25 fps
Number of frames: 144012
Stream size: 1,242,403,082 bytes
Bitrate: 1725.416051 kbps
Qf: 0.255299
Key frames: 1028 (0; 250; 500; 750; 1000; ... 143960)
Null frames: 0
Min key int: 1
Max key int: 250
Avg key int: 140.089494
Delay: 0 ms

[ About MPEG4 encoding ]

User data: XviD0046
Packed bitstream: No
QPel: No
GMC: No
Interlaced: No
Aspect ratio: Square pixels
Quant type: MPEG custom (*)
Custom intra quant matrix:
   8   8   8   8   8   9  10  12
   8   8   8   8   9  10  12  13
   8   8   8   9  10  12  13  14
   8   8   9  10  12  13  14  17
   8   9  10  12  13  15  18  22
   9  10  12  13  15  19  24  29
  10  12  13  14  18  24  31  38
  12  13  14  17  22  29  38  49
Custom inter quant matrix:
  10  11  11  11  11  12  13  16
  11  11  11  11  12  13  16  17
  11  11  11  12  13  16  17  19
  11  11  12  13  16  18  20  23
  11  12  13  16  18  21  24  30
  12  13  16  18  21  25  32  39
  13  16  17  20  24  32  41  51
  16  17  19  23  30  39  51  66
Number of frames: 144012
Drop/delay frames: 0
Corrupted frames: 0

I-VOPs:   1028 (  0.714 %)                         
P-VOPs:  58218 ( 40.426 %) ##########               
B-VOPs:  84766 ( 58.860 %) ###############         
S-VOPs:      0 (  0.000 %)                         
N-VOPs:      0 (  0.000 %)                         

Max consecutive B-VOPs: 2
    1 consec: 29044 ( 51.039 %) #############           
    2 consec: 27861 ( 48.961 %) ############             

[ DRF analysis ]

Average DRF: 4.068792
Standard deviation: 0.699938
Max DRF: 6

DRF<3>6:      0 (  0.000 %)                         

I-VOPs average DRF: 3.514591
I-VOPs std. deviation: 0.499787
I-VOPs max DRF: 4

P-VOPs average DRF: 3.487289
P-VOPs std. deviation: 0.503604
P-VOPs max DRF: 5

B-VOPs average DRF: 4.474895
B-VOPs std. deviation: 0.504212
B-VOPs max DRF: 6

This report was created by AVInaptic (06-03-2007) on 21 set 2007, h 18:33:02


Any thoughts on why it came out so different?

[EDIT] Don't know uch about DRF, but it should be lower, right?

Page 15 of 20 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
https://www.phpbb.com/