51 (edited by asoksevil 23-12-2016 11:35:55)

Re: SVP 4 Mac

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

[1080p][16_REF_L5.1][FLAC_5.1]Suzumiya%20Haruhi%20no%20Shoushitsu%20BD%20OP.mkv

http://i64.tinypic.com/20rra6c.jpg

http://i65.tinypic.com/9k7cc9.jpg

http://i65.tinypic.com/2mpl6c4.jpg

Re: SVP 4 Mac

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

53 (edited by asoksevil 23-12-2016 12:54:43)

Re: SVP 4 Mac

Chainik wrote:

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

Thanks, appreciate your fast replies!

Strangely enough, I can certainly play this 1080p 10bit file no problem whatsoever: http://www.mediafire.com/file/y7mtfcesz … _1080p.mkv

Also, I've tried playing different 1080p mkv videos with no 10bit profile, and they work fine using hwdec=no but stutter using hwdec=videotoolbox-copy :S

CPU usage is around 50-70%.

Also, how noticeable is the difference between "high performance" and "high quality" in the SVP settings?

I'm very happy with my purchase, just trying to get the most out of svp big_smile

Re: SVP 4 Mac

video HW Acc is different from OpenCL HW Acc which uses SVP.
Have you tried to manually tinker with SVP options clicking on Automatic settings (which is a button).

Re: SVP 4 Mac

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

56 (edited by macunixs 24-12-2016 13:06:30)

Re: SVP 4 Mac

i just bought the Mac version for my 2013 MacBook Pro Retina 2.4Ghz 4GB RAM. To tell you my experience lets start with the Free Windows version. I have a reasonably good gaming PC with Intel Pentium G3258 + 8GB RAM +  Asus R9 290. The free version works great on that PC with everything scrolled to the max of slider (High Quality). And I checked on the use GPU acceleration.

Actually I haven't tried it without GPU acceleration. Will try it out next week. Probably will destroy that G3258. But yeah. I'm so pleased with the performance on my PC.

Now onto my Mac.
It's hard for me to tell you how it performed overall because different video file produces different result.

But all my videos are 1080p.
But they have different bitrates and I think that affects interpolation performance too.
The bitrate ranges from 16.5Mbps - 35.26Mbps.

Actually I'm not really good at these hardware/software decoding thing.

To make it simple, it stutters quite a bit (like 5% of the video). What I did to minimize the stutter is:

  • use optimized for Animation. (for some reason Film didn't work out for me most of the time)

  • set slider to about 3/4

  • LOW artifacts

  • No GPU acceleration. Bcuz I believe that the Iris GPU is weak.


And since I do not have any expertise in MPV config, I just follow everything you have returned in the Installation webpage:

input-ipc-server=/tmp/mpvsocket
hwdec-codecs=all
hwdec=auto-copy
opengl-early-flush=no

The only thing that really make significant improvement is that opengl-early-flush=no

if i set it to yes / auto or if don't set it at all, stuttering will become more obvious.

so, admin, do you have any suggestion for me to improve the performance on my Mac?

57 (edited by myfakeacc 24-12-2016 13:20:24)

Re: SVP 4 Mac

Well, there's not much you can do. It's simply the combination of a huge resolution with low power iGPU.
I'm actually quite surprised that deactivating GPU acceleration improves your situation. oO
Other than that, the lower the resolution and the lower the bitrate the less stutter you will have.

Also, using the "optimal" retina scaling/resolution also helps.

Re: SVP 4 Mac

> 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

59 (edited by macunixs 24-12-2016 14:52:31)

Re: SVP 4 Mac

Chainik wrote:

> 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

how to use that opengl-hq? probably i will perform more testing with that Iris GPU.
probably i need to rephrase that point. True. roll

Iris is not weak when it comes to video decoding.

but most of the time I think it only shows its true potential in Apple's own Quicktime.

that's the weird side of this Mac ecosystem.
it is capable of playing my H.264 4K video at 60fps at 56Mbps like a champ. utilizing just about 10% of CPU resources using Quicktime.

but when i tried to play the same video on mpv, it stutters like hell. lol

probable thats is where optimization really shines in Apple's ecosystem.

since i'm just the user of this SVP and have no idea what it's like happening in the background while it's performing that real time motion interpolation using mpv , i guess i really dependent on you guys to recommend the best for me smile

60 (edited by macunixs 24-12-2016 15:12:00)

Re: SVP 4 Mac

myfakeacc wrote:

Well, there's not much you can do. It's simply the combination of a huge resolution with low power iGPU.
I'm actually quite surprised that deactivating GPU acceleration improves your situation. oO
Other than that, the lower the resolution and the lower the bitrate the less stutter you will have.

Also, using the "optimal" retina scaling/resolution also helps.

it's weird right? lol at first i really thought like "ok this is a mac. with that special Iris iGPU. lets use that GPU acceleration"

then boom. stutters all the way..

actually i learned something from my friend's PC that is using 2nd gen Core i7-2600 + radeon 4000 series (i cant remember exact model).
when i select use GPU acceleration, video stutters like hell. (maybe bcuz of that old radeon card)
when i deselect it, video was buttery smooth. (thanks to that powerful core i7 ?)

i think this is the situation where you don't have to use GPU acceleration when you already have a good CPU.

so i applied that to my own Mac. and it really works. Less stuttering after disabling Iris GPU acceleration.

still weird though. Iris is part of that CPU since it's integrated. but why it failed to decode properly? any clue on that?

and regarding that "optimal retina scaling", how to do that?

61 (edited by myfakeacc 24-12-2016 15:15:48)

Re: SVP 4 Mac

Well the difference just stems from Quicktime using hardware decoding by default while mpv doesn't (it's optional).
Also, just because you see a low CPU usage doesn't mean the general usage/energy consumption is low. In this case the major work is simply shifted to the GPU.

Add "hwdec=auto-copy" to your config to enable hardware decoding. Please note that this supports only a subset of video codecs.
Now you should be pretty similar to Quicktime.
If you want more quality (better upscaling etc.) you can also add:
vo=opengl
profile=opengl-hq
But this will also (drastically) increase the load on your GPU.

Chainik wrote:

> 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

Well that's true but we are also talking about close to 4K resolutions here (thanks to "retina"), depending on the exact settings, and then it's getting difficult.

Re: SVP 4 Mac

> you don't have to use GPU acceleration when you already have a good CPU

I must mention that GPU rendering is different from CPU rendering in SVP, it gives more "smooth" picture.

I personally don't see any issues playing 1080p on 2K screen from Mac Mini with Iris graphics and all acceleration turned on, probably because Mini has much better cooling system than any Mac laptop.

63 (edited by macunixs 24-12-2016 16:43:38)

Re: SVP 4 Mac

Chainik wrote:

I must mention that GPU rendering is different from CPU rendering in SVP, it gives more "smooth" picture.
I personally don't see any issues playing 1080p on 2K screen from Mac Mini with Iris graphics and all acceleration turned on, probably because Mini has much better cooling system than any Mac laptop.

https://lh3.googleusercontent.com/J6pdiKOAUfqCY2Ss-goqfTcvj5PZPeV5NuLM4k7p4Q6ek6-H-nqGcPd1UwDlSxpeyjlaKFsEl6IEbQ=w5120-h3200-no

i was quite surprised to see my CPU temp went beyond 90C. hmm

Thanks for the feedback. Cooling might be the culprit here. Did you achieve 100% fluid 60fps throughout your 1080 vid playback? any hiccups here and there?

I'm asking this because I was so amazed by how flawless 60fps playback on my G3258+R9 290 pc...considering that Pentium CPU though...i think my R9 did all the heavy lifting for the most part. roll

64 (edited by macunixs 24-12-2016 17:21:19)

Re: SVP 4 Mac

As for now I'm quite satisfied with the result even if it's not as perfect as my PC with high end graphic.

now i've enabled GPU acceleration on my Mac which i guess the right thing to do.
I love to watch everything in 60fps though.

Since both my Mac and PC are using dual-core CPU,
I don't like to waste my time on converting video from 24/30fps to 60fps using
those Avisynth interpolation technique described in http://www.spirton.com/convert-videos-to-60fps/

So if there are any recommendations/suggestions please let me know ya. Thanks. smile

Re: SVP 4 Mac

macunixs wrote:

i was quite surprised to see my CPU temp went beyond 90C. hmm

Most Intel mobile CPUs are rated for 105-110°, so don't worry. A not-damaged CPU will shut off itself if too hot anyway.
Additionally, Apple's cooling goes for "as silent as possible" and not "as cool as possible"...

66 (edited by asoksevil 26-12-2016 14:49:04)

Re: SVP 4 Mac

James D wrote:

video HW Acc is different from OpenCL HW Acc which uses SVP.
Have you tried to manually tinker with SVP options clicking on Automatic settings (which is a button).

Yes I have tried, but apparently nothing happens. :S

myfakeacc wrote:

Well the difference just stems from Quicktime using hardware decoding by default while mpv doesn't (it's optional).
Also, just because you see a low CPU usage doesn't mean the general usage/energy consumption is low. In this case the major work is simply shifted to the GPU.

Add "hwdec=auto-copy" to your config to enable hardware decoding. Please note that this supports only a subset of video codecs.
Now you should be pretty similar to Quicktime.
If you want more quality (better upscaling etc.) you can also add:
vo=opengl
profile=opengl-hq
But this will also (drastically) increase the load on your GPU.

I've tried with hwdec=auto-copy" and it seems there's a lower CPU usage while monitoring it with the svp hardware monitor (I would say the average is about 65-70% while without it is about 75-85%.

I've also changed it to animation, low artifacts and opengl-early-flush=no as another user recommended.

Re: SVP 4 Mac

I bought another license for my Mac given the good results of svp big_smile but I can't seem to make it work under Mavericks.

How can you install vapoursynth without homebrew? I'm trying to setup SVP 4 Pro on Mac and this command is required: brew install --with-vapoursynth --with-bundle mpv

But I get the following error:
Updating Homebrew...
zimg: macOS El Capitan or newer is required.
vapoursynth: macOS El Capitan or newer is required.
Error: Unsatisfied requirements failed this build.

Thanks

Re: SVP 4 Mac

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

https://www.svp-team.com/wiki/SVP:Mac

Homebrew recently dropped support for both 10.9 "Mavericks" and 10.10 "Yosemite" for some packages including mpv.

This means the minimal macOS version to install mpv via Homebrew is 10.11, however you can try to build it from sources by yourself.


> How can you install vapoursynth without homebrew?

https://gist.github.com/ChrisK2/10606922

Re: SVP 4 Mac

Chainik wrote:

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

https://www.svp-team.com/wiki/SVP:Mac

Homebrew recently dropped support for both 10.9 "Mavericks" and 10.10 "Yosemite" for some packages including mpv.

This means the minimal macOS version to install mpv via Homebrew is 10.11, however you can try to build it from sources by yourself.


> How can you install vapoursynth without homebrew?

https://gist.github.com/ChrisK2/10606922

Thanks, will try to set it up using that guide.

70 (edited by asoksevil 08-01-2017 06:57:56)

Re: SVP 4 Mac

Chainik wrote:

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

https://www.svp-team.com/wiki/SVP:Mac

Homebrew recently dropped support for both 10.9 "Mavericks" and 10.10 "Yosemite" for some packages including mpv.

This means the minimal macOS version to install mpv via Homebrew is 10.11, however you can try to build it from sources by yourself.


> How can you install vapoursynth without homebrew?

https://gist.github.com/ChrisK2/10606922

I'm stuck installing vapoursynth.

When I type "./bootstrap.py" into terminal it says: -bash: ./bootstrap.py: No such file or directory

What do I have to do after downloading "brew install python3"?

Thanks!

EDIT. I've tried following this:http://www.vapoursynth.com/doc/installation.html but requires home-brew which is El Cap minimum...

Do you think my 2010 MacBook Air with the NVIDIA 320M and Intel Core 2 Duo 1.86 GHz SL9600 will be able to handle SVP? If it can't I might as well not try updating because I have many files stored here and it will be pretty annoying to deal with it,

Re: SVP 4 Mac

> Intel Core 2 Duo 1.86 GHz SL9600 will be able to handle SVP?

it's too weak
you can only hope for watching DVD resolution videos or 720p with lowest settings

Re: SVP 4 Mac

Chainik wrote:

> Intel Core 2 Duo 1.86 GHz SL9600 will be able to handle SVP?

it's too weak
you can only hope for watching DVD resolution videos or 720p with lowest settings

720p will do fine (this is what I'm watching most things anyway since the restriction of YouTube for Safari 9 users)

73 (edited by Cellane 14-01-2017 06:58:14)

Re: SVP 4 Mac

Edit: moved to own thread.

Re: SVP 4 Mac

Chainik wrote:

> Intel Core 2 Duo 1.86 GHz SL9600 will be able to handle SVP?

it's too weak
you can only hope for watching DVD resolution videos or 720p with lowest settings

Thanks god it works for 720p videos big_smile

Also, I just realized the hotkeys are enabled even if you aren't using sip (you would expect it to work just when running a video). This cost me to open up and perform a deep cleaning of my Mac, wondering why E (bound as SHIT + E) didn't work lol.

Re: SVP 4 Mac

10.9 and 10.10 are supported now (again big_smile)
See there