51

(15 replies, posted in Using SVP)

James D wrote:

There are many core features I could suggest like true Variable Framerate video playback by right click on it, select Variable SVPlayback/Dropfix so it would analyze whole video for a minute and then would output desired framerate fluently without switching multiplier every fps change.
Also a possibility to encode it to a new file of course so people could "dropfix" their video if they desire so.
But I didn't throw all my ideas right now because developers still struggle with previous things I suggested.

Wait, I don't understand this. Why would you need that? What kind of video file changes its framerate constantly?
And even if that is a thing then the people who produce such files need to be educated on doing a better job instead of every program catering to their (to be honest: fucking stupid) needs.

Please understand, this is not an attack on you!

52

(15 replies, posted in Using SVP)

Mystery wrote:

... I have an octacore from 3.5 years ago. They still aren't common?

It rocks at video encoding, couldn't believe it the first time I saw it. Unfortunately performance went backwards after that.

anything above 4 cores is still not mainstream so many programs don't really use all the performance they could get from this.
With RyZen on the HoRyzen (sorry, had to be done), this will likely change - especially since the performance seems to rival intel (per core; roughly) but being at a MUCH lower price point (especially if you count the AM4 mainboards).

53

(15 replies, posted in Using SVP)

I think that with AMD Ryzen CPUs, octacore will become mainstream - if SVP takes advantage of those (I assume it will), many performance problems will go away automatically

This raises another question though: What was changed? Is there a changelog?

The status information is stats.lua for mpv, it has nothing to do with SVP

56

(19 replies, posted in Using SVP)

c.wiedmann wrote:
dejavecue wrote:

Using something like NNEDI3 upscaling in MPC maybe? That stuff is really tough on hardware.

c.wiedmann wrote:

I didn't change any options in mpc after installing, so my guess is no. But also Im a sucker when it comes to finding stuff in those options. Could you explain me how to check on that?

I don't use mpc, but as far as I remember, if you did not change anything, upscaling is either off by default or using a really fast upscaler, so that should not be the problem.

dejavecue wrote:

For 4K content I really just set my monitor to an integer multiple of the framerate (i.e. 48Hz for 23.976fps content) and let smoothmotion (or interpolation if you use mpv) do its magic.

c.wiedmann wrote:

I do not use mpv, but Im absolutely open to using it if it allows me to play 4k content. Could you also tell me how I set that up?

I am not at home at the moment and the University stress kind of prohibits me from writing extensively on the topic of mpv, however:
If you are comfortable with:
Command Line Players (although with some hacks this is not necessary); i.e. effecting playback from the command line
Config file manipulation to achieve anything the players wants (i.e. the player has no GUI or settings dialogues).
MPV is actually developed to be a player backend, not a full player
You must also be willing to read the manual - the developers will not spoonfeed us.

57

(19 replies, posted in Using SVP)

c.wiedmann wrote:

Thanks alot, I can now freely go in and out of fullscreen, but the stuttering got worse and now also affects the sound, which is now completely asynchronous. Not watchable at all.. The performance window shows that my system is running at 70% capacity the whole time when I watch something in 720p even if I slide more to the left (performance) and put the artifacts masking on medium.

Using something like NNEDI3 upscaling in MPC maybe? That stuff is really tough on hardware.

c.wiedmann wrote:

I could easily crank that up to highest quality and high masking without the performance being so massively impaired.

When I try to play 4k content the frame freezes immediately and sometimes the sound gets stuck and continues to loop in a horrible way even if I kill all related tasks, leaving me no other option but to reboot my machine.

Real 4K content is 4 times the number of pixels to look at for SVP. Even at the lowest settings, most systems will struggle to achieve even double fps, something like 5/2 * fps is probably really reaching it. Even if you had a 1080.

For 4K content I really just set my monitor to an integer multiple of the framerate (i.e. 48Hz for 23.976fps content) and let smoothmotion (or interpolation if you use mpv) do its magic.

Jeff R 1 wrote:

You're not going to get any more then 60fps no matter whet the product if you're using a computer.
60 fps is the max amount that HDMI can handle, anything higher then that is done inside the display or the computer, but in the end the HDMI connection is limited to 60fps.

If you know what you're doing, you are probably using DisplayPort anyway.

I hope this does not count as a necro, reviving this thread after this time.
Here goes:

When I follow the instructions here, I always get the following error message (attachment #1)

The mentioned line in the script is seen in attachment #2, it is the space in front of the "r".
Deleting the space does not solve the error (as the file just gets overwritten again).

Any idea what is the problem here?

Plus, if you had even the slighest idea of what you are talking about, you would realise that no phone is even half powerful enough to do motion-based frame interpolation.

The only thing you can do is pre-interpolate on your computer, then play that file on your phone. This will however take multiple hours to interpolate one file.

61

(185 replies, posted in Using SVP)

Does this software support HEVC files? Because the last time I tried, it would always crash when I'd select a file encoded with h265

62

(138 replies, posted in Using SVP)

myfakeacc wrote:

Don't have the problem, no.
Test with --no-config and when it still happens try to find the option causing it. Once you know it's probably useful to report it.

Yeah, found the trouble. Had an old script ("autospeedwin.lua") that was loaded automatically. It somehow managed to interfere with the quitting process and since I don't even use it, I deleted the file and now it works perfectly!

63

(138 replies, posted in Using SVP)

myfakeacc wrote:

Random fact: you can all of the "script=" lines (the last one overwrites all previous lines anyway). Scripts are automatically loaded from this directory.

Good to know. Remnants of my config are as old as mpv 0.1 I believe.

However, it does not solve the original problem. Am I to understand that I am the only one having this problem?

64

(138 replies, posted in Using SVP)

Anyone else have the problem that mpv does not want to close anymore?

When SVP is active, it will quit with an error (Windows is searching for a fix bla bla).
When SVP is not running, I have to force close mpv using taskmanager (I use mpv for Youtube and most of the videos I watch are already 60fps so I keep it off).

Here's my config, running on Windows 10 Pro x64, all up to date

# Video settings
profile=opengl-hq
opengl-backend=angle
opengl-dcomposition=no
scale=ewa_lanczossharp
scale-antiring=0.8
opengl-pbo
icc-cache-dir="~~/icc-cache"
icc-profile="~~/LG UHD.icm"
icc-3dlut-size=512x512x512
target-prim=bt.2020
framedrop=vo
hwdec=d3d11va-copy
input-ipc-server=mpvpipe

# Audio settings
ao=wasapi
volume=50
audio-channels=6
alang=en,eng
initial-audio-sync=yes

# Subtitle settings
no-sub
slang=en,eng,ger
sub-font-size=40
sub-shadow-offset=0
sub-border-size=3.5
sub-color="#ffffffff"
sub-border-color="#ff000000"
sub-font="Source Serif Pro"
sub-ass-force-margins=yes
sub-use-margins=yes

# OSC settings
script-opts=osc-layout=bottombar,osc-seekbarstyle=bar,osc-hidetimeout=3000,osc-minmousemove=1,osc-fadeduration=0

# OSD settings
osd-font="Source Sans Pro"
osd-level=1
osd-status-msg='(${percent-pos}%) ${time-pos} / ${duration}\n${?chapter:Chapter: ${chapter}}\n${?vo-drop-frame-count:Frames Dropped: ${vo-drop-frame-count}'
osd-scale-by-window=no

# Screenshot settings
screenshot-format=png

# Window settings
screen=1
no-border
autofit-smaller=80%x80%
autofit-larger=90%x90%

# Miscellaneous settings
priority=high
ytdl-format=(bestvideo[height<=?2160][fps<=?60]/bestvideo[height<=?2160]/bestvideo[height<=?2160])+(bestaudio[acodec=opus]/bestaudio)
#ytdl-format=(bestvideo[vcodec=vp9][height<=?2160][fps<=?60]/bestvideo[vcodec=vp9][height<=?2160]/bestvideo[height<=?2160])+(bestaudio[acodec=opus]/bestaudio)
save-position-on-quit
cache=yes
cache-file=TMP
cache-file-size=12582912
cache-default=12582912
cache-backbuffer=750000
cache-initial=0
cache-secs=60
cache-pause=yes
force-window=immediate

# Unknown and custom settings
script=~~/scripts/autoload.lua
script=~~/scripts/stats.lua
script=~~/scripts/perfstats.lua
script=~~/scripts/playlistmanager.lua

[extension.webm]
save-position-on-quit=no
loop-file=inf

# Extensions - Do not add custom settings that are not extension related below this line.

65

(138 replies, posted in Using SVP)

Nintendo Maniac 64 wrote:

Sooo....am I out of luck much like my SVPtube2 issue?

I ask because, as a Plan B, I might look into trying mpv + SVP on Linux since Linux Mint 18.1 comes out in a couple days.  Due to the popularity of that distro, I would imagine that SVP and mpv should largely "just work" on a fresh OS installation without dealing with weird obscure issues.

I don't understand why you try to use SVPtube when you are also using mpv, which has built-in compatibility with youtube-dl.
I just use those and let SVP interpolate the video then.

This also works on most porn sites by the way wink

66

(138 replies, posted in Using SVP)

Does anyone still sometimes get random crashes with mpv & svp4?

Some days I can binge watch a series, 10 or more episodes and nothing out of the ordinary happens, sometimes I put on a movie or an episode and after 10 minutes mpv just randomly crashes.

If your monitors can't overclock, instead of going for 72Hz (3 x 24), simply try shooting for 48Hz (2 x 24). It even saves you processing power, as SVP will only have to calculate one frame between each actual frame and not two.

It never worked for me. I now just use nircmc.exe to manually change my monitor refresh rate. It is not optimal, but it works

Why not just use youtube-dl for downloading youtube videos? It supports loads of other sites as well.

70

(138 replies, posted in Using SVP)

brucethemoose wrote:

You misspelled the dscale parameter, I think.

Also, any particular reason you use dxinterop instead of angle? I'm an mpv noob, so I have no idea what the benefits of either are.


Oh sorry for the confusion, this is not my config (I use the mpv version supplied by the SVP team). My earlier post was meant as a heads up.

However, I do use dxinterop because I have problems with angle when playing full screen games (Windows 10 completely freezes up for some reason).

71

(138 replies, posted in Using SVP)

Fair warning to all mpv users. The newest mpv has a drastically revamped config system. I have posted a sample config below, and as you can see, the developers have put some effort into making the config files more clutter-free.

So the next time the SVP manager updates your mpv, be wary that you may have to change stuff.
Some options have also changed names (for example backend= has become opengl-backend=), so refer to the manual

# Video settings

opengl-pbo

profile=opengl-hq
opengl-backend=dxinterop

tscale=oversample
interpolation
linear-scaling
scale=ewa_lanczossharp
cscale=ewa_lanczossoft
dscale=ewa_lanczosshar
temporal-dither
deband-iterations=2:deband-range=12
opengl-shaders="~~/shaders/faux-HDR.glsl,~~/shaders/CrossBilateral.glsl"

video-sync=display-resample
ytdl-format=bestvideo+bestaudio/best
hwdec=auto-copy
framedrop=vo

72

(138 replies, posted in Using SVP)

hsiktas wrote:

Somehow I can't use hardware decoding with mpv on Windows. Here is mpv's output:

D:\Incoming> Get-Command mpv                                                                                                                     
                                                                                                                                                 
CommandType     Name                                               Version    Source                                                             
-----------     ----                                               -------    ------                                                             
Application     mpv.com                                            0.0.0.0    C:\Program Files (x86)\SVP 4\mpv64\mpv.com                         
                                                                                                                                                 
                                                                                                                                                 
D:\Incoming> mpv .\Big_Buck_Bunny_1080p_surround_FrostWire.com.avi                                                                               
Resuming playback. This behavior can be disabled with --no-resume-playback.                                                                      
Loading config 'C:\Users\Hakan Siktas\AppData\Roaming/mpv/watch_later/59043CA833BE9181F8E7410664A3B90B'                                          
Playing: .\Big_Buck_Bunny_1080p_surround_FrostWire.com.avi                                                                                       
 (+) Video --vid=1 (mpeg4)                                                                                                                       
 (+) Audio --aid=1 (ac3)                                                                                                                         
Opening video filter: [vapoursynth file=C:\Users\Hakan Siktas\AppData\Roaming\SVP4\scripts\43e26dc2.py buffered-frames=4 concurrent-frames=15]   
AO: [wasapi] 48000Hz 5.1(side) 6ch float                                                                                                         
Using software decoding.                                                                                                                         
Opening video filter: [vapoursynth file=C:\Users\Hakan Siktas\AppData\Roaming\SVP4\scripts\43e26dc2.py buffered-frames=4 concurrent-frames=15]   
VO: [opengl-hq] 1920x1080 yuv420p                                                                                                                
AV: 00:04:41 / 00:09:56 (47%) A-V: -0.006 DS: 1.000/1                                                                                            
Saving state.                                                                                                                                    
[vapoursynth] Filter error at frame 368: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 369: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 370: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 371: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 378: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 379: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 380: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 381: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 382: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 372: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 374: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 375: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 373: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 377: EOF or filter reinit/uninit                                                                             
[vapoursynth] Filter error at frame 376: EOF or filter reinit/uninit                                                                             
                                                                                                                                                 
                                                                                                                                                 
Exiting... (Quit)                                                                                                                                
D:\Incoming>                                                                                                                                     

SVP's event log:

23:16:32.792 [i]: VideoPlayer: mpv connected, waiting for the video info...
23:16:33.298 [i]: VideoPlayer: mpv 0.19.0-git-ef2d6ed
23:16:33.340 [i]: Media: video 1920x1080 [PAR 1.000] at 24.000 fps [constant]
23:16:33.340 [i]: Media: codec type is MPEG-4 Visual, YUV/4:2:0
23:16:33.346 [i]: Playback: starting up...
23:16:33.346 [i]: Playback [43e26dc2]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
23:16:33.351 [i]: Playback [43e26dc2]: resulting video frame 1920x1080
23:16:33.351 [i]: Playback [43e26dc2]: 1 acceptible profiles, best is 'Automatic' [0]
23:16:33.352 [i]: Playback [43e26dc2]: enabled while video is playing
23:16:33.352 [i]: Profile: using auto values [1]
23:16:33.385 [i]: Playback [43e26dc2]: playing at 60 [24 *5/2]
23:16:40.230 [i]: Playback [43e26dc2]: disabled while video is playing
23:16:40.230 [i]: Playback [43e26dc2]: deleted

And this is my mpv.conf:

D:\Incoming> cat 'C:\Users\Hakan Siktas\AppData\Roaming\mpv\mpv.conf'
#
# THIS FILE WILL BE OVERWRITTEN WITH THE PACKAGE UPDATE
# Use %APPDATA%/mpv/mpv.conf to
#     define your own customized configuration
#
# Sample mpv configuration
#

# this is required for SVP to "catch" the mpv
input-ipc-server=mpvpipe

# hardware video decoder
hwdec=d3d11va-copy
#hwdec=dxva-copy
hwdec-codecs=all

# high quality video output
vo=opengl-hq:backend=angle
#vo=opengl-hq:backend=angle:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:interpolation:tscale=mitchell:tscale-clamp:temporal-dither:user-shaders="~~/shaders/adaptive-sharpen.glsl"

# "ReClock" replacement
video-sync=display-resample
video-sync-max-video-change=5

# miscellaneous options
save-position-on-quit=yes

#log-file=mpv.log

ao=wasapi

slang=enUS,en,eng
alang=jp,jpn,enUS,en,eng

autosync=30
af=volume=5.1
D:\Incoming>

Is there some misconfiguration on my site? The default mpv.conf won't enable hardware decoding either and compared to MPC-HC, mpv's CPU usage is much higher (30% on a 3,4 GHz Haswell Xeon).
Personally I would prefer mpv over MPC-HC because of its working audio pitch correction on higher playback speeds and its minimal UI. But without hardware decoding I get dropped frames on higher playback speeds like for example 1.2x.

It works on my machine @ double framerate - but also @ ~30% CPU / 8% GPU.

3 ideas:
1) if you use SVP, there is really no need for interpolation, so I would disable tscale (which sets it to oversample, which only works for framerate mismatch - that is negated by SVP obviously)
2) For me, mpv automatically speeds up 23.976 videos to 24 fps (and SVP then converts to 48fps), so I have display-resample disabled.
3) I don't know how hardware hungry the adaptive-sharpen is, maybe disable that

If the trouble persists, maybe file a bug report

73

(138 replies, posted in Using SVP)

Looks like your GPU doesn't support SVP? (Or the other way around?)
Maybe try reinstalling / updating GPU drivers and try again.

74

(138 replies, posted in Using SVP)

brucethemoose wrote:

I had that same issue in SMPlayer when opening interlaced DVD rips, but not with plain mpv.

EDIT: And yeah, that length detection thing is a known bug.

I see, well, working around it with setting it to 0 works.

By the way, is there any manual for the stuff you find under Application Settings - Additional Options - All Settings?
I could not find that anywhere.

I just use youtube-dl with mpv and let SVP interpolate that. One less interference by an additional program