<?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: Oleksandr Dmytruk</title>
    <description>The latest articles on DEV Community by Oleksandr Dmytruk (@runpy21).</description>
    <link>https://dev.to/runpy21</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%2F3887824%2Fbc040029-f6f1-43fa-ae90-631ae1a8918c.png</url>
      <title>DEV Community: Oleksandr Dmytruk</title>
      <link>https://dev.to/runpy21</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/runpy21"/>
    <language>en</language>
    <item>
      <title>My Friend Couldn't Understand His Favorite Streamer — So I Built This</title>
      <dc:creator>Oleksandr Dmytruk</dc:creator>
      <pubDate>Sun, 04 Oct 2026 19:51:16 +0000</pubDate>
      <link>https://dev.to/runpy21/my-friend-couldnt-understand-his-favorite-streamer-so-i-built-this-3da4</link>
      <guid>https://dev.to/runpy21/my-friend-couldnt-understand-his-favorite-streamer-so-i-built-this-3da4</guid>
      <description>&lt;p&gt;&lt;strong&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;My friend Denis doesn't speak much English, but there's a streamer he really enjoys watching.&lt;/p&gt;

&lt;p&gt;He mostly discovers the streamer's clips and highlights on Instagram, but because they're in English, he can't always understand what's happening.&lt;/p&gt;

&lt;p&gt;One day, he asked me:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;"Could you make something that translates these videos for me?"&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So I did.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;Video Translater&lt;/strong&gt; — an open-source AI-powered application that takes a video, understands the speech, translates it into another language, generates new speech, and synchronizes the translated audio back with the original video.&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Take a video Denis can't understand → turn it into a video he can actually enjoy.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And that's how this project started.&lt;/p&gt;

&lt;p&gt;Not with a business idea.&lt;/p&gt;

&lt;p&gt;Not with a startup pitch.&lt;/p&gt;

&lt;p&gt;Just a friend who wanted to watch his favorite streamer.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎬 How It Works
&lt;/h2&gt;

&lt;p&gt;Video translation sounds simple until you actually try to make the result feel like a real video.&lt;/p&gt;

&lt;p&gt;The application turns the process into a pipeline:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Video
  ↓
Extract Audio
  ↓
Speech-to-Text
  ↓
Detect / Select Language
  ↓
Translate
  ↓
Text-to-Speech
  ↓
Synchronize Audio
  ↓
Render Final Video
  ↓
Translated Video 🎥
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important part is that the generated voice has to respect the original video's timing.&lt;/p&gt;

&lt;p&gt;For example, imagine someone says something that lasts 4 seconds in English.&lt;/p&gt;

&lt;p&gt;The translated sentence might take 6 seconds to say.&lt;/p&gt;

&lt;p&gt;If we simply replace the audio, the translated voice will no longer match the video.&lt;/p&gt;

&lt;p&gt;So the application compares the generated speech duration with the original timestamp and adjusts the audio when necessary.&lt;/p&gt;

&lt;p&gt;That's where a simple "AI translation demo" turns into a real multimedia engineering problem.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎥 Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Watch the demo:&lt;/strong&gt;&lt;br&gt;
👉 &lt;strong&gt;&lt;a href="https://www.youtube.com/watch?v=4_827OMZHeY" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=4_827OMZHeY&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The demo shows the complete workflow from the original video to the translated result.&lt;/p&gt;

&lt;p&gt;The most important thing to see is not just the translation itself, but the final synchronized audio.&lt;/p&gt;


&lt;h2&gt;
  
  
  💻 Code
&lt;/h2&gt;

&lt;p&gt;The entire project is open source:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://github.com/runpy21/video-translater" rel="noopener noreferrer"&gt;https://github.com/runpy21/video-translater&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can explore the complete implementation, run it yourself, open issues, and contribute improvements.&lt;/p&gt;


&lt;h2&gt;
  
  
  🧠 How I Built It
&lt;/h2&gt;

&lt;p&gt;I built Video Translater around a modular processing pipeline.&lt;/p&gt;

&lt;p&gt;The application separates video processing from the AI components so that individual parts can evolve independently.&lt;/p&gt;

&lt;p&gt;The main pieces are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python&lt;/strong&gt; — application logic and orchestration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FFmpeg&lt;/strong&gt; — audio/video extraction, processing and rendering&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;yt-dlp&lt;/strong&gt; — video downloading&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speech recognition&lt;/strong&gt; — converting speech into text&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Translation&lt;/strong&gt; — converting the transcript into the target language&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Text-to-speech&lt;/strong&gt; — generating the translated voice&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audio synchronization&lt;/strong&gt; — fitting generated speech back into the original timeline&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted the AI components to behave like replaceable building blocks rather than creating one giant piece of tightly coupled code.&lt;/p&gt;

&lt;p&gt;That makes it much easier to experiment with different models and approaches.&lt;/p&gt;


&lt;h2&gt;
  
  
  ⏱️ The Interesting Engineering Problem
&lt;/h2&gt;

&lt;p&gt;The hardest part wasn't actually translating the words.&lt;/p&gt;

&lt;p&gt;It was making the translated speech &lt;strong&gt;fit the video&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Suppose the original speech segment is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;|--------- 4 seconds ---------|
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But the translated speech takes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;|-------------- 6 seconds --------------|
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Simply cutting the audio would make the sentence incomplete.&lt;/p&gt;

&lt;p&gt;Simply letting it play would make it overlap with the next segment.&lt;/p&gt;

&lt;p&gt;So the pipeline needs to reason about the timeline:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Original timestamps
        ↓
Translated text
        ↓
Generated speech
        ↓
Measure duration
        ↓
Compare with available time
        ↓
Adjust when necessary
        ↓
Place back on timeline
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This was one of my favorite parts of the project because it required combining AI output with traditional audio/video engineering.&lt;/p&gt;

&lt;p&gt;The AI generates the content.&lt;/p&gt;

&lt;p&gt;The rest of the system has to make that content actually work.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎯 Built for a Real Problem
&lt;/h2&gt;

&lt;p&gt;One of the things I liked most about this project is that I didn't have to invent a use case.&lt;/p&gt;

&lt;p&gt;Denis actually asked for it.&lt;/p&gt;

&lt;p&gt;He didn't ask for an AI demo. He didn't care which model I used or how the pipeline was implemented.&lt;/p&gt;

&lt;p&gt;He just wanted to understand the videos of a streamer he likes.&lt;/p&gt;

&lt;p&gt;That gave me a very clear goal:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;If Denis can watch the translated video and understand what is happening, the project works.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This also influenced how I built the application.&lt;/p&gt;

&lt;p&gt;I focused on the complete experience rather than just getting a translation from an AI model:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;video → speech → translation → generated voice → synchronized video&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The AI is only one part of that pipeline.&lt;/p&gt;

&lt;p&gt;The real challenge was turning the AI output into something that can actually be watched.&lt;/p&gt;




&lt;h2&gt;
  
  
  🌍 Why Open Innovation Matters
&lt;/h2&gt;

&lt;p&gt;This project is a good example of why I think open innovation matters.&lt;/p&gt;

&lt;p&gt;A closed API can make it easy to call an AI model.&lt;/p&gt;

&lt;p&gt;But an open ecosystem gives developers much more freedom.&lt;/p&gt;

&lt;p&gt;I can experiment with different components.&lt;/p&gt;

&lt;p&gt;I can replace a model.&lt;/p&gt;

&lt;p&gt;I can run parts of the pipeline locally.&lt;/p&gt;

&lt;p&gt;I can inspect how everything works.&lt;/p&gt;

&lt;p&gt;I can change the synchronization logic.&lt;/p&gt;

&lt;p&gt;I can optimize the application for a specific use case.&lt;/p&gt;

&lt;p&gt;And most importantly:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;someone else can take this project and improve it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Video Translater isn't built around one magical AI endpoint.&lt;/p&gt;

&lt;p&gt;It's built around a pipeline of components.&lt;/p&gt;

&lt;p&gt;That means when better open models become available, the project doesn't have to start from zero.&lt;/p&gt;

&lt;p&gt;The building blocks can evolve.&lt;/p&gt;

&lt;p&gt;That's what open innovation means to me:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Don't just give developers an answer. Give them building blocks they can turn into something new.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  ❤️ Why I Built It
&lt;/h2&gt;

&lt;p&gt;This project is personal because the original feature request came from a real person.&lt;/p&gt;

&lt;p&gt;Denis didn't ask me to build an AI project.&lt;/p&gt;

&lt;p&gt;He didn't care which model I used.&lt;/p&gt;

&lt;p&gt;He didn't care about the architecture.&lt;/p&gt;

&lt;p&gt;He just wanted to understand what his favorite streamer was saying.&lt;/p&gt;

&lt;p&gt;That changed the way I approached the project.&lt;/p&gt;

&lt;p&gt;Instead of asking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"What impressive AI demo can I build?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I asked:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;"What can I build that would actually make someone's life a little easier?"&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And that made the project much more fun to work on.&lt;/p&gt;

&lt;p&gt;Every feature had a reason.&lt;/p&gt;

&lt;p&gt;Translation wasn't enough.&lt;/p&gt;

&lt;p&gt;The audio needed to work.&lt;/p&gt;

&lt;p&gt;The timing needed to work.&lt;/p&gt;

&lt;p&gt;The downloaded video needed to be handled safely.&lt;/p&gt;

&lt;p&gt;The whole pipeline needed to produce something Denis could actually watch.&lt;/p&gt;




&lt;h2&gt;
  
  
  🚀 What's Next?
&lt;/h2&gt;

&lt;p&gt;This is still the beginning.&lt;/p&gt;

&lt;p&gt;There are a lot of things I'd like to add:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🎙️ Better voice preservation&lt;/li&gt;
&lt;li&gt;👥 Multiple-speaker detection&lt;/li&gt;
&lt;li&gt;🗣️ Better speech prosody&lt;/li&gt;
&lt;li&gt;📝 Automatic subtitles&lt;/li&gt;
&lt;li&gt;🌍 Multiple target languages&lt;/li&gt;
&lt;li&gt;📊 Better processing progress&lt;/li&gt;
&lt;li&gt;⚡ Improved error recovery&lt;/li&gt;
&lt;li&gt;🐳 Easier deployment&lt;/li&gt;
&lt;li&gt;🔐 Authentication and rate limiting&lt;/li&gt;
&lt;li&gt;☁️ Scalable processing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And I'd love to see other developers take the project in directions I haven't thought of.&lt;/p&gt;




&lt;h2&gt;
  
  
  🏗️ What I Learned
&lt;/h2&gt;

&lt;p&gt;I started this project thinking I was building a video translation tool.&lt;/p&gt;

&lt;p&gt;I ended up learning that AI is only one part of the problem.&lt;/p&gt;

&lt;p&gt;A model can generate a translation.&lt;/p&gt;

&lt;p&gt;But then you still have to ask:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does the audio fit the timeline?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can the video be processed safely?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens when something fails?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can another developer understand the code?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can the components be replaced?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does the final result actually solve the user's problem?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's probably the biggest lesson I took away from this Hacktoberfest project:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Getting AI to produce an output is easy compared to making that output useful.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🏆 Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Overall Hacktoberfest Weekend Challenge&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🙌 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;A few hours ago, this was just a request from a friend.&lt;/p&gt;

&lt;p&gt;Now it's an open-source project.&lt;/p&gt;

&lt;p&gt;That's one of the things I love about building software.&lt;/p&gt;

&lt;p&gt;A small problem experienced by one person can become an idea that other people can use, improve and build on.&lt;/p&gt;

&lt;p&gt;Denis wanted to understand his favorite streamer.&lt;/p&gt;

&lt;p&gt;So I built a translator.&lt;/p&gt;

&lt;p&gt;Maybe someday, someone else will use it to understand a documentary, a tutorial, a lecture, or a creator from another part of the world.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One video. Different language. Same experience. 🌍&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you find the project useful, feel free to:&lt;/p&gt;

&lt;p&gt;⭐ Star the repository&lt;br&gt;
🐛 Open an issue&lt;br&gt;
💡 Suggest an improvement&lt;br&gt;
🔧 Contribute&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/runpy21/video-translater" rel="noopener noreferrer"&gt;https://github.com/runpy21/video-translater&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading — and happy Hacktoberfest! 🚀&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
