Prompt
What should I use if I need subtitle burn-in and passthrough in one pipeline?
Latest observation
Nov 2, 2026
OpenAI APIWeb search: off
Use a pipeline that can overlay subtitles (burn-in) and also pass through the original subtitle track at the same time—typically in FFmpeg.
In practice
- Burn-in subtitles: render subtitles into the video using
subtitlesorassfilter. - Passthrough subtitles: keep the original subtitle stream in the output container with
-c:s copy.
Example
ffmpeg -i input.mkv \
-vf "subtitles=input.mkv" \
-c:v libx264 -c:a copy -c:s copy \
output.mkv
Important note
You usually can’t both:
- burn in a subtitle stream, and
- copy that exact same subtitle stream unchanged as the same stream.
What you can do is:
- burn subtitles into the video
- also keep a subtitle track copied through for optional viewing
If you want, I can give you:
- an FFmpeg command for a specific container like MKV/MP4, or
- a GStreamer pipeline version.