r/VIDEOENGINEERING • • 23h ago

VLC 4.0 finally has a "Previous Frame" function, twelve years after it was deemed impossible

Thumbnail
gordonvidal.dev
83 Upvotes

VLC 3 has E for Next Frame and nothing for going the other way. If you ever asked about that on the old VideoLAN forums, someone probably linked you Rémi Denis-Courmont saying reverse frame-by-frame is "not feasible within bound and reasonable computational, memory and bandwidth limits because video codecs and container formats are not meant to be played in reverse." Those threads usually got locked after a few pages of people bringing up MPC-HC, PotPlayer and YouTube, and it's been a running joke on here ever since.

The GitLab ticket is #10252. vadiav opened it on December 29, 2013, and Jean-Baptiste Kempf tagged it Difficulty::guru the same day. In January 2023 Rémi left this comment on it:

No way in hell such a difficult feature can be done in 4.0 and/or before buffering redesign (5.0.0). I thought people would know stop scope creep by no[w].

It made it into 4.0 anyway (still unreleased), through Thomas Guillem's MR !3263. The approach is about what you'd expect, and he calls it "BE PRAGMATIC" himself. Seek back a batch of frames (10 at first), decode forward into a LIFO, pop the frames off in reverse. When the stack is empty, it seeks again. Switching back to Next Frame or Play also means another seek.

Those re-seeks are what the second half of the post is about. I worked on the same problem in a player of my own. It keeps a bounded two-way frame cache in system RAM to avoid most of them, and it coalesces rapid scrub and step input so a burst of key presses doesn't turn into a burst of seeks. Frames get copied off the hardware decoder's GPU surfaces into RAM.

Very interested of course in other implementations for this rapid frame by frame seeking if anyone knows details of what the state of the art video players do.

Write-up is here: https://gordonvidal.dev/why-vlc-cannot-step-backward/


r/VIDEOENGINEERING • • 5h ago

What's your latest hacks, small tidbits of usefulness you've discovered? What you'd like to see implemented in video world?

16 Upvotes

I updated the Decimator MD-HX converters firmwares, discovered that only from revision D they have the testpattern options, unlocked multiple testpatterns.

Two or some years ago I googled for a .pdf presenter app that would be able to present pdf like a powerpoint, now I searched again and found that there are multiple apps able to present the .pdf-s. I chose PDFDiva, since it just works very well and looks very good. Yes, yes, I know people convert but there are issues with formatting and the extra steps are annoying still. Why on EARTH do you have to click through five menus to export a powerpoint as .png? Hugely demoralizing.

Now what I would like to see implemented:

- vMix to be also able to open .pdf (it can with a browser input, but cannot send the F11 signal to make it fullscreen);

- Resolume to be able to navigate through clip previews with a keyboard or whatever shortcut except clicking on it with a mouse;

- Atem Mini extreme second usb out should also be assignable, whether to use it as multiview or output of your choosing;

- Powerpoint should be able to open .pdf-s. Like they don't know that people make presentations with it.


r/VIDEOENGINEERING • • 22h ago

Nexog? Anyone running it live?

1 Upvotes

Recently have seen a demo of the Nexog platform to help automate a broadcast facility, I’m struggling with a few concepts and curious if anyone has got this running productions elsewhere in the world. What’s your experience?


r/VIDEOENGINEERING • • 22h ago

Looking for Pod/Vidcast studio advice

Thumbnail reddit.com
0 Upvotes