[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/
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: 148
Thread images: 27
File: 1461372028196.png (1 MB, 512x512) Image search: [Google]
1461372028196.png
1 MB, 512x512
I need help, but first the presets:

> Low preset:
vo=opengl:deband
hwdec=auto



> Medium preset:
vo=opengl-hq
hwdec=auto



> High preset:
vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft
hwdec=auto



> Highest preset:
vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:prescale-luma=superxbr:prescale-downscaling-threshold=1.5



> Insane preset:
vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:prescale-luma=nnedi3:prescale-downscaling-threshold=1.5
>>
The screenshot template isn't working, reverts to default one. I tried making it similiar to the MPC-HC default one
screenshot-template=%f_snapshot_%wM:%wS_%n 

What's wrong here?
>>
>>54277062
seems like %f doesn't work
>>
>>54277382
yea, removing the %f doesn't fix anything, the file I got with that was "snapshot_00" , no extension and 0B in size, even though mpv reports the file saved properly on the screen
>>
>>54277507
so you are on windows, you can't have ":" in a filename on windows.
>>
>>54277528
that was my first guess, but even after replacing ":" with a dot or a dash it still doesn't work

setting only
screenshot-template=%f
just makes it default, seems like it doesn't work at all
>>
>>54277062
put quotation marks around it
>>
>>54277507
Try it like this
screenshot-template="%f_snapshot_%wM:%wS_%n"
>>
>>54277555
>>54277554
awesome that works, but as >>54277528 said, can't have ":" since it's windows, I'll just put a period

thanks a lot everyone
>>
I have mpv running, but I have screen tearing with videos, the monitor can run at 60, 120, 144Hz. In the info osd while playing a video I get the display value "specified: 139.9999 calculated: 59.998"

Is this ok? I remember reading about a script for interpolated frames and scaling automatically the display refresh rate or something like that
>>
Oh yea, is there a way to make mpv use only one instance on Windows? So if a video is running and I open another one, it opens it in the currently running instance. Can't find it in the manual
>>
Which preset should I use?
I have a AMD Radeon HD 7340 as GPU.
>>
Hey did you try CrossBilateral and SuperRes?
https://gist.github.com/igv
>>
>>54276973
anyone care to explain what those settings on high to insane presets are for?
>>
>>54280466
Dumb shits, please don't care about them.
>>
Where do i set these values in mpv?
>>
>>54280549
make a file "mpv.conf"
https://mpv.io/manual/master/#configuration-files
>>
How to use user-shaders="~~\something.glsl"?
>>
File: mpwhat.png (23 KB, 1289x251) Image search: [Google]
mpwhat.png
23 KB, 1289x251
I get these errors with the insane preset. What do?
>>
>>54281035
Your version of mpv is not compiled with gpl3 option.
>>
>>54280459
I don't see shit difference, before and after applying them. This placebo is too subtle for me, are these really working?
>>
>>54281035
Why do people keep posting that shitty mmemedi3 preset?

You should use
vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:interpolation
video-sync=display-resample
>>
Hey guys I'm really new to this, and I was wondering if you could help me out. I downloaded MPV off their website for Windows, and it just works out of the box, but theres no config file at all, so I can't modify it. I checked my roaming\mpv and its just empty? Is there something that I'm missing? In the zip file that I downloaded, it just has three files: The mpv.exe, mpv.com, and a manual file. Any help would be appreciated.
>>
>>54282176
config file doesn't exist by default, you need to create it
>>
>>54282210
Oh. That would explain it. Should I just refer to the manual to configure it? Or is there a default one I can go with it?
>>
>>54282278
vo=opengl-hq is adequate for most people as default config. You can add interpolation and display sync to eliminate judder and smoother play

vo=opengl-hq:interpolation
video-sync=display-resample
>>
>>54282402
Cool, I appreciate the help! I name this file "mpv.config" right?
>>
>>54282493
mpv.conf is the default look name i think. Put to %APPDATA%/mpv/mpv.conf

You can run mpv from command line to see debug info and if config is working

"C:\path\mpv.com" "C:\whatever\videoname.mkv"
>>
I have 2 questions

How can I prevent the player to close when a video finishes?

What scripts are useful for mpv?
>>
>>54282656
keep-open
in mpv.conf

https://github.com/mpv-player/mpv/wiki/User-Scripts
>>
is there a way to make mpv use different config settings for different file formats?
>>
File: 1272253860922.jpg (32 KB, 300x504) Image search: [Google]
1272253860922.jpg
32 KB, 300x504
For people who do like NNEDI3, and have an nvidia card on windows, try using the option:

nnedi3-upload=shader


it's the difference between being able to use 32 or 64 neurons without dropped frames for me.
>>
>>54282703
https://github.com/mpv-player/mpv/blob/master/DOCS/man/mpv.rst#auto-profiles
>>
>>54281869
Crossbilateral is noticeable in 4:2:0 images with text in obnoxius colors, like black on red
>>
>>54282493
>>54282560
You can also create a folder called "portable_config" in the folder with the exe and put the config in there. And I'd suggest adding the mpv folder to PATH.
>>
>>54282686
Thanks man I'll check it out.
>>
>>54282656
stats is you feel the need to check that during playback.
>>
>>54282948
What preset is best to view Maki's pussy?
>>
>>54282770
Hmm, yes. Like on this one
https://0x0.st/srx.mkv
>>
>>54282055
Thankyou! I always forget to update mpv if I compile from source. This setting works nicely and looks pretty ok.
>>
>>54283143
is this with CrossBilateral applied?
>>
>>54276973
How can I record a stream I'm watching?
>>
>>54284294
livestreamer url -o filename
>>
>>54284354

How can I record a stream I'm currently watching in mpv?
>>
>>54284132
Nah just a sample clip for testing purposes.
>>
File: base.png (3 MB, 1920x1080) Image search: [Google]
base.png
3 MB, 1920x1080
>>54283143
>>54284132
>>54284511
Here some screens

Base, scaled with ewa_lanczos (both chroma and luma)
>>
File: crossbilateral.png (3 MB, 1920x1080) Image search: [Google]
crossbilateral.png
3 MB, 1920x1080
>>54284710
Base+CrossBilateral
>>
File: superres.png (3 MB, 1920x1080) Image search: [Google]
superres.png
3 MB, 1920x1080
>>54284710
>>54284741
Base + SuperRes
>>
>>54284741
cscale also applied with CrossBilateral
>>
File: Screenshot_8.jpg (76 KB, 847x574) Image search: [Google]
Screenshot_8.jpg
76 KB, 847x574
do any of you use avisynth? I've been trying to get rid of this rainbow for line an hour and so far none of the plugins have worked
>>
>>54284774
This one looks the best.
>>54284710
This is a close second but there are some strange artifacts in the right side pants.
>>54284741
This is blurry shit.
>>
File: superres_crossbilateral.png (3 MB, 1920x1080) Image search: [Google]
superres_crossbilateral.png
3 MB, 1920x1080
>>54284710
>>54284741
>>54284774
Base+SuperRes+CrossBilateral

(base also had nnedi3 image doubled in all and has some sharp added)
>>
>>54284801
>thinner lines
>blurry shit
>>
i love you
>>
File: 1441950987139.gif (56 KB, 300x300) Image search: [Google]
1441950987139.gif
56 KB, 300x300
vo=direct3d_shaders
>>
>>54284825
They caused them to look ``thinner'', and by doing that they made the image appear as though it were blurry shit.
Sorry about your eyesight and brain.
>>
File: Chroma-420.jpg (623 KB, 1280x720) Image search: [Google]
Chroma-420.jpg
623 KB, 1280x720
Best test image to see how CrossBilateral works
>>
File: mpv-shot0001.png (1 MB, 1280x720) Image search: [Google]
mpv-shot0001.png
1 MB, 1280x720
>>54284901
with CrossBilateral
>>
>>54284895

>>54284901
>This one looks the best.

>>54284916
>This is blurry shit.
>>
>>54284991
>the lines are thinner

hurr durr
>>
How do I set the cache size to a minimum, but "infinitely" large

I have
cache=81920

mpv just keeps the buffer full, it doesn't seem to buffer beyond that limit, so if I skip beyond that limit starts buffering again from that point onwards
>>
>>54284840
...is deprecated and will be removed soon.
>>
File: 1356335485567.jpg (32 KB, 307x466) Image search: [Google]
1356335485567.jpg
32 KB, 307x466
vo=opengl-hq:tscale=oversample:tscale-clamp:scaler-resizes-only:temporal-dither:swapinterval=1:interpolation:blend-subtitles=yes
video-sync=display-resample
hwdec=no
framedrop=no
>>
>>54284805
dope
>>
>>54284793
What's the source?
>>
>>54285566
you want a video sample?
>>
How can I record a stream I'm currently watching in mpv?
>>
>>54286107
man mpv
/dump
n
>>
>>54284805
This looks great. What are the exact vo options for this?
>>
>>54286236
I guess
vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:user-shaders="~~/CrossBilateral.glsl,~~/SuperRes1.glsl":prescale-luma=nnedi3
+ some sharpening shader. It will work correctly if your video size is half of your monitor size at the moment.
>>
>>54286137
I guess you should read the stuff yourself before posting.
>>
>>54286291
thanks
>>
>>54286307
Autism
>>
%f_snapshot_%wH.%wM.%wS_[%tY.%tm.%td_%tH.%tM.%tS]


How do I make the %wH. (including the period) only appear when it will output something other than 00?
>>
It's possible to config subtitle? Like color and font?
>>
>>54287853
yea
https://mpv.io/manual/master/#subtitles
>>
Is there a way to have mpv temporarily display the frame number when I frame seek with , and . ?
>>
Hi /mpv/.

I have this as my MPV config:
cache=yes
cache-initial=4048
cache-default=99999
cache-secs=90

However I noticed that sometimes MPV will stop downloading the stream altogether and thus the cache-secs and the cache mb will drop steadily until zero but MPV won't resume downloading the video to compensate. Is there any option in the config I can change to prevent this? I have a pretty shit network connection of 1mb/s.
>>
>>54288253
if you use livestreamer add
--hls-segment-threads=4
as a livestreamer option
>>
>>54288299
Would that help if it's an HTTP stream anon? Thankyou kindly for replying.
>>
>>54288306
Idk, I use it to stream twitch only
>>
>>54288326
I'll try it out anon.
>>
>>54284710
>>54284741
>>54284774
>>54284805
Just don't watch that shitty anime
>>
>>54288177
Calculating frame numbers is difficult and nontrivial. Instead of using frame numbers, you probably just want exact timestamps.
>>
File: pls respond.jpg (36 KB, 278x278) Image search: [Google]
pls respond.jpg
36 KB, 278x278
>>54286456
>>
File: 05 - SGVsYL4.png (1 MB, 1366x709) Image search: [Google]
05 - SGVsYL4.png
1 MB, 1366x709
Is it better than Kodi? And why exactly?
>>
kodi -> oldish c++
mpv -> oldish c
mad -> oldish delphi
>>
>>54291676
What's oldish about mpv's C?
>>
>>54291732
mplayer...
>>
>>54291739
Have you ever compared mpv and MPlayer's code?
>>
>>54276973

WTF! Are you fucking serious? Retarded shilling?
When did linux become first choice for media playback?
OpenGL is/was a true shit two years ago. So what happened?
>>
>>54291807
>OpenGL is/was a true shit two years ago. So what happened?
People learned how to use it?
>>
File: weird_shit.jpg (196 KB, 1024x654) Image search: [Google]
weird_shit.jpg
196 KB, 1024x654
>>54291758
>>
File: sweet_shit.jpg (105 KB, 1061x1061) Image search: [Google]
sweet_shit.jpg
105 KB, 1061x1061
>>54291758
>>54291905
>>
File: 1379416233325.jpg (56 KB, 1920x1080) Image search: [Google]
1379416233325.jpg
56 KB, 1920x1080
>>54291853
OpenGL is a true cancer with no future.
Ultra old pedo* developers are still using it because they hated windows 95 so much.
>>
File: directx12-logo.png (25 KB, 1360x775) Image search: [Google]
directx12-logo.png
25 KB, 1360x775
mediaportal (dx) > kodi (opengl)
mpdn (dx) > mpv (opengl) > vlc (opengl)
>>
>>54284710
>>54284741
>>54284774
>>54284805
CrossBilateral literally makes it look like shit.
It isn't just an oil painting, it's a pixelated oil painting.
>>
>>54292096
4/10 bait
>>
>>54276973
are there other skins?
i like the autohiding transparent controls.

can i make the window borderless?
>>
>>54292349
man mpv
>>
>>54292246
hi retarded we've been waiting for your useless opinion.
>>
>>54291807
year of the Linux. Fuck you
>>
Haasn around? Will this user hooks stuff enable using nnedi3 for deinterlacing?
>>
>>54293043
>Haasn around? Will this user hooks stuff enable using nnedi3 for deinterlacing?
Not really, no.
>>
>>54277062
Screenshot settings from my mpv.conf file:

# Screenshot Settings
screenshot-format=png
screenshot-png-compression=9
screenshot-template="~/%F[%P]_[%td.%tm.%tY][%tH:%tM:%tS]"
screenshot-high-bit-depth=no
>>
File: windows-10-spy.jpg (33 KB, 700x474) Image search: [Google]
windows-10-spy.jpg
33 KB, 700x474
Please mpv devs and contributors, please sanitize all these directshow atrocities.
>>
File: mpv_cinema.jpg (115 KB, 1024x683) Image search: [Google]
mpv_cinema.jpg
115 KB, 1024x683
Damned we live in a shitty world...
All the cinema have washed out colors and blurred rendering.
Do you know a cinema that use mpv?
>>
File: directshitsfromass.jpg (202 KB, 1024x654) Image search: [Google]
directshitsfromass.jpg
202 KB, 1024x654
>>
>S (shift+s) - Take a screenshot, without subtitles. (Whether this works depends on VO driver support.)
So yea, isn't working for me, it just takes a screenshot with the subs again. Is this due to the VO setting? Any fix or do I have to use another one
My config is:

vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:interpolation
video-sync=display-resample
hwdec=auto
framedrop=vo
vf=gradfun
>>
what is the highest setting for movies and not weeb shit
>>
>>54276973
What type of computer do you need to run the insane preset of mpv i'm currently running mpc+madvr on a 4790k 4.8ghz and a R9 290x
>>
are we not talking about the recording script?
>>
>>54291614
They aren't even the same thing
>>
>>54292096
Is mediaportal even alive? Plex and Emby seem to have eaten their marketshare, and Kodi still leads it's field
>>54293972
Most IMAX cinemas should be decently setup
In theory THX certified cinemas are too, but that's bullshit most of the time
>>
>>54281035
I had the same thing, if your mpv isn't perfectly up to date or is wasn't compiled with the 'glsl' option flag, you can't use the 'nnedi3' prescaler, the 'highest' preset will work just fine and the only difference is that it uses 'superxbr' instead of 'nnedi3', it's 99% as good.

Anybody using mpv on an Ubuntu based distribution and using the PPA will have this problems as well.
>>
Am I supposed to use ':interpolation' with 'video-sync=display-resample'?
>>
>>54296543
Yes
display-resample should be used whenever possible, unless your install is fucked and it works worse than audio
>>
>>54296594
Should they be used together though or just display-resample?
>>
>>54296627
Together if your display doesn't have a refresh rate that's a multiple of the refresh rate of your video
>>
No vdpau?
>>
>>54296676
Ugh, so specific. So yes for 24 fps movies, no for 30/60 fps YouTube videos because I have a 60hz monitor?

There a way to set a different 'vo' line for ytdl content?
>>
>>54296762
It will disable itself if the refresh rate it's the same as your monitor, so you can leave it on without problems
>>
>>54296835
Oh, excellent! Interpolation on it is!
>>
>>54276973
requires Waf to build which is not open source.

Code is NewBSD but Docs are CC-BY-NC-ND which is not. Also comes in binary form.
>>
File: 2016-04-28_14.49.38.jpg (270 KB, 1920x2155) Image search: [Google]
2016-04-28_14.49.38.jpg
270 KB, 1920x2155
Why do SRT subtitles look like this in mpv (screenshot below) and how can I make them look like in the screenshot above (from vlc)? There is no difference with ASS subtitles.
>>
>>54298071
You probably want to play around with these options to find whatever is closest.
sub-text-font=' whatever vlc uses'
sub-text-font-size=30
sub-text-margin-y=30
sub-text-border-size=1
>>
File: a.jpg (400 KB, 1920x1080) Image search: [Google]
a.jpg
400 KB, 1920x1080
>open file in vlc
>freezes for 5 seconds
>see this

>open file in mpv
>works perfectly
VLC is beyond a meme at this point.
>>
I just installed kubuntu 16.04 and i was testing some shit with mpv and scripts, with the convert script to be specific, everything works except at the moment to the encoding, anyone knows why is that happening?
>>
>>54298264
I've been using mpv too homie but perhaps your vlc needs some more caching?

I used to get that in vlc until i turned my cache up to 5000ms
>>
>>54286291
where do you get these filters
>>
>>54302009
*SHADERS
>>
user-sharders not found
i just recompiled mpv though, what gives
is it not in master branch?
>>
>>54302328
fetch https://github.com/haasn/mpv user_hooks:user_hooks
>>
>>54302477
ty
>>
File: 1mpv.png (2 MB, 1920x1080) Image search: [Google]
1mpv.png
2 MB, 1920x1080
what does no-sigmoid-upscaling do? It makes it look like this, but why
>>
>>54302649
gamma light instead of linear. no need to use it
>>
using user-shaders
[vo/opengl-hq] Pass has no hooked textures (will be ignored)!

shows up, is this fine, image looks ok and no drops
>>
>>54302722
ah ok
is adaptive sharpen good? using that and seems based, but haven't used others (didn't use the 2pass adaptive sharpen)
>>
>>54302735
both adaptive sharpen and FineSharp are good. I'm using 2pass adaptive sharpen all the time
>>
>>54302649
Goes back to gamma light like the other guy said, generally filters with 3 or more lobes do not perform well in linear light so a sigmoidal transform is used, if you disable sigmoidal it just falls back to gamma light (in other words Sigmoidal implies linear-light)

Gaussian works well in gamma light but it's not elliptical weighted so the result isn't as nice as expected
>>
Hey /ptg/ what are the best decoding/rendering settings for a relatively new AMD APU?
>>
how do I do spdif pass through in mpv?

I usually hdmi out my video and audio to my receiver so I can watch shows on the flatscreen tv.

However the audio out comes out encoded when I want to leave the decoding to the receiver.
>>
>>54304237
would ewa gaussian be any sharper than regular gaussian?

seems it would be because you could tune the blur a bit tighter while not resulting in aliasing
>>
This is my mpv.conf (in .config/mpv/mpv.conf)

vo=opengl-hq
hwdec=auto
script-opts=osc-layout=bottombar


is the code valid? the bottombar works, but I don't know if opengl-hq is active or not
>>
>>54307028
try this
vo=opengl-hq:sharpen=10
>>
>>54307297
Holy shit anon, my annie maes look fucking amazing now
>>
>tfw the low preset doesn't work for you
>>
>>54306577
HDMI should be able to pass 5.1 PCM shouldn't it?
Thread replies: 148
Thread images: 27

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.