hudec117 / Mpv.NET-lib-

.NET embeddable video/media player based on mpv for WinForms and WPF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to Configure MPV

mysteryx93 opened this issue · comments

MPV supports resampling the audio using this command-line syntax

--af=rubberband=pitch-scale=0.981818181818181

How can I configure this (or add any other filters) through Mpv.NET?

Found the solution here
https://github.com/mpv-player/mpv/blob/master/libmpv/client.h#L1128

SetPropertyString("af", "rubberband=pitch-scale=0.981818181818181")