mpv-player / mpv

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

subtitle issue #13101

Open sajinman opened 10 months ago

sajinman commented 10 months ago

Important Information

Subtitle (vtt) file lines:

14:26.000 --> 14:33.390
According to my father, she said "trouble's 
here" after I was born and then was gone.

14:33.390 --> 14:39.900
<b>Mother: 

Father:</b>

14:33.390 --> 14:39.900
<b>Trouble (Kuro) is here.
Kuro (9th son) is here.</b>

14:33.700 --> 14:36.000
But my father misheard her,

Expected behavior

subtitle should continue after 14:33

Actual behavior

subtitle stops after 14:33

Log file

output.txt

llyyr commented 10 months ago

I'm not sure where you got your file from but that feels like an ASS file terribly converted to VTT. This isn't a bug with anything, the file is just broken, you're not allowed to have empty lines within a VTT cue. See: https://www.w3.org/TR/webvtt1/#introduction-multiple-lines

ffmpeg thinks the file ends at this block because of the empty lines.

14:33.390 --> 14:39.900
<b>Mother: 

Father:</b>
sajinman commented 10 months ago

can something be done about it so that mpv continues showing subtitles in these situations? this subtitle keeps working fine in potplayer after 14:33

llyyr commented 10 months ago

can something be done about it so that mpv continues showing subtitles in these situations?

No, you should fix whatever software generated these broken subtitles. Potplayer's behavior is broken if these files work

sajinman commented 10 months ago

i didn't convert it. i downloaded this vtt from aniwatch.to. please help me . i need mpv