как образец можно взять скрипт, который генерирует SVP 3.0 (?) (НЕ 3.1) при включенной подсветке полей, оно там как раз делалось сугубо на уровне скрипта

фигурная разрезка-ресайз-склейка

> Просто подобных BD с разным соотношением сторон не единичные случаи, и такая обработка была-бы очень полезна.

afaik, bd "с разным соотношением сторон" обычно делаются не тупой обрезкой, а более интеллектуально, т.е. кадр вырезается из разных мест полного кадра, в зависимости от сцены

4,352

(121 replies, posted in Using SVP)

> Bcuz I believe that the Iris GPU is weak.

it's not weak if we're talking about video decoding + SVP + default "opengl" profile in mpv
haven't tried it with "opengl-hq" profile though

4,353

(121 replies, posted in Using SVP)

Ok, here's time to run some hwdec-related tests myself big_smile

Mac Mini 2014 equipped with Core i5-4278U (2.5 GHz up to 3.0 (?)) and Iris GPU, which is definitely faster than any Core-m7.
macOS 10.12.1

Comparing CPU load with different "hwdec" values: off vs. auto-copy
SVP is OFF in all cases

1080p h264: 12% at 2.8-3.0 GHz vs. 6% at 2.5 GHz
1080p + Hi10p: 15% at 2.8-3.0 GHz in both modes
2160p h264: 35-50% at 3.0 GHz vs. 12% at 2.5 GHz

4,354

(121 replies, posted in Using SVP)

> no hwdec actually makes it faster

well, it makes sense if you only compare them playing Hi10p videos cause Hi10p decoder is software-only

> My Mac almost always goes over 90%

this's not good, you won't get stutter-free playback with 90% system load

> if SVP has gpu acceleration but I've disabled it on mpv config file, hwdec=no, is it still using it?

this's different, hwdec is about video decoder and SVP's acceleration is just a SVP's thing

> For this particular file I just can't watch it without stutterting. Not sure why:https://www.koi-sama.net/files/hi10/

FullHD hi10p source is a difficult task for a 2 Ghz "i3" cpu, you'd better start with 720p videos...

4,355

(121 replies, posted in Using SVP)

"hwdec=auto" selects a non-"copy" decoder which isn't compatible with SVP, as a result video will remain at 24 fps while SVP won't show any error.
What you need is

hwdec=auto-copy

>  but even in the middle point (which was what svp suggested after running the initial test)

that "middle point" is not absolute and depends on the perf. test results wink

due to your hw ...hmmm... specialty - i.e passive cooling system and very high turbo boost level - the quick benchmark may give much higher perf. level that the system can maintain on a long period of time
so you probably need to move the slider to the right from the middle position and monitor the actual CPU frequencies via Intel Power Gadget

if "SVP index" stays at 1.0 and CPU load is not higher than ~70% then your're good

4,356

(121 replies, posted in Using SVP)

> Would SVP 4 run on a 2016 MacBook with the Skylake core i7?

yes if it won't drop frequencies due to overheating

> I am considering buying the pro version but since there's no free trial or anything

there's a 1 month money back guarantee for Mac version

===

Core i7 or Core m7?

1.3GHz dual-core Intel Core m7 processor (Turbo Boost up to 3.1GHz)

well, it'd be interesting to find out if it will work properly in the latter case smile
don't forget to share you experience in this thread!

4,357

(29 replies, posted in Using SVP)

> Is it possible that your installer only creates the plugins folder if I pick one or more players?

yeah, obviously it installs only what is needed
avs 32-bit plugins <=> directshow 32-bit players
avs 64-bit plugins <=> directshow 64-bit players
vs 64-bit plugins <=> mpv || libmpv || vlc
vlc 64-bit plugin <=> vlc

luckily for you there's a per-component installation option wink

OK then.
It'll work in Sterescopic but you'll get a desync by several frames between left and right views
big_smile

You can try it yourself by playing it in Stereoscopic Player wink
Most likely you'll get a desync by several frames between left and right views...

4,360

(17 replies, posted in Using SVP)

> Now I have smooth playback on everything.  I am not sure it is even using SVP at this point.

nope, it probably just switches your screen to 24 hz

> How can I get HW decoding to work?

it's a good question

===
OK, found it smile

In recent PMP builds (>= 20 Oct 2016) we can use

"hardwareDecoding": "copy"

in plexmediaplayer.conf to use hw decoder compatible with SVP

this's the previous build that was linked with 3.4m hmm

4,362

(17 replies, posted in Using SVP)

> playback is still not smooth, even on 720p

this's different
what do you see in SVP's log and performance graphs while playing 720p?

4,363

(17 replies, posted in Using SVP)

>  I am still getting the Frame server (64-bit) NOT FOUND message

restart the SVP Manager after changing PATH value

> Also, things don't look good in my log.

only thing that is not "good" here is
> [v][vd] Using software decoding.
while trying to play 4K

4,364

(17 replies, posted in Using SVP)

> I started a video and it said SVP enabled on the screen

Good for you wink now it's a question whether it's running with HW decoding or not.

> For anyone else having this issue, here is my recommendation.

How is this different from the wiki article? big_smile

4,365

(17 replies, posted in Using SVP)

Actually, this's interesting big_smile

PMP seems to ignore "hwdec" option given in mpv.conf, it only uses "hardware_decoding" value from plexmediaplayer.conf file.
When it's set to "true" PMP passes "hwdec=auto" to mpv engine, and it selects "best" video decoder BUT not the "*-copy" one => SVP is not working.

So we need to find the way to force some specific "hwdec" value, i.e. "hwdec=d3d11va-copy" in the PMP,
OR turn hw decoding off via plexmediaplayer.conf.

4,366

(17 replies, posted in Using SVP)

I don't like this:

[   5.779]i[vf] Using conversion filter.
[   5.780][e][vf] Image formats incompatible or invalid.
[   5.782][w][vf] Video filter chain:
[   5.782][w][vf]   [in] 3840x2160 d3d11_nv12[nv12] bt.709/bt.709/bt.1886/limited CL=mpeg2/4/h264
[   5.782][w][vf]   [scale] ??? [a]   <---
[   5.782][w][vf]   [vapoursynth] "vapoursynth.00" ???
[   5.782][w][vf]   [out] ???
[   5.782]i[vf] Using conversion filter.
[   5.782][v][vf] Video filter chain:
[   5.782][v][vf]   [in] 3840x2160 d3d11_nv12[nv12] bt.709/bt.709/bt.1886/limited CL=mpeg2/4/h264
[   5.782][v][vf]   [d3d11vpp] 3840x2160 d3d11_rgb[rgb0] rgb/bt.709/bt.1886/full CL=mpeg2/4/h264 [a]
[   5.782][v][vf]   [out] 3840x2160 d3d11_rgb[rgb0] rgb/bt.709/bt.1886/full CL=mpeg2/4/h264

"Image formats incompatible or invalid."

Try different values for "hwdec" option:

hwdec=d3d11va-copy
hwdec=dxva2-copy
hwdec=no

And you'd better make it work with lower resolution video first.
4k playback may have other issues.

4,367

(5 replies, posted in Using SVP)

let's stick to one thread about this
http://www.svp-team.com/forum/viewtopic.php?id=3693

4,368

(6 replies, posted in Using SVP)

https://www.svp-team.com/wiki/SVPtube_2

Video players compatibility -> Subtitles on YouTube (VTT)
MPC-HC = No
MPC-BE, mpv = Yes

It used to be plain .srt format in the past but now they switched to .vtt

it needs "libpython3.5m.so.1"

$ ldd extensions/libPythonQt.so 
    linux-vdso.so.1 =>  (0x00007ffec79f9000)
    libpython3.5m.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0 (0x00007f56f471b000)
    ...

4,370

(17 replies, posted in Using SVP)

first of all, why you have vapoursynth.dll in the Plex folder?
the normal way to install all this stuff is to leave all vapoursynth-related files in SVP 4\mpv64

you can add

log-file=\some\path\

into mpv.conf to see if there any errors from mpv's point of view

>  Шесть ядер дают мне возможность делать всё силами процессора

да, но в принципе там и качество ниже ("пиксельнее"), и плавность хуже

> И получу на выходе 12 потоков. Полагаю, этого гарантированно хватит даже для плавного воспроизведения настоящего 4К-видео

не хватит

> когда связка CPU + GPU оказывается менее производительной, чем просто CPU. В принципе, я-то и на процессоре могу фильмы смотреть, но меня удивляет подобная ситуация в целом.

она явно не "менее производительна"
возможно, как это уже бывало в прошлом с разными картами, проблема с драйвером
когда одновременно работают и 3d-часть, и OpenCL, и блок видеодекодера

вот тут недавно про Kaby Lake тема была, очень похоже

4,373

(138 replies, posted in Using SVP)

I really have no idea why all this Python-based stuff is not working on your system.
You can try with a clean Windows installation (e.g. in a VM)

4,374

(121 replies, posted in Using SVP)

> Will simply clicking the "Optimized for animation" button suffice?

yep, it basically do what is recommended in that wiki article

> Does SVP 4 Mac have this menu? If it does, I cannot seem to find it.

add new video profile and uncheck "automatic options selection"

4,375

(6 replies, posted in Using SVP)

do you want 75 fps video on 60 hz screen?
it won't be any better than 60 fps video on 60 hz screen, in fact it'll be much worse