| ▲ | weinzierl 6 hours ago | ||||||||||||||||||||||||||||||||||||||||||||||
The article talks about image comparisons but does not say what the best way to extract an image is. If I want the best possible quality image at a precisely specified time, what would I do? Can I increase quality if I have some leeway regarding the time (to use the closest keyframe)? Is there a way to "undo" motion blur and get a sharp picture? | |||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | perching_aix 4 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
You'll need to settle on a decoder. I personally just use my video player for this, mpc-hc. In mpc-hc, you can framestep using CTRL+LeftArrow (steps a frame backward) or CTRL+RightArrow (steps a frame forward). This lets you select the frame you want to capture. You do not need to be on a keyframe. These keybinds are configurable and may be different on the latest version. Then in the File menu, there's an export image option. It directly exports the frame you're currently on, to disk. Make sure to use a lossless format for comparisons (e.g. PNG). I'm aware this can be done in other players - like mpv - as well, although there I believe no keybinds are set up for this by default, and the default export format is JPEG. | |||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | latexr 5 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
I usually use a shortcut in mpv to extract the screenshot. If I want to do it via the command-line:
The means “go to 00:00:12.435 on the file /Users/weinzieri/videofile.mp4 and extract one frame to the file /Users/weinzieri/image.png”. | |||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | ErroneousBosh 6 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||||||||
> Is there a way to "undo" motion blur and get a sharp picture? Not really, no, any more than there is a way to unblur something that was shot out of focus. You can play clever tricks with motion estimation and neural networks but really all you're getting is a prediction of what it might have been like if the data had really been present. Once the information is gone, it's gone. | |||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||