Urgent.News

What's breaking now, across hundreds of outlets.

Tech

"No way in hell": Why it took VLC 12 years to add "Previous Frame"

In VLC, pressing E steps forward one frame—but there is no shortcut to go back one frame. Thousands of people have searched for "VLC previous frame" for over a decade. The first documented request goes back to December 29, 2013, when vadiav opened ticket #10252 : There was no shortage of people asking for it over the next decade. Almost ten years later, on January 18, 2023, VLC developer Rémi…

Despite its widespread use, the VLC media player has taken 12 years to incorporate a simple feature: the ability to step backward one frame with a single shortcut. This oversight has left many users frustrated after searching for the functionality for years. Even VLC's own documentation highlights the absence of a "previous frame" feature, with the first documented request dating back to December 2013.

The delay is attributed to the complex nature of the task. Unlike moving forward, which is a straightforward process, stepping backward requires the player to jump to an earlier keyframe and re-decode the frames forward, a process that can be resource-intensive. Moreover, most video files are compressed using inter-frame compression, meaning that only keyframes (complete frames) are stored, while the intermediate frames are reconstructed from the keyframes. This compression method makes it difficult to retrieve the previous frame without re-encoding it.

VLC's developers have attempted to address this issue through various means. For instance, in VLC 4, a merge request (MR !3263) was created to allow backward stepping, but it still relies on seeking backward in small batches, decoding forward into a temporary stack, and then popping frames off the stack one by one. While this workaround has finally addressed the issue after a decade, it is by no means a perfect solution.

It has its own drawbacks, such as ignoring previously decoded frames, starting the stack filling process only after a backward step is initiated, and being affected by the GOP (Group of Pictures) size, which can lead to noticeable pauses, especially in high-resolution videos.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Upgrading to Analog 3, measured

Analog 3 came out this week . I recently started Soonly , a booking app for one-to-one and group sessions (think Calendly), and it's still in beta. So I switched it to v3 right away.

  • Build time decreased by 15% after upgrading to Analog 3
  • Worker bundle size reduced by 12% post-upgrade
  • No changes needed to app after migration process

Debut Project: a free K-pop agency management sim in the browser (beta)

I'm the maker of Debut Project , a free browser game where you run a K-pop agency, from the practice room toward the Billboard charts. It is a beta, so expect rough edges.

  • Debut Project is a free K-pop agency management sim in the browser, currently in beta.
  • Players manage trainees and make decisions as the CEO of a small entertainment company.
  • The game supports Korean, English, and Spanish languages, with no plans for additional languages.

Before You Buy a Raspberry Pi, Try the Old Android Phone in Your Drawer

An old Android phone already has the parts most first home-lab projects need: Wi-Fi, a screen, a battery and a case. I’d start by asking what the project actually needs, not which board to order.

  • Old Android phones have Wi-Fi, screen, battery, and case.
  • Test project with built-in sensors on Android phone.
  • Raspberry Pi better for GPIO connections and wired hardware.

More from Wednesday 25 November →