digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Latest script discussion (http://www.digitalfaq.com/archives/avisynth/3145-avisynth-latest-script.html)

AmericanKickboxer 04-04-2003 07:24 PM

oh yeah, and what will go in those parenthesis?? for a 352x240 AVI?

Kane 04-04-2003 07:27 PM

Quote:

Originally Posted by AmericanKickboxer
hmm... so many script so little time...

can anyone recomend a good script to me to use when turn my WAV

using Headac3he?? :idea:

thanx

you donīt need any script to turn you wav in to mp2 with headac3he. just open the wav with headac3he, choose MP2 as destination format, click the options button twice to select the bitrate, the audio ahould have ( 128kbit is enough, i think ). then press start and headac3he will go to work

those scripts are just for video encoding

AmericanKickboxer 04-04-2003 07:56 PM

ok ok :oops: , thanx for clarifying that 1 Kane!

AmericanKickboxer 04-04-2003 08:05 PM

sorry for not mentioning this 1...but Im a lil further behind, and I

was asking how to split my AVI file first :)

:mrgreen: then Ill be able to use headac3he

thanx for ur patience!

Kane 04-04-2003 08:13 PM

you mean, how to extract the audio?
open the avi with virtualdub, make sure you have selected "full processing mode" in audio option, than "save .wav"

AmericanKickboxer 04-04-2003 08:19 PM

aight, thanx :wink:

AmericanKickboxer 04-04-2003 09:25 PM

LOST AGAIN!

hmm..okay, i have a WAV file ready to encode to MP2..

I do all the settings an stuff and press start at the bottom of the

headac3he screen..

then it gives me some stupid 'This program has performed an illegal

operation' crap.. it wont lemme encode the WAV file

WHAT WENT WRONG??

Reno 04-04-2003 10:50 PM

Americankickboxer, what CPU do you have? I had a similar problem going from mp3 to mp2 and downloading the alternate .dll's from Dark Avenger's site fixed it right up!!

P.S. I've got an Athlon

rendalunit 04-04-2003 10:51 PM

Did you download the right dll's for your CPU?

Would you happen to be running Windows 98? I hardly ever see that error message anymore since I upgraded to XP :o

See if you can encode it with BeSweet

AmericanKickboxer 04-04-2003 11:09 PM

alright! :) I got it workin and i was able to use Headac3he for my

WAV file. I deleted the old DLL and downloaded DarkAvenger's. That

worked for me! :D thanx

PS: I have windows 98.. :oops:

lata :D

Jellygoose 04-05-2003 06:54 AM

Hi kwag and all others...

After looking at your latest script, I did some heavy testing. I've come to the conclusion, that the smearing of the picture is caused by the combination of the luma threshold of TemporalCleaner and the lumablur...
But: TemporalCleaner still gives a hell of a lot compression if you drop the luma filtering.
I see that a sharpening with Unfilter after the smoothing, followed by a Blur of Chroma and Luma, looks way better, than without any sharpening. just like someone said, it's more like noise where there used to be blocks. that does look more natural indeed.
However I think that this effect is already very visible at a small amount of sharpening. I used Unfilter(7,7) and after that only a very light luma blur (0.1), so that the luma is almost not touched at all. This is giving me a higher compression with only a small decrease in quality compared to kwag's latest script.
try it please and tell me your results...

Quote:

TemporalSmoother(radius=2, strength=2)
SpaceDust()
TemporalCleaner(ythresh=0, cthresh=10)

Unfilter(7,7)
STMedianFilter(7,15,4,7,7,15)
mergechroma(blur( 1.58 ))
mergeluma(blur(0.1))

Wolfi 04-05-2003 06:54 AM

Witch command should I use for a DivX file witch has good quality :arrow:

Convolution3d (preset="movieHQ") // Movie Hi Quality (good DVD source)
is an alias for Convolution3D (0, 3, 4, 3, 4, 2.8, 0)
Convolution3d (preset="movieLQ") // Movie Low Quality (noisy DVD source)
is an alias for Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
Convolution3d (preset="animeHQ") // Anime Hi Quality (good DVD source)
is an alias for Convolution3D (0, 6, 12, 6, 8, 2.8, 0)
Convolution3d (preset="animeLQ") // Anime Low Quality (noisy DVD source)
is an alias for Convolution3D (1, 8, 16, 8, 8, 2.8, 0)
Convolution3d (preset="animeBQ") // Anime Bad Quality (???)
is an alias for Convolution3D (1, 12, 22, 8, 8, 2.8, 0)
Convolution3d (preset="vhsBQ") // VHS capture Bad Quality (???)
is an alias for Convolution3D (0, 32, 128, 16, 64, 10, 0)

And one thing more, should I use UnFilter Old or UnFilter AviSynth 2.5 alpha ?

//Wolfi :)

Kane 04-05-2003 07:25 AM

i use movie low quality with all clean sources, īcause i canīt see a difference between HQ an LQ, but LQ gives a little more compression.

if you have avisynth 2.5 installed use the unfilter 2.5 otherwise, use unfilter old

Wolfi 04-05-2003 07:51 AM

I have avisynth 2.8 installed so I'll go for UnFilter Old, Thanks you :!:

//Wolfi

Kane 04-05-2003 08:10 AM

hi jellygoose

i just wanted to test your script, but then something strange happened:
i create the "roof" of the script with moviestacker and added the rest of the filters manually and loaded them into ToK. now, i used a 528x576 resolution but Tmpgenc startet to encode with 528x336???
any idea, why this happens? Itīs only with your script

Jellygoose 04-05-2003 11:28 AM

No I don't sorry. Try it again. Just add these filters and settings to an existing script...

dazedconfused 04-05-2003 09:42 PM

Quote:

Originally Posted by kwag
Latest test:

Code:

SpaceDust()
sharpen(0.7)
mergechroma(blur(1.58))
mergeluma(blur(0.7))

-kwag

Hey Kwag, just out of curiosity, when you finally settled on the sharpen and mergeluma values used in your latest optimal script, did you arrive at those by doing comparisons on your hdtv, or a regular one, or both? Because those of us using standard televisions could probably get away with a bit more tweaking if it's primarily HDTV-optimized, right?

See, while I really like the resultant quality of this new script, I'm one of the poor schmucks whose dvd player requires me to encode @29.97fps, AND (to top it off) I also have to use 544x480 rez instead of 528x480 (hence giving me even less bitrate to play with :cry: ...and I really don't like dropping to 480x480 or 352x480 if I don't have to).

So what I'm really wondering is how far I could: 1) lower Sharpen, or 2) raise MergeLuma-Blur, without it having too noticeable of an effect on quality on my standard 4:3 ntsc TV. That is, if your .7 values aren't already "Standard TV"-optimized compression-wise. :wink: Or might I even be able to get away with BilinearResize to save a bit more space. Ugh :!: "Just when I thought I was out...(of the "testing" phase)...they pull me back in!". :lol:

Thanks, :drink:
-d&c

kwag 04-05-2003 10:37 PM

Hi d&c,

Your script is outdated :mrgreen:. Check the latest script I posted :)
If you want to squeeze your video even more, and you don't have an HDTV, use BilinearResize and increase your mergeluma value a little. This will keep a very descent quality, while allowing a lower file size :wink:

-kwag

TemplateAVS 04-05-2003 11:03 PM

LegalClip()
GripCrop( X, Y )
GripSize(resizer="BicubicResize")
unfilter(50,50)
temporalsmoother(1,2)
mergechroma(blur(1.58))
mergeluma(blur(0.2))
GripBorders()
LegalClip()

No more spacedust? So, using temporalsmoother with merge does what spacedust was meant to do but with more umph. (I guess) With the new script, is it still at 60 cq and 300 - 2500 kbits?

kwag 04-05-2003 11:05 PM

Quote:

Originally Posted by TemplateAVS
LegalClip()
GripCrop( X, Y )
GripSize(resizer="BicubicResize")
unfilter(50,50)
temporalsmoother(1,2)
mergechroma(blur(1.58))
mergeluma(blur(0.2))
GripBorders()
LegalClip()

No more spacedust? So, using temporalsmoother with merge does what spacedust was meant to do but with more umph. (I guess) With the new script, is it still at 60 cq and 300 - 2500 kbits?

Try it. I just dropped spacedust :wink:

Edit: This is what you get with the script above :): http://www.kvcd.net/sample.mpg

-kwag


All times are GMT -5. The time now is 07:56 AM  —  vBulletin Đ Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.