<?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: xusheng</title>
    <description>The latest articles on DEV Community by xusheng (@_c382fb61bf5ea6597a9e8).</description>
    <link>https://dev.to/_c382fb61bf5ea6597a9e8</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%2F4228039%2F3b2b5104-670a-4f76-81bc-39146c258100.jpg</url>
      <title>DEV Community: xusheng</title>
      <link>https://dev.to/_c382fb61bf5ea6597a9e8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_c382fb61bf5ea6597a9e8"/>
    <language>en</language>
    <item>
      <title>Uploading a 5 GB video just to transcribe it? Extract the audio in the browser first</title>
      <dc:creator>xusheng</dc:creator>
      <pubDate>Mon, 16 Nov 2026 08:40:31 +0000</pubDate>
      <link>https://dev.to/_c382fb61bf5ea6597a9e8/uploading-a-5-gb-video-just-to-transcribe-it-extract-the-audio-in-the-browser-first-2o76</link>
      <guid>https://dev.to/_c382fb61bf5ea6597a9e8/uploading-a-5-gb-video-just-to-transcribe-it-extract-the-audio-in-the-browser-first-2o76</guid>
      <description>&lt;p&gt;If someone wants a transcript of a 2-hour screen recording, the file on their disk might be 4 GB. But the part a speech-to-text model needs is the sound, and speech models work at 16 kHz mono anyway. At 32 kbps Opus, an hour of mono speech is about 14 MB. Ten hours is about 144 MB.&lt;/p&gt;

&lt;p&gt;So for TranscribeLink I stopped asking people to upload the video. The browser pulls the audio track out first and uploads only that. Here's how it works and what I had to get right.&lt;/p&gt;

&lt;h2&gt;
  
  
  The tools: WebCodecs + Mediabunny
&lt;/h2&gt;

&lt;p&gt;WebCodecs gives the browser access to native audio encoders and decoders (&lt;code&gt;AudioDecoder&lt;/code&gt;, &lt;code&gt;AudioEncoder&lt;/code&gt;). On its own it doesn't read containers like MP4, MOV, MKV or WebM. For that I use &lt;a href="https://mediabunny.dev/" rel="noopener noreferrer"&gt;Mediabunny&lt;/a&gt;, a small library that demuxes and muxes those formats in the browser and drives WebCodecs for you.&lt;/p&gt;

&lt;p&gt;The core of it is a "conversion" that drops the video track and re-encodes the audio:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Input&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;source&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;BlobSource&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;formats&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;ALL_FORMATS&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getPrimaryAudioTrack&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'No audio track'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;output&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Output&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;format&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;OggOutputFormat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;target&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;BufferTarget&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;conversion&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nc"&gt;Conversion&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;init&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;video&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;discard&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;codec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'opus'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;numberOfChannels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sampleRate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;16000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;bitrate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;32000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;forceTranscode&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;conversion&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;onProgress&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;showProgress&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;conversion&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;execute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;audio&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;File&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;target&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;buffer&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'audio.ogg'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'audio/ogg'&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;BlobSource&lt;/code&gt; reads the file in slices, so a 5 GB video never has to fit in memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fallbacks matter more than the happy path
&lt;/h2&gt;

&lt;p&gt;Not every browser can encode Opus. I try two targets in order and check each one first with &lt;code&gt;canEncodeAudio&lt;/code&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Opus, mono, 16 kHz, 32 kbps, in an Ogg file (about 14 MB an hour)&lt;/li&gt;
&lt;li&gt;AAC, mono, 44.1 kHz, 48 kbps, in an MP4 file (about 22 MB an hour)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If the browser has no &lt;code&gt;AudioEncoder&lt;/code&gt; at all (older Safari), or neither codec works, nothing breaks: it just uploads the original file. Extraction is an optimisation, never a requirement.&lt;/p&gt;

&lt;h2&gt;
  
  
  Don't wait for extraction: race it
&lt;/h2&gt;

&lt;p&gt;Extracting audio from a long file takes time, and on a fast connection the original might upload before extraction finishes. So both start at once:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The original file starts uploading in chunks right away.&lt;/li&gt;
&lt;li&gt;Extraction runs in parallel.&lt;/li&gt;
&lt;li&gt;When extraction finishes, compare: if the bytes still left to upload are more than the size of the extracted audio, stop the upload, tell the server to replace it, and send the audio instead. Otherwise cancel extraction and let the original finish.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;first&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;race&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="n"&gt;sending&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;then&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;sent&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;extraction&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;then&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;audio&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;error&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;audio&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;uploadedFraction&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;stopUpload&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;replaceOnServer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;upload&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;audio&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On a slow connection the audio almost always wins, and that's exactly where it saves the most time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Small details that caught me
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Resumed uploads keep the original.&lt;/strong&gt; I resume interrupted uploads by byte offset. Extracted audio isn't byte-identical between runs, so a resumed upload continues with the original file instead of re-extracting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skip tiny files.&lt;/strong&gt; Below about 1 MB, extraction isn't worth the overhead, so those go up as they are.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Load the library early.&lt;/strong&gt; Mediabunny is about 690 KB minified. I start loading it when the user opens the file picker, so it's ready by the time they've chosen a file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use XMLHttpRequest for chunks.&lt;/strong&gt; &lt;code&gt;fetch&lt;/code&gt; doesn't report upload progress, so a big chunk shows 0% until it's done. &lt;code&gt;xhr.upload.onprogress&lt;/code&gt; lets the progress bar move smoothly, which matters when people are watching a multi-GB upload.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Result
&lt;/h2&gt;

&lt;p&gt;A long video becomes an audio file of tens of megabytes before it leaves the user's machine. The upload that used to be the slowest step is now usually the shortest, and the server never has to store or process the video.&lt;/p&gt;

&lt;p&gt;I use this in &lt;a href="https://transcribelink.com/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=browser-audio" rel="noopener noreferrer"&gt;TranscribeLink&lt;/a&gt;, where you can upload files up to 10 hours or 5 GB, or paste a video link, and get a transcript in 100 languages. If you've done something similar, I'd like to hear how you handled browsers without WebCodecs.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>webcodecs</category>
      <category>audio</category>
    </item>
    <item>
      <title>How to get a transcript of a TikTok or Instagram Reel (3 ways)</title>
      <dc:creator>xusheng</dc:creator>
      <pubDate>Thu, 05 Nov 2026 14:14:26 +0000</pubDate>
      <link>https://dev.to/_c382fb61bf5ea6597a9e8/how-to-get-a-transcript-of-a-tiktok-or-instagram-reel-3-ways-9dc</link>
      <guid>https://dev.to/_c382fb61bf5ea6597a9e8/how-to-get-a-transcript-of-a-tiktok-or-instagram-reel-3-ways-9dc</guid>
      <description>&lt;p&gt;&lt;em&gt;Update (November 16, 2026): TranscribeLink now takes files up to 10 hours or 5 GB, has an Unlimited plan with no minute cap, and works in 100 languages. Details below are updated to match.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Short videos are where a lot of ideas live now, but TikTok and Instagram don't give you a "copy transcript" button. Here are three ways to get the words out of a Reel or a TikTok, from zero setup to fully local.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Read the auto captions in the app (free, no export)
&lt;/h2&gt;

&lt;p&gt;Many TikToks and Reels show auto-generated captions. They're fine for reading along, but you can't copy or download them, and they only exist if the creator turned them on.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Download and run Whisper yourself (free, some setup)
&lt;/h2&gt;

&lt;p&gt;If you're comfortable with a terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yt-dlp -x --audio-format mp3 &lt;span class="s2"&gt;"&amp;lt;tiktok or instagram link&amp;gt;"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;then transcribe the MP3 with &lt;a href="https://github.com/SYSTRAN/faster-whisper" rel="noopener noreferrer"&gt;faster-whisper&lt;/a&gt; or &lt;a href="https://github.com/ggml-org/whisper.cpp" rel="noopener noreferrer"&gt;whisper.cpp&lt;/a&gt;. TikTok links usually work directly; Instagram often needs cookies from a logged-in browser (&lt;code&gt;--cookies-from-browser chrome&lt;/code&gt;). Use the &lt;code&gt;large-v3&lt;/code&gt; model if accuracy matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Paste the link into a transcription site (no setup)
&lt;/h2&gt;

&lt;p&gt;Web tools fetch the video for you and return text in a few seconds. I built one, &lt;a href="https://transcribelink.com" rel="noopener noreferrer"&gt;TranscribeLink&lt;/a&gt;: paste a public TikTok, Instagram Reel, YouTube or X link and you get a word-for-word transcript with punctuation, in the language that was spoken. It can label speakers, translate into 55 languages and export TXT, DOCX, PDF or SRT. Your first 3 transcripts (up to 10 minutes each) are free, and the first needs no sign-up. Other tools exist too; pick whichever fits your volume and budget.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things that trip people up
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Private or followers-only posts can't be fetched&lt;/strong&gt; by any tool. The video has to be public.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Music-only clips have no speech.&lt;/strong&gt; A good tool says "no speech found" instead of inventing lyrics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Names and slang get misheard.&lt;/strong&gt; Skim the transcript before you quote it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Respect the creator.&lt;/strong&gt; Quote with credit, and only reuse content you have the right to use.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;You want&lt;/th&gt;
&lt;th&gt;Use&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;To read along once&lt;/td&gt;
&lt;td&gt;In-app auto captions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Free, private, many files&lt;/td&gt;
&lt;td&gt;yt-dlp + Whisper&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Text in seconds, no setup&lt;/td&gt;
&lt;td&gt;A transcription site&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I'm the developer of TranscribeLink.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>tiktok</category>
      <category>instagram</category>
      <category>ai</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to get a transcript from any video link or audio file (2026)</title>
      <dc:creator>xusheng</dc:creator>
      <pubDate>Thu, 05 Nov 2026 08:53:48 +0000</pubDate>
      <link>https://dev.to/_c382fb61bf5ea6597a9e8/how-to-get-a-transcript-from-any-video-link-or-audio-file-2026-10n2</link>
      <guid>https://dev.to/_c382fb61bf5ea6597a9e8/how-to-get-a-transcript-from-any-video-link-or-audio-file-2026-10n2</guid>
      <description>&lt;p&gt;&lt;em&gt;Update (November 16, 2026): TranscribeLink now takes files up to 10 hours or 5 GB, has an Unlimited plan with no minute cap, and works in 100 languages. Details below are updated to match.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Whether it's a YouTube lecture, a TikTok, a podcast episode or a voice memo, there are four practical ways to turn speech into text. Here's when to use each.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. YouTube's built-in transcript (free, captioned YouTube videos only)
&lt;/h2&gt;

&lt;p&gt;On desktop, open the video, click &lt;strong&gt;...more&lt;/strong&gt; under the title, then &lt;strong&gt;Show transcript&lt;/strong&gt;. It's good for skimming, but copying it out gives you a timestamp on every line.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. yt-dlp (free, for developers)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yt-dlp --write-subs --write-auto-subs --sub-langs en --skip-download &lt;span class="s2"&gt;"&amp;lt;url&amp;gt;"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This saves the caption file without downloading the video. It works on many sites besides YouTube, but only if captions exist.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Whisper on your own machine (free, any audio)
&lt;/h2&gt;

&lt;p&gt;When there are no captions, you need speech recognition. Download the audio (&lt;code&gt;yt-dlp -x&lt;/code&gt;) and run &lt;a href="https://github.com/SYSTRAN/faster-whisper" rel="noopener noreferrer"&gt;faster-whisper&lt;/a&gt; or &lt;a href="https://github.com/ggml-org/whisper.cpp" rel="noopener noreferrer"&gt;whisper.cpp&lt;/a&gt;. Use &lt;code&gt;large-v3&lt;/code&gt; for accuracy, and expect to need a GPU for long files.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. A hosted tool (no setup)
&lt;/h2&gt;

&lt;p&gt;If you don't want to install anything, paste the link or upload the file to a web tool. I built one, &lt;a href="https://transcribelink.com" rel="noopener noreferrer"&gt;TranscribeLink&lt;/a&gt;: it transcribes the audio with ElevenLabs Scribe v3, which is 98.1% accurate on the Artificial Analysis speech-to-text benchmark, works with YouTube, TikTok, Instagram, X, Vimeo, SoundCloud and direct MP3/MP4 links, labels speakers, and exports TXT, DOCX, PDF, SRT and VTT. Your first 3 transcripts (up to 10 minutes each) are free, and the first needs no sign-up. For recurring meetings, meeting-focused apps like Otter are a better fit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tips for better accuracy
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Clean audio beats a bigger model. Reduce background music and crosstalk when you can.&lt;/li&gt;
&lt;li&gt;Always check names, numbers and jargon before you publish a quote.&lt;/li&gt;
&lt;li&gt;For subtitles, export SRT or VTT so the timestamps stay attached to the text.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Which one should you use?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;You have&lt;/th&gt;
&lt;th&gt;Use&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A captioned YouTube video you just want to read&lt;/td&gt;
&lt;td&gt;YouTube's Show transcript&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Captions, and you script things&lt;/td&gt;
&lt;td&gt;yt-dlp&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No captions, and a GPU&lt;/td&gt;
&lt;td&gt;Whisper locally&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No captions, no setup, or a TikTok/Instagram/X link&lt;/td&gt;
&lt;td&gt;A hosted tool&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I'm the developer of TranscribeLink.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>tutorial</category>
      <category>youtube</category>
    </item>
  </channel>
</rss>
