lettier / movie-monad

:tv: A free and simple to use video player made with Haskell.
https://lettier.github.io/movie-monad
BSD 3-Clause "New" or "Revised" License
420 stars 24 forks source link

Doesn't support subtitles #16

Closed hrqmonteiro closed 3 years ago

hrqmonteiro commented 5 years ago

I can't find ANYWHERE how to setup the subtitles on an archive, it just doesn't support, there's nothing i can do, but even though you write on the description that it DOES support

I tried dragging the srt file, i tried opening a menu or something by cliicking the right button, and nothing works, nothing

lettier commented 5 years ago

Hello @hrqmonteiro

Movie Monad supports subtitle tracks found inside the media container.

If your video doesn't have subtitle tracks, you can do something like this.

# https://mkvtoolnix.download/doc/mkvmerge.html
mkvmerge -o video-with-subtitles.mkv video.ext --default-language lang subtitles.srt

Where ext is the extension of your video and lang is the language of the subtitles.

mkvmerge --list-languages

This will give you a list of supported languages. Be sure to use the ISO639-2 code for lang. So for example.

mkvmerge -o video-with-subtitles.mkv video.webm --default-language eng subtitles.srt

You can now open video-with-subtitles.mkv with Movie Monad and select the added subtitle track.

test

test1

:+1:

hrqmonteiro commented 5 years ago

Ok, so it doesn't support srt files, like all of the players in the world? Everytime i want to watch a movie i would have to make this process of merging? Ok thanks for clarifying..