syarif99 / blurip

Automatically exported from code.google.com/p/blurip
0 stars 0 forks source link

Enhancement: Avisynth Templates #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The avisynth filters are great, but on a hexcore AMD I would like the ability 
to select a script like:

SetMTmode(5,6)
DGSource("_002_video.dgi", crop_t= **T**, crop_b= **B**, crop_l= **L**, crop_r= 
**R**, resize_w= **W**, resize_h= **H**)
changefps(last,last,true)
setmtmode(2)
MCTemporalDenoise(settings="low", strength=200)

Where Blurip fills in **T**, **B**, **L**, **R**, **W** & **H** from autocrop & 
resize calculation (these values are dynamically generated for _encode.AVS, so 
shouldn't be too hard to "dump" into a "template" script) ...

This results in ~ 5 FPS, whereas the Blurip method of just adding the 
"MCTemporalDenoise" to the end of a "single threaded" avisynth script is often 
under 1 FPS ...

Am happy to help with a selection of "generic" templates, etc ...

As a suggestion, a simple method of parsing the selected "Avisynth Template", 
replace all occurences of **B** with "crop bottom" number, **T** with crop top, 
**W** with calculated width integer, etc and use the "template" to write out 
the _encode.AVS file ...

Would help imensely!

Thanks,
7

Original issue reported on code.google.com by 7ek...@gmail.com on 8 Feb 2011 at 1:37

GoogleCodeExporter commented 9 years ago

Original comment by hawk...@gmx.net on 11 Feb 2011 at 8:10