this post was submitted on 30 Jan 2025
14 points (100.0% liked)
Firefox
18391 readers
134 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So, this is a more involved approach and it's not a Firefox add-on but I thought I'd mention it:
https://fnordig.de/til/Machine-Translation/bergamot-subtitles.html
You'd play the YT videos outside the browser using mpv in combination with yt-dlp and an mpv lua script would do the translation locally using the Bergamot engine (which happens to be Mozilla's translation engine). Could be adapted to use other engines too.
You could also locally run it through Whisper from Open AI to create subs and then embed them using ffmpeg.
I do this for vids in languages i dont speak.
thanks for the suggestion!