kelciour / movies2anki

Convert movies with subtitles to watch them with Anki. Inspired by subs2srs
GNU Affero General Public License v3.0
302 stars 28 forks source link

Per-file volume settings #13

Closed aleksejrs closed 3 years ago

aleksejrs commented 3 years ago

Some files have a different volume. I couldn't get a file-specific configuration file to work.

kelciour commented 3 years ago

https://mpv.io/manual/master/#file-specific-configuration-files

For example, on Windows.

%APPDATA%\mpv\mpv.conf

use-filedir-conf=yes

D:\Movies\video.mp4

D:\Movies\video.mp4.conf

volume=130

https://mpv.io/manual/master/#options-volume https://mpv.io/manual/master/#options-softvol-max

or something like

af=loudnorm=I=-16

https://wiki.archlinux.org/index.php/mpv#Volume_normalization

aleksejrs commented 3 years ago

Sorry, I put the file into the ~/.config/mpv/ of the wrong user. Extra thanks for the af=loudnorm.