201

(64 replies, posted in Using SVP)

BetteBalterZen wrote:

My MPV configuration being the conf file?

Yes, what's inside the configuration file, which is located in this folder:

C:\Users\YourUserNameHere\AppData\Roaming\mpv


BetteBalterZen wrote:

my setup is:

i7 8700K @4.7 all core OC (stable OC)
MSI 1080 Ti Aero - blowerstyle yes but keeps clock speed at 1800MHz under full load
16GB Corsair Vengeance 3200MHz (dual channel, 2x8GB)

Thank you for trying to help me Blackfyre!

I have a 4790K @ 4.6Ghz
MSI 1070 Gaming X
16GB 2400Mhz (dual channel 2x8GB).

I run 4K SDR at 60FPS smoothly, and 4K HDR at 50FPS smoothly without a single frame drop or frame delay. So really, it should be SUPER easy for your setup to do it, just as you ran it fine before.

Use to screen framerate instead of 2X for SVP. When you want to watch content at 2x, go to nVidia control panel and change the TV/Monitor to 50Hz. But given your setup, you should be able to run everything at 60FPS, including 4K HDR.

Here is my mpv.conf below:

ontop
priority=high

video-sync=display-resample
vulkan-swap-mode=fifo

osd-level=1

video-latency-hacks=no
demuxer-thread=yes

vo=gpu
profile=gpu-hq
fbo-format=rgba16hf
gpu-api=vulkan
gpu-context=winvk
hwdec=nvdec
spirv-compiler=shaderc

vd-lavc-dr=yes
vulkan-async-transfer
vulkan-async-compute
vulkan-swap-mode=fifo

volume-max=100

tone-mapping=hable
tone-mapping-max-boost=1.0
hdr-compute-peak=yes

dither-depth=N
dither=fruit
dither-size-fruit=2

scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=ewa_lanczossharp
dither-depth=auto
correct-downscaling=yes
sigmoid-upscaling=yes

cache=yes
demuxer-seekable-cache=yes
cache-default=4000000
cache-backbuffer=250000
demuxer-max-bytes=2147483647
demuxer-max-back-bytes=1147483647

sws-allow-zimg=no
zimg-fast=no

deband=yes
deband-iterations=4
deband-threshold=50
deband-range=16
deband-grain=48

ytdl-format=best

profile-desc=cond:get('height', 0) < 1440
dither-size-fruit=6

I removed the Shaders and audio configuration from the code above, but unless you're watching on a big TV, you don't need them.

If you do not have a mpv.conf file. Create a mpv.txt file in notepad, copy and paste the codes above inside it, save it, and then change .txt to .conf and place in the MPV folder I noted in the beginning of this post. Not the MPV directory where the .exe is, but the one where the configuration goes.

For my SVP settings, here they are below:

https://imgur.com/a/pd6xIUq

202

(64 replies, posted in Using SVP)

Paste your MPV configuration here, let's have a look at it.

EDIT: Also, what's your CPU and GPU?

203

(9 replies, posted in Using SVP)

rickymohk wrote:
Moondust76 wrote:

Did you check if GPU acceleration in SVP is turned on?

Appplication settings -> GPU acceleration

Happened to me a couple of times that all of a sudden the GPU acceleration was turned off and videos started to stutter tremendously.

Yes. It was on but still lag. I can only resort to reinstalling windows. This happens to me more and more frequently. I would always try reinstalling GPU driver first. If that doesn't fix it, only reinstalling windows would fix it. I could expect to see more frequent reinstallation of windows in the future.

This is not normal behaviour.

Download Malwarebytes Antimalware, use trial. Do a FULL SCAN of your entire system. If there's a USB that you use to reinstall programs that you have on it after you format, or any external hard drives. Plug them all in and make sure you do a custom scan on them too.

There is no way installing Windows and after a while you get slow downs, and then you have to format and install Windows again. This is not a way to fix issues. You need to figure out the software, or the tweaks, or something that either you're doing or being done to your system that is causing your issue.

204

(17 replies, posted in Using SVP)

cemaydnlar wrote:

I also use max smoothness settings.
Uniform
By blocks
Masking disabled
Half pixel
6px
Grid step disabled
Radius small and fast
Wide search disabled
Small
Repeat fram
Can you please try this settings and tell me if you get similar artifacts like mine ?

No I am not going to try those settings, of course I will get a lot of artifacts with those settings.

Motion vector grid 6px??? why?! Change it to like 28px, 14px is the lowest I would ever go.

Change SVP Shader to standard

YOU have masking disabled?! Of course you're going to get artifacts. Change it to strong masking.

USE my settings from the picture above for SVP. Use TO SCREEN for frame rate conversion. And change your MONITOR refresh rate from nVidia control panel to 50Hz (try it at 50Hz first!).

MPV Configuration, try these settings, my latest, I removed some stuff because your GPU is not powerful enough:

ontop
audio-exclusive=yes

video-sync=display-resample
vulkan-swap-mode=fifo

video-latency-hacks=no
demuxer-thread=yes

vo=gpu
profile=gpu-hq
fbo-format=rgba16hf
gpu-api=vulkan
gpu-context=winvk
hwdec=nvdec
spirv-compiler=shaderc

vd-lavc-dr=yes
vulkan-async-transfer
vulkan-async-compute
vulkan-swap-mode=fifo

volume-max=100

tone-mapping=hable
hdr-compute-peak=yes

dither-depth=N
dither=fruit
dither-size-fruit=2

scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=ewa_lanczossharp
dither-depth=auto
correct-downscaling=yes
sigmoid-upscaling=yes

sws-allow-zimg=no
zimg-fast=no

ytdl-format=best

205

(17 replies, posted in Using SVP)

No way, that's too many artifacts. No I do not get anywhere near that. Maybe in a few scenes in a movie, I get a few artifacts, but nowhere near this bad where you can't even tell what you're looking at from how many artifacts there are all over the place, and majority of the movies I don't even notice any artifacts. Are you sure you have the PAID version and everything updated?

What media player are you using?

206

(17 replies, posted in Using SVP)

cemaydnlar wrote:

Can you guys tell me which settings decrease the artifacts around moving objects or fast scenes. Is it possible to take those artifacts to a minimum amount without losing smoothness ?

You will lose some smoothness if you want to decrease artifacts. Personally I don't mind losing a little bit of smoothness, as long as there's very little artifacts.

What CPU and GPU do you have? Not sure if my settings will work on your PC, but I linked them below.

I have a 4790K @ 4.6Ghz and a GTX 1070.

https://i.imgur.com/xvcZR7K.png

207

(4 replies, posted in Using SVP)

Chainik wrote:

$160 for the "1650 Super" is close enough

~$300 in Australia, haha! Electronics are all very expensive in Australia.

208

(4 replies, posted in Using SVP)

Chainik wrote:

afaik the hardware blocks are the same

Good to know, thank you for the response. Surprised they haven't made a cheap $100 card that just supports nVidia Optical Flow then. I got a new GTX 1070 from the manufacturer so I won't be upgrading anymore, but I wish there was a cheap card I can buy and add to the PC to use for nVidia Optical Flow.

209

(4 replies, posted in Using SVP)

My GTX 1070 died recently, waiting for RMA. But if they don't repair it, I wanted to ask a few questions regarding Nvidia Optical Flow.

I know the RTX GPU's will help me a lot with my 4790K when it comes to 4K content (because Nvidia Optical Flow will take a lot of the processing power), but questions below:

Is there a difference between GPU's that support Nvidia Optical Flow in terms of performance with SVP? So for example is there any benefit for SVP if I choose a higher-end GPU, over lower-end, 1660Ti, 2060s, 2070s, or 2080s? Or do they all perform the same as long as they support Nvidia Optical Flow?

If there is no difference in performance with SVP, do you guys think in future updates there might be a difference? Is it worth paying the extra money for a higher end GPU.

Is there a special way to enable it? Or do I just choose the new videocard once I upgrade from the GPU Acceleration section in SVP?

I just came to post this video explaining the scholarly work after seeing it. Maybe the developers of SVP will find some of the information in it interesting.

211

(1 replies, posted in Using SVP)

As you guys must have heard already, Netflix is pushing for AV1 encoded content on Android. Now that's almost useless information, but this bit from the reddit thread I found interesting:

Our AV1 support on Android leverages the open-source dav1d decoder (https://code.videolan.org/videolan/dav1d) built by the VideoLAN, VLC, and FFmpeg communities and sponsored by the Alliance for Open Media. Here we have optimized dav1d so that it can play Netflix content, which is 10-bit color. In the spirit of making AV1 widely available, we are sponsoring an open-source effort to optimize 10-bit performance further and make these gains available to all.

Netflix is sponsoring an effort to make AV1 10Bit performance better. Could this be helpful in any way for us using SVP?

212

(9 replies, posted in Using SVP)

OP why is your 4790K running at 4.0Ghz? Are you using the stock cooler? If you have water cooling or any air cooler let me know what motherboard you have and what cooler, I'll try and help you. You can easily get 4.6Ghz, or at the very least 4.4Ghz which is the default turbo clock of the 4790K. But if you are on stock cooler, don't do it, stay at 4.0Ghz.

As for the lag spikes, this sounds familiar to an issue I was having, took me so long to figure it out, but if you have a "Free Standby Memory" script running in the background, which was needed to remove stuttering in older versions of Windows 10 while gaming. Just upgrade to Windows 10 1909 and remove that script from startup tasks. I was getting a few dropped frames every few minutes and it didn't make sense at all, everything was running smoothly, until I realised that I have this script running in the background that clears the memory every few minutes which I was using like 2 years ago. It's no longer necessary to have with the latest version of Windows 10.

213

(3 replies, posted in Using SVP)

I don't know about nVidia Optical Flow, I'm sure someone will help you there. But regarding the negative things you heard, don't bother listening to them. After getting used to watching my TV shows & movies with SVP, I have never gone back. I cannot go back. Also right now, it's on 50% discount and it isn't really expensive. Just buy it and try it. Read around the forum here for issues you run into, try different settings, etc and then if you run into things you need help for, just ask on the forum and surely someone will assist you.

As for artifacts, yes they will always be there. With the right settings you can minimise them to occur rarely, but honestly overall smoothness increase outweighs those instances where I see artifacts. At least with my settings anyway.

My settings aren't the smoothest, but I try to minimise the artifacts as much as I can.

By the way, SVP is a mostly CPU intensive program. GPU helps a little with SVP, but it's mostly used for upscaling and the media player.

214

(3 replies, posted in Using SVP)

Duckers wrote:

Would it be possible if svp also could add a A.I upscaling along with the interpolation? Like shield tv 2019 can now use a A.I upscaling to make each frame much crisper of lower res videos, and even 1080p crisper for 4k in realtime.

This is not the job of SVP, but your media player & upscaling utility that you use with it.

For example using Madvr for upscaling with MPC - easy to setup and available with SVP already, just edit Madvr setting for upscaling yourself depending on your videocard and how much it can handle.

Or using shader upscalers for MPV more complicated to use than above but for me yield better results for lower performance cost on the videocard in comparison to equivalent settings with Madvr.

215

(23 replies, posted in Using SVP)

cemaydnlar wrote:
Blackfyre wrote:
Chainik wrote:

- madVR stats for dropped frames

Focus on this point here, as you say your CPU is not being stressed. Maybe it's your GPU and you have madVR settings too high and you're getting delayed frames and dropped frames (which makes the videos appear not smooth). Right click SVP and open file via MPV and see how your videos are running and for those same scenes.

As for your other point, I don't know why you would want to make fight scenes "faster". Do you mean smoother because it's not smooth right now? Or do you mean like making the whole video 1.25x faster or 1.5x faster? I hope it's the former and not the latter.

Now i have another issue which is having a lot of artifacts while action scenes. I don't know what the point is having a smoother video if you can't watch it because of scenes getting blurry ? Do you have an idea to maybe solve this problem ?

You have to find the balance that satisfies you in the settings. The smoother you want it, the more artifacts will occur, to reduce artifacts, you need to slightly reduce smoothness. I provided my settings for 1080p for you because that's what I use to reduce artifacts and have decent smoothness. But you cannot have a perfect combination of both perfectly smooth and zero artifacts. The only way that is possible is for example if you consider 60FPS smooth, then for the video or movie itself to be shot at 60FPS, being watched at 60FPS. Motion interpolation will naturally introduce artifacts. Some very high end TV's and higher-midrange TV's too can do motion interpolation while keeping the artifacts to a minimum, they have built in chips dedicated to doing it, and teams of engineers and software programs dedicated to perfecting it year after year.

SVP is the cheaper method available for those who don't have those expensive TV's.

Having said that artifacts are a lot less when I am watching 4K content on a 4K TV. The lower the resolution the more artifacts I notice when I use SVP. But there is no perfect solution. The movie industry has it in their heads that 24 frames is perfect for movies. A bunch of old timers, who grew up in an era & generation that had that limit, but the limit was the highest standard at the time. The problem is the majority of the population is already used to 24FPS movies, and movie makers are used to it and love it too. It is the standard. The soap-opera effect as they call it is something they despise, because it's very hard to change ingrained perceptions that have now crossed generations.

216

(23 replies, posted in Using SVP)

Chainik wrote:

- madVR stats for dropped frames

Focus on this point here, as you say your CPU is not being stressed. Maybe it's your GPU and you have madVR settings too high and you're getting delayed frames and dropped frames (which makes the videos appear not smooth). Right click SVP and open file via MPV and see how your videos are running and for those same scenes.

As for your other point, I don't know why you would want to make fight scenes "faster". Do you mean smoother because it's not smooth right now? Or do you mean like making the whole video 1.25x faster or 1.5x faster? I hope it's the former and not the latter.

217

(23 replies, posted in Using SVP)

Try these settings for SVP:

https://i.imgur.com/Xg56U0C.png

Right click SVP, under application settings, make sure your GPU is selected for GPU Acceleration.

Right click SVP, under outer lighting, click DISABLED.

Right click SVP, under video frame, untick "detect and cut off black bars".

Right click SVP, open file via MPV.. and see if you like these settings.

You're not giving any details as to what media player you're using or what content you're watching, if it's in 1080p or 4K, or HDR? What TV are you using?

218

(36 replies, posted in Using SVP)

Changed the settings below for 4K HDR using DX11. Removed "on top" because full-screen exclusive mode does not work with DX11 (which is a shame), unlike Vulkan. Removed my subtitles setting, since that's just my preference wanting subs in the black bars below.

I'll continue testing tomorrow and see if any other settings can be changed.

audio-exclusive=yes

demuxer-thread=yes
vo=gpu
profile=gpu-hq
fbo-format=rgba16hf
gpu-api=d3d11
gpu-context=d3d11
hwdec=d3d11va-copy
spirv-compiler=shaderc

volume-max=100

tone-mapping=hable
hdr-compute-peak=yes

scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=ewa_lanczossharp
dither-depth=auto
correct-downscaling=yes
sigmoid-upscaling=yes

deband=yes
deband-iterations=4
deband-threshold=50
deband-range=16
deband-grain=48

glsl-shader="C:\Users\YourUsernameHere\AppData\Roaming\mpv\Shaders\KrigBilateral.glsl"

profile-desc=cond:get('height', 0) < 1440
glsl-shader="C:\Users\YourUsernameHere\AppData\Roaming\mpv\Shaders\FSRCNNX_x2_8-0-4-1.glsl"
glsl-shader="C:\Users\YourUsernameHere\AppData\Roaming\mpv\Shaders\SSimDownscaler.glsl"

219

(36 replies, posted in Using SVP)

But don't worry in your case if you get one of those listed TV's above that are high-end TV's. You will notice the difference. My TV's maximum brightness is 400 Nits, so even when HDR works the difference wouldn't be as noticeable. The panel itself is decent, but nowhere near the TV's you listed above.

220

(36 replies, posted in Using SVP)

UHD wrote:
Blackfyre wrote:

I will do more testing with DX11

Please, keep sharing your experience on this forum. I hope you will finally find the settings with DX11 and HDR output that will satisfy your needs.

It should work now with MPV yes, as discussed above.

So from my configuration, the only thing that needs to be changed is:

gpu-api=vulkan
gpu-context=winvk

TO:

gpu-api=d3d11
gpu-context=auto

221

(36 replies, posted in Using SVP)

UHD wrote:

I also still haven't received any answer to my question: how many CPU threads can SVP with mpv support in parallel?

If you right click SVP the maximum threads in the options is 21, however if you go on additional options, then click ALL Settings. You can scroll down and change "threads" to however many you want manually. But I am not sure if there is an actual limit on the back-end of operations. Wait for Chainik to answer that question.

Also possible that it hasn't been tested beyond a certain amount of threads, so the answer is unknown. For example if the maximum they have tested is on a 24 core (48 thread) processor and it works fine and utilises all, but if you go beyond that, it's unknown territory and it should theoretically work, but who knows? Maybe not. I am just guessing here. The option however to change thread count to any number you want is available in All Settings.

222

(36 replies, posted in Using SVP)

Chainik wrote:

Blackfyre
> I still prefer on my TV to use vulkan for watching 4K HDR content

have you compared it with 1) built-in TV video player, 2) madVR (*) ?

(*) btw there's a trick for using madVR's HDR output even in 8-bit mode with ffdshow enabled: rename video file, insert ".hdr=on." tag somewhere in the middle. For example, "The.Movie.2019.mkv" -> "The.Movie.2019.hdr=on.mkv"

I have used the built-in TV player in the past to test HDR content, back when SVP didn't support HDR.

It's the Sony KD-43X8000D, it's a VA Panel unlike the larger sizes so the dark scenes on it look good. But its motion interpolation is not great, unlike the higher end models, and peak brightness on it is 400 Nits, so HDR content on it doesn't look as great as higher end models I have seen and watched content on that have a peak brightness of 1000+

However with MPV and the tone-mapping setting chosen and those shaders, HDR content converted to SDR look great!

TV Colour Space setting is always set to BT.2020
nVidia Control Panel I change colour format to YCbCr422 and colour depth to 10bpc
MPV settings are as shown above, this yields the best picture quality possible, sharpness, colour reproduction, and contrast ratio.

There is only one issue. With 4K HDR content every 10 to 15 minutes, at random places in any 4K HDR video, I drop 15 to 20 frames for like one second and it goes back to normal. It's not related to the scene, when I rewind to check the scene again there is no issue, just a small spike in CPU usage. I reported it a while ago. The only fix I found is setting Processing Threads to 40 in ALL Settings. This makes it drop only 1 frame when that spike happens instead of 15 or 20, so barely noticeable.

223

(36 replies, posted in Using SVP)

UHD wrote:
Blackfyre wrote:

I will backup my configuration and give it a test later. Damn, vulkan had the best performance for me. Hopefully DX11 works well too now, it has been a long time since I have tried it.

Blackfyre, your MPV configuration is famous in this forum and seems to be the gold standard to which all others are compared: https://www.svp-team.com/forum/viewtopi … 95&p=2
I would be very grateful if you could share your test results on this thread.

Thanks, I am testing new settings with DX11. Safe to say though that even with vulkan, do not use "video-latency-hacks=yes" from the above list I posted. I was testing it for a short time, massive frame drops with upscaled content, for example 1080p to 4K. I try to read through mpv changelogs every time a new version is released and see what new changes are made and what new options that have been added to add to my personal settings. Every few months I post my settings here.

Based on my testing yesterday, I still prefer on my TV to use vulkan for watching 4K HDR content (even though it's being converted to SDR, the colour retention and highlight details in high contrast areas seems to be done better with vulkan conversion, than with my TV processing HDR content, if I had an OLED screen or a high end QLED TV, then yeah colour reproduction & contrast will be done brilliantly on the TV side). But with the mid-range TV's like mine, I still prefer vulkan. I will do more testing with DX11, but as of right now here are my latest settings below:

ontop
audio-exclusive=yes

demuxer-thread=yes

vo=gpu
profile=gpu-hq
fbo-format=rgba16hf
gpu-api=vulkan
gpu-context=winvk
hwdec=nvdec-copy
spirv-compiler=shaderc

vd-lavc-dr=yes
vulkan-async-transfer
vulkan-async-compute
vulkan-swap-mode=fifo

volume-max=100

tone-mapping=hable
hdr-compute-peak=yes

scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=ewa_lanczossharp
dither-depth=auto
correct-downscaling=yes
sigmoid-upscaling=yes

deband=yes
deband-iterations=4
deband-threshold=50
deband-range=16
deband-grain=48

sub-ass-shaper=complex
sub-font-size=35
sub-scale-by-window=yes
sub-pos=100
sub-align-x=center
sub-align-y=bottom
sub-margin-y=3

glsl-shader="C:\Users\YourUsernameHere\AppData\Roaming\mpv\Shaders\KrigBilateral.glsl"

profile-desc=cond:get('height', 0) < 1440
glsl-shader="C:\Users\YourUsernameHere\AppData\Roaming\mpv\Shaders\FSRCNNX_x2_8-0-4-1.glsl"
glsl-shader="C:\Users\YourUsernameHere\AppData\Roaming\mpv\Shaders\SSimDownscaler.glsl"

I create a Shaders folder where mpv configuration is located and place the shaders above in it. They can be found here:

FSRCNNX_x2_8-0-4-1.glsl
https://github.com/igv/FSRCNN-TensorFlow/releases

SSimDownscaler.glsl AND KrigBilateral.glsl
https://gist.github.com/igv

224

(36 replies, posted in Using SVP)

Chainik wrote:

Blackfyre
> do I need to do any changes in my config below for 10Bit HDR playback?
> gpu-api=vulkan
> gpu-context=winvk

it only works with gpu-api=d3d11 and the latest mpv build (shinchiro's 20191102 or today's SVP update)

and turn on HDR in Windows display settings first!

Thank you for the fast response, I will backup my configuration and give it a test later. Damn, vulkan had the best performance for me. Hopefully DX11 works well too now, it has been a long time since I have tried it.

225

(36 replies, posted in Using SVP)

I believe it's working even though in the picture it says it's running at 24FPS, SVP is actually working and it is doing 48FPS (framerate x2) I believe from the test I done.

EDIT: Picture of stats:

https://i.imgur.com/8OZduoz.jpg