Whisper

Automatic Subtitle creation and translation (to English) with OpenAI’s Whisper

I’ve been having the issue over the last decades that the available subtitles from the well known sites are quite often not suitable for the videos that I have saved locally. Often downloaded videos, especially from YouTube, don’t have sub-titles, which is a requirement in my household, as we speak different languages. (A guide on how to download playlists or even whole channels from YouTube, can be found here) The cumbersome way of getting proper subtitles was to manually extract the audio, upload to YouTube and then download the .vtt.
In this age of emerging A.I., there is an easier way. Hence this Python Script, which will extract the audio and with the help of OpenAI’s Whisper, transcribe it (and translate it to English if so wished) to a subtitle file (SRT) to be placed directly with the video file.

PowerShell

Automate downloading of Youtube Channels with YT-DLP and PowerShell

Watching or listening to Youtube playlists can be very frustrating with all the ads that are being thrown at you and this seems to have gotten worse over the years. A way around this is to download your favourite Youtube playlists. You can import these into your media-server, like Emby or Jellyfin, and watch the downloaded videos on which ever screen you have setup with this server.

You can add as many playlists and channels for auto-download as you’d like. Add it to a Scheduler or Cron job to keep your local copies up to date (The script won’t redownload the already downloaded files, it checks). The size of your disk is the limit.