namespace DragonVideoPlayer
{
    public class Effect_dictionary
    {
        public static Dictionary<string, string> AspectPresets =
   new Dictionary<string, string>
{
    { "4:3",      "setdar=4/3" },
    { "16:9",     "setdar=16/9" },
    { "Vista",    "setdar=1.85/1" },
    { "スマホ",   "setdar=9/16" },
    { "シネスコ", "setdar=2.39" }
};
        public static Dictionary<string, string> VideoLavfi =
    new Dictionary<string, string>
{
    { "CRT",
      "lavfi=[geq=r='p(X,Y)*mod(Y,2)':g='p(X,Y)*mod(Y,2)':b='p(X,Y)*mod(Y,2)']"
    },
{ "昔のドラマ風",
  "lavfi=[gblur=sigma=3,eq=contrast=0.88:brightness=0.04,unsharp=3:3:-0.5]"
},
{ "戦前白黒ソフト",
    "lavfi=[hue=s=0,scale=iw*0.92:ih*0.92,scale=iw:ih,gblur=sigma=2.4,eq=contrast=1.15:brightness=0.04:gamma=0.9,noise=alls=2:allf=t]"
},
{ "ソフトフォーカス_ナチュラル",
  "lavfi=[gblur=sigma=1.8,eq=contrast=0.95:brightness=0.03:saturation=1.05]"
},
{ "VHS_AVソフト",
 "lavfi=[scale=iw*0.8:ih*0.8,scale=iw:ih,gblur=sigma=2.5,eq=contrast=0.9:brightness=0.05:saturation=0.9,noise=alls=5:allf=t,chromashift=cbh=2:crh=-2]"
},

{ "高画質シャープ",
  "lavfi=[unsharp=5:5:0.8,eq=contrast=1.03:saturation=1.02]"
},
{ "強シャープ",
  "lavfi=[unsharp=7:7:1.8]"
},

{ "美肌ソフト",
  "lavfi=[gblur=sigma=2,eq=contrast=0.93:brightness=0.04:saturation=1.08,noise=alls=2:allf=t]"
},

    { "OldColor",
      "lavfi=[fps=24,eq=saturation=0.7:contrast=1.2,noise=alls=18:allf=t]"
    },


     { "OldMono",
      "lavfi=[fps=24,hue=s=0,noise=alls=20:allf=t]"
    },

    { "Silent",
      "lavfi=[fps=16,hue=s=0,noise=alls=22:allf=t,drawgrid=width=180:height=ih:thickness=1:color=white@0.15,eq=contrast=1.25]"
    },
    { "VHS-CRT",
      "lavfi=[scale=iw*0.75:ih*0.75,scale=iw:ih,boxblur=2:1,chromashift=cbh=2:crh=-2,noise=alls=20:allf=t,eq=saturation=0.85,geq=r='p(X,Y)*(0.7+0.3*mod(Y,2))':g='p(X,Y)*(0.7+0.3*mod(Y,2))':b='p(X,Y)*(0.7+0.3*mod(Y,2))']"
    },
      { "モーションブラー",
      "lavfi=[tmix=frames=3]"
    },
         { "FPS",
      "lavfi=[minterpolate]"
    },

    { "VHS",
      "lavfi=[boxblur=2:1,noise=alls=15:allf=t,chromashift=cbh=2:crh=-2]"
    }
};
        public static Dictionary<string, string> AudioPresets =
new Dictionary<string, string>
{
    { "リバーブ", "aecho=0.8:0.9:1000:0.3" },
    { "声除去", "stereotools=mlev=0.015625" },
    { "エクストラステレオ", "extrastereo" },
    { "earwax", "earwax" },
    { "AMラジオ", "highpass=f=300,lowpass=f=3500" },
    { "ラウドネス", "loudnorm" },
    { "蓄音機", "highpass=f=500,lowpass=f=3500,acrusher=bits=6,volume=0.8" },
    {"ノイズ除去", "afftdn" },
    { "映画", "acompressor=threshold=-18dB:ratio=3,firequalizer=gain_entry='entry(200,3);entry(1000,2);entry(5000,3)'" },
    { "配信", "loudnorm=I=-16:LRA=11:TP=-1.5,acompressor=threshold=-20dB:ratio=2" },
    { "音楽", "firequalizer=gain_entry='entry(60,5);entry(200,2);entry(4000,2);entry(12000,4)'" },
    { "映画館音響", "bass=g=6:f=90,treble=g=2:f=6000,aecho=0.8:0.88:60:0.4" },
    { "声強調", "equalizer=f=3000:t=q:w=1:g=5,equalizer=f=1500:t=q:w=1:g=3" },
    { "コンプレッサー", "acompressor" }
};
    }

}
