Hot answers tagged

4 votes

Why does a software video encoder create higher quality output than a hardware video encoder

There is no reason in principle why hardware would have to produce worse results than software. But there are two problems: Better quality requires better algorithms, and better algorithms in ...
gnasher729's user avatar
  • 28.3k
3 votes

Sample K representative frames within a video

The question misses a lot of detail, so I will try to make an educated guess. I don't know of any specific algorithm for the task you are trying to achieve, but the first step towards your solution ...
João Gueifão's user avatar
2 votes

How to feed videos to a neural network

If you want to detect anomalies, my suggestion would be to build a classifier to classify individual frames of the video to determine whether that frame contains an anomaly. You'll need to categorize ...
D.W.'s user avatar
  • 156k
2 votes
Accepted

Comparing 2 video files

A general algorithm is to compute the SHA256 hash of each file, then sort the hashes and look for duplicates. After sorting any duplicates that may exist will be consecutive. For all practical ...
D.W.'s user avatar
  • 156k
2 votes

identify abrupt frame changes in a video

Easiest is to capture video with an h.264 encoder, which uses key frames to identify switches. (It’s a bit more complicated, h264 will handle situations where frames come alternatively fro two ...
gnasher729's user avatar
  • 28.3k
2 votes

How does RAMDAC get notified about framebuffer write?

The "once per frame" part is totally wrong. Traditionally, a "RAMDAC" combines a little bit of RAM and three Digital to Analog Converters, for three colours. The RAM part is used for indexed colours ...
TEMLIB's user avatar
  • 1,851
2 votes
Accepted

How does RAMDAC get notified about framebuffer write?

It probably depends on the architecture in general, but bear in mind that the phrase "the conversion can be done while writing to the framebuffer" is quite vague. The important point is that ...
Pseudonym's user avatar
  • 21.6k
2 votes

How does a computer play a video while doing something else?

Video playback isn't that special. Sure, GPU-accelerated decoding is common these days, which frees up the CPU for other work, but it wasn't always so. Smooth video playback with only a single CPU is ...
hobbs's user avatar
  • 319
1 vote
Accepted

How is a video file read frame by frame without loading the entire video file in memory?

In most video formats, the frame data is in fact stored in chronological order, for many reasons: video recording to file video streaming avoiding slow file seeking on HDDs ... In most video formats,...
DirkT's user avatar
  • 632
1 vote

Why does a software video encoder create higher quality output than a hardware video encoder

The premise is false. Any encoder can be implemented in either hardware or software. There is no fundamental reason that hardware encoders need to be lower quality than software encoders.
D.W.'s user avatar
  • 156k
1 vote

File size and screen recording

Conceptually, screen recording works by taking a screenshot of the screen many times per second. Taking a screenshot works by taking a copy of what is displayed on the screen. To understand how that ...
D.W.'s user avatar
  • 156k
1 vote

identify abrupt frame changes in a video

One approach: Use object tracking, to measure the change between each frame and the previous frame. For instance, you might build a metric based on how far each object moved and how many objects ...
D.W.'s user avatar
  • 156k
1 vote
Accepted

Scheduling Algorithm for Video Player

If frames are stored in order: Read the next frame. Delay until the time when you are supposed to display it. Display it. Repeat. If the timestamp is in the past, you can either display that ...
D.W.'s user avatar
  • 156k
1 vote

How to label a video for supervised learning?

Try Computer Vision Algorithms and Applications by Richard Szeliski and label propagation in video sequences. To get a good grasp on the topic also Supervised Sequence Labeling with Recurrent Neural ...
Evil's user avatar
  • 9,425

Only top scored, non community-wiki answers of a minimum length are eligible