[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/mpv/ - the /g/reatest video player
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 23
File: default_icon_512x512.png (1 MB, 512x512) Image search: [Google]
default_icon_512x512.png
1 MB, 512x512
> windows builds:
- https://sourceforge.net/projects/mpv-player-windows/files/
- https://bitbucket.org/rorgoroth/mpv-for-windows/downloads
- https://mpv.srsfckn.biz

> user shaders:
- https://gist.github.com/igv
- https://gist.github.com/voltmtr

> low preset:
vo=opengl:deband:blend-subtitles
hwdec=auto-copy
ytdl-format=bestvideo[height<=?720][vcodec!=vp9][fps<=?30]+bestaudio/best


> medium preset:
vo=opengl-hq:blend-subtitles
hwdec=auto-copy
ytdl-format=bestvideo[height<=?1080][vcodec!=vp9][fps<=?30]+bestaudio/best


> high preset:
vo=opengl-hq:interpolation:tscale=oversample:blend-subtitles
video-sync=display-resample
hwdec=auto-copy
ytdl-format=bestvideo[height<=?1080]+bestaudio/best


> higher preset:
vo=opengl-hq:interpolation:tscale=oversample:cscale=ewa_lanczossharp:scale=ewa_lanczossharp:blend-subtitles
video-sync=display-resample
hwdec=auto-copy
ytdl-format=bestvideo+bestaudio/best
>>
File: 1463777036509.jpg (161 KB, 720x960) Image search: [Google]
1463777036509.jpg
161 KB, 720x960
The next madvr release will destroy mpv and you will regret your fosstard choice.
>>
how do u get a better ui that is more Precise and vercitile?
>>
>>55038563
the only thing madvr is destroying is madshi's sanity
>>
https://github.com/mpv-player/mpv/pull/3236
Remove nnedi3 prescaler

Glad they are finally removing this trash out to user-shader.
>>
one reason I should use this over VLC 2.2.4? like one serious reason, no codemonkey autismo bullcrap that I can't even see
>>
How display-resample is working with twitch live? It just don't work or what?
>>
>>55038637
works fine for me?
>>
>>55038624
If VLC works for you then you don't need MPV. No one is trying to convert you.
>>
>>55038624
VLC is for streaming, not really for playing (VLC devs always admitted this, is not secret).
VLC has probably the worst rendering of any video players, MPV one of the best using opengl-hq alone and also applies the rendering when you use mpv to stream online material.
>>
>>55038639
I mean, it is in need of audio resample, making it faster or slower, is it possible with live stream?
>>
Graph are hard to compare, I think you should use a monospaced font.
>>
>>55030803
>vapoursynth has shit to do with AVS, it's just python, avisynth is superior, has more plugin and a bigger community. Why would you use that hipster shit called Vapoursynth?
The SVP developer himself and multiple Windows users in the SVP forums have confirmed that VS offers a performance advantage, partly because it is multithreaded. mpv+VS+SVP offers way better performance compared to mdVr+SVP (via avisynth).
>>
>>55038657
What? I don't understand you. Can you speak English?
>>
File: stallman_loser.png (647 KB, 1920x1080) Image search: [Google]
stallman_loser.png
647 KB, 1920x1080
>2016
>not using windows
>not using madvr
>>
>>55038692
>it's just python

lel
He has no idea what he's talking about. Avisynth is a thing of the past, Vapoursynth was made to go around all the hurdless Avisynth encountered, mainly no reliable multithreading or clossplatform support. Use Avisynth only if you're on Windows, the plugin performs sufficiently running on one thread and it's not available to Vapoursynth.
>>
>>55038827
Avisynth vs Vapoursynth is like IE5/6 vs old Firefox

Sure, IE had a bigger user base and more ActiveX plugins. But it was also a pile of junk
>>
Why not implementing cpu scalers?
It should fix winfag problems with legacy gpu.
>>
>>55039177
you mean like vf_scale?
>>
File: 1450962648918.jpg (132 KB, 391x311) Image search: [Google]
1450962648918.jpg
132 KB, 391x311
>>55038781
>why doesn't everyone use what i use?
>they must have exactly the same use cases as me!
/g/ in a nutshell. Why is this board so stupid? If you legitimately believe that the software you use is so good that no one would ever have need of an alternative, just kys.
>>
File: 1463281306758.jpg (81 KB, 640x1136) Image search: [Google]
1463281306758.jpg
81 KB, 640x1136
Does mpv handle files over HTTP differently than those stored locally?
>>
>>55040660
In what way? mpv automatically enables the cache for HTTP. It also uses libavformat's HTTP support, whereas the support for reading local files is built in to mpv.
>>
How does MPV inhibit screen blanking (DPMS) while a video is playing?

I just checked the DPMS status with "xset q" in a while loop while a video was running and it didn't turn itself off. Does MPV turn it off in a different way or? I have no other "screen saver" running, only DPMS and X screen blanking.
>>
File: 1422850985273.jpg (146 KB, 736x1104) Image search: [Google]
1422850985273.jpg
146 KB, 736x1104
>>55041191
I use mpv to watch my downloaded file over http.
The site I use is built with .ASP to handle everything, The issues happens with some files because mpv throws an error sometimes
Can't determine file type

The second issue is with the subtitles file drag and drop, when I stream files from http the drag and drop subtitle method won't work, whether the .ass file is stored locally or over http.
>>
File: multiboot_is_not_a_crime_yet.png (2 MB, 2000x1000) Image search: [Google]
multiboot_is_not_a_crime_yet.png
2 MB, 2000x1000
It seems that mpv is quite unstable on windows and osx.
>>
When? (picture related)
- easy profile manager, lua is over-complicated
- display framerate changer, autospeedwin.lua is retarded
- good superxbr chroma upscaler with antiring
>>
>>55041787
>osx
I don't know about windows but this is bullshit.
>>
>>55041787
You forgot to put exclamation mark in your shitpost sperglord
>>
>>55041831
>superxbr chroma upscaler with antiring
https://gist.github.com/bjin/4b1ab282412b94200dbe09de998348e6#file-superxbr-chroma-hook
>>
>>55042154
I can't see anything about antiring in this shader/hook.
And what the fuck is this .hook extension?
>>
>>55041401
https://mpv.io/manual/master/#options-stop-screensaver
>>
>>55042271
>antiring
it is built-in and enabled

>.hook extension
https://mpv.io/manual/master/#video-output-drivers-user-shaders
>>
>>55038468
How can I add global hotkeys to mpv?
>>
how do i install this on deepin? im a newb.
>>
>>55041787
How so? how do you know this?
>>
>>55042456
oh wait,
sudo apt-get install mpv
just worked.
>>
>>55041787
It's pretty much the most stable under OSX.
Currently there are only problems with display-resample but that's not mpv's fault but ElCapitan's.
>>
>>55042590
It may be the most stable but it can't match the color quality of Quicktime Player X
>>
I'm dropping a lot of frames when watching streams (youtube, twitch, ...) with MPV. I think it's either because I'm using the highest preset and my GPU can't follow with the stream (no problem with normal video on my HDD) or because the default cache size.
My question is : is it possible to define a profile for streaming ? So I can test another preset.
Thanks.
>>
>>55043009
[protocol.http]
[protocol.https]
>>
>>55043009
Found it ! It was "protocol.https" and the problem was from interpolation.
However, I also found something else : I can't use d3d11-egl-rgb anymore with lastest build, only dxva2-egl, even though it was perfectly working before. Is it normal ?
>>
>>55042654
And QTX can't match the feature set of mpv :^)
>>
>>55043371
>using the smiley with a carat nose
>>
>>55043009
>>55043250
What does protocol.http
exactly do, I use livestreamer to see twitch streams, and works fine.
>>
You know I kinda wish MPV had a recently played menu, is truly one of the things that makes me feel like it really needs and lacks.

Not like any of you guys will meme this up and say just open the video folder which would take longer than having mpv on the taskbar. but oh well.
>>
>>55043687
Every command you write underneath it only applies to videos played over http so you can have different settings for streaming video.
>>
>>55043739
You obv don't use zsh.
Type "mpv" and press arrow key up -> your mpv history
>>
>>55043789
>zsh.
what?
>Type "mpv" and press arrow key up -> your mpv history
that's on the cmd...
might as well just open the video myself
>>
>>55043739
Does windows open file dialog show recently opened files? You could try this
https://github.com/rossy/mpv-open-file-dialog
>>
>>55043839
>Does windows open file dialog
Hmm?
>https://github.com/rossy/mpv-open-file-dialog
This is pretty neat, still not as good as a recently watched menu.
but good enough for me, thanks a lot.
>>
Madshi is not dead and he released a new version (v0.90.21).
Come back winfags!
>>
>>55044045
* HDR: pixels between 0-100 nits are now left untouched (if possible)
* HDR: improved desaturation algorithms to reduce hue shift even further
* HDR: added option to choose between clipping and tone mapping
* HDR: added option for hue preservation quality
* HDR: added option to restore detail in compressed regions
* HDR: added option to measure each video frame's peak luminance
* HDR: added option to completely disable HDR processing
* HDR: added workaround for files with invalid metadata
* fixed: supersampling + 2D SSIM sometimes produced "green" video
>>
>I had planned to add Shiandow's latest Bilateral chroma upscaler this week, but didn't manage to squeeze it in, unfortunately.
Haha madshi is retarded!
>>
How do you watch youtube videos with mpv? Walk me through it since I'm fresh into Linux and don't know how to do shit yet
>>
What is the cheapest desktop GPU to handle vo=opengl-hq:interpolation and display-resample? My old gpu just die and I don't want to waste money.
>>
>>55044334
I am on Windows but I guess is
-Download MPV
-Download youtube-dl
add
ytdl-format=bestvideo+bestaudio/best

on mpv.conf
and if you use firefox you can use open with mpv add-on.

other than you will have to use the terminal I believe.
>>
>>55042590
Is that true? I wanted to buy a Mac Mini for iOS development and as HTPC with mpv.
>>
>>55044390
Does it matter where in the mpv.conf file I put the line?
>>
>>55044527
>Is that true? I wanted to buy a Mac Mini for iOS development and as HTPC with mpv.
The biggest problem you'll run into is having to use an iGPU so you most likely won't have the performance for the real freaky shit (nnedi etc.).
Other than that, when mpv is all you need (as in: you don't need to receive e.g. satellite television) then it's perfectly fine. Stuff like tearing etc. doesn't exist for mpv on OSX.

Note however the current display-resample problems due to 10.11.
>>
Does mpv support linked mkvs yet?
>>
>>55044527
The issue with display-resample?
It's true and it's a known issue, it happens only with El Capitan and no one managed to understand precisely why yet.
>>
>>55044800
I suggest putting it below the vo-opengl line
>>
>>55044800
here is mine
# Video settings

#vo=opengl-hq:backend=dxinterop:interpolation:tscale=oversample:cscale=ewa_lanczossharp:scale=ewa_lanczossharp:user-shaders="~~/shaders/AdaptiveSharpen.glsl":

vo=opengl-hq:backend=dxinterop:interpolation:user-shaders="~~/shaders/AdaptiveSharpen.glsl":tscale=oversample:


#Additional Video Settings
ytdl-format=bestvideo+bestaudio/best
video-sync=display-resample
hwdec=auto-copy

>>55042590
pretty stable window too no problem
>>
>>55044802
I don't like artificial filters like nnedi3.
However interpolation is a mandatory for me.
Hope the iGPU is enough.
>>
>>55044805
No. Why aren't you implementing it?
Also does someone have a link to a place in mkv standard where linked mkv's are defined/described?
Was curious what those are and why someone want them over ordered chapters.
>>
>>55038468
>https://mpv.srsfckn.biz
>Windows XP support has been dropped. Since attempts to talk sense into XP users are generally futile, I’ll just link the last build that works with it here.

who is this faggot?
>>
I have the progressbar.lua script in my script folders, it works fine.But the default osd still shows,even when osd=no is set in the config.
>>
>>55045608
no-osc

osd/osc are different things
>>
>>55045651
Both settings dont result in the default bar being removed
>>
>>55045751
It should do, I use that setting and it works for me. Maybe you're using an outdated mpv or your config file is in the wrong place? Try opening a video from the terminal and doing mpv --no-osc filename
>>
>>55045818
Just updated to the latest mpv-build git(b00eab5-1)
Running it manually with just mpv --no-osc <file> the with no config file, default bar still shows up
>>
MPV wont recognize F13-F24 in the input.conf when i've tried to bind them.
xev/xmodmap shows them as the intended function keys,but mpv dosent seem to pick them up when they are bound
>>
>>55045943
i'd try
mpv --no-config --load-scripts=no --no-osc filename
>>
>>55045965
Run mpv with --input-test and hit the keys, does anything show up?
>>
>>55046141
Nope,nothing is popping up
>>
>>55045943
>>55045751
>>55045608

If I understand correctly you want to set "no-osd-bar" in mpv.conf.
>>
>>55046476
That works!
But the time/seek bar pops up(top left),it had previously not done this.
>>
>>55045000
>No. Why aren't you implementing it?
I don't make the player, I only encode the content.

>Was curious what those are and why someone want them over ordered chapters.

They're just links describing the previous/next mkv. If all you need are links it's far easier to link than to sit there and write chapters defining each segment and their relationship to each other. Chapters require you to find the end times then check and double-check you really got them right. It's repeating the work you did when you trimmed the files in the first place in a far more labor intensive process.

Linking segments takes 1/50th the time of writing chapters to do the same thing.
>>
https://github.com/Argon-/mpv-stats/issues/21
When will it be merged in master? It seems to be pretty cool!
>>
>>55046799
>working as intended
>nothing is broken
>Its a you problem
>>
What exactly does this do?
https://gist.github.com/selsta/cdb1e3172a87f6f028c6
>>
Is there any reason not to have
vo=opengl-hq:deband
hwdec=auto-copy

in the config as a minimum?
>>
>>55047539
Same as youtube-dl but uses livestreamer instead.
>>
Am I doing something wrong? I have no /home/$USER/.mpv/config folder. The only thing I do have is in /etc/mpv, which is "encoding-profiles.conf", or is that the one?
>>
>>55048143
Well, it kinda doesn't make sense, since you don't need this to be able to use livestreamer with mpv, reason why I asked.
>>
>>55048613
Some people to lazy to open up terminal.
>>
>>55048636
Hmm?
>windowskey+r
>livestreamer streamurl best
You don't need to use the cmd/terminal? well I know you don't have to on windows for sure.
>>
>>55044898
...you do understand that interpolation requires display-resample...?
>>
>>55048447
...create it?
>>
>>55048651
The real question is why livestreamer when ytdl is more than enough
>>
>>55048848
Because I don't like using CMD for yt-dl, and I dislike having to have the cmd open or else the video closes.
>>
anyone running mpv on windows with autosub? I've got python & subliminal installed but it still says "subtitle download failed".. downloading subtitles with subliminal via CMD works though..
>>
>>55048932
Aren't those the same argument to use with livestreamer?
Besides there are add-ons for mpv.
>>
>>55048991
nevermind, I've fixed it.
>>
>>55049078
>Besides there are add-ons for mp
for firefox but I do not use firefox.
>Aren't those the same argument to use with livestreamer?
typing cmd
running it as admin
typing the location of mpv
typing mpv + url

vs

right click on chrome "view best"
or
win+r
live streamurl best
press enter

I don't really use mpv to watch youtube, so mostly I just use it for twitch.
>>
Ideas anyone?
>>55045965
>>
>>55049327
>typing cmd
shortcut
>running it as admin
no need
>typing the location of mpv
PATH
>typing mpv + url
custom CMD
>>
>>55049455
>shortcut
explain further
>>
>>55043739
>You know I kinda wish MPV had a recently played menu, is truly one of the things that makes me feel like it really needs and lacks.
1. type mpv
2. press page up and page down to scroll through your history of commands starting with “mpv”

the nice thing about the UNIX way is that programs don't need to constantly reinvent the wheel
>>
>>55049473
>UNIX
Yeah, about that
>>
>>55046799
>It's repeating the work you did when you trimmed the files in the first place in a far more labor intensive process.
Sounds like your workflow is shit

Why haven't you written a shell script to automate this yet? Oh right, because you're a dumb winfag
>>
>>55049468
http://lmgtfy.com/?q=how+to+make+shortcut
>>
>>55045965
>>55046141
Is this on the terminal or inside an actual window?

There's a big difference between the two (unfortunately)
>>
>>55049540
>>55049455
>custom CMD
wat abt this
>>
>>55048038
shit GPUs
>>
>>55049541
Using the input test option,within the program window, it shows any keys/mouse buttons,out side of those bound to f13-24.
>>
>>55049520
How would one automate the process of writing mkv chapters on a random split or trim when the mkvs the split is to link to are undefined and perhaps nonexistent with undefined UIDs?
>>
How do I use this on Windows with a proper GUI? It's the only reason I hesitate to switch from VLC.
>>
>>55049707
You download MPC-HC
>>
>>55049701
If it's nonexistant then why are you trying to link to them

dumb winfag
>>
>>55049760
Nonexistent now doesn't mean nonexistent later.
>>
>>55049540
I don't get it, your search results gave me nothing
so meh, I am fine doing things my way, I kinda know what you want me to do, but I still do not want to have a CMD open all the time.
>>55049473
>the nice thing about the UNIX
Don't really like linux, it's a loophole of not enough quality software/programs, it lacks too a lot of shit,kinda wish there was a better alternative to microsoft though.
>>
>>55049883
>Don't really like linux, it's a loophole of not enough quality software/programs, it lacks too a lot of shit,kinda wish there was a better alternative to microsoft though.
The problem is not linux, the problem is your perspective.

From my point of view, everything connected to Microsoft is a piece of shit and barely anything works, whereas Linux is full of high quality programs.

If you want to escape from the Microsoft hell, the easiest thing you can do is shift your perspective. Welcome to /g/, by the way. Give it a few years and your perspective will have shifted on its own.
>>
Why is the frontend so shit on this? I used to use Bomi but they don't release debian packages anymore
>>
File: 1380683298454.jpg (110 KB, 998x974) Image search: [Google]
1380683298454.jpg
110 KB, 998x974
>>55050045
>Linux is full of high quality programs.
>pic related
also you are fucking stupid
>>55050280
>Why is the frontend so shit on this?
bakamplayer
>>
>>55050548
>installing windows software
>forget to untick a box
>you now have malware
>>
File: 1416680925649.jpg (12 KB, 280x318) Image search: [Google]
1416680925649.jpg
12 KB, 280x318
>>55050616
my last reply
>>
>>55050867
make it your last post on /g/
>>
File: panning2.webm (2 MB, 1280x720) Image search: [Google]
panning2.webm
2 MB, 1280x720
How do scaling and interpolation interact? I'm having issues (frames being dropped) with interpolation at 4K, however lowering the resolution down to 1080p (or simply disabling interpolation) makes everything play back fine. Source materials are under 1080p.

Windows with an i5 4670k and GTX 960, so hardware shouldn't be an issue. Don't have any flavours of Linux on the 4K workstation to test if its a Windows issue.

madVR has no issues with whatever interpolation and scaling methods they use at 4K.

Anyone got any ideas?
>>
>>55038468
What does this "higher preset" actually do? I just compared it with default mpv and it seems sharper.
>>
>>55051453
mpv upscales/downscales first and then interpolates the scaled result
>>
>>55051453
Oh, if you want to debug performance issues then get the latest version of mpv and use a keybinding like this

t show-text "${vo-performance}"


Post a screenshot of the numbers you get after a good 20 seconds or so of playback
>>
File: mpv_2016-06-13_05-08-37.jpg (866 KB, 3840x2160) Image search: [Google]
mpv_2016-06-13_05-08-37.jpg
866 KB, 3840x2160
>>55051530
>>55051541

Any way of scaling after interpolation?

Without interpolation and with the highest settings in the OP I get ~30 mistimed and delayed frames over the same period.
>>
>>55051663
>Any way of scaling after interpolation?
No. While that would help with timing slightly, it would also greatly increase the overall GPU load.
>>
>>55051663
Then you would have to scale 60 instead of 24 frames/s. Depending on the algorithm you use for scaling this can either be better or worse.
Personally, I value a high quality scaling over mpv's interpolation.
>>
>>55051731
>Then you would have to scale 60 instead of 24 frames/s. Depending on the algorithm you use for scaling this can either be better or worse.
It's almost certainly *guaranteed* to be worse, the only possible exception I can even think of would be scale=bilinear and tscale=mitchell or some combination like that.

Either way, it might help with the dropped frames at the cost of greatly increasing GPU load (by a factor of 2-3), but there's no simple way to implement it in mpv.
>>
>>55051699
>>55051731
>>55051812
I would have been interested to try at the very least, because with my given settings (ewa_lanczossharp scaling) I never go above 50% GPU load at 4K without interpolation.

With interpolation I never go under 90% load and I mistime/delay half my frames. Somehow I have a feeling that even if I rescaled twice as many frames to hit 60 frames/s it might not be as bad, especially if I use less expensive scaling. Or I would just lower my refresh rate to 24/30Hz and keep it at 4K - changing the refresh rate would probably be preferable to changing the resolution every time I want to watch something.

I'm still surprised madVR manages to outperform mpv in this respect, hope something changes at some point in the future, I don't imagine I'm the only person wanting interpolation on 4K.
>>
>>55051880
Try >>55051541 please
>>
>>55051880
>I don't imagine I'm the only person wanting interpolation on 4K.
I use interpolation + heavy scaling on a 4K monitor just fine, for 4K content or otherwise. I'm on Linux though.
>>
>>55052009
Is >>55051663 not the performance thing?

>>55052020
I really hope it's a Windows issue or my hardware somehow being messed up. Also I would be using Linux on my workstation if not for Wayland being so incomplete and X only supporting integer scaling for HiDPI.
>>
>>55052081
>Is >>55051663 not the performance thing?
No. Are you capable of reading and following simple instructions?
>>
File: 2016-06-13_06-17-19.jpg (908 KB, 3840x2160) Image search: [Google]
2016-06-13_06-17-19.jpg
908 KB, 3840x2160
>>55052207
Sometimes I get tired at 5am and forget to link configuration files correctly.
>>
>>55052289
>0
Doesn't look like it's measuring anything, which means you're probably using the ANGLE backend or on a device with only shitty OpenGL drivers. (Both of these might explain the performance issues you're getting)

Try with
backend=dxinterop
. Apart from that, you'll have to wait for Google to fix a bug in its implementation of GL timers, that's the reason why the numbers are all 0 when using ANGLE.
>>
>>55052353
Oh also, try
tscale=oversample
. Does that perform more smoothly?
>>
File: 2016-06-13_06-31-36.jpg (969 KB, 3840x2160) Image search: [Google]
2016-06-13_06-31-36.jpg
969 KB, 3840x2160
>>55052353
done

>>55052361
Already using oversample
>>
>>55052361
One final thing that I can think of:

Probably the most staggering difference between interpolation on and off is the memory usage. With 4K textures and 4K content, the interpolation textures alone can consume a good 1GB of VRAM.

If you're starved on VRAM, using an embedded device which shares VRAM with the host memory, or simply using a device with slow texture access in general, mpv performance will suffer greatly especially when interpolation is turned on.

It's designed to run on modern GPUs (in particular, AMD GPUs) with decent amounts of VRAM (at least 2 GB) and fast texture buses (for 4K you ideally want something with at least 100 GT/s).

Not all devices can cope with those requirements. Especially not iGPUs.

>>55052407
>10 ms present
Yeah, that's COMPLETELY fucked. It should take no more than 1-2 ms. It takes 2ms on my end (4K display with tscale=mitchell).

The fact that it takes 10ms on your end is really indicative of the problem. Also, if render time is also taking 10ms I assume you're using something like
scale=ewa_lanczos
? Either that or your GPU is really weak
>>
>>55045023

Someone who doesn't live in the past?

Windows XP is above all else a security risk.
>>
>>55052429
Got GTX 960 2GB and i7 4670k - though I don't think VRAM is ever capped, but the GPU load does bounce around the 95-100% mark. Might consider hopping to one of the cheapo latest gen AMD cards once everything is benchmarked enough, but I think the GTX 960 should be decent enough for interpolated 4K.

vo=opengl-hq:interpolation:tscale=oversample:cscale=ewa_lanczossharp:scale=ewa_lanczossharp:blend-subtitles:backend=dxinterop
video-sync=display-resample
hwdec=auto-copy
ytdl-format=bestvideo+bestaudio/best
>>
>>55049102

pray tell us how you fixed it, for posterity's sake
>>
>>55052522
I have a GTX 970 and it's at the bare minimum of what I'd consider enough to do 60 Hz 4K playback with ewa_lanczossharp + interpolation

You can try lowering the settings a bit, e.g.
cscale=spline36:scale=ewa_lanczos
which is still fine IMO.

Also, try with hwdec=no, copyback is really bad for performance. (I don't know why idiots in this thread keep recommending it)

Finally, try using Linux. Windows + OpenGL is terrible (blame Microsoft), nvidia cards have much better OpenGL performance on Linux.
>>
>>55052522
>hwdec=auto-copy
this is the bottleneck
With ANGLE you can just use hwdec=auto
>>
Hi /g/entoomans.

Totally unaware of video players (i use mpc with kawaii codec pack) in the past i used Splash pro ex but was shit really.

Does this player can interpolate frames or something? I have a few 60fps movies but i would love a player that does good that.

In my laptop im using HD4000 graphics and on my desktop im using an Radeon 7770.

Thanks in advance.
>>
>>55047539
How to use this? Why there is no example?
>>
>>55047539
Dude just read the code, it's pretty self-describing
>>
>>55052591
Even using the lowest preset with interpolation causes issues with 4K for me. I use Linux on everything but my workstation, primarily because until Wayland or Mir become a thing you don't have proper HiDPI scaling.

>>55052672
tried auto and no with the lowest preset and interpolation, still fucks up

At this point I'll probably just give up and keep using mpc+madVR. Thanks for the help, much appreciated.
>>
How do I get it so that double clicking video files opens things in mpv using the brew install on OS X?
>>
>>55052784
I'm using Linux/X11 just fine on my 150 dpi monitor, but I guess YMMV since I mostly just spend my time in the terminal and all graphical programs are unusable to me either way.

>>55052784
>Even using the lowest preset
What do you mean by “lowest preset”? If you're talking about the ones at the top of the thread, forget they even exist. They're just copy/pasted by clueless idiots who want people to have problems

Try with just
mpv --no-config -vo opengl:interpolation:tscale=smoothmotion
. If that doesn't work, nothing will.
>>
>>55052929
>tscale=smoothmotion
I mean oversample. Sorry, it's pretty early
>>
>this thread
>mpv+linux or die
it's so pathetic
>>
File: mpv_preset_selector_idea.png (26 KB, 499x387) Image search: [Google]
mpv_preset_selector_idea.png
26 KB, 499x387
Please don't use mpv on windows, it's a waste of time.

> Ranpha's installer with gpu based presets:
- https://imouto.my/download/lav-filters-megamix-x64/
- https://imouto.my/download/lav-filters-megamix-32-bit/

> Ranpha's advanced guide:
- https://imouto.my/tutorials/madvr/

> Warner306's advanced guide:
- http://forum.kodi.tv/showthread.php?tid=259188
>>
Is there a program to install good gpu driver on windows?
Microsoft update self-installs wrong driver (black screen) on my machine.
AMD auto-detect application doesn't recognize my card.
>>
>>55053413
>https://imouto.my/
>>
>>55053413
I prefer mpv on Windows over MPC-HC
>>
>>55053386
linux or die
>>
>>55053466
>Is there a program to install good gpu driver on windows?
Yes, there are plenty of installers that will replace the NT kernel by an improved one with better drivers
>>
>>55052870
nvm figured it out.
Needed to run brew install mpv with the --with-bundle option and run brew linkapps mpv to put a symlink in /Applications
>>
>>55053517
>better drivers
Do you mean the open-source ones?
>>
>>55053860
Depends

In general I would say nvidia blob > AMD free > AMD blob > intel blob > nvidia free
>>
SuperRes for Superxbr-native
http://pastebin.com/XVvjXSg6

You will also need this shader (Save.glsl)
//!HOOK MAIN
//!BIND HOOKED
//!SAVE PRE

vec4 hook() {
return MAIN_tex(MAIN_pos);
}


vo config:
vo=opengl-hq:user-shaders="~~/Save.glsl,~~/superxbr-native.glsl,~~/SuperXbrRes.glsl"


I'm not going to host this anywhere
>>
I've had the best results (least dropped frames) with --vo=xv when trying to play 4096x2160 60fps on a rmbp running linux

Anyone have any better suggestions?
>>
>>55054731
vo=opengl without any options.
>>
>>55054749
yea surprisingly that looks worse

I guess the hardware just sucks
>>
>>55054758
Why are you trying to play 4K when you don't have a 4K screen?
>>
mpv.exe can now be cross-compiled on the new Windows 10 Linux subsystem too.
Just followed the mingw-w64-cmake steps and everything worked like it should.

Windows 10 AnniversaryUpdate's gonna be best platfrom to compile mpv.exe from now on.
>>
>>55054800
>best platform
>windows
kek
>>
>>55054731
Is that using intel igu? vo=vaapi might be faster with hw accel if that file is 8-bit h264
>>
>>55054840
best if you are compiling and testing a win32 binary, yes.
>>
>>55054800
but you already can do that with msys2 on windows.
>>
>>55054866
msys2 solution has problems because libraries are not updated. It's a nightmare if you really want to statically link things like libbluray.
On WindowsSubsystemforLinux everything it's up to date and it statically linked everything without problem.
>>
>>55054866
Why the fuck would you use slow shit like msys2 when you can use the linux subsystem?
>>
>>55054894
linux subsystem disk access is slow. Like really slow.
I hope they can fix it because other than that they made a hell of a great job.
>>
Fuck Windows, I don't want mpv devs wasting time and effort for that piece of shit OS.
>>
>>55054971
>Fuck that OS installed on 90% of PC's out there!
ok
>>
>>55054971
What about all mpv's Windows-using developers, who volunteer their time and effort freely to maintain the Windows port. Are they no longer allowed to do that?
>>
>>55054971
don't worry
irungentoo is working for plex (thus mpv is funded by Plex), so he has to work on windows
>>
>>55054921
It's fine for me.
Are you doing a lot of file operations? It could all all getting scanned by Windows defender.
>>
>>55055840
I'm sure you meant wm4 (irungentoo is the Tox guy.)
>>
>>55055899
right yes
>>
>>55054971
Remove yourself from /g/. I much appreciate them developing the Windows version and compiling binaries for me.
>>
>>55054637
Is this noticeable better than regular superxbr?
>>
>>55053413
>You need to actually fucking use a fucking guide on the fucking internet in order to use fucking madVR

HAHAHAHAHAHAHHAAHAHAHAHAHAHAHAHHA
>>
>>55054971
>Fuck Windows, I don't want mpv devs wasting time and effort for that piece of shit OS.
wm4: haasn: also, windows is generally less shitty than Intel/Linux
>>
>>55056612
It's only for advanced things like display calibration.
>>
>>55056678
Windows, Intel and Nvidia masterrace :::::}}}}}}
>>
>>55056758
>Display Calibration
>Advanced Things

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA

THIS IS WHAT WINDOWSFAGS TELL THEMSELVES
>>
>>55056788
Enjoy your poor life foostard.
>>
>>55052728
If I were to know how to code, I probably would know what it does, but I do not, so that's why I asked.
>>55056612
I mean I understand you are baiting a baiter, but why go to his level of stupidity.
>>55054637
>I'm not going to host this anywhere
???
>>55055131
>90%
more than 95%
>>55055840
Wonder if that's gonna make windows support better than linux on the near future...

So would anyone be willing to tell me how compiling works, every time I go on github and I see the word "compiling" my brain melts.
>>
>>55056597
Don't know, probably not, because original and prescaled textures aren't aligned. Didn't test much, cuz superxbr is shit.
>>
>>55056831
>Wincuckolds in damage control
>>
>>55057520
Why do you want to compile? And why on windows?
>>
>>55054637
>You will also need this shader (Save.glsl)
??????????
>>
>>55057520
>If I were to know how to code, I probably would know what it does, but I do not, so that's why I asked.
Dude it's basically almost english, how can you struggle with this?
>>
>>55055885
are you on SSD? I'm on an old SATA2 HDD and it takes ages for compiling something like FFmpeg.
>>
>>55057911
I dont try using WSL on windows yet but perhaps set lower number of jobs than your cpu core while running make
>>
>>55057574
>Why do you want to compile? And why on windows?
Why not?
>>
>>55056612
Well you can't just copy and paste a config so you have to look at pages and pages of GUI screenshots and check all the right boxes are checked individually. For some reason winfags find this simpler and not a waste of time.
>>
The guy who has fullscreen crash with legacy amd card and angle here. Just tried ubuntu and it seems to work very well except fucked starter splash screen. Interpolation is working great!
>>
>>55057911
Yeah.
FFmpeg is quite large, is it taking a lot longer in the subsys than say a VM? Check your task manager during archive packs for the antimalware service raping the cpu and io.
>>
>>55058230
Because compiling anything is a fucking pain on Linux

this is what you do on linux: (99% of the time)

1.
./configure

2. make

and done

on windows expect 999 more steps before these two
>>
>>55059107
>is a fucking pain on Linux
meant on Windows*

>>55058641
And this is why you should always use mpv in Linux if you can. Shit just works better.
>>
>>55059107
There are unattended windows builds with several dev/build tools
pre-installed in internet. Unfortunately some are just full of malware.
>>
>>55057520
>Wonder if that's gonna make windows support better than linux on the near future...
The only reason "windows support" is maybe "worse" is because windows has bad drivers and that's really nothing mpv developers can or should have to fix.
>>
>>55059107
>this is what you have to do
>gives you a text that you don't know where to put
thanks i guess
>Because compiling anything is a fucking pain on Linux
But why is it that bad, is it because of microsoft can't or they just don't care?
>>
>>55060128
>But why is it that bad, is it because of microsoft can't or they just don't care?
Because Microsoft goes out of its way to be non-compatible with the rest of the software world. They're big fans of vendor lock-in, since it's one of their primary business models.

Most open source software that you're going to find on the internet targets POSIX natively, therefore using a POSIX environment to compile it is a breeze.

It's sort of the same reason why compiling a MSVC++ project on Linux will be a royal pain - except with the difference that you don't find many open source MSVC++ projects worth compiling on the internet. (Since most of them are proprietary)
>>
>>55054800
Crosscompile from arch is good enough.
>>
Is it normal for the estimated fps to be less than 60 (normally it drops to 50)?
>>
>>55044390
dumb question...
i was thinking in doing the same but using this enables you to start the video playback immediately? or it needs to finish the download first?
>>
>>55063672
You can enable the playback immediately, kind of like when you view it on youtube's player.
>>
Damn why intel is so shitty on linux, that's unbelievable.
>>
How does the drag and drop subtitles feature work exactly?
And how does Subs LUA scripts work? Does it search for file name? or uses HASH data?
>>
>>55040660
the hell is the source on that pic?
>>
>https://github.com/bjin/mpv-prescalers/tree/master


Fix your fucking shaders bjin. Superxbr-all gives me a green screen.
>>
>>55044346
Wait for low end Polaris
>>
Is there a way to disable autoplay when you open a video?
>>
>>55056758
It doesn't even tell you anything about that aside from what yCMS and 3dlut mean
Also it's full of inaccurate information
>For the ‘display peak luminance’ option, it should be set based on your display’s specification and how it is set up. The formula is 1 nit = 1cd/m2. The example of Dell Ultrasharp U2715K, has a typical luminance value of 350 cd/m2 or 350 nit at full brightness + contrast value. This settings is only useful if you use a 4K or higher display.
Peak luminance is relevant at any resolution with HDR content
This guides are cancer and no one should use them
>>55053413
DAILY REMINDER TO NOT USE THIS GUIDE
>>
>>55054731
>I've had the best results (least dropped frames) with --vo=xv when trying to play 4096x2160 60fps on a rmbp running linux
What GPU? What codec?
You might be dropping frames due to your CPU being too slow to decode the file, in the case of h265
>>
>>55066819
>This settings is only useful if you use a 4K or higher display.
???????????
>>
>>55066874
HDR is being marketed with 4K displays, pretty much every HDR display is 4K
But that doesn't mean you shouldn't care about HDR on 1080p non HDR displays, but the contrary, non HDR displays require tone mapping to display HDR content acceptably, and tone mapping needs to know what's the peak luminance of the display
Ranpha is so retarded that he doesn't understand such simple concept, and he doesn't even bother to google what does everything mean and he just writes out of his ass
>>
>>55066919
>HDR is being marketed with 4K displays, pretty much every HDR display is 4K
Irrelevant, that doesn't mean the settings have anything to do with each other. More importantly, it's a completely misleading application of reverse implication.

>ut that doesn't mean you shouldn't care about HDR on 1080p non HDR displays, but the contrary, non HDR displays require tone mapping to display HDR content acceptably, and tone mapping needs to know what's the peak luminance of the display
Yeah, exactly
>>
>>55038468
I don't really get how these scalers work, but your "higher preset" looks far better than what people used to post as "highest preset" a month or two ago which is:

vo=opengl-hq:interpolation:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:prescale-luma=superxbr:prescale-downscaling-threshold=1.5
>>
>>55038563
You seem to think that we're invested in mpv. If the next MadVR release is dope and it's supported by a cross platform media player, we can switch to in minutes. I don't get why people think you're choosing a religion when you use a media player.
>>
>>55066774
write pause in mpv.conf
>>
>>55067061
Thanks, that worked.
>>
>>55067048
>If the next MadVR release is dope and it's supported by a cross platform media player, we can switch to in minutes
This is literally impossible thanks to madshi still being invested in DirectShow in 2016
>>
How do I get mpv to pause with one click like mpc?
>>
>>55067082
Then my choice doesn't seem so terrible, does it?
>>
>>55067173
MOUSE_BTN0 cycle pause


2 seconds in the manual
>>
>>55067284
There's a manual?!
>>
>>55067017
>
vo=opengl-hq:interpolation

It's not on by default?
>>
>>55067296
https://mpv.io/manual/master/

>>55067017
>superxbr
no surprise there. superxbr is cancer and anybody posting these “presets” is a moron
>>
These threads are more and more terrifying. There are some smart people that speak about very technical things like mad aliens and on the other side there are maybe the dumbest people in the world that can't stop asking dumb questions.
Damn that's scary.
>>
>>55067818
Windows meets Linux
>>
>>55067818
You act as if being technically inclined means knowing the ins and outs of encoding and media playback, it's a niche of a niche at best.
>>
>>55067082
Also because OpenGL is the only possible for a media player to be cross-platform. DirectX is designed to be a vendor lock-in.
>>
How do I disable ANGLE?
>>
File: 1408117967880.png (316 KB, 629x464) Image search: [Google]
1408117967880.png
316 KB, 629x464
Is mpv Retina display aware?

I noticed that mpv uses a colossal amount of GPU power when I’m using the Scaled – More Space setting in Display than when I use the "best" (Retina) setting.

It would appear mpv outputs 1080p video at 3840*2160 then downscales it to 2800×1800.
>>
>>55038468
And thats >>55067296 what you get for not including documentation into OP post.
Well, you actually will get this shit anyway but probably less often.
>>
>>55068919
Yes it is and your observation is correct.
This is the official Apple recommendation for handling such things on retina displays. Doing it any other way would result in the video being less sharp (similar to when you set your scaling factor from 2 to 1 as you can do with some programs) and yes it requires stupid amounts of GPU.
If you think it should be different then you are welcome to open an issue and ask or discuss with the devs about it.
>>
>>55070372
>Doing it any other way would result in the video being less sharp
I'm actually not 100% sure about this btw.
It's still true that mpv does it like it should be done officially but I'm not sure if picture quality would be much worse when not following the recommendations... GPU usage would certainly be way lower.
>>
>>55044839
Macfag also but I just got MPV with homebrew and I can't seem to find the .config file, Do I have to make it? When I go to the folder homebrew made there's only a folder with the watch later. Please help
>>
>>55068919

Wow that is stupid OS behaviour, even Windows gets that right (albeit shitting on whether your GPU can handle it or not)
>>
Invalid value for option hwdec: auto-copy


Version 0.17.0 on Fedora Linux from repo, what gives?
>>
Still sucks dick compared to MPC-HC and madVR. Get over it.
>>
>>55071541
Still better than ancient 90's DirectShow crap
>>
>>55071541
You just came over and said that you are retarded. Are you normal?
>>
>>55071517
auto-copy isn't in the stable releases yet.
>>
>>55072019
You just asked a person who said they were retarded if they are normal. Are you retarded?
>>
>>55072056
Maybe he is drunk or something. Stop asking retarded questions, if you not retarded.
>>
I can see any difference between cscale=bilinear and cscale=ewa_lanczos.
>>
File: anime_vs_real.png (2 MB, 1920x1080) Image search: [Google]
anime_vs_real.png
2 MB, 1920x1080
How to autodetect animes and movies with some kind of image processing (opengl/opencv/...) automatically? Default interpolation looks like shit with real action movies but seems to be great with animes.
>>
>>55072276
cscale=<filter>
As scale, but for interpolating chroma information. If the image is not subsampled, this option is ignored entirely.
>>
>>55070863
>gets that right
It's not that easy.
Windows and OS X have two completely different approaches for HighDPI/scaling of HiDPI displays.
I'm not going to explain them to you (google yourself), but both have their own advantages and disadvantages. The OS X approach definitely sacrifices more GPU usage.
>>
>>55072038
>auto-copy isn't in the stable releases yet.
There are no "stable" releases.
Heck, the only reason why there are releases every now and then is because distros are unable to work without releases.
A release is just a snapshot of master when there were no complaints or radical now developments for some time.
>>
>>55070372
>>55070427
This couldn't be further from the truth actually.

mpv wants to be outputting an image at the exact resolution it will be displayed. (i.e. mpv wants to output at 1:1)

So if mpv is outputting 1080p at 2160p and then OS X is downscaling to to 2800x1800, it's a bug.

mpv should be outputting 2800x1800 directly, under ALL CIRCUMSTANCES. Anything else is a bug. Please file one.
>>
>>55072312
>How to autodetect animes and movies
Check for presence of a japanese language track or subtitle track. Check for presence of japanese characters or words in the title. Check for presence of a group tag from the groups you typically download from.

There, this heuristic will do you good for 99.999% of content without needing to blast your GPU with error-prone detection algorithms, while being 100x easier to develop.
>>
>>55074518
Oh, even better: Just move your anime into ~/movies/anime and then check for the presence of that directory in the path you are currently watching.
Thread replies: 255
Thread images: 23

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.