[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 thread
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: 99
Thread images: 4
File: blub.png (186 KB, 604x270) Image search: [Google]
blub.png
186 KB, 604x270
Share config and troubleshoot, now that there is accelerated development on our favourite meme player

Config file
# Video settings
vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczos:dscale=mitchell:tscale=oversample:scaler-resizes-only:tscale-clamp:dither-depth=8:deband:temporal-dither:dwmflush=windowed:correct-downscaling:sigmoid-upscaling:pbo:interpolation:post-shaders="~~/shaders/adaptive-sharpen-pass1.glsl,~~/shaders/adaptive-sharpen-pass2.glsl"
framedrop=vo
display-fps=60
hwdec=dxva2-copy
#video-sync=display-resample

# Audio settings
ao=wasapi
audio-device=wasapi/{6f944f4e-4394-4d6b-a419-8c3cea2e2566}
audio-pitch-correction=yes
volume=50
audio-channels=5.1
initial-audio-sync=yes
softvol=yes

# Subtitle settings
ass-force-style=Kerning=yes
sub-scale-by-window=yes
sub-scale-with-window=yes
ass-scale-with-window=yes
sub-auto=fuzzy
sub-text-font-size=46
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"

# OSC settings
script-opts=osc-layout=bottombar,osc-seekbarstyle=diamond

# OSD settings
osd-font="Source Sans Pro"
osd-fractions=yes
osd-level=1

# Screenshot settings
screenshot-format=png

# Window settings
screen=1
no-border
autofit-smaller=50%x50%
autofit-larger=95%x95%

# Miscellaneous settings
ytdl-format=bestvideo[height<=?1080]+bestaudio/best
save-position-on-quit
cache=yes
cache-file=TMP
cache-file-size=12582912
cache-default=4194304
cache-backbuffer=750000
cache-initial=500
cache-secs=300

# Unknown and custom settings
demuxer-lavf-analyzeduration=10
script=~~/scripts/stats.lua
sub-use-margins=yes

# Extensions - Do not add custom settings that are not extension related below this line.


I seem to be having the error that all youtube videos are only in stereo instead of 5.1.
Anyone have a similar problem?
>>
>>51307967
>forcing the fps of the video file to 60fps
pleb
>>
vlc master race reporting in
>>
>>51307979

That's not what that command does
>>
Does dwmflush help?
>>
>>51307967
wait doesn't dxva2 decoding eliminate all your opengl settings since they're software decode or am i misunderstanding something
>>
>>51308031

dxva2-copy: copies video back to system RAM (Windows only)

It supposedly just reduces system load a bit
>>
>>51308031
There's a difference between hardware decoding and hardware rendering. DXVA will decode the video and pass each surface (unfortunately through system RAM) to the OpenGL renderer.

IIRC with GLX and VDPAU it kind of negates some of the scaling settings because VDPAU does the chroma upscaling internally, but DXVA doesn't have that problem, it gives you exactly the same YUV subsampled frames that the software decoder does.
>>
Using Argon's mpv stats, my A-V keeps rising all the way until the video ends. Does anyone know why this keeps happening? My config is literally one line:
video-sync=display-resample


Is there a log function in mpv that could tell me the problem? Also yes my hardware is fine, it's a 6700K and a 970.
>>
>>51308103
That definitely sounds like a bug. It's pretty much exactly how video-sync is not supposed to work. You should try the GitHub bug tracker.
>>
>>51307967
>>>/a/utism
>>
>>51308103

Had a similar problem with

framedrop=no

try framdrop=vo
instead
>>
File: yea im 18+.jpg (43 KB, 500x337) Image search: [Google]
yea im 18+.jpg
43 KB, 500x337
>>51308121
>high quality video rendering is just for /a/
I'm tired of this meme.
>>
>>51308128
Tried, it still happens.

>>51308117
Ok, I will.
>>
what's the best scaler for tscale?
>>
>>51308128
Don't touch --framedrop. Just leave it on the default (incidentally, 'vo' is the default, but you should leave it out of your config altogether in case mpv adds a better framedropping method in the future.)

Having framedrop in your config is almost always a mistake.
>>
>>51308121

I don't even watch degenerate cartoons.
I still like mpv for its streaming capabilities and its small cpu footprint
>>
>>51308164
oversample
>>
How can I have an OS independent config file?
I use hardware acceleration and I want to keep it clean between OS's.
>>
>>51308169

Thanks for the info, good to know
>>
>>51308194
hwdec=auto
>>
>>51308169
I notice no difference between vo and no. Neither drop any frames and both look equally smooth. So why not just leave it on no?
>>
>>51308194
as in a: a single configuration file that can be used in all OSs.

Profiles or some shit?
>>
>>51308201

Try a 60 fps 1080p video or higher
>>
>>51308208
streamed or local?
>>
>>51308206
>>51308200
Shit son, I did think of that but mpv sometimes didn't properly pick up my OS while in Linux, in older versions.

I guess it got better, I'll try after work.
>>
>>51308213

Stream
>>
>>51308216
Yeah, it might auto-detect the wrong type of hardware decoding on Linux because there's three and it doesn't really know if one will work before it tries it.
>>
>>51307967
Can anyone recommend a complete config file for anime?
>>
>>51308248
Better to experiment with the options yourself. There's no single "best" config, you should chose what you like. I think sigmoid-upscaling works great with anime, you might not.

However, display-resample is objectively the best timing method, so you should attempt to sync your display to 48Hz or 50Hz or 72Hz before using anything else. Try various modelines, there's a very good chance one will sync. Display-resample is the exception to config being personal preference, if you prefer any other technique then you are just wrong.
>>
>>51308353
Alright, thanks for the good answer.

I'll dive into the documentation and experiment!
>>
>Using some obscure command line player that needs editing ini-files by hand.

Why don't you just forget this meme player and use MPC-HC with madvr.

It's much better in every way.
>>
>>51308117
what should it look like? my display is custom set to 72hz and A-V fluctuates from -0.070 to 0.070 throughout

if I remove video-sync it stays at 0.000
>>
>>51308248
>>Can anyone recommend a complete config file for anime?

Don't use other people's config files, stupid.
>>
>>51308401
>much better in every way
>doesn't have display-resample
ReClock is just static fpsadjust style timing
>>
>>51308416
It's a good place to start though.
>>
>>51308413
>>what should it look like?

0.000
>>
>>51308401

There is no simple way to watch online streams in mpc-hc
>>
>>51308424
>It's a good place to start though.

No, stupid. You start at default and add things one by one until you are sure it has a benefit and it doesn't break your player.
>>
>>51307967
share shaders?
>>
>>51308465
https://gist.github.com/bjin/e22e96861669e897cf65
>>
>>51308434
damn, I should stop using it then, I wonder if it's my shitty hardware or a windows specific bug.
>>
What are the best options for scale, cscale and dscale in your opinion if you have the power to run it?
>>
>>51308485
i love (You)
>>
>>51308488
I think it might be something with Windows. Some other anon has the same problem.
>>
>>51308494

I'm getting hard, senpai
>>
>>51308485
This doesn't work with my 5770 + Free drivers.

I use this instead: https://0x0.st/6T.glsl
>>
>>51308533

I'm on Windows, that is probably why
>>
>>51308492
>What are the best options for scale, cscale and dscale in your opinion

oversample, nearest, spline16
>>
>>51308540
lol nah bruh, that shit sucks.

ewa_lanczossharp for scale

ewa_lanczossoft for cscale

mitchell for dscale
>>
>>51308547
I like regular ewa_lanczos for scale + sharpening in post-filters.
>>
>>51308533

Where do you put this to use it?
>>
what does sigmoid-upscaling do?
>>
>>51308598
post-shaders=/path/to/filter.glsl
>>
>>51308606
Makes things look sharper without haloing, at the cost of subtly distorting bright/dark line thicknesses. In the case of anime you're unlikely to notice slight differences in line thickness.
>>
>>51308606
http://www.imagemagick.org/discourse-server/viewtopic.php?f=22&t=21415
>>
>>51308621
>>51308627
cool, thanks
>>
>>51308627
I'd love a proper mpv comparison of all the scaling filters. Which is best for scale, which is best for cscale etc.
>>
Any ultrabooks/ or tablets such as the surface that can handle mpv with this type of config >>51307967
>>
display-resample is useless if I play 24p content on a 60Hz screen right?
>>
>>51308725
Nope. It's useless if you have a 120Hz monitor.
>>
>>51308743
My display can do 48hz and some anon in the other thread said I should still turn It on, I don't know how it works though so I just took his word for it, doesn't seem to have a visible effect
>>
>>51308760
>>doesn't seem to have a visible effect

If you don't notice then turn it off. No reason to leave it on.
>>
>>51308725
Wrong. You get perfect 3:2 pulldown, which is arguably preferable to interpolation if you're really stuck with 60Hz.

>>51308743
Wrong. Audio/video clocks are asynchronous, so you still need display-resample to compensate for clock drift.
>>
>>51308769
>>Wrong. Audio/video clocks are asynchronous, so you still need display-resample to compensate for clock drift.

Granted only if display-sync works in the first place. More and more people are reporting that it doesn't work as advertised.
>>
>>51308760
You'll see the difference only rarely, and only if your hardware/OS config has sufficient real time performance for display-resample to work reliably. Without display-resample you can have Reclock style static timing, which is still reasonably good. But if you want literally perfect (zero dropped or duped frames in the whole movie) then display-resample is the only option.
>>
>>51308778
I watched It Follows recently with display-resample and that movie has a lot of panning scenes which make uneven timing obvious. I didn't see any timing glitches or hear any audio glitches. Of course this doesn't mean there were none.
>>
>>51308808
>>I didn't see any timing glitches or hear any audio glitches

Well, the thing with display-sync is that if it doesn't work like for some anons, the audio is out of sync, often appearing before the video. So if somebody in a video is speaking with their mouth, the audio will have already passed that point.
>>
File: 1425560138072.png (205 KB, 343x466) Image search: [Google]
1425560138072.png
205 KB, 343x466
>>51308401
>ini-files
>>
>>51308871
I haven't seen any audio sync problems like that.
>>
>>51308888
Which OS are you running?
>>
>>51308888
Well no, you'd usually hear them.
>>
>>51308894
Debian stable
>>
>>51308914
Figures. My theory is that display-sync is not working properly on Windows seeing as everyone I know of that has reported this issue uses Windows.
>>
>>51308909
You equally see and hear them, because audio sync is equal parts audio and video.
>>
>>51307967
Been using mpv for a few weeks now, it's amazing how I can upscale with jinc on my piece of shit laptop without the frame rate turning to shit. When I used mpc-hc the fps would drop like crazy. Gonna try that adaptive sharpen shader now.
>>
>>51308964
what laptop and specs?
>>
File: lenovo-z400.jpg (16 KB, 383x91) Image search: [Google]
lenovo-z400.jpg
16 KB, 383x91
>>51308977
>>
>>51307967
You seem like the sort of person who goes through the manual and changes config options just for the sake of changing them.
>>
Two questions:

1. Can I run mpv minimized when listening to music?

2. Can I run mpv with a designated mpv.conf when listening to music?
>>
>>51308533
>This doesn't work with my 5770 + Free drivers.
https://wiki.installgentoo.com/index.php/Radeon
>>
does anyone know between sharpen complex 2 and the adaptive sharpening filter which has better visual quality?
>>
>>51307967
>Share config and troubleshoot
Why? I just downloaded the app and moved it to the app folder and it just works.
>>
>>51310825
yes
>>
>>51311086
Some people don't like the defaults or just tweak stuff for the sake of tweaking. I use mpv even on Windows because it's so simple and clean compared to MPC HC + madVR.
>>
Anyone else having screen tear with the latest version?
>>
>>51311210
Reports say yes.
Try adding dwmflush=windowed to your vo
For the record what gpu/driver do you have?
>>
>>51311197
It was a bit confusing for me on Windows and I kept using MPC. But since I moved to OS X I had to get used to mpv and it's actually great once you learn the keyboard shortcuts.
I don't mind tweaking but it seems to work pretty well ootb.
>>
>>51311247
W10 (lachs0r), HD7770, latest AMD drivers. Used to be normal on previous versions.
>>
>>51311247
I had the same problem on windows and this works.
But now fullscreen videos are lagging.
>>
>>51311274
>W10 (lachs0r), HD7770, latest AMD drivers.

I have an AMD APU and I got tearing as well.

>>51311247

^ This setting fixed it.
>>
>>51311274
>>51311295
>Used to be normal on previous versions.
Yeah, dwmflush=auto was added to default config in last release. All people having screen tearing problems have AMD gpu so far.

>>51311283
>lagging
Lagging as in? Do you have framedrops or audio/video desync? What is your current config?
>>
guys stop using the argon stats.lua
https://github.com/mpv-player/mpv/issues/2474
>>
>>51311313
>dwmflush=auto was added to default config in last release

why?
>>
>>51311384

https://github.com/mpv-player/mpv/commit/30a61064773e4fcb4c20a90787af95bc7d0e6d12
vo_opengl: win32: try to enable DwmFlush by default …
wm4 committed 11 days ago

Enable it by default, but not unconditionally. Add an "auto" mode, which
disable DwmFlush if the compositor is (probably) inactive. Let's see how
this goes.

Since I accidentally enabled DwmFlush always by default (more or less)
in a previous commit touching this code, this is probably mostly just
cargo-culting, and it's uncertain whether it does anything.

Note that I still got bad vsync behavior when fullscreening mpv, and
making another window visible on the same screen. This happens even if
forcing DWM.


If someone having this problem can open a bug report in github, it can fixed or removed from default in next release.
>>
>>51311313
>Lagging as in? Do you have framedrops or audio/video desync? What is your current config?

Yes, I get a lot of framedrops.
My config worked perfectly with older builds of mpv. I just added dwmflush=windowed to get rid of the tearing. But now I get framedrops.
>>
>>51311345
>The script polls queries so fucking much that it fucks up display-sync

Lol who the fuck wrote this fucking POS script?
>>
>>51311432
Well, downgrade to 0.12 with the same config to be double sure. If you don't get framedrops, it is a problem with 0.13 so you should bug report.
>>
Anyway to hide the mpv taskbar icon?
Thread replies: 99
Thread images: 4

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.