Closed F0903 closed 3 months ago
Have you tried 1080p video and got the same result? Also can you run a benchmark with vspipe -p ooxx.vpy --
to see what fps you get? You may need to replace video_in
with a source filter like core.bs.VideoSource(r"ooxx.mkv")
and manually define the container_fps
variable.
Yes, with 1080p and under it works perfectly. I have tried the benchmark, and I'm getting ~40fps with a 4K30 video upscaling to 60fps.
Since the benchmarked fps (40) is lower than the target interpolating fps (60), you definitely won't be able to playback smoothly in realtime.
Yeah, that does make sense, sadly. But does an output from rife of 40fps really cause the playback to drop to about 4fps in MPV?
No idea. But decoding (if using hardware decoder) and rendering also utilize GPU, and options like --vo
or --profile
etc in mpv can also have different impact on performance.
That is true. I'll investigate it some more. Thank you for your help.
@HolyWu There is actually one last thing. I cannot see a change when using the scale parameter of the function. Both 0.25 and 1 give me the same performance, is this normal?
scale
< 1 performance issue should be fixed in v5.1.0.
I have tried to benchmark again with the new 5.1.0 version, but it sadly didn't change anything for me. scale 1 performs the same for me as 0.5 and 0.25
Then I have no idea. Tried scale=<0.25/0.5/1.0>
on 1080p and 4K video with my poor RTX 3050 and actually got different speed.
1080p
scale=1.0: 60.83 fps
scale=0.5: 76.84 fps
scale=0.25: 80.91 fps
4K
scale=1.0: 15.45 fps
scale=0.5: 19.35 fps
scale=0.25: 21.26 fps
Hmm, alright then :/
I simply cannot get 4K video to work properly, no matter how many parameters I change. It works fine for the first second, then goes wildly down the drain. It's like if it was a 4fps video.
This is despite tweaking the different parameters, and trying the lowest values possible. MPV also reports that the video fps is ~60, and my GPU isn't always maxed out, so the issue is probably not that it can't keep up? Weirdly though, MPV reports the estimated screen refresh rate dips to around 13, which I have not have happen before.
Current VapourSynth script: