TubeSum ← Transcribe a video

Hardcode subtitles on mp4 video using ffmpeg

Transcribed Jun 15, 2026 Watch on YouTube ↗
Beginner 1 min read For: Beginners who want to learn how to hardcode subtitles using ffmpeg.
1.8K
Views
11
Likes
5
Comments
0
Dislikes
0.9%
📊 Average

AI Summary

This video demonstrates how to hardcode subtitles onto an MP4 video using the ffmpeg command-line tool. It shows the process of taking an SRT subtitle file and embedding it permanently into the video stream.

[0:00]
Verbal fluency vs intelligence

The speaker notes that people often mistake verbal fluency for intelligence and correctness, and that it's hard to slow down and think critically when listening.

[0:18]
Goal of the video

The video aims to teach how to hardcode subtitles on a video using ffmpeg.

[0:23]
Example files

The speaker shows an MP4 video and an SRT subtitle file containing four segments.

[0:40]
ffmpeg command

The command is: ffmpeg -i input.mp4 -vf "subtitles=subtitle.srt:force_style='FontSize=24'" output.mp4. The speaker specifies only font size, leaving other style options as default.

[1:46]
Process completion

The process completes and the output file is created.

[1:51]
Verification

The output video is opened with VLC, showing the subtitles hardcoded.

Hardcoding subtitles with ffmpeg is straightforward using the subtitles filter, allowing customization of style options like font size.

Clickbait Check

100% Legit

"Title perfectly matches content: the video delivers exactly what it promises."

Mentioned in this Video

Tutorial Checklist

1 0:40 Open terminal and navigate to folder containing video and SRT file.
2 0:47 Run ffmpeg command: ffmpeg -i input.mp4 -vf "subtitles=subtitle.srt:force_style='FontSize=24'" output.mp4
3 1:46 Wait for process to complete. Output file is created.

Study Flashcards (3)

What ffmpeg filter is used to hardcode subtitles?

easy Click to reveal answer

The subtitles filter.

0:58

What is the basic ffmpeg command to hardcode subtitles?

medium Click to reveal answer

ffmpeg -i input.mp4 -vf "subtitles=subtitle.srt:force_style='FontSize=24'" output.mp4

0:47

What style option is specified in the example?

easy Click to reveal answer

FontSize=24

1:21

💡 Key Takeaways

💡

Verbal fluency mistaken for intelligence

Provides a thought-provoking insight about cognitive biases in communication.

🔧

ffmpeg command for hardcoding subtitles

Core technique demonstrated in the tutorial.

0:47

✂️ Creator Tools: Viral Hooks

AI-generated clip ideas for Shorts based on the transcript

Verbal fluency vs intelligence

45s

Challenges common assumptions about intelligence, sparking debate.

▶ Play Clip

Hardcode subtitles with ffmpeg

60s

Practical tutorial for a common video editing task.

▶ Play Clip

Customize subtitle style

60s

Shows how to adjust font size and other options, useful for creators.

▶ Play Clip

[00:00] we can often mistake verbal fluency for

[00:03] intelligence and correctness

[00:05] um and you know it's very hard to slow

[00:07] down and really check something and

[00:10] think something through you're very

[00:11] prone to logical fallacies when you're

[00:13] just listening to something rather than

[00:14] taking it in in your own time

[00:18] in this video we'll learn how to hard

[00:19] quotes update on video using ffmp

[00:22] command

[00:23] so here is a

[00:26] video and it's a subtitle file

[00:31] so here you can see it contains four

[00:35] segments

[00:36] I want to hardcore this subtitle on the

[00:39] video

[00:40] go to the terminal

[00:44] uh here is that video and this is a SRT

[00:46] file

[00:47] use MPEG command

[00:51] first to specify the input here is a

[00:54] Helen dot MP4 then use the VF option

[00:58] start with the subtitle

[01:00] subtitles here is the subtitle is Lou

[01:03] Who is

[01:05] dot SRT

[01:07] I use a colon

[01:09] here you can specify the

[01:12] style 4 Style

[01:16] are equal to now specify the font size

[01:21] 24

[01:23] style supports other options like margin

[01:26] Shadow border style Android

[01:28] I will go with all the default options

[01:32] here so that's all I will specify only

[01:34] on font size now you can specify the

[01:37] output file name output dot MP4

[01:41] MP4

[01:42] okay you can enter

[01:46] yeah the process completed

[01:51] yeah here is the output.m before we I

[01:54] will open with VLC VLC output

[02:00] we can often mistake verbal fluency for

[02:02] intelligence and correctness

[02:05] um and you know it's very hard to slow

[02:07] down and really check something and

[02:09] think something through you're very

[02:10] prone to logical fallacies when you're

[02:12] just listening to something rather than

[02:14] taking it in in your own time

[02:17] thanks for watching

⚡ Saved you time reading this? Transcribe any YouTube video for free — no signup needed.