killergerbah / asbplayer

Browser-based media player and Chrome extension for subtitle sentence mining
MIT License
539 stars 69 forks source link

Can not show subtitles built inside mkv files #88

Open StringWeaver opened 3 years ago

StringWeaver commented 3 years ago

I played a mkv file with multiple inline subtitle tracks,but I found no way to show them.

killergerbah commented 3 years ago

asbplayer is not able to do this as modern browsers can't read subtitles inside of mkv files. Subtitle files have to be provided separately to be used in asbplayer. This is usually not an issue since asbplayer is used for language learning and it is rare to find mkv files that contain target language subtitles inside.

Unfortunately for the time being you will have to extract the subtitles yourself using something like ffmpeg if you want to use the subtitles inside the mkv file with asbplayer.

StringWeaver commented 3 years ago

Maybe this can be done by some js libraries? I've saw some websites that can extract ass from mkv file.

killergerbah commented 3 years ago

You're right, let me reopen this.