<?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: QianGull</title>
    <description>The latest articles on DEV Community by QianGull (@qiangull).</description>
    <link>https://dev.to/qiangull</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%2F4275340%2Feed95266-0a09-43e6-9876-ae83c6552b7f.png</url>
      <title>DEV Community: QianGull</title>
      <link>https://dev.to/qiangull</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/qiangull"/>
    <language>en</language>
    <item>
      <title>Transcript search turns "find that moment" into a text problem</title>
      <dc:creator>QianGull</dc:creator>
      <pubDate>Thu, 03 Dec 2026 10:22:46 +0000</pubDate>
      <link>https://dev.to/qiangull/transcript-search-turns-find-that-moment-into-a-text-problem-20pf</link>
      <guid>https://dev.to/qiangull/transcript-search-turns-find-that-moment-into-a-text-problem-20pf</guid>
      <description>&lt;p&gt;I build a desktop app called ClipKnife for people who edit video on their own machines. A third of the design arguments I have with myself come down to one question: when someone says "find that moment", what am I actually searching?&lt;/p&gt;

&lt;p&gt;There are two very different engineering problems hiding behind that sentence.&lt;/p&gt;

&lt;h3&gt;
  
  
  The expensive one: searching pixels
&lt;/h3&gt;

&lt;p&gt;To search a shot by what happens in it, you need something to look at frames and write words down. So the pipeline is: split the video into shots, pick a representative frame from each, ask a model to describe it, store the description, and let the description be searched.&lt;/p&gt;

&lt;p&gt;That works, and it is also the part I argue about most, because every step throws information away. A shot that lasts four seconds gets one frame. A handoff that happens at the end of a long take can be entirely outside the frame I chose. The model describes what it is confident about, which is not the same as what is interesting.&lt;/p&gt;

&lt;p&gt;So I treat that pipeline as one signal, not as the truth. The interface has an input placeholder that says, roughly, "describe the picture, tags, or words spoken in audio or video" — one field, three kinds of memory. But the three kinds are not equally easy to serve.&lt;/p&gt;

&lt;h3&gt;
  
  
  The cheap one: searching words
&lt;/h3&gt;

&lt;p&gt;If the moment you're looking for is something somebody &lt;em&gt;said&lt;/em&gt;, the whole vision-model problem disappears. You run speech-to-text once, you get back segments with timestamps, and now the question "where does she say that thing about moving to a smaller city" becomes a substring search over text I already have.&lt;/p&gt;

&lt;p&gt;This is the part of my product I'd defend hardest, and it is not clever. Text search is thirty years of solved engineering. What made it useful here was deciding what to store.&lt;/p&gt;

&lt;p&gt;Every transcript segment carries: the text, its start and end time, which media file it belongs to, and a precision flag.&lt;/p&gt;

&lt;p&gt;That flag is the decision that mattered.&lt;/p&gt;

&lt;h3&gt;
  
  
  Word timestamps are a promise you may not be able to keep
&lt;/h3&gt;

&lt;p&gt;Word-level timing sounds obviously better: if you know the exact milliseconds of each word, you can cut precisely around a phrase. In practice, word timing quality depends on the audio, and I don't want to pretend otherwise in the data model.&lt;/p&gt;

&lt;p&gt;So when word-level timing isn't available, the hit is marked as segment-level only, and the interface says so in plain text: "segment level only". It changes what the buttons offer. Instead of "add the sentence", you get "add the whole segment".&lt;/p&gt;

&lt;p&gt;Encoding precision as data rather than as a footnote is the pattern I'd reuse in any text-heavy tool. The moment your UI has to explain that a number is approximate, that approximation should have been a field.&lt;/p&gt;

&lt;h3&gt;
  
  
  The search result is not a clip
&lt;/h3&gt;

&lt;p&gt;Once you find the line, the naive move is to cut a file out of the original. That is how media libraries rot: now you have two copies, one of which is quietly stale.&lt;/p&gt;

&lt;p&gt;So the output of my transcript-montage tool is one of two things. Either a rendered MP4 that keeps the original audio of the segments you queued, or an editor draft that references the original files and leaves them exactly where they are. The same segment can appear in several projects because nothing was duplicated to make the project.&lt;/p&gt;

&lt;p&gt;The queue itself is where the human judgment lives. For each candidate you pick one of three grabs: the matched word, the whole sentence, or the whole segment. I kept them as three separate buttons rather than one smart default, because "which part of this take is usable" is the question I cannot answer for you.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I'm careful not to claim
&lt;/h3&gt;

&lt;p&gt;Transcription and indexing run on your own machine, and your raw footage is not uploaded. Activation and updates do need a connection — "local-first" describes where your media lives, not that the app never talks to a server.&lt;/p&gt;

&lt;p&gt;I also don't publish recall or timing numbers. A search that returns something confident and wrong is worse than one that returns nothing, and the interesting engineering question is how the interface admits that, not how fast the first pass is.&lt;/p&gt;

&lt;p&gt;If you work on any media tool: what did you end up storing next to your text index — offsets, confidences, precision flags? I'd like to hear what the people who do this at larger scale settled on.&lt;/p&gt;

</description>
      <category>localfirst</category>
      <category>privacy</category>
      <category>devtools</category>
      <category>buildinpublic</category>
    </item>
    <item>
      <title>I spent three months learning that editors don't lose files — they lose moments</title>
      <dc:creator>QianGull</dc:creator>
      <pubDate>Wed, 02 Dec 2026 10:16:27 +0000</pubDate>
      <link>https://dev.to/qiangull/i-spent-three-months-learning-that-editors-dont-lose-files-they-lose-moments-56m0</link>
      <guid>https://dev.to/qiangull/i-spent-three-months-learning-that-editors-dont-lose-files-they-lose-moments-56m0</guid>
      <description>&lt;p&gt;I build a Windows desktop app called ClipKnife. It indexes local video and photo libraries so you can find a shot by describing it. When I first pitched it, I described it as "search your files by content". Editors corrected me within a day: they don't lose files. They lose moments.&lt;/p&gt;

&lt;p&gt;That distinction rewrote most of the product. Here's what I learned building it, including the turn I got wrong first.&lt;/p&gt;

&lt;h3&gt;
  
  
  The problem is not "where", it's "which"
&lt;/h3&gt;

&lt;p&gt;A folder called &lt;code&gt;2024-03-15 coffee shop&lt;/code&gt; is findable. Inside it there are forty clips, all named by the camera: &lt;code&gt;MVI_0711.mp4&lt;/code&gt;, &lt;code&gt;MVI_0712.mp4&lt;/code&gt;. What the editor wants is the three seconds where the barista looks up and laughs before she says anything.&lt;/p&gt;

&lt;p&gt;File search can't answer that. Tag-based asset managers can, in principle — but only if somebody sat down and tagged forty clips, which nobody does, and which stops being true the moment the next shoot lands.&lt;/p&gt;

&lt;p&gt;So the requirement I settled on: the machine should be able to tell me which segments match a description, without me having to pre-label anything, and without moving the files.&lt;/p&gt;

&lt;h3&gt;
  
  
  My first wrong turn: treating it as a metadata problem
&lt;/h3&gt;

&lt;p&gt;Early versions indexed filenames, folder names, capture dates and any sidecar subtitles. It felt productive. It was mostly useless for the actual task, because the information the editor remembers — a gesture, a lighting change, a face turning toward a window — is inside the pixels.&lt;/p&gt;

&lt;p&gt;I moved to visual indexing. The app cuts each video into shots, keeps a representative frame per shot, and stores an embedding for it. Text search over images and video frames goes through the same embedding space, which is why "close-up of pouring water" can hit a clip named &lt;code&gt;MVI_0728.mp4&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Two things followed that I hadn't fully anticipated:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Indexing is a job, not a button.&lt;/strong&gt; On a large library the first pass is measured in hours, not seconds. It runs as queue tasks with progress, elapsed time and an estimated remaining time you can watch, and you can keep working while it runs. I made that visible in the UI instead of hiding it, because hiding it made people think the app was broken.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The sampler works per shot, not per frame.&lt;/strong&gt; Each shot contributes representative frames, and the shot boundaries come from scene detection. That is a design choice with a tradeoff, and I'd rather state the mechanism plainly than let you discover it mid-deadline.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  What I won't claim
&lt;/h3&gt;

&lt;p&gt;This is where a lot of local AI tools lose me, so I'll be concrete.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It is not offline software.&lt;/strong&gt; Building the index, searching, shot detection and transcription run on your machine, and your raw footage isn't uploaded to my service. But activation, licence checks, updates, notifications, component fetches and telemetry do talk to a server. "Local-first" is a statement about where the heavy work happens, not a claim that the binary never opens a socket.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;There is no speed number and no accuracy number.&lt;/strong&gt; I have demo libraries that return results fast. Your library is not my demo library, and I'd rather you measure it yourself than quote me.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It doesn't cut the video for you.&lt;/strong&gt; Shot detection, search and transcription are the pre-edit steps. When a description matches two shots that look nearly the same, I drag both onto the timeline next to each other and pick — the tool gets me to the right three seconds, the decision stays mine.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Two design decisions I'd make again
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Original files never move.&lt;/strong&gt; Grouping is a record in the app's database, not a file operation. You can remove a group and nothing on disk changes. This sounds obvious; it's the feature that decides whether an editor trusts the tool enough to point it at a live project. The alternative — organising by moving and renaming — is a promise you can't undo halfway through a deadline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Transcription and face indexing are things you start on purpose.&lt;/strong&gt; Both read a model and both take real machine time, so they run as jobs you launch over the clips you actually care about, with progress you can watch. Keeping them as explicit jobs is the part I'm glad I got right: you always know which of your library has been read for speech and which hasn't.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where it is now
&lt;/h3&gt;

&lt;p&gt;It's in public beta — open, no application, no waitlist. The shots in my screenshots come from an isolated sample library I built for testing, not from a client's footage.&lt;/p&gt;

&lt;p&gt;I'm the only developer on this, so the roadmap is really a list of things people keep asking me for. If you edit interview, documentary, travel or e-commerce footage and you've ever spent an evening scrubbing through clips to find one gesture: &lt;strong&gt;what would you type into the search box, and what would you expect to get back?&lt;/strong&gt; That's the part only you can tell me about.&lt;/p&gt;

</description>
      <category>localfirst</category>
      <category>privacy</category>
      <category>buildinpublic</category>
      <category>devtools</category>
    </item>
  </channel>
</rss>
