You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
On Wed, 8 Jul 2020 at 22:57, Columbo199X ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA3H5LKNBOAHLHSDXBHUGLR2TTTVANCNFSM4OU7UAFA>
.
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.
The text was updated successfully, but these errors were encountered: