k4yt3x / video2x

A lossless video/GIF/image upscaler achieved with waifu2x, Anime4K, SRMD and RealSR. Started in Hack the Valley II, 2018.
https://video2x.org
GNU Affero General Public License v3.0
9.83k stars 956 forks source link

FFmpeg encode after upscale taking over 8 hours #733

Open CiaranCrowley opened 1 year ago

CiaranCrowley commented 1 year ago

I'm trying to upscale a .mkv video file to 1080p from 480p. The actual upscaling process took less than 5 minutes, but the FFmpeg task/tasks that come afterwards are a very long time to finish. This is for a video file which has dual audio tracks and subtitles. The file is 111.4MB.

The only changes I made in the most recent windows release of video2x was the number of process (90) to speed up.

What changes in the GUI can I make to speed up the FFmpeg process?

I am not hardware bound by this issue.

CPU: i9-9900k Memory: 32GB 2666mhz GPU: RTX 2080 Super

This FPS value is dropping extremly slowly. At above 28 FPS the value was dropping relatively quickly but began slowing below 28 FPS. What is happening here? image

This was originally written when the fps count was ~2 fps. At the 8 hour mark the fps count was at 1.16

DifferentialityDevelopment commented 1 year ago

Basically I think by default it will encode the video with your CPU. What you wanna do is under FFmpeg Settings, set your Video Codec to hevc_nvenc, which will utilize your GPU and run much quicker