avs2xvid.bat with Lux presets
Author |
Message |
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
|
Mon Jun 25, 2007 10:12 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Quote: Target Size in KB = 1528832KB
isn't that like ~1500mb ? What's the size you entered in the .txt? I'll grab the vobs in a second.
Mysellf, Im still confused why it doesn't give me correct bitrate calculation
|
Mon Jun 25, 2007 10:18 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
1493 MB - 1/3 DVD
|
Mon Jun 25, 2007 10:33 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
You enter only the video size, the prog doesn't know how big the audio is
I now use the average bitrate gknot tells me, for example
Oh and I tried out the monster script on the first .vob. Does miracles as alwaays, but naturally slow like hell, gonna post it
|
Mon Jun 25, 2007 10:39 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
fucking imageshack!
Anyways here's what I used, maybe dehaloing wasn't necessary but I put it in cause I noticed some halos around the bra
Code: LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\decomb.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\mvtools.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\repair.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\deveed.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\degrainmedian.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\removegrain.dll") Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\LimitedSharpenFaster.avs") Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\Soothe.avs") Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\safetsf.avs") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\warpsharp.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\MaskTools.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\mt_masktools.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\fft3dfilter.dll") LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\gradfun2db.dll") Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\dehalo_alpha.avs")
# SOURCE mpeg2source("J:\purevob\SGTKM_1.d2v")
# CROPPING crop(12,2,-6,-2)
Spline36Resize(640,480) dehalo_alpha() source = last backward_vec2 = source.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true) backward_vec1 = source.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true) forward_vec1 = source.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true) forward_vec2 = source.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true) mask = mvmask(kind=1, vectors=forward_vec1).UtoY().Spline36Resize(640,480) smooth = source.degrainmedian(mode=3).fft3dfilter(bw=16, bh=16, bt=3, sigma=4, plane=0) source2 = maskedmerge(source, smooth, mask) source3 = source2.MVDegrain2(backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=200,idx=1) source3.gradfun2db(1.5)
dull=last sharp=LimitedSharpenFaster(Smode=3, Strength=30) Soothe(sharp,dull,30)
|
Mon Jun 25, 2007 10:47 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
Here's another comptest i did with 1805kbps instead of 1493MB:
Code:
------------------------------------------------- ma 25-06-2007 22:46:14,78 - Checking Source ma 25-06-2007 22:46:19,25 - Testing Compressibility ma 25-06-2007 22:46:19,25 - Encoding Single Pass start "3% Compressibility Test - Single Pass" /b /wait /belownormal "G:\avs2qxvid\bin\xvid_encraw_20070203.exe" -zones 0,w,1,KO -threads 2 -progress 100 -max_key_interval 250 -nopacked -quality 4 -vhqmode 0 -max_bframes 2 -bquant_ratio 162 -bquant_offset 0 -qtype 1 -qmatrix "G:\avs2qxvid\matrix\Didees-SixOfNine.cqm" -nochromame -turbo -single -cq 3 -stats "G:\ShitBusters\Shitbusters Rips\Sgt Kabikiman NYPD\avs\tmp\sgtkab.ct.stats" -type 2 -i "G:\ShitBusters\Shitbusters Rips\Sgt Kabikiman NYPD\avs\sgtkab.ct.avs" -avi "G:\ShitBusters\Shitbusters Rips\Sgt Kabikiman NYPD\avs\sgtkab.ct.avi" Source FPS = 25000/1000 No. of frames for CT = 2680 Size of selected frames = 57147109 Target Bitrate = 1805kbps ma 25-06-2007 22:50:39,89 - Comptest = 42 ma 25-06-2007 22:50:39,89 - Level = 30 ma 25-06-2007 22:50:39,92 - Loading Preset
I'll try out the above a.s.a.p.
|
Mon Jun 25, 2007 10:52 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Beware it's sloooooooooooooooow
But cleans the nasty blocks and other shit! And it should give you a pretty good compression boost!
|
Mon Jun 25, 2007 10:55 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
Code: "Checking Source...." Streaming frame 224 (of 240, 92.33%) 240 Error checking source - avsutil.exe cannot play the avs script. Press any key to continue...
?
|
Mon Jun 25, 2007 11:02 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
avs:Code: # Created with Gordian Knot # # http://gknot.doom9.org
# PLUGINS LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\DGMPGDec\DGDecode.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\decomb.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\mvtools.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\repair.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\deveed.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\degrainmedian.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\removegrain.dll") Import("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\LimitedSharpenFaster.avs") Import("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\Soothe.avs") Import("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\safetsf.avs") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\warpsharp.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\MaskTools.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\mt_masktools.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\fft3dfilter.dll") LoadPlugin("G:\GordianKnot\Gordian Knot 0.35.0 pack2\AviSynthPlugins\gradfun2db.dll") Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\dehalo_alpha.avs")
# SOURCE mpeg2source("G:\ShitBusters\Shitbusters Rips\Sgt Kabikiman NYPD\d2v\VTS_01_1.d2v")
# DEINTERLACING (1) FieldDeinterlace()
# CROPPING crop(28,4,682,560)
Spline36Resize(640,480) dehalo_alpha() source = last backward_vec2 = source.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true) backward_vec1 = source.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true) forward_vec1 = source.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true) forward_vec2 = source.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true) mask = mvmask(kind=1, vectors=forward_vec1).UtoY().Spline36Resize(640,480) smooth = source.degrainmedian(mode=3).fft3dfilter(bw=16, bh=16, bt=3, sigma=4, plane=0) source2 = maskedmerge(source, smooth, mask) source3 = source2.MVDegrain2(backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=200,idx=1) source3.gradfun2db(1.5)
dull=last sharp=LimitedSharpenFaster(Smode=3, Strength=30) Soothe(sharp,dull,30)
|
Mon Jun 25, 2007 11:03 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
Already changed line:
Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\dehalo_alpha.avs")
still same error
|
Mon Jun 25, 2007 11:03 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Have you checked if the .avs loads in vdubmod?
Also delete the previously created TMP folder and make sure the .txt file is named correctly like before. Dunno if you created a new .avs or just replaced stuff in the old one.
|
Mon Jun 25, 2007 11:07 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
When trying to open with vdubmod:
Code: Avisynth open failure: FFT3DFilter: Can not load FFTW3.DLL ! (G:\ShitBusters\ShitBusters Rips\Sgt Kabikiman NYPD\avs\sgtkab.avs, line 40)
|
Mon Jun 25, 2007 11:15 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
ftp://ftp.fftw.org/pub/fftw/fftw3win32mingw.zip
I think it's okay if you put it in the windows system32 dir
|
Mon Jun 25, 2007 11:19 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
That did the trick
0.63 fps
|
Mon Jun 25, 2007 11:49 pm |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
What ya want, Ive got a comptest running at 0.42
|
Mon Jun 25, 2007 11:50 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
Oh wait a minute,
0.32 fps
|
Mon Jun 25, 2007 11:53 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
Detected cpus = 0, threads requested = 2, threads in use = 2
?
|
Tue Jun 26, 2007 12:02 am |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
|
Tue Jun 26, 2007 12:03 am |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
I need to go to sleep now but the new ideas were something like this:
it seems J2CD gives more compression that I hoped for, which means the lower ones will be pushed.
So something like (comptest)
65-70 -> LUX-65
76-80 -> LUX-70
81-85 -> LUX-75 (new one with heini 2/1.62/0)
it's gonna be tricky, I'm running a new one on Ghoulies4 with 70 now, that's a jump from 60
So let's see if that oversizes, than I need to run a comptest on it again but at lower res I remember it was around 73 which means now it's ~69 probably...
Good night and hope to bring a steamy encode soon.
PS. I can't get perfect Bloodrayne filtering, fucking piece of shit with it's variable image quality. But I think I have something which gives me also comptest 98.
|
Tue Jun 26, 2007 3:53 am |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Whoaah look what I got with PumpkinHead with LUX-90
Code: Average DRF: 2.622248 Standard deviation: 0.496369 Max DRF: 4
DRF'<'2: 0 ( 0.000 %) DRF=2: 52192 ( 38.342 %) DRF=3: 83161 ( 61.092 %) DRF=4: 771 ( 0.566 %) DRF'>'4: 0 ( 0.000 %)
though I didn't use any filtering so it could off course perhaps looks even better. But I think to keep it cause it's a pretty clean source.
|
Tue Jun 26, 2007 10:48 am |
|
|
El Mariachi
buttfuckbullfrog
Joined: Tue Jul 04, 2006 10:35 am Posts: 10201 Location: On top of a turd
|
This should made into a sticky
|
Tue Jun 26, 2007 11:06 am |
|
|
Lux Delux
Chuck Norris
Joined: Mon Mar 13, 2006 3:42 pm Posts: 16726 Location: Shitopia
|
Well I was first thinking we get closer to perfecting the presets for our needs until I sticky it's ass.
But if ya want, I'll sticky it big time
|
Tue Jun 26, 2007 11:10 am |
|
|
El Mariachi
buttfuckbullfrog
Joined: Tue Jul 04, 2006 10:35 am Posts: 10201 Location: On top of a turd
|
Lux Delux wrote: Well I was first thinking we get closer to perfecting the presets for our needs until I sticky it's ass. But if ya want, I'll sticky it big time
Well it doesn't really matter. This topic wont slide down easily since it has non-stop replies
But it seems like a new go in ripping and should be shoved up anusses.
|
Tue Jun 26, 2007 11:13 am |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
From 42 to 85
Code: ------------------------------------------------- di 26-06-2007 14:17:41,67 - Checking Source di 26-06-2007 14:17:53,68 - Testing Compressibility di 26-06-2007 14:17:53,70 - Encoding Single Pass start "3% Compressibility Test - Single Pass" /b /wait /belownormal "G:\avs2qxvid\bin\xvid_encraw_20070203.exe" -zones 0,w,1,KO -threads 2 -progress 100 -max_key_interval 250 -nopacked -quality 4 -vhqmode 0 -max_bframes 2 -bquant_ratio 162 -bquant_offset 0 -qtype 1 -qmatrix "G:\avs2qxvid\matrix\Didees-SixOfNine.cqm" -nochromame -turbo -single -cq 3 -stats "G:\ShitBusters\Shitbusters Rips\Sgt Kabikiman NYPD\avs\tmp\sgtkab.ct.stats" -type 2 -i "G:\ShitBusters\Shitbusters Rips\Sgt Kabikiman NYPD\avs\sgtkab.ct.avs" -avi "G:\ShitBusters\Shitbusters Rips\Sgt Kabikiman NYPD\avs\sgtkab.ct.avi" Source FPS = 25000/1000 No. of frames for CT = 2680 Size of selected frames = 28332440 Target Bitrate = 1805kbps di 26-06-2007 18:47:58,37 - Comptest = 85 di 26-06-2007 18:47:58,39 - Level = 58 di 26-06-2007 18:47:58,39 - Loading Preset
|
Tue Jun 26, 2007 7:01 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
|
Tue Jun 26, 2007 7:12 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
_________________ Got milk?
Last edited by Vae Victis on Tue Jun 26, 2007 10:15 pm, edited 2 times in total.
|
Tue Jun 26, 2007 7:37 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
_________________ Got milk?
|
Tue Jun 26, 2007 7:57 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
|
Tue Jun 26, 2007 7:59 pm |
|
|
Vae Victis
Anal Muffin
Joined: Tue Sep 26, 2006 1:27 am Posts: 6147
|
Yep that one looks smashing.
_________________ Got milk?
|
Tue Jun 26, 2007 8:03 pm |
|
|
Pure
Veggie Fridge
Joined: Fri Mar 24, 2006 2:59 pm Posts: 21656 Location: Fuck You! GoodBye!
|
Sample looks good aswell IMO
|
Tue Jun 26, 2007 8:04 pm |
|
|
|