News for hackers. Stuff that matters.
Re:Language Learning with Netflix extension by z_open on Monday January 13, 2020 @02:31AM (#22032553)
This is nice, but all I really want is the ability to nicely see both English and German subtitles simultaneously. This is overkill for me and requires me to use chrome. Is anyone aware of a better solution for me?
Re:Language Learning with Netflix extension by aplaice on Monday January 13, 2020 @08:43AM (#22034367)
I second the mpv-based solution, as suggested by st1ck. If you prefer vlc, it now (as of the beta 4.0.0)[0] also supports dual/secondary subtitles. Making it work seems a bit fiddly: first you need to turn them on (under Tools > Preferences > Subtitles/OSD > Dual Subtitles (at the very bottom) > Align — change to anything but unset, and possibly also adjust offset). Then, when playing a video, to select them for that video, you need to "Toggle secondary subtitle control" with Ctrl+Shift+V (this means that the normal subtitle control shortcuts like "v", "Alt+v" etc. now apply to the secondary subtitles) and press "v" the right number of times to switch to the subtitles that you want.

(Obviously vlc and mpv will only work for DRM-free videos, e.g. from youtube or a DVD.)

If you were asking specifically about Netflix subtitles, there used to be an open source NflxMultiSubs extension[1] for both Firefox and Chromium, but it was broken by Netflix introducing changes to its video player and discontinued. There is an active, open-source dual-captions[2] extension, but it's for Chrome only. (However, since it's open source adapting it it for Firefox should be straightforward.) Finally, as an alternative approach, you could try a Firefox addon which allows loading arbitrary subtitles in the SRT format to netflix,[3] and which might perhaps allow you to have both netflix's subtitles and your own SRT ones at the same time.

[0] https://github.com/videolan/vlc/blob/master/NEWS#L30

[1] https://github.com/dannvix/NflxMultiSubs/

[2] https://github.com/mikesteele/dual-captions

[3] https://addons.mozilla.org/en-US/firefox/addon/netflix-srt-s...

Re:Language Learning with Netflix extension by davidzweig on Monday January 13, 2020 @10:34AM (#22035303)
NflxMultiSubs is still working. I wrote a patch to fix it, and took over maintence on Chrome.

https://chrome.google.com/webstore/detail/nflxmultisubs-netf...

Re:Language Learning with Netflix extension by aplaice on Monday January 13, 2020 @12:24PM (#22036471)
> NflxMultiSubs is still working. I wrote a patch to fix it, and took over maintence on Chrome.

That's great! It's a shame that it's (apparently) no longer open source, though obviously given the MIT license you're allowed to stop disclosing the source.

Re:Language Learning with Netflix extension by mikesteeledev on Thursday January 16, 2020 @11:45PM (#22071926)
Thanks for the shoutout! :) - mike
Re:Language Learning with Netflix extension by st1ck on Monday January 13, 2020 @02:46AM (#22032621)

    mpv --sid=auto --secondary-sid=auto --sub-pos=95  --slang de,en movie.mkv
Same works for youtube URLs. If it doesn't work, changing "de,en" to "en,de" may help.
Re:Language Learning with Netflix extension by asdko13roasi on Monday January 13, 2020 @08:10AM (#22034105)
mpv is so great. It was an immense downgrade to start watching movies on my ps4 with media player, netflix, plex etc. They(mostly media player) have issues on the very basics like pausing and playing video, subtitles, continue watching etc.

With a computer running mpv and plugged into the TV everything just works and I can trivially fix common issues like subtitle/audio sync with my phone as the remote.

On-topic: mpv seems to have a similar language learning extension to OP https://github.com/oltodosel/interSubs

Re:Language Learning with Netflix extension by pgz on Monday January 13, 2020 @10:51AM (#22035467)
I've made my own mpv extension for Japanese subtitle analysis too. It can also create Anki cards automatically (with screenshot and audio).

Having a scriptable media player is really something else.

Re:Language Learning with Netflix extension by LinguaBrowse on Monday January 13, 2020 @02:01PM (#22037441)
This exists, albeit only for YouTube rather than Netflix: CaptionPop https://www.captionpop.com/
Re:Language Learning with Netflix extension by davidzweig on Monday January 13, 2020 @10:30AM (#22035254)
Creator here.. there's netflixmultisubs extension which is more minimal, which we also maintain now. There used to be releases for firefox, but we haven't been publishing them, just becuase we're not familiar with the process and lack time. LLN can be used in a minimal, non-instrusive way however, and has a pretty good algorithm for aligning the start and finish times of different subs tracks. netflixmultisubs shows the two tracks with their independant timings.