enhancr icon indicating copy to clipboard operation
enhancr copied to clipboard

Missing frames

Open WeatherWonders opened this issue 9 months ago • 4 comments

I performed tests on the upscaling and interpolation separately using a short video after finding these issues with a longer video. I believe the input videos are not the cause after analysis with ffmpeg (extracting frames as PNGs) and ffprobe.

The upscaling output has two added black frames at the beginning, is missing the first frame of the input, and is missing the last two frames of the input. It has the same number of frames as the input.

The interpolation output (exactly twice the number of frames as the input) is as follows: First frame: black Second frame: interpolation between black and first input frame Last two frames: second-to-last input frame (no interpolation to, nor copy of, the last input frame)

It also seems that Enhancr applies lossy compression regardless of the output format, as the quality of subtle gradients in the video noticeably degraded, looking posterized and having jagged seams.

Enhancr version: 0.9.9 free Input video: exported from Blender sequencer as .mkv with AV1, 19 frames at 60 fps (ffprobe reports a duration of 0.38 seconds, 0.317 for the video stream specifically) Output format: Lossless frame sequence with no added ffmpeg parameters Upscaling method: RealESRGAN (DirectML) Interpolation method: RIFE 4.6 (NCNN)

WeatherWonders avatar May 20 '24 00:05 WeatherWonders