mpvの字幕を特定の場所にデフォルト設定する方法

mpvの字幕を特定の場所にデフォルト設定する方法

これは私のmpv.confです -

$ cat ~/.config/mpv/mpv.conf
alang=eng,en,english
slang=en,eng, english
sub-scale=1.00
save-position-on-quit

これで、メディアファイルを再生するときに字幕が特定の場所に表示されるようになります。私はこれが設定可能であると確信しています。

ベストアンサー1

対応する「特定の場所」が画面の下部にない限り、mpvのマニュアルページではパラメータを--sub-pos設定する方法として少なくとも垂直に[ sub-posmpv.confで "--"を使用せずに]言及します。

--sub-pos=<0-150>
   Specify the position of subtitles on the screen.  The  value  is
          the vertical position of the subtitle in % of the screen height.
          100 is the original position, which is often  not  the  absolute
          bottom  of  the  screen, but with some margin between the bottom
          and the subtitle. Values above 100  move  the  subtitle  further
          down.

             Warning

                    Text  subtitles (as opposed to image subtitles) may be
                    cut off if the value of the option is above 100.  This
                    is a libass restriction. This  affects  ASS  subtitles
                    as well, and may lead to incorrect subtitle rendering 
                    in addition to the  problem above.

                    Using --sub-margin-y can achieve this in a better way.

おすすめ記事