How to generate and add subtitles to videos using Python, OpenAI Whisper, and FFmpeg
Learn how to generate video transcripts using the OpenAI Whisper model and add them as subtitles using FFmpeg. Follow this tutorial to get started!
A subtitle file is a text file that contains timed text information corresponding to spoken or written content in a video or film. It typically includes information about when each subtitle should appear and disappear on the screen. There are many subtitle formats, however, in this tutorial, we will focus on the widely used format named SubRip (SRT).
How I build development environment for web developers using Proxmox and Dedicated Server
Introduction Welcome to my journey of creating a stable and reliable development environment for web developers. This environment is built upon a dedicated server running Proxmox. Our primary goals were to provide each developer with an isolated and accessible development environment both from the Internet and the local network.
Setup Dedicated Server We chose a dedicated server from OVH with the following specifications:
CPU: Intel Xeon E3-1270v6 (4 cores, 8 threads, 3.
Tutorial: Creating a Friendica Server with Ubuntu 22.04
The main Friendica
documentation has install instructions
for setting up the core part of the system. However it assumes that you have properly installed all the dependencies and leaves securing the system as an exercise to the user. While I have found a couple of tutorials around the internet like this one
or this one
to fill in the gaps before that I have found them a little lacking and dated as well. I was able to make my way through it but I’m not sure if all will. I therefore decided to write this soup to nuts tutorial on standing up a Friendica instance with Ubuntu 22.04. Please use the table of contents to skip parts that you don’t need, like setting up your cloud instance.
# List of source directories to backup.
source_directories:
- /home
- /etc
# Paths of local or remote repositories to backup to.
repositories:
- path: ssh://k8pDxu32@k8pDxu32.repo.borgbase.com/./repo
label: borgbase
- path: /var/lib/backups/local.borg
label: local
# Retention policy for how many backups to keep.
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
# List of checks to run to validate your backups.
checks:
- name: repository
- name: archives
frequency: 2 weeks
# Custom preparation scripts to run.
before_backup:
- prepare-for-backup.sh
# Databases to dump and include in backups.
postgresql_databases:
- name: users
# Third-party services to notify you if backups aren't happening.
healthchecks:
ping_url: https://hc-ping.com/be067061-cf96-4412-8eae-62b0c50d6a8c
Top 5 Mistakes HomeLabs Make (watch before you start)
This video goes over the top 5 mistakes that new HomeLab users make when they startup their homelabs!
Hire Me! https://www.spacerex.co/hire-me/
Become a channel member!!!! https://www.youtube.com/c/spacerexwill/join
#HomeLab #Networking #virtualization
Affilate Links: (Synology Recommendations)
The new DS923+: https://amzn.to/3EuyaFx
Hard drives that I use: https://geni.us/k6GqFW
SSD I use with Synology: https://geni.us/AwOU
Going 10GbE:
Synology 10GbE (RJ45) Card: https://geni.us/d6KK94h
Starter 10GbE switch: https://geni.us/dHOpA
*These are affiliate links, which means that if you purchase a product through one of them, I will receive a small commission (at no additional cost to you). Thank you for supporting my channel!