Log in

View Full Version : Using "NTSC filters" in Avisynth script?


AVCHDfreak
14th May 2014, 00:42
Hi all,
I'm thinking of applying Blargg's NTSC libraries which are used for 8/16-bit game console emulation as a filter in an Avisynth script and wondering if this is possible. If anybody can shed some light on this it would be much appreciated, thanks in advance,

AVCHDfreak

Reel.Deel
14th May 2014, 01:40
Would be neat to have Blargg's NTSC Libraries (http://slack.net/~ant/libs/ntsc.html) as an AviSynth plugin. There was some discussion (http://forum.doom9.org/showthread.php?t=150596) some time ago but nothing came of it.

foxyshadis
14th May 2014, 02:12
You can probably get halfway there with dotcrawlplus (https://forum.doom9.org/showthread.php?t=170433) using the strong preset. All it's missing is color adjustments and scanlines.

AVCHDfreak
14th May 2014, 02:44
Hi Reel.Deel, foxyshadis,

I actually suggested for the dot crawl effect in Avisynth over in the Virtualdub forums and raffriff42 made the script, it's a very good effect in its own right, I just want to try a CRT effect, Blargg's filter is apparently great from what I've heard.

Reel.Deel
14th May 2014, 02:46
All it's missing is color adjustments and scanlines.

Well there's a plugin for that: scanlines_dll_20031103.zip (http://avisynth.nl/users/warpenterprises/files/scanlines_5F25_dll_20031103.zip)

And here's a script variant: Speeding up scanlines script (http://forum.doom9.org/showthread.php?t=156658)

creaothceann
14th May 2014, 04:02
If you want to capture emulated games then you could try RetroArch, it has some nice shaders. (Search for "record" in the config files; it'll show "video_post_filter_record" etc.)

(old thread) (http://board.byuu.org/viewtopic.php?f=10&t=147)
(newer thread) (http://board.byuu.org/viewtopic.php?f=10&t=4719)

AVCHDfreak
14th May 2014, 07:31
Thanks Reel.Deel, I'll check the plugin/script out.

Hi creaothceann,
it would be nice if you could apply the emulated
effect on video which is what I'm after, but I'll have
a look at RetroArch anyway, thanks.

I'm a BASIC guy, haven't got much success in
C programming, trying to decode Blargg's source
into something that I can understand, but I think I
just don't have that mindset.

If I could get the source compiled, I wanted to run
the demo to see if it could apply the effect to a frame
from a video, but resolution differences might be one
of the obstacles.

Reel.Deel
17th May 2014, 15:43
While looking for something else I came across this SNESEffect (https://github.com/Xenoveritas/AviSynth-Stuff/blob/master/SNESEffect.avsi) script, it "provides a pixelation effect, similar to the effect a ton of SNES games use." Maybe someone will find it useful.