---
title: 'Hardcode subtitles on mp4 video using ffmpeg'
source: 'https://youtube.com/watch?v=R7RY1U_XcuQ'
video_id: 'R7RY1U_XcuQ'
date: 2026-06-15
duration_sec: 0
---

# Hardcode subtitles on mp4 video using ffmpeg

> Source: [Hardcode subtitles on mp4 video using ffmpeg](https://youtube.com/watch?v=R7RY1U_XcuQ)

## 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.

### Key Points

- **Verbal fluency vs intelligence** [0:00] — 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.
- **Goal of the video** [0:18] — The video aims to teach how to hardcode subtitles on a video using ffmpeg.
- **Example files** [0:23] — The speaker shows an MP4 video and an SRT subtitle file containing four segments.
- **ffmpeg command** [0:40] — 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.
- **Process completion** [1:46] — The process completes and the output file is created.
- **Verification** [1:51] — The output video is opened with VLC, showing the subtitles hardcoded.

### Conclusion

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

## Transcript

we can often mistake verbal fluency for
intelligence and correctness
um and you know it's very hard to slow
down and really check something and
think something through you're very
prone to logical fallacies when you're
just listening to something rather than
taking it in in your own time
in this video we'll learn how to hard
quotes update on video using ffmp
command
so here is a
video and it's a subtitle file
so here you can see it contains four
segments
I want to hardcore this subtitle on the
video
go to the terminal
uh here is that video and this is a SRT
file
use MPEG command
first to specify the input here is a
Helen dot MP4 then use the VF option
start with the subtitle
subtitles here is the subtitle is Lou
Who is
dot SRT
I use a colon
here you can specify the
style 4 Style
are equal to now specify the font size
24
style supports other options like margin
Shadow border style Android
I will go with all the default options
here so that's all I will specify only
on font size now you can specify the
output file name output dot MP4
MP4
okay you can enter
yeah the process completed
yeah here is the output.m before we I
will open with VLC VLC output
we can often mistake verbal fluency for
intelligence and correctness
um and you know it's very hard to slow
down and really check something and
think something through you're very
prone to logical fallacies when you're
just listening to something rather than
taking it in in your own time
thanks for watching
