Re: mpv based video players for Windows

Posting my config

# Video settings
vo=opengl-hq:backend=dxinterop:scale=haasnsoft:cscale=haasnsoft:scale-antiring=1:cscale-antiring=1:pbo:fbo-format=rgb32f:3dlut-size=512x512x512:icc-cache-dir="~~/icc-cache":icc-profile="~~/LG UHD.icm"
hwdec=no
input-ipc-server=mpvpipe

# Audio settings
ao=wasapi
#audio-device=wasapi/{645a2aaa-ccc5-4b3a-98a2-03ab73941c68}
audio-pitch-correction=no
volume=50
audio-channels=6
alang=en,eng
initial-audio-sync=yes
softvol=yes

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

# OSC settings
script-opts=osc-layout=bottombar,osc-seekbarstyle=bar,osc-hidetimeout=1500

# 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}'

# Screenshot settings
screenshot-format=png

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

# Miscellaneous settings
priority=high
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
force-window=immediate

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

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

Any of you guys have any idea why sometimes when I open a video in mpv with SVP on or off (doesn't seem to make a difference), the video itself is not shown, but I can hear the audio just fine?

Also sometimes, SVP just would not start, so I had to set the minimum file duration to 0 (instead of 4; SVP would recognize movies of 2 hours as less than 4 s long)

77 (edited by brucethemoose 21-08-2016 20:48:21)

Re: mpv based video players for Windows

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.

Re: mpv based video players for Windows

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.

Re: mpv based video players for Windows

Hello,

Not working for me:

01:29:39.485 [i]: VideoPlayer: mpv connected, waiting for the video info...
01:29:53.987 [i]: VideoPlayer: mpv 0.19.0-git-ef2d6ed
01:29:54.037 [i]: Media: video 1920x800 [PAR 1.000] at 23.976 fps [constant]
01:29:54.037 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits
01:29:54.066 [i]: Playback: starting up...
01:29:54.067 [i]: Playback [54c55f50]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
01:29:54.070 [i]: Playback [54c55f50]: resulting video frame 1920x800
01:29:54.071 [i]: Playback [54c55f50]: 3 acceptible profiles, best is '47-' [85]
01:29:54.071 [i]: Playback [54c55f50]: enabled while video is playing
01:29:54.071 [i]: Profile: using auto values [1]
01:29:54.082 [i]: Playback [54c55f50]: playing at 143.856 [23.976 *6/1]
01:29:54.155 [E]: Playback [54c55f50]: VS - Script evaluation failed:
01:29:54.155 [E]: Playback [54c55f50]: VS - Python exception: SVSmoothFps: unable to init GPU-based renderer - code 255
01:29:54.155 [E]: Playback [54c55f50]: VS - Traceback (most recent call last):
01:29:54.155 [E]: Playback [54c55f50]: VS - File *src\cython\vapoursynth.pyx*, line 1491, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:26897)
01:29:54.155 [E]: Playback [54c55f50]: VS - File *C:\Users\Haste\AppData\Roaming\SVP4\scripts\54c55f50.py*, line 53, in <module>
01:29:54.155 [E]: Playback [54c55f50]: VS - smooth = interpolate(clip)
01:29:54.155 [E]: Playback [54c55f50]: VS - File *C:\Users\Haste\AppData\Roaming\SVP4\scripts\54c55f50.py*, line 36, in interpolate
01:29:54.155 [E]: Playback [54c55f50]: VS - smooth = core.svp2.SmoothFps(input,super[*clip*],super[*data*],vectors[*clip*],vectors[*data*],smoothfps_params,src=clip,fps=container_fps)
01:29:54.155 [E]: Playback [54c55f50]: VS - File *src\cython\vapoursynth.pyx*, line 1383, in vapoursynth.Function.__call__ (src\cython\vapoursynth.c:25204)
01:29:54.155 [E]: Playback [54c55f50]: VS - vapoursynth.Error: SVSmoothFps: unable to init GPU-based renderer - code 255
01:29:54.204 [E]: Playback [54c55f50]: VS - Script evaluation failed:
01:29:54.204 [E]: Playback [54c55f50]: VS - Python exception: SVSmoothFps: unable to init GPU-based renderer - code 255
01:29:54.204 [E]: Playback [54c55f50]: VS - Traceback (most recent call last):
01:29:54.204 [E]: Playback [54c55f50]: VS - File *src\cython\vapoursynth.pyx*, line 1491, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:26897)
01:29:54.204 [E]: Playback [54c55f50]: VS - File *C:\Users\Haste\AppData\Roaming\SVP4\scripts\54c55f50.py*, line 53, in <module>
01:29:54.204 [E]: Playback [54c55f50]: VS - smooth = interpolate(clip)
01:29:54.204 [E]: Playback [54c55f50]: VS - File *C:\Users\Haste\AppData\Roaming\SVP4\scripts\54c55f50.py*, line 36, in interpolate
01:29:54.204 [E]: Playback [54c55f50]: VS - smooth = core.svp2.SmoothFps(input,super[*clip*],super[*data*],vectors[*clip*],vectors[*data*],smoothfps_params,src=clip,fps=container_fps)
01:29:54.204 [E]: Playback [54c55f50]: VS - File *src\cython\vapoursynth.pyx*, line 1383, in vapoursynth.Function.__call__ (src\cython\vapoursynth.c:25204)
01:29:54.204 [E]: Playback [54c55f50]: VS - vapoursynth.Error: SVSmoothFps: unable to init GPU-based renderer - code 255
01:29:54.245 [E]: Playback [54c55f50]: VS - Script evaluation failed:
01:29:54.245 [E]: Playback [54c55f50]: VS - Python exception: SVSmoothFps: unable to init GPU-based renderer - code 255
01:29:54.246 [E]: Playback [54c55f50]: VS - Traceback (most recent call last):
01:29:54.246 [E]: Playback [54c55f50]: VS - File *src\cython\vapoursynth.pyx*, line 1491, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:26897)
01:29:54.246 [E]: Playback [54c55f50]: VS - File *C:\Users\Haste\AppData\Roaming\SVP4\scripts\54c55f50.py*, line 53, in <module>
01:29:54.246 [E]: Playback [54c55f50]: VS - smooth = interpolate(clip)
01:29:54.251 [E]: Playback [54c55f50]: VS - File *C:\Users\Haste\AppData\Roaming\SVP4\scripts\54c55f50.py*, line 36, in interpolate
01:29:54.251 [E]: Playback [54c55f50]: VS - smooth = core.svp2.SmoothFps(input,super[*clip*],super[*data*],vectors[*clip*],vectors[*data*],smoothfps_params,src=clip,fps=container_fps)
01:29:54.251 [E]: Playback [54c55f50]: VS - File *src\cython\vapoursynth.pyx*, line 1383, in vapoursynth.Function.__call__ (src\cython\vapoursynth.c:25204)
01:29:54.251 [E]: Playback [54c55f50]: VS - vapoursynth.Error: SVSmoothFps: unable to init GPU-based renderer - code 255
01:30:10.634 [i]: Playback [54c55f50]: disabled while video is playing
01:30:10.634 [i]: Playback [54c55f50]: deleted

Anyone knows how to fix it?

Re: mpv based video players for Windows

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

Re: mpv based video players for Windows

Haste

SVSmoothFps: unable to init GPU-based renderer - code 255

Reinstall graphic drivers. Use DDU to completely uninstall previous corrupted drivers first.

Re: mpv based video players for Windows

Windows 10 drops 64-bit Windows\System32\opencl.dll after almost each and every update, I've no idea why.

Re: mpv based video players for Windows

Thanks guys. That was it.

Removed GPU drivers with DDU in safe mode, then installed the newest available.

And now that I think of it, the issue happened right after the Windows 10 Anniversary update. Which confirms what you said Chainik.

Re: mpv based video players for Windows

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.

Re: mpv based video players for Windows

Well there may be tons of reason for it. Copy my exact config and test it
https://my.pcloud.com/publink/show?code … 1Ndkw5GMCk
Btw I built mpv binary in a diferent way that may help too

Re: mpv based video players for Windows

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

Re: mpv based video players for Windows

hey, i noticed the latest potplayer now has a Vapoursynth option
http://i67.tinypic.com/2d8mlxy.png
does anyone know how to set it up?

Re: mpv based video players for Windows

we're working with PotPlayer devs to make SVP support this

Re: mpv based video players for Windows

awesome! thanks for the quick reply Chainik

Re: mpv based video players for Windows

... however you're still free to take a .py script generated for mpv and feed it to PotPlayer

Re: mpv based video players for Windows

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

Re: mpv based video players for Windows

dejavecue wrote:

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

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.

Re: mpv based video players for Windows

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).

Re: mpv based video players for Windows

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.

95 (edited by brucethemoose 02-10-2016 10:39:47)

Re: mpv based video players for Windows

dejavecue wrote:

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.

I still get frequent audio desyncs and very rare crashes when seeking alot, but no crashes during normal playback.

Re: mpv based video players for Windows

Has anyone figured out how to stop audio desync? SVP + MPV runs beautifully otherwise...

97 (edited by brucethemoose 11-11-2016 12:01:16)

Re: mpv based video players for Windows

dsiOne wrote:

Has anyone figured out how to stop audio desync? SVP + MPV runs beautifully otherwise...

Don't seek too much.

And if desyncs persist between relaunches, delete the "watch_later" folder in %appdata%/mpv.

Re: mpv based video players for Windows

I've got a lot of audio desync lately, I can't figure out why, though, I've got a quite fast PC.

Re: mpv based video players for Windows

KibaNoOu wrote:

I've got a lot of audio desync lately, I can't figure out why, though, I've got a quite fast PC.

Can you post your mpv.conf? Or at least the parts related to the sync feature?


I have a theory that this is related to mpv's video-sync feature, but I can't test it atm.

Re: mpv based video players for Windows

brucethemoose wrote:
KibaNoOu wrote:

I've got a lot of audio desync lately, I can't figure out why, though, I've got a quite fast PC.

Can you post your mpv.conf? Or at least the parts related to the sync feature?


I have a theory that this is related to mpv's video-sync feature, but I can't test it atm.

This is my mpv.conf, i don't know if this is the best possibile settings for an i7 4790 and a GTX560 Ti.

input-ipc-server=mpvpipe
vo=opengl
opengl-pbo
profile=opengl-hq
opengl-backend=dxinterop
hwdec=cuda-copy
interpolation
tscale=mitchell
tscale-clamp
blend-subtitles=yes
video-sync=display-resample
video-sync-max-video-change=5
ao=wasapi
exclusive
save-position-on-quit=yes