Urgent.News

What's breaking now, across thousands of outlets.

Tech

Why seeking in Electron's video player stutters – and how I fixed it

I built a video player called Doggy Player because seeking in the players I tried always felt janky. When I moved to Electron, I hit the same problem in a new form: Chromium's <video> element is great at playing files and surprisingly bad at jumping around in some of them. This is what I found, and what I did about it. Why seeking is slow To show a frame at an arbitrary position, a decoder has to…

Dev.to's article "Why seeking in Electron's video player stutters – and how I fixed it" discusses the issues faced when building a video player called Doggy Player using Electron. The main problems identified are slow seeking, issues with certain file formats, and the seek controller affecting the user experience. To address these problems, the author implemented several fixes, including probing files to determine the actual container format, re-encoding files with dense keyframes for long-GOP sources, and improving the seek controller's responsiveness.

The result is a modern, source-available video player for Windows, macOS, and Linux called Doggy Player.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Nobody keeps the AWS network diagram current. I built a tool for it

VPC Atlas reads an AWS account with read-only calls and draws its network in draw.io and Lucidchart. Alpha, MIT licensed. Every team I joined asked for the same thing first: the network diagram.

  • VPC Atlas tool reads AWS accounts using read-only calls
  • Generates network diagrams in draw.io and Lucidchart
  • Provides diagrams, inventory, and dashboard outputs

QML for C & Zig

  • QML integrated into QML library alongside Qt libraries
  • Enables coexistence in single applications for developer choice
  • Available examples on GitHub for C++ and Zig platforms

More from Sunday 18 October →