<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jens Louw-Christensen</title>
    <description>The latest articles on DEV Community by Jens Louw-Christensen (@cuecaps).</description>
    <link>https://dev.to/cuecaps</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4263603%2F21d24b2b-f7d8-4c1f-a7d6-e63c58668f30.png</url>
      <title>DEV Community: Jens Louw-Christensen</title>
      <link>https://dev.to/cuecaps</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cuecaps"/>
    <language>en</language>
    <item>
      <title>ffmpeg subtitles cheat sheet: burn in, soft tracks, convert, shift and extract</title>
      <dc:creator>Jens Louw-Christensen</dc:creator>
      <pubDate>Wed, 25 Nov 2026 02:21:39 +0000</pubDate>
      <link>https://dev.to/cuecaps/ffmpeg-subtitles-cheat-sheet-burn-in-soft-tracks-convert-shift-and-extract-3l4d</link>
      <guid>https://dev.to/cuecaps/ffmpeg-subtitles-cheat-sheet-burn-in-soft-tracks-convert-shift-and-extract-3l4d</guid>
      <description>&lt;p&gt;Every command I reach for when a video needs subtitles: burn them in, add a track viewers can turn off, convert, shift and pull them out.&lt;/p&gt;

&lt;h2&gt;
  
  
  Burn subtitles into the picture
&lt;/h2&gt;

&lt;p&gt;For TikTok, Reels and Shorts, which don't use uploaded subtitle files:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ffmpeg -i video.mp4 -vf &lt;span class="s2"&gt;"subtitles=subs.srt"&lt;/span&gt; -c:a copy out.mp4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Change the look while burning (font, size, outline, distance from the bottom):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ffmpeg -i video.mp4 -vf &lt;span class="s2"&gt;"subtitles=subs.srt:force_style='FontName=Montserrat,FontSize=22,Outline=2,MarginV=60'"&lt;/span&gt; -c:a copy out.mp4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An ASS file keeps its own styles and karaoke timing, so use the &lt;code&gt;ass&lt;/code&gt; filter:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ffmpeg -i video.mp4 -vf &lt;span class="s2"&gt;"ass=subs.ass"&lt;/span&gt; -c:a copy out.mp4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On Windows, a path with a drive letter needs the colon escaped inside the filter: &lt;code&gt;subtitles='C\:/clips/subs.srt'&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add a subtitle track viewers can switch off
&lt;/h2&gt;

&lt;p&gt;MP4 takes the &lt;code&gt;mov_text&lt;/code&gt; codec, MKV takes SRT as it is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ffmpeg -i video.mp4 -i subs.srt -c copy -c:s mov_text -metadata:s:s:0 &lt;span class="nv"&gt;language&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;eng out.mp4
ffmpeg -i video.mp4 -i subs.srt -c copy -c:s srt out.mkv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Convert, shift and extract
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ffmpeg -i subs.vtt subs.srt                   &lt;span class="c"&gt;# VTT to SRT&lt;/span&gt;
ffmpeg -itsoffset 1.5 -i subs.srt shifted.srt &lt;span class="c"&gt;# every subtitle 1.5 s later (a negative number moves them earlier)&lt;/span&gt;
ffmpeg -i movie.mkv -map 0:s:0 subs.srt       &lt;span class="c"&gt;# the first subtitle track out of a video&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Without a terminal
&lt;/h2&gt;

&lt;p&gt;The same jobs run in the browser, with nothing uploaded: &lt;a href="https://cuecaps.com/tools/srt-to-vtt" rel="noopener noreferrer"&gt;SRT to VTT&lt;/a&gt;, &lt;a href="https://cuecaps.com/tools/vtt-to-srt" rel="noopener noreferrer"&gt;VTT to SRT&lt;/a&gt;, &lt;a href="https://cuecaps.com/tools/shift-subtitles" rel="noopener noreferrer"&gt;shift subtitles&lt;/a&gt; and &lt;a href="https://cuecaps.com/tools/clean-subtitles" rel="noopener noreferrer"&gt;clean up a broken SRT&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For animated word-by-word captions, where each word lights up as it's spoken, &lt;a href="https://cuecaps.com" rel="noopener noreferrer"&gt;Cuecaps&lt;/a&gt; transcribes the video on your own computer and exports the MP4, a transparent overlay or an ASS file with word timing for the &lt;code&gt;ass&lt;/code&gt; filter above.&lt;/p&gt;

</description>
      <category>ffmpeg</category>
      <category>video</category>
      <category>cli</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Karaoke subtitles: word-by-word timing in an ASS file, free in the browser</title>
      <dc:creator>Jens Louw-Christensen</dc:creator>
      <pubDate>Wed, 25 Nov 2026 02:21:12 +0000</pubDate>
      <link>https://dev.to/cuecaps/karaoke-subtitles-word-by-word-timing-in-an-ass-file-free-in-the-browser-2fki</link>
      <guid>https://dev.to/cuecaps/karaoke-subtitles-word-by-word-timing-in-an-ass-file-free-in-the-browser-2fki</guid>
      <description>&lt;p&gt;Open &lt;a href="https://cuecaps.com/karaoke-subtitles" rel="noopener noreferrer"&gt;Cuecaps&lt;/a&gt; in your browser and add your video or song. Cuecaps finds every word and its timing, and the Karaoke style moves a box onto each word as it is heard. Export an MP4 with the karaoke captions in the picture, or an ASS file with word-by-word timing that VLC, mpv, FFmpeg and Aegisub play as karaoke. ASS files are free on every plan.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make karaoke subtitles in four steps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open &lt;a href="https://cuecaps.com/karaoke-subtitles" rel="noopener noreferrer"&gt;cuecaps.com/karaoke-subtitles&lt;/a&gt;, click Choose a video and pick your video or audio file. The studio opens in the Karaoke style.&lt;/li&gt;
&lt;li&gt;Click Find words and pick the language. Cloud copes best with singing over music.&lt;/li&gt;
&lt;li&gt;Fix any word in the transcript and play it back; drag a word on the waveform timeline if it lights up early or late.&lt;/li&gt;
&lt;li&gt;Export Video (MP4) for the karaoke captions in the picture, or choose Subtitles and ASS karaoke for a subtitle file.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Songs and lyric videos
&lt;/h2&gt;

&lt;p&gt;Clear vocals transcribe well. For a busy mix, bring in the lyrics instead: save them as an SRT with one line per subtitle, drop it onto the studio, and Cuecaps spreads each line's words across its time and snaps them to the vocal. Then drag any word that still lands early or late.&lt;/p&gt;

&lt;p&gt;The highlight is yours to change: a box behind the word, a color change, a word that grows, or words that appear as they are sung. Two lines suit lyrics, so the singer's next phrase is already on screen.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Karaoke: The lyric look: two lines, with a purple box jumping onto each word as it is sung.&lt;/li&gt;
&lt;li&gt;Rounded: Bouncy capitals with a green box on the current word.&lt;/li&gt;
&lt;li&gt;Editorial: A serif line where words still to come are dimmed, so the voice lights them up.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  MP4 or ASS file
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;MP4: the karaoke captions are part of the picture, so they play the same on TikTok, YouTube, Instagram or a TV. Free exports have a small Made with cuecaps.com watermark; Creator removes it.&lt;/li&gt;
&lt;li&gt;ASS karaoke: a subtitle file in which every word has its own timing, in your caption's font, colors and position. VLC, mpv, FFmpeg and Aegisub highlight each word as it is heard. No watermark, on every plan.&lt;/li&gt;
&lt;li&gt;SRT and VTT: plain subtitles, one line at a time, for players without karaoke support.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To burn the ASS file into a video with your own tools, FFmpeg's subtitles filter reads its karaoke timing.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://cuecaps.com/burn-subtitles-into-video" rel="noopener noreferrer"&gt;Burn subtitles into a video, free and online&lt;/a&gt;: Burn an SRT into your video so the subtitles are part of the picture: drop the video and SRT into Cuecaps, or use HandBrake or FFmpeg for free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://cuecaps.com/word-by-word-captions" rel="noopener noreferrer"&gt;Word by word captions, free in your browser&lt;/a&gt;: Make word by word captions that show or highlight each word as it is spoken: drop a video, pick one word at a time or a highlighted word, export the MP4.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How do I make karaoke subtitles?
&lt;/h3&gt;

&lt;p&gt;Open &lt;a href="https://cuecaps.com/karaoke-subtitles" rel="noopener noreferrer"&gt;cuecaps.com/karaoke-subtitles&lt;/a&gt;, choose the video or song, click Find words, fix any word and export an MP4 or an ASS karaoke file.&lt;/p&gt;

&lt;h3&gt;
  
  
  Which players show ASS karaoke?
&lt;/h3&gt;

&lt;p&gt;VLC, mpv, FFmpeg and Aegisub all read the word timing in Cuecaps' ASS files. For players that don't, export the MP4 with the captions burned in.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I use my own lyrics?
&lt;/h3&gt;

&lt;p&gt;Yes. Save the lyrics as an SRT with one line per subtitle and drop it onto the studio. Each line's words are timed across it and snapped to the vocal.&lt;/p&gt;

&lt;h3&gt;
  
  
  Are karaoke subtitles free?
&lt;/h3&gt;

&lt;p&gt;Yes. Transcription on your device, the Karaoke style and ASS, SRT and VTT files are free. Free MP4 exports have a small watermark.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First published at &lt;a href="https://cuecaps.com/karaoke-subtitles" rel="noopener noreferrer"&gt;cuecaps.com/karaoke-subtitles&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>video</category>
      <category>tutorial</category>
      <category>ffmpeg</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
