Last active
January 15, 2026 17:51
-
-
Save maaduukaar/7ce93187ae10c499ccd67141491f2683 to your computer and use it in GitHub Desktop.
Download a YouTube video with Russian subtitles and burn them into the video (hard subs) on Windows using yt-dlp and FFmpeg.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| G:\Soft\yt-dlp.exe --ffmpeg-location G:\Soft\ffmpeg\bin --write-subs --sub-lang ru --convert-subs srt -f "bv*+ba/b" -o "video.%(ext)s" https://www.youtube.com/watch?v=HK81_DP4U7Y ; G:\Soft\ffmpeg\bin\ffmpeg.exe -i video.mkv -vf subtitles=video.ru.srt out.mp4 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
π¬ YouTube β Video with Hard Subtitles (Windows)
This mini-guide explains how to download a YouTube video and burn subtitles directly into the image (hard subs) using yt-dlp and FFmpeg.
π§° Requirements
πΉ yt-dlp
Download the Windows executable from the official
yt-dlp GitHub releases page.
Look for the file named yt-dlp.exe.
πΉ FFmpeg
Download a Windows build from the official
FFmpeg website.
Choose a Windows static build and extract it.
π Adding FFmpeg to the system PATH is optional β you can provide its location directly.
βοΈ What this setup does
β Downloads the best available video and audio
β Downloads Russian subtitles (author or auto-generated)
β Converts subtitles to SRT format
β Burns subtitles permanently into the video (hard subs)
β Produces a final MP4 file
βΉοΈ Notes
β¨ Clean, reliable, and suitable for repeated or scripted use.