-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I have a custom style set in an .ass file to override subtitle styling by using the following option.
sub-ass-styles=C:\Program Files\mpv\styles\640x480.ass
This file needs to be set to the same resolution as the video otherwise the subtitles scale wrong.
Currently I have two files with two of the most common resolutions. Manually changing the config to load the file works fine but I wanted to automate this using the auto-profiles.lua.
[640x480]
profile-desc=cond:(p["video-params/w"]==640 and p["video-params/h"]==480)
sub-ass-styles=C:\Program Files\mpv\styles\640x480.ass
osd-playing-msg="640x480"
The script works as intended by recognizing the set resolution. But somehow none of the --sub options seems to work when using auto-profiles.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels