5,126

(138 replies, posted in Using SVP)

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

5,127

(138 replies, posted in Using SVP)

there're three different paths on Windows now:

1. ffdshow32 + Avisynth 2.6 + any DS player
2. ffdshow64 + Avisynth+ x64 + any DS player
3. vapoursynth64 + mpv

I know it's confusing...

SVP 4 Pro 4.0.0.72 умеет работать с mpv.


mpv, собранный в точности так же как там (т.е. как официальная Windows-версия), но с добавлением Vapoursynth.

Дополнительно к этому сделана одна существенная для SVP модификация: SVP использует JSON IPC, которого НЕТ в версии под Windows (потому что там сделано на unix domain socket, и они по идеологическим (?) причинам не хотят заменить это на TCP сокет).

Пришлось впилить самостоятельно, в основную ветку mpv на github-е пока не пропихивается, т.к. авторы считают что это аццкая дыра в безопасности (что, в целом, правда, но этим фактом вполне можно пренебречь)
Теперь параметр '--input-unix-socket=<TCP-port-number>' включает TCP сервер на указанном порту.

Устанавливаем mpv.exe и/или mpv-1.dll через менеджер пакетов SVP.

Как нетрудно догадаться, .exe нужен для запуска голого mpv или SMPlayer-а.
.dll нужен для всякого основанного на библиотеке - например Plex Media Player.

При этом надо искать, куда подсовывать заветный параметр --input-unix-socket.


Быстрый старт

1. Установить пакеты:
- [VPS_64] Core for Vapoursynth 64-bit
- [VPS_64] mpv video player

2. Открыть видео файл через Менеджер


Плееры
- mpv
- SMPlayer - граф.интерфейс для mpv
- Plex Media Player - пример плеера, основанного на библиотеке mpv, тут надо заменить mpv-1.dll на dll из пакета "[VPS_64] mpv shared library"
- ...


Настройка mpv

RTFM

В целом, он умеет всё, включая всякие навороченные скейлеры из madVR.

5,129

(138 replies, posted in Using SVP)

> 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

уже можно

да, накладочка вышла, сейчас поправим
надо будет еще раз обновить svplight

5,132

(138 replies, posted in Using SVP)

Vapoursynth is just a way more efficient and stable than Avisynth when it comes to multi threading and 64-bit support.

так надо и svplight обновить

5,134

(138 replies, posted in Using SVP)

SVP 4 Pro 4.0.0.72 supports mpv 64-bit via Vapoursynth FRC engine.

Quick start

1. install these packages:
- [VPS_64] Core for Vapoursynth 64-bit
- [VPS_64] mpv video player

2. open the video file via SVP Manager


Video players
- mpv
- SMPlayer - a GUI for mpv
- Plex Media Player - replace mpv-1.dll with the one from "[VPS_64] mpv shared library" package
- ...


mpv setup

RTFM

5,135

(50 replies, posted in Эксплуатация SVP)

если цель ставилась как "покупаю для того, что бы конвертировать видео" - то определенно зря
такая функция в списке возможностей SVP 4 Pro (пока) не заявлена

5,136

(6 replies, posted in Using SVP)

please try 4.0.0.72

5,137

(50 replies, posted in Эксплуатация SVP)

> Сформировать-AVS-фильтр для xvid4psp5
> но где найти это в SVP4 ?

нигде
это инструкция для SVP 3

Here's the full script generated by the current windows dev. build:

import vapoursynth as vs
core = vs.get_core(threads=7)

core.std.LoadPlugin("<svp-path>\\plugins64\\svpflow1_vs.dll")
core.std.LoadPlugin("<svp-path>\\plugins64\\svpflow2_vs.dll")

clip = video_in
clip = clip.resize.Bicubic(format=vs.YUV420P8)

crop_string  = "core.std.CropRel(input,0,2,0,0)"
resize_string = ""
super_params     = "{scale:{up:0},gpu:1,rc:true}"
analyse_params   = "{main:{search:{coarse:{distance:-8,bad:{sad:2000,range:24}},type:2}},refine:[{thsad:250}]}"
smoothfps_params = "{gpuid:11,rate:{num:5,den:2},algo:13,mask:{area:200},scene:{}}"

demo_mode   = 0
stereo_type = 0

########## BEGIN OF base.py ##########
# This file is a part of SmoothVideo Project (SVP) ver.4
# This is NOT the full Vapoursynth script, all used variables are defined via
# JScript code that generates the full script text.

def interpolate(clip):
    input = clip
    if crop_string!='':
        input = eval(crop_string)
    if resize_string!='':
        input = eval(resize_string)

    super   = core.svp1.Super(input,super_params)
    vectors = core.svp1.Analyse(super["clip"],super["data"],input,analyse_params)
    smooth  = core.svp2.SmoothFps(input,super["clip"],super["data"],vectors["clip"],vectors["data"],smoothfps_params,src=clip,fps=container_fps)
    smooth  = core.std.AssumeFPS(smooth,fpsnum=smooth.fps_num,fpsden=smooth.fps_den)
    if demo_mode==1:
        return demo(input,smooth)
    else:
        return smooth

if stereo_type == 1:
    lf = interpolate(core.std.CropRel(clip,0,(int)(clip.width/2),0,0))
    rf = interpolate(core.std.CropRel(clip,(int)(clip.width/2),0,0,0))
    smooth = core.std.StackHorizontal([lf, rf])
elif stereo_type == 2:
    lf = interpolate(core.std.CropRel(clip,0,0,0,(int)(clip.height/2)))
    rf = interpolate(core.std.CropRel(clip,0,0,(int)(clip.height/2),0))
    smooth = core.std.StackVertical([lf, rf])
else:
    smooth =  interpolate(clip)
########### END OF base.py ###########

smooth.set_output()

5,139

(121 replies, posted in Using SVP)

what's in the log?

5,140

(1 replies, posted in Using SVP)

http://www.svp-team.com/forum/viewtopic.php?id=3067

5,141

(121 replies, posted in Using SVP)

> Why does SVP need to downscale in the first place?

it doesn't "need" but "can"
to reduce CPU load at the first place

so, the question is simple:
1. when we watch 3840x2160 video on 3840x2160 screen it renders pixel-per-pixel, obviously
2. what about watching 3840x2160 video on 1920x1080 "Retina" screen? will it be rendered pixel-per-pixel OR it will be scaled down to 1920x1080 by mpv and then processed by some magical internal OS X scaler?

5,142

(6 replies, posted in Using SVP)

I can't reproduce this, however I see where the problem can be (though I've no idea WHY)
Lets wait for the next release (later on this week) and return to this thread...

5,143

(6 replies, posted in Using SVP)

what's the monitors configuration when this error occurs?
a screenshot of the Windows display config. could be helpful o_O

5,144

(121 replies, posted in Using SVP)

Lets take 2560x1440 display and switch to Retina mode, which gives us 1280x720 virtual resolution.
What will be the correct behaviour for SVP for 1920x1080 video scaled down "to screen size":
1. keep it 1920x1080
2. resize to 1280x720

??

Note that mpv's window opens in 1920x1080 logical pixels = 3840x2160 physical pixels so I've no idea HOW it renders the video in this case.

In Win 8 and later you'll get real-time frequency monitoring but in Win 7 all we have is a constant value reported by OS.

я сказал то, что сказал
код Менеджера 3 людям показывать нельзя, и, более того, ни один человек в мире ничего с этим кодом сделать не сможет
"эталонность контекстного меню" (гм big_smile) это чисто внешнее проявление

> исходные коды менеджера 3.х

не рекомендую big_smile
в целом, это нельзя показывать людям

выкладывание в публичный доступ предполагает некоторую готовность кода к этому...

5,148

(7 replies, posted in Using SVP)

Here's another reason: should "offline" installer include madVR, two builds of ffdshow, mpc-hc, and later - mpv and libmpv?
If yes then it will be about 150M size. Now please take a look at bandwidth pricing big_smile

Maybe we'll include SVP itself in the package but all 3rd-parties will remain online only.

the question is meaningless w/o specifying the OS wink

Для России свп должна быть бесплатна.

Так оно и есть бесплатно.
Для всех.
Платно для тех кому надо что-то отличное от базовой функциональности.
Но и тут для России фактически бесплатно.

И свп 3 мы вроде никуда не прячем o_O

Зачем вообще 4.0?

Для развития.
То что сейчас делается для "расширения зоны покрытия" SVP, было принципиально невозможно раньше.