Closed svenper closed 5 years ago
report it to libass. i downloaded the vtt subs and converted them to ass with ffmpeg.
ffmpeg -i 17-1143425v.zh.vtt sub.ass
the result. .txt extension instead of .ass because github only allows text files with txt extension. add those subs to the libass issue. sub.txt
closing since it was reported upstream.
This seems solved by both libass
and the shown PR. But I think I'm facing this issue again with some long Japanese subtitles I generated from OpenAI/Whisper. Could it be that I'm using gpu-next
? Maybe I should submit a separate issue report?
Could it be that I'm using
gpu-next
?
I don't see why this would affect anything, but you could simply switch to vo=gpu to confirm...
I just gave it a try with vo=gpu
and yes, the subtitles are still not getting separated into multiple lines... I'm using mpv-git on Arch Linux, so I guess the fixes should have been included. And the undesired behavior also appears for me with mpv-android.
Open a new issue with samples and follow the template
mpv version and platform
Void Linux linux 5.3.11 musl 1.1.24
Reproduction steps
mpv https://www.viki.com/videos/1143425v-the-legend-of-hao-lan-episode-17 --sub-font-size=85 --sub-font="Source Han Sans" --slang=zh --log-file=/tmp/mpv.log
Expected behavior
Subtitle lines without spaces (Chinese, Japanese, etc.) wrap automatically when too long.
Actual behavior
Such lines extend outside the window, with characters cropped.
Log file
mpv.log
Sample files