mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
26.71k stars 2.84k forks source link

--sub-scale applied when --sub-ass-override is set to yes #14229

Closed low-batt closed 1 month ago

low-batt commented 1 month ago

mpv Information

mpv v0.38.0-344-g2fa66b850d Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on May 24 2024 21:30:52
libplacebo version: v7.349.0 (v6.338.0-133-g9e1257c8)
FFmpeg version: n7.0
FFmpeg library versions:
   libavutil       59.8.100
   libavcodec      61.3.100
   libavformat     61.1.100
   libswscale      8.1.100
   libavfilter     10.1.100
   libswresample   5.1.100

Other Information

Reproduction Steps

Expected Behavior

I'm expecting:

From the mpv manual entry for the sub-ass-override option:

  • no: Render subtitles as specified by the subtitle scripts, without overrides.
  • yes: Apply all the --sub-ass-* style override options. Changing the default for any of these options can lead to incorrect subtitle rendering (default).
  • scale: Like yes, but also apply --sub-scale.

Actual Behavior

With --sub-ass-override=yes, --sub-scale is applied and overrides ASS style. The --sub-ass-override=yes behavior matches the --sub-ass-override=scale behavior.

With --sub-ass-override=no:

mpv/build/mpv --log-file=mpv.log --no-config --autofit=2048 --pause --sub-scale=5 --sub-ass-override=no ~/Movies/big_buck_bunny.mp4

no

With --sub-ass-override=yes:

mpv/build/mpv --log-file=mpv.log --no-config --autofit=2048 --pause --start=1:08 --sub-scale=5 --sub-ass-override=yes ~/Movies/big_buck_bunny.mp4

yes

With --sub-ass-override=scale it looks just like --sub-ass-override=yes.

Am I confused about how sub-ass-override is intended to work?

Log File

output.txt

Sample Files

big_buck_bunny.ass.txt

I carefully read all instruction and confirm that I did the following: