Anthias icon indicating copy to clipboard operation
Anthias copied to clipboard

Feature Request - yt-dlp Embed Subtitles

Open desmphil opened this issue 1 year ago • 1 comments

I would like to port my own homebrew digital signage to Anthias, but im lacking a single feature, Subtitles and Caption in the video

All it needs is to offer an option and download the subtitles with YT-DLP while downloading the video? So i did try to modify the /screenly/lib/utils.py to include the Subtitles:

call(['yt-dlp', '-f', 'mp4', '--sub-lang', 'fr-CA', '--embed-subs', '-o', self.location, self.uri])

What is the process of downloading from videos, is this read from /screenly/lib/utils.py or its a docker image?

desmphil avatar Apr 04 '24 10:04 desmphil

@desmphil Thank you for creating an issue. Anthias is containerize; it uses Docker containers for the services. And yes, it's called inside a container, from /screenly/lib/utils.py.

nicomiguelino avatar Apr 04 '24 17:04 nicomiguelino