Skip to content

Instantly share code, notes, and snippets.

@riverscn
Last active April 16, 2019 13:55
Show Gist options
  • Save riverscn/7e42c9aa418956cb294234848acf1085 to your computer and use it in GitHub Desktop.
Save riverscn/7e42c9aa418956cb294234848acf1085 to your computer and use it in GitHub Desktop.
《颐和园》2006 俄区 PAL DVD 修复脚本 AviSynth
ClearAutoloadDirs()
AddAutoloadDir("plugins")
LoadPlugin("D:\Apps\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("yhy.d2v", info=3)
#color convert
ColorMatrix(mode="Rec.601->Rec.709")
#recover dynamic range
HDRAGC(max_sat=1.5, max_gain=1.5, corrector=0.8, avg_window=24)
#Spatio-Temporal denoise
MCTD(settings="low", GPU=true)
#Enlarge images by the powers of 2 using Neural Network New-Edge Directed Interpolation
#resize to 1.85:1 (academy widescreen aspect ratio)
nnedi3x_rpow2(rfactor=2, cshift="Spline36Resize", fwidth=1280, fheight=692)
#correct FPS
AssumeFPS(24000, 1001, true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment