176

(14 replies, posted in Using SVP)

OP, do you have SVP 4 Pro by any chance? 4k video playback works fine in 32-bit MPC + MadVR for me with some hitching, but it's a bit smoother in mpv on my rig.

177

(11 replies, posted in Using SVP)

Chainik wrote:

It turns out that there're a lot of problems with interlaced videos here... big_smile

1. SVP replaces the entire video filter chain with the vapoursynth filter, while interlaced videos need the yadif filter to be inserted before - luckily this's quite simple to fix

2. SMPlayer sets incorrect mpv option when using "Yadif (normal)" - it sets "--vf-add=yadif" instead of "--vf-add=yadif=frame", so both "Yadif" modes in SMPlayer now output doubled frame rate

3. Vapoursynth filter inside mpv can't properly handle video deinterlaced with doubling frame rate because the video IS actually 50 fps while the internal variable "container_fps" is still set to 25 fps.


So... to make interlaced video work with SVP we need:

1. Fix SVP Manager
2. Force SMPlayer to add "--vf-add=yadif=frame" to advanced mpv options

TY. Added it to the options already, eagerly awaiting a fix smile


I don't suppose the alternative Vapoursynth deinterlacers like EEDI3/NNEDI3 work on the GPU yet, do they? They'd probably kill the CPU during real-time playback.

178

(11 replies, posted in Using SVP)

Same thing still happens in SMPlayer with the latest SVP update. DVD video is black with SVP turned on, audio works fine.


Also, dragging the whole DVD or the VIDEO_TS folder from the DVD folder to MPV just crashes MPV. However, DVD playback works fine in SMPlayer with SVP turned off.

179

(4 replies, posted in Using SVP)

I had the same problem, reset your SVP settings. If that fails, re-install.

180

(1 replies, posted in Using SVP)

Nevermind, resetting all SVP settings fixed it.

Please delete/lock, thank you.

I've re-installed it twice, and SVP refuses to put in the dang script in FFDShow that it needs to run. mad Also, downloading it takes like an hour now, even though my internet is fine, so I'd rather not re-install again.

I basically need the most recent version of the text in this box:
http://i.imgur.com/7bc84s2.jpg

Typing it in myself doesn't seem to work, I'm thinking that's from an old version.




Also, on an un-related note, SVP now completely refuses to work with MPV after the re-install mad

182

(11 replies, posted in Using SVP)

Chainik wrote:

>  It's definitely interlaced, if that matters.

this could be the problem...

Any workarounds? Commands to pass to mpv or anything?


I'm desperate now, as MPC (even with EVR/no SVP) suddenly decided it can't play DVDs anymore mad

183

(11 replies, posted in Using SVP)

OK, so I tried ripping the DVD with my usual software (DVDvob2mpg, which should just repackage the video instead of transcoding it).


A. The video is now corrupted for some reason, in both MPC and SMPlayer with SVP off hmm

B. But I get the exact same behavior in SMPlayer. Black screen with SVP on, normal video with SVP closed or the "temporarily disabled" checkbox checked.



Might be something to do with how the video is encoded. It's definitely interlaced, if that matters.

Log from SMPlayer, then MPC:

17:19:00.701 [i]: VideoPlayer: mpv connected, waiting for the video info...
17:19:00.801 [i]: VideoPlayer: mpv git-a4a2649
17:19:00.926 [i]: Media: video 720x480 [PAR 0.889] at 29.970 fps [constant]
17:19:00.928 [i]: Media: scan type is interlaced, assuming 59.940 fps instead of 29.970 fps
17:19:00.928 [i]: Media: codec type is MPEG Video, YUV/4:2:0/8 bits
17:19:00.928 [i]: 4492 0
17:19:01.200 [i]: Playback: starting up...
17:19:01.200 [i]: Playback [7a1dc859]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
17:19:01.203 [i]: Playback [7a1dc859]: resulting video frame 720x480
17:19:01.204 [i]: Playback [7a1dc859]: 1 acceptible profiles, best is 'Automatic' [0]
17:19:01.204 [i]: Playback [7a1dc859]: enabled while video is playing
17:19:01.204 [i]: Profile: using auto values [1]
17:19:01.209 [i]: Playback: playing at 59.94 [59.94 *1/1]
17:19:26.276 [E]: QWindowsPipeWriter: GetOverlappedResult failed. (The pipe has been ended.)
17:19:40.333 [i]: Playback [7a1dc859]: disabled while video is playing
17:20:13.042 [i]: Playback [7a1dc859]: deleted
17:20:33.583 [i]: 396 328606
17:20:33.584 [i]: VideoPlayer: new ffdshow video [50320] in mpc-hc64.exe (64-bit) [MPC-HC 1.7.10.0] on screen 0
17:20:33.718 [i]: Media: video 720x480 [PAR 0.889] at 29.970 fps [constant]
17:20:33.719 [i]: Media: scan type is interlaced, assuming 59.940 fps instead of 29.970 fps
17:20:33.719 [i]: Media: codec type is MPEG Video, YUV/4:2:0/8 bits
17:20:33.719 [W]: Media: frame rate info can be incorrect - 29.970 fps via ffdshow vs. 59.940 fps via MediaInfo
17:20:33.720 [i]: VideoPlayer: clear AVS script previously set by SVP
17:20:33.721 [i]: Playback: starting up...
17:20:33.721 [i]: Playback [50320]: Frame server (64-bit) 0.1.0.0, AviSynth+ 0.1 (r1779, MT, x86_64), C:\WINDOWS\SYSTEM32\avisynth.dll
17:20:33.724 [i]: Playback [50320]: resulting video frame 720x480
17:20:33.724 [i]: Playback [50320]: 1 acceptible profiles, best is 'Automatic' [0]
17:21:05.171 [i]: Playback [50320]: enabled while video is paused
17:21:05.171 [i]: Profile: using auto values [1]
17:21:05.179 [i]: Playback: playing at 59.94 [59.94 *1/1]
17:21:17.777 [i]: Playback [50320]: seek was detected - turning off and back on...
17:21:17.844 [i]: FFDShow: remove instance [50320]
17:21:17.844 [i]: Playback [50320]: disabled while video is stopped
17:21:18.179 [i]: Playback [50320]: deleted

184

(138 replies, posted in Using SVP)

Chainik wrote:

> I wish I could use madvr to improve picture quality

https://mpv.io/manual/master/#video-output-drivers

prescale-luma=<filter>
- superxbr
- nnedi3

scale=<filter>
- spline36: Mid quality and speed. This is the default when using opengl-hq.

So just to be clear, this is how I set scaling in SMPlayer right?

http://imgur.com/SCMC8fn

185

(11 replies, posted in Using SVP)

And this is with normal video off the hard drive (which works just fine):

14:17:18.355 [i]: VideoPlayer: mpv connected, waiting for the video info...
14:17:18.456 [i]: VideoPlayer: mpv git-a4a2649
14:17:18.668 [i]: Media: video 1920x1080 [PAR 1.000] at 23.976 fps [constant]
14:17:18.669 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits
14:17:18.669 [i]: 1716 0
14:17:18.854 [i]: Playback: starting up...
14:17:18.854 [i]: Playback [752fd133]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
14:17:18.857 [i]: Playback [752fd133]: resulting video frame 1920x1080
14:17:18.857 [i]: Playback [752fd133]: 1 acceptible profiles, best is 'Automatic' [0]
14:17:18.857 [i]: Playback [752fd133]: enabled while video is playing
14:17:18.858 [i]: Profile: using auto values [1]
14:17:18.868 [i]: Playback: playing at 89.91 [23.976 *15/4]
14:18:29.577 [E]: QWindowsPipeWriter: GetOverlappedResult failed. (The pipe has been ended.)
14:18:29.676 [i]: Playback [752fd133]: disabled while video is paused
14:18:29.677 [i]: Playback [752fd133]: deleted

186

(11 replies, posted in Using SVP)

Chainik wrote:

a part of SVP's log starting from "VideoPlayer: mpv ..." could be helpful wink

I'm afraid it's not very helpful sad

(I heard audio with no video during the 3 minutes it was playing ).

14:10:39.663 [i]: VideoPlayer: mpv connected, waiting for the video info...
14:10:39.763 [i]: VideoPlayer: mpv git-a4a2649
14:10:41.653 [i]: Media: video looks like some kind of stream
14:10:41.653 [i]: Media: video 720x480 [PAR 0.889] at 29.970 fps [constant] (via mpv)
14:10:41.653 [i]: Media: codec type is MPEG-2 video [lavc:mpeg2video], yuv420p
14:10:41.654 [i]: 4852 0
14:10:41.685 [i]: Playback: starting up...
14:10:41.685 [i]: Playback [16521541]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
14:10:41.688 [i]: Playback [16521541]: resulting video frame 720x480
14:10:41.688 [i]: Playback [16521541]: 1 acceptible profiles, best is 'Automatic' [0]
14:10:41.689 [i]: Playback [16521541]: enabled while video is playing
14:10:41.689 [i]: Profile: using auto values [1]
14:10:41.695 [i]: Playback: playing at 89.9101 [29.97 *3/1]
14:13:51.791 [E]: QWindowsPipeWriter: GetOverlappedResult failed. (The pipe has been ended.)
14:13:51.894 [i]: Playback [16521541]: disabled while video is playing
14:13:51.895 [i]: Playback [16521541]: deleted

I'd be happy to get other logs/details, just point me in the right direction smile

187

(138 replies, posted in Using SVP)

Blackfyre wrote:

So just to be clear I download MPV from the official site here:

https://mpv.srsfckn.biz/

Then download and install smplayer-16.1.0-x64.exe from the official site:

http://www.smplayer.eu/en/downloads

Then use SMPlayer.

Anything special I need to do regarding changing directory or something mentioned up top?

Also you should make this thread into a sticky Chainik, but up to you smile

Thank in return.

EDIT: I just ran the maintenance tool for SVP and clicked ADD features and realised everything is there to be ticked as extra downloads. I've done that. I just need to download SMPlayer now. Thanks.

EDIT #2: There is no mpv.exe in the download section of SVP download page on the website.... Where it says I need to download special version of MPV from here.

EDIT 3: Don't worry again haha, I went preferences in SMPlayer, general section, and changed the directory for mpv.exe from the one in SVP 4 folder in program files that got downloaded as one of the addons from edit 1.


Ya, thats the way to do it. Just moving the .exe didn't work for me.

188

(138 replies, posted in Using SVP)

dlr5668 wrote:

Finally got working mpv with Kodi. Since kodi uses old as shit python 2.7 mpv needs python 3.5+vaporsynth in same folder (aka portable).

Good info

Also, be sure you're using the newest DSPlayer, which isn't the one in the OP:

http://forum.kodi.tv/showthread.php?pid … pid2275141

Running Windows 10 x64 with SVP 4 Pro and SMPlayer.

-With MPC and MPCx64, DVD playback with SVP works fine.

-With SMPlayer, normal videos off the hard drive work fine with SVP on or off.

-DVDs in SMPlayer (with SVP's version of mpv as the renderer) work fine when SVP is closed.

-When SVP is open and I'm playing a DVD, I get a black screen with audio, like so:
http://imgur.com/a/O52sm (bottom is without SVP)


It's the NTSC Avatar DVD, if that matters. I'm also running a custom refresh rate for the DVD (90hz), but it does the same thing at 60hz, 96hz, and 110hz.

190

(138 replies, posted in Using SVP)

Got it working! Instead of copying the file, under "general", I just set the MPV directory to the one in the SVP folder... DVD playback still doesn't work, but whatever roll


Anyway, you're right, there is a huge performance boost with Vapoursynth.

191

(138 replies, posted in Using SVP)

Chainik wrote:

mpv.exe depends on vapoursynth.dll depends on python 3.5 and vc++ 2015 redist

I assume the SVP setup program installed vapoursynth, but I installed the other dependencies already. I re-installed Python and VC++ just to be sure.


Interestingly, SVP doesn't seem to detect MPV (the .exe in the SVP's "mpv64" folder) with normal videos, and it just crashes when I try to play a DVD. SMPlayer just crashes either way.

192

(138 replies, posted in Using SVP)

Chainik wrote:

> No madVR

Software scalers: https://mpv.io/manual/master/#software-scaler

Video output drivers: https://mpv.io/manual/master/#video-output-drivers
opengl:  search for "superxbr", "nnedi3" and others

===

mpv can do whatever every other player can (and even more)
but its configuration just "a little bit" complicated big_smile

so SMPlayer is a good option to start with mpv wink

Down the mpv rabbit hole I go smile


Unfortunately, despite following the setup guide, both MPV and SMPlayer do nothing but crash now, and I can't even find crash logs sad.

193

(138 replies, posted in Using SVP)

What are the advantages and disadvantages in your opinion?


I want to hear this as well.


I think there's a performance advantage with MPV, but you can't use MadVR or ReClock with it atm.

194

(6 replies, posted in Using SVP)

As an alternative, you could just leave your TV at 48hz or 60hz and use MadVR's "smooth motion" for live action, and SVP for animation.



Also, on a separate note, someone is merging the Jarvis updates into the old DSPlayer build. Be sure to get your updates from the later forum posts, not the first posts:
http://forum.kodi.tv/showthread.php?pid … pid2275141

195

(14 replies, posted in Using SVP)

Nintendo Maniac 64 wrote:

I made a post about customizing SVP's settings a few months back.  It may be exactly what you're looking for:



If you need more performance, leave all the custom settings at their default except for the following 4 options:

  • Motion vectors precision

  • Motion vectors grid

  • SVP Shader

  • SVP interpolation mode

Start with the first setting ("Motion vectors precision") by decreasing its value by 1 step (to "One pixel") and then testing your SVP performance.  If that's not enough, decrease it by another step again (to "Two pixels") and re-test your performance.  If it's still not enough then keep it at "Two pixels" and move onto the setting listed next on the list - "Motion vectors grid".

Do this process of decreasing the value and then, if necessary, moving to the next setting in the list above and then decreasing it's value as well etc etc until you get full performance.

The only exception is that you may want to manually set the SVP shader to "Sharp (anime)" for traditional non-CGI animated content.

For really low-end systems (read: 10 year old dual-core PCs without GPU acceleration), you need to mix and match the settings to get optimal smoothness, like using 1m + standard + 16px rather than adaptive + sharp + 28px (the latter being what SVP's automatic options would use (relevant thread).

That's exactly what I was looking for, thanks.

Also, it turns out SVP's automatic settings were actually pretty high. Kudos to the SVP devs for assessing performance so well, but (correct me if I'm wrong) I don't think the algorithm factors in the display's refresh rate.

196

(14 replies, posted in Using SVP)

Nintendo Maniac 64 wrote:

Wait, so uh, did increasing the processing threads fix your performance woes or not?  Because if it did, then what else is there to solve?


Sort of. SVP settings are still lower than I like: with the automatic "quality" bar, it's either 1 notch below the middle with 90%+ CPU usage and some hitches (but less with more threads), 2 notches below the middle with a noticeable quality drop, or 48hz with less smoothness.


Basically, I'm still looking for more optimized custom settings for live action video.

197

(14 replies, posted in Using SVP)

Nintendo Maniac 64 wrote:
brucethemoose wrote:

Yes, I get full speed at fullscreen (2560x1440), but only if I manually set alot of threads.

There's no reason to not set a lot of threads if not doing so results in less than full speed.

Basically, take the amount of threads your CPU has (4), double that amount (8), then round up (9).  If that doesn't give you full speed, then step up to the next setting (11, 13, etc) until you do get full speed.

The thing is, you don't want to just blindly max out the amount of threads because, if you get full speed with 9 threads, setting it to 15 threads will actually result in higher CPU utilization for no benefit.

brucethemoose wrote:

I can test EVR if you really want, but I'll have to test in MPC instead of Kodi DSPlayer.

If you can get fullspeed in DSPlayer + MadVR by just increasing the amount of threads that SVP uses, then don't worry about it.

brucethemoose wrote:

Right now, I'm using Jinc scaling + SuperRes sharping, as my 7950 can't quite handle NNEDI3 image doubling + downscaling without reducing SVP's settings. GPU usage isn't close to maxed out.

Have you tried setting SVP to use your integrated Intel GPU while setting MadVR to use your discrete AMD GPU?

My IGP isn't enabled, and a 7950 is like an order of magnitude more powerful than HD 4600 anyway, so it's not a big deal.


I still can't find the buffering setting in the SVP settings or the .cfg files themselves, but I swear I've seen one in the past. Is it a custom setting, or is it just hidden for now?

198

(14 replies, posted in Using SVP)

Sorry for the delay

Nintendo Maniac 64 wrote:

Just to make sure, in MPC-HC, if you instead use the following:

  • Enhanced Video Renderer (custom presenter)

  • enable "D3D Fullscreen"

  • Set resizer to "Bilinear" (NOT "Bilinear (PS 2.0)"

Do you get full speed in fullscreen?

I'm using MadVR as a renderer instead, which probably has something to do with it. Yes, I get full speed at fullscreen (2560x1440), but only if I manually set alot of threads. I can test EVR if you really want, but I'll have to test in MPC instead of Kodi DSPlayer.



What player do you use? Unlike nintendo I don't suggest setting bilinear scalng and fullscreen dx. I set bicubic 0.75 because it looks better.

Kodi DSPlayer, mostly. Right now, I'm using Jinc scaling + SuperRes sharping, as my 7950 can't quite handle NNEDI3 image doubling + downscaling without reducing SVP's settings. GPU usage isn't close to maxed out.


If you want really stable smooth playback then you need to lower SVP settings to get CPU load at 80%. It will reserve the rest 20% to complicated places in video where CPU load growth is quite possible.

Just out of curiosity, what's the ini setting for SVP's buffering? I have alot of RAM/VRAM to spare, and while SVP is stable enough on the edge (for me), prerendering more frames might help.


Integer multiplier uses less calculated frames because all original frames are shown.
2x = 1 original + 1 calculated
2.4x = 0.2 original + 2.2 calculated
2.5x = 0.5 original + 2 calculated
3x = 1 original + 2 calculated
Frames are composed on GPU, so 2.5x and 3x gives equal GPU load. 2.4x gives greater GPU load than 2.5x and 3x.

Ya, I noticed that there isn't a huge CPU difference between 3x (72hz) and 4x (96hz). Also, I just use the multiplier instead of syncing it to the screen, which is ideal, right?



Also, I've profiled my system with xperf just to be sure, SVP is using most of the CPU tongue

199

(14 replies, posted in Using SVP)

Thanks, that actually helped alot. CPU usage is still at 93%+, but playback is much more stable.

200

(14 replies, posted in Using SVP)

Even with fairly basic MadVR settings (no image doubling, no super-res), SVP 4 Pro's "automatic" setting can't seem to keep up with 96hz playback on my 1440p screen with 1080p video.


Running a 4670k @ 4.3ghz, 7950 @ 1150mhz


I've fiddled with custom settings for a bit, but can't get anything acceptable. For now, I have to settle with 48hz playback... Anyone have any tips for good custom SVP parameters?