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

/mpv/ - General mpv Thread:

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 104
Thread images: 18

File: 312453566.jpg (23KB, 586x314px) Image search: [Google]
312453566.jpg
23KB, 586x314px
Previous thread:
>>59749027

Should I use HW decoding or not?
>>
Generally no. Software decoding is always the most accurate and has the most features available.
>>
File: 1475331580429.png (1MB, 1184x696px) Image search: [Google]
1475331580429.png
1MB, 1184x696px
Where is it?
>>
>>59791083
Do you need to use your CPU while decoding your videos?
>>
>>59791130
idk
>>
>>59791147
If you are compiling or doing some other cpu intensive task while watching videos in the background, use the hw decoder as it moves the strain from your cpu to your gpu. Assuming you are using gpu hw acceleration.
>>
>>59791083
>Should I use HW decoding or not?
No, unless you need to save energy or your CPU can't handle decoding
>>
how can i improve my playback quality?

vo=opengl
tscale=oversample
opengl-early-flush=no
opengl-pbo=yes

scale=ewa_lanczossharp
cscale=ewa_lanczossoft
dscale=mitchell
scale-antiring=0.7
cscale-antiring=0.7
dither-depth=auto
correct-downscaling=yes
sigmoid-upscaling=yes
deband=yes
hwdec=no

interpolation
tscale=catmull_rom # $ mpv tscale=help for possible options
temporal-dither
video-sync=display-resample

target-prim=bt.709
target-trc=bt.1886
gamma-auto
icc-profile-auto

blend-subtitles
>>
>>59791737
profile=opengl-hq
>>
>>59791737
Read the manual first, and >>59791756
you literally have two tscale options for no reason, one will override the other
>>
>>59791761
I can see one at the top, where is second?
>>
File: vlcmpcmpv__cpuusage.png (16KB, 872x89px) Image search: [Google]
vlcmpcmpv__cpuusage.png
16KB, 872x89px
>>59791083
https://www.youtube.com/watch?v=V5v8Cd4zR5k
>>
>>59792526
tscale=oversample
tscale=catmull_rom
>>
>>59791737
>scale=ewa_lanczossharp
>scale-antiring=0.7
no
>>
>>59792817
show me better config
>>
>>59792843
scale=ewa_lanczos
sigmoid-slope=10.0
here you go newfag
>>
File: 1485090505828.png (13KB, 755x55px) Image search: [Google]
1485090505828.png
13KB, 755x55px
>>59792582
https://www.youtube.com/watch?v=tlPfWxul5F4
>>
File: 1490048761287.jpg (200KB, 640x960px) Image search: [Google]
1490048761287.jpg
200KB, 640x960px
How do I get moving working in Ubuntu mate on raspi3? I got VLC working, but videos aren't displayed on the program window, they're overlaid over everything instead
>>
>>59791083
Is it still behind madvr/potplayer?
>>
>>59792964
Fake news!
>>
>>59793547
Behind in what metric? Number of meme scalers?
>>
Can you set a shortcut for resetting the window size to 100%?
>>
>>59794297
Probably
set window-scale 1
>>
>>59794326
yep, thanks
>>
File: 1486330454985.png (763KB, 1200x1771px) Image search: [Google]
1486330454985.png
763KB, 1200x1771px
since we're at it...
1) How do I launch mpv instance with no window focus? (yeah, im on windows and I use watch-with-mpv ffox addon)
2) Does anybody here use mpv with livestreamer/streamlink? Unlike mpchc I've used before, the memory and cpu usage of mpv grows to ridiculous numbers after some time, like it's trying to store the whole livestream in memory. No idea why.
>inb4 use yt-dl
I do, but it doesn't support all the websites I watch, so sometimes I have to use streamlink.
It might be an issue with the streamlink itself, but it seem to "just work" with mpchc.
3) I've asked a few weeks ago how to permamently disable fullscreen in mpv, and some anon was kind enough to provide me with lua script you can add to your mpv.conf.
I'm a total faggot and I've lost this script. Anyone could write it for me, please? (the goal is to disable fs completely, I got rid of all mouse and kb shortcuts for it, but sometimes when using --on-top and having window size equal to display size mpv autoswitches to exclusive fullscreen mode.
>>
>>59794461
>1)
I don't think this is possible at the moment. mpv should unconditionally grab window focus when it creates its video window. Do any other programs support this feature?

>2)
This is interesting. Is the large memory usage in mpv's process or streamlink's process? I don't think this is intentional, since mpv's memory cache should be limited to 75MB. If mpv's memory usage grows past 75MB, it's probably a memory leak. Which streamlink options are you using (stdin, http or named pipe?)

>3)
Which opengl backend are you using? One of the reasons that the dxinterop and angle backends exist is because it's basically impossible to prevent WGL drivers from entering fullscreen exclusive mode. Some of them will do it when the window size matches the screen size, regardless of what type of window it is. On the other hand, dxinterop and angle should never enter fullscreen exclusive mode.
>>
>>59794609
>2)
Not him, but it's definitely a memory leak. I'm watching stream at the moment, and at the beginning mpv's memory usage was ~40Mb, now it's almost 200 after ~30 minutes. Using with --player-continuous-http --hls-segment-threads=2 options.
>>
>>59794787
Actually seems like memory growth stopped at 193Mb.
>>
>>59794804
Yeah, if it stops, it might not be a leak. 193MB could just be the size of the stream cache + demuxer cache + mpv's other internal structures. Otherwise, if usage keeps growing and it's reproducible, it's probably worth creating an issue report on GitHub.
>>
>>59794929
It doesn't grow any more
>>
File: ss+(2017-04-08+at+10.28.12).png (7KB, 199x205px) Image search: [Google]
ss+(2017-04-08+at+10.28.12).png
7KB, 199x205px
Does this look all right?
>>
>>59795185
Yeah, looks fine. The last four options could probably be removed, since they're included in the opengl-hq profile, but I understand wanting to keep them in case the opengl-hq profile is changed in new versions of mpv.
>>
File: mpv.webm (984KB, 1280x720px) Image search: [Google]
mpv.webm
984KB, 1280x720px
>2017
>mpv is still vlc tier software
>>
>>59795226
Thank you.
>>
>>59795239
This .ogm meme is my least favourite meme. Feel free to contribute Ogg-related fixes to FFmpeg if you actually care about the format.
>>
>>59795253
>blaming the encoder even though mpv player is literally the only player that has this problem
>even other mpv based players such as Baka-MPlayer and Bomi work fine
Yeah, it's obviously ffmpeg's fault
>>
File: 1470303305789.jpg (333KB, 3840x2160px) Image search: [Google]
1470303305789.jpg
333KB, 3840x2160px
Is it possible to move subs into the bottom/black-bars/unused area of the screen?

Video is mkv, and subs are embedded.

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 45 min
Bit rate : 31 b/s
Count of elements : 801
Stream size : 24.3 KiB (0%)
Language : English
Default : Yes
Forced : No


In mpv.conf I have:

 
sub-use-margins
sub-ass-force-margins
sub-ass-force-style=Kerning=yes

>>
File: mpv-2.webm (2MB, 1280x720px) Image search: [Google]
mpv-2.webm
2MB, 1280x720px
>>59795290
pic related
>>
>>59795185
No, it's retarded
>>
>>59795290
>>even other mpv based players such as Baka-MPlayer and Bomi work fine
I didn't know this. They probably use precise seeks when scrubbing, but mpv's OSC uses keyframe seeks. Use Baka-MPlayer then.
>>
>>59795300
No one uses ogms except one autist. If you need ogm support so much add it by yourself.
>>
>>59795340
>>59795357
lame justifications for shitty broken software
>>
>>59795400
So you r retarded, gotcha.
>>
>>59795327
Oh. Sorry. How can I fix it?
>>
>>59795291
this is what I have
sub-ass-force-margins=yes
>>
>>59795400
So do you actually use Baka-MPlayer? If you do, feel free to discuss it in these threads. It's libmpv based, so there's no need to be antagonistic. Bomi is less clear-cut, because it still has an in-tree copy of mpv, so it's more of a mpv fork than a libmpv user.
>>
>>59795441
profile=opengl-hq
scale=ewa_lanczos
cscale=ewa_hanning
sigmoid-slope=10.0
>>
>>59795454
Just tried it... still doesn't move them down. I think =yes is superfluous btw.
>>
>>59795472
Thank you.
>>
>>59794609
>>59794787
Thanks for your answers, I'm using some opengh-hq with lanczos sharp mix I found on the internet, not sure about streamlink options - will check when I'll be back home.
About memory leak - it's on mpv side, not streamlink. Task manager showed up to 10 GB consumption and about 2threads of my 4790k stuffed to the max (after playing a few hours of 1080p twitch stream)
>>
>>59795472
Why would you set the sigmoid-slope to a different value? What's wrong with 6.5?
>>
>>59795942
b cycle-values sigmoid-slope 10.0 6.5
>>
>>59796126
I see no difference, which is why I'm asking.
>>
File: sad_mpv.png (206KB, 512x512px) Image search: [Google]
sad_mpv.png
206KB, 512x512px
>mpv on 4chan
>dummy people are dumping their silly mpv.conf file :(
>mpv on irc
>hassn (maybe a counterfeit one) is talking about romance games :(
>>
opengl=hq
x -260 y-140
>>
File: mpv_blind.png (161KB, 512x512px) Image search: [Google]
mpv_blind.png
161KB, 512x512px
>>59796247
>mpv-devel irc channel
>vscode fag. . .
>>
File: 1.jpg (13KB, 300x200px) Image search: [Google]
1.jpg
13KB, 300x200px
>>59796162
try on this
>>
Found this on latest commit:
--opengl-shader-cache-dir=<dirname>


how to use this? simply drop .glsl files into the folder?
>>
File: counterfeit-cat-post.jpg (453KB, 960x605px) Image search: [Google]
counterfeit-cat-post.jpg
453KB, 960x605px
>>59796247
Counterfeit haasn is probably possible but no it's really him on IRC.
>>
>>59796424
opengl-shader-cache-dir="~~/shaders_cache"
in mpv.conf
>>
>>59796424
Nvidia drivers caches shaders automatically IIRC
>>
>>59796502
Maybe that's why ANGLE shader compile is slow, that glsl->hlsl conversion bypasses driver cache or something
>>
>>59794256
Meme shaders are what people want today.
Some people have specific madVR presets for almost every possible video type (based on framerate/resolution ) and content type (movies/animes/mixed) and it's becoming insane.

However almost any meme shaders are available on igv's gist.
>>
>>59796331
Okay yeah, the difference there is pretty obvious. 10 does seem like the sweet spot for that image.
Any particular artifacts that might arise from using 10 instead of 6.5? Ones that are noticeable at least?
>>
>>59796577
I've seen artifacts only with ewa_lanczossharp and sigmoid-slope 11.0+
The softer scaler is the higher sigmoid-slope value you can use without experiencing any artifacts, but there is no reason to go beyond 10.0.
>>
>>59796559
I don't understand the desire for these meme shaders. Most things are getting good quality rips from Amazon and such and those usually look fantastic on their own, they don't need ugly filters to look "good".
>>
Post configs.
>>
>>59796730
Fuck off.
>>
>>59796667
I do use ewa_lanczossharp though. So it should be fine at 10 still? Looking at that image it seems that going above 10 has the same effects as going under 10 anyway.
>>
File: 9GPNxt5.png (169KB, 496x332px) Image search: [Google]
9GPNxt5.png
169KB, 496x332px
>old Eee Asus notebook, not mine
>reinstalling windows 7 starter
>installing the lightest possible software
>choose mpv over vlc
>mpv crashes on gui resize by mouse dragging

I wanned to report bug
but wanned give more info and waited for mpv thread to appear
the notebook is now long gone, I now remember all this when seing thread

anyway, who the fuck cares about windows starter on atom cpus right?
but if I would encounter in the future, how do I do good bug report from windows?
>>
>>59796730
# Video
vo=opengl
profile=opengl-hq
opengl-backend=dxinterop
opengl-shaders="~~/shaders/KrigBilateral.glsl,~~/shaders/SSimSuperRes.glsl"
hwdec=auto-copy
scale=haasnsoft
cscale=bilinear
deband-grain=0
deband-iterations=2
deband-range=12
deband-threshold=48
video-sync=display-resample

# Audio
ao=wasapi
audio-channels=auto
audio-pitch-correction=no
volume=100
volume-max=100

# Window
autofit-larger=90%x90%
autofit-smaller=40%x40%
geometry=50%:50%
force-window=immediate
keep-open

# On-screen display
no-osd-bar
osd-font="Source Sans Pro"
osd-font-size=42
osd-color="#FFFFFFFF"
osd-border-size=2
osd-border-color="#CC333333"
osd-shadow-offset=1
osd-shadow-color="#33000000"

# Subtitles
sub-auto=fuzzy
sub-ass-force-style=Kerning=yes
sub-ass-style-override=force
demuxer-mkv-subtitle-preroll=yes
sub-font="Source Sans Pro"
sub-font-size=56
sub-color="#FFFFFFFF"
sub-border-color="#CC333333"
sub-border-size=2.5
sub-shadow-offset=1
sub-shadow-color="#33000000"
sub-spacing=0

# Screenshot
screenshot-format=jpg
screenshot-jpeg-quality="100"
screenshot-png-compression=0
screenshot-png-filter=0
screenshot-tag-colorspace=yes
screenshot-template="%F - [%P]"

# Playback/Track
alang=jpn,jp,ja
slang=jpn,jp,ja,eng,en
no-resume-playback
no-taskbar-progress

# Other
msg-module
term-osd-bar
ytdl
ytdl-format=(bestvideo[vcodec=vp9]/bestvideo[height<=1440]/bestvideo[fps>30])+(bestaudio[acodec=opus]/bestaudio)/best
>>
File: B2BikiwQdxg.jpg (49KB, 475x600px) Image search: [Google]
B2BikiwQdxg.jpg
49KB, 475x600px
>>59794461
>>59795757
Alright, I'm back at my PC.

>>59794609
> Do any other programs support this feature?
Yeah, MPC-HC has the /nofocus switch which works flawlessly.


> Which streamlink options are you using (stdin, http or named pipe?)
This is the command I use to launch streamlink, where %url% is replaced with an actual url.
Sorry if I fucked up formatting, it's my 1-st time embedding code.
streamlinkrc is all defaults.

 "Path\to\streamlink\portable\streamlink.exe" %url% best --player="Path\to\mpv\portable\mpv.exe --keep-open=no --no-taskbar-progress --cache 8192 --title=%url%" 


> Which opengl backend are you using?
Here is my mpv.conf, again sorry if the formatting is fucked up.
layout=box
seekbarstyle=slider
no-border
force-window
geometry=50%:50%
volume=50
cursor-autohide=1000
autofit-larger=100%x100%
hls-bitrate=max
ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash_segments]+bestaudio/best #[protocol!=http_dash_segments][protocol!=rtmp]
cache=yes
cache-default=5000000 # size in KB
cache-backbuffer=25000 # size in KB
cache-initial=0 # start playback when your cache is filled up with x kB
cache-secs=10
volume-max=200 # maximum volume in %, everything above 100 results in amplification
profile=opengl-hq
interpolation=yes
cache=auto
scale=ewa_lanczossharp
sub-auto=fuzzy
sub-use-margins
sub-font="Advantage"
sub-color="#fffc00"
sub-border-color="#262626"
sub-border-size=1.0
sub-ass-shaper=simple
demuxer-mkv-subtitle-preroll
keep-open=yes
fs=no
script-opts=osc-deadzonesize=1
reset-on-next-file=stop
screen=2

[extension.gif]
loop-file=inf
reset-on-next-file=loop-file

[extension.webm]
loop-file=inf
reset-on-next-file=loop-file


Holy shit, I've just realized the cache-default=5000000 line o_O
THAT MIGHT BE IT

>>59794787
>Using with --player-continuous-http --hls-segment-threads=2 options.

I'll check it, thanks
>>
>>59796828
>cache-secs=10
use only this and remove all other cache options
>>
>>59796773
https://github.com/mpv-player/mpv#system-requirements
>A somewhat capable CPU.
>A not too crappy GPU.
>>
>>59796941
playback was flawless, jumps forward and back were quick, full screen or in the default size it opened
it just crashed on resize
its most likely issue with Qt framework
>>
>>59796958
>its most likely issue with Qt framework
mpv's "UI" is built with libass, not Qt
>>
>>59796958
Shitty GPU drivers cause all types of crashes
>>
>>59796759
>So it should be fine at 10 still?
Test it on lowres images with bright thin edges and find out. If they are not oversharpend then 10 is fine.
>>
>>59796978
wtf is libass, google says subltitles thing

>>59797010
>>59796941
yeah, this is why I wanned to have something more in bug report than crashes on resize
run something with --debug or something and post log...
cuz tards will just dimsiss it based on their feel that the perfect software cant be flawed
not that they can do something else otherwise
anyway the point was that if you fucking stick in this threads all days, get copy paste guide how to do crash bug report on windows, so that next time shit happens shit can be hunt down more easily instead of everyone chimming in on what it can be
>>
>>59797052
>log
log-file=log.txt
in mpv.conf
>>
>>59797080
tested, did not expect the file to be created next to the file that being played
but cool though

maybe I get my hand on that Eee piece of shit soon again
>>
>>59797135
Nothing to test there, I can ensure you that that's because of a bug in a legacy Intel drivers.
>>
File: 1473830316017.png (206B, 50x50px) Image search: [Google]
1473830316017.png
206B, 50x50px
>>59797017
I tried it with this, and only the extremes really seemed to have bad results. So I guess it's fine.
>>
I just started using mpv and it's very nice so far.
I installed using brew on osx 10.9 and have been using it for streaming youtube, but I have a couple questions.
Is there someway to reduce startup time when using to stream a video? There's about a 10+ second wait when streaming from youtube or similar. Maybe I need to update ffmpeg?
Should I be concerned I used
brew install mpv
? I'm seeing a lot of examples that install from HEAD and add a bunch of flags, is my mpv build inferior because of this?
Should I be tweaking the default config right now?

Thanks.
>>
>>59794461
>3)
Something like this?
mp.observe_property("fullscreen", "bool", function(name, value) 
if value then mp.set_property_native(name, false) end
end)
>>
>>59795253
>>59795290
With ogm you mean the old non standard ogg hack format that tried to add subtitles, chapters and all that to ogg? Why the fuck would anyone use that past 2003?

Even ogv and ogx are pointless when Matroska exists.
>>
>>59796886
seems to work for now, thanks
cpu usage is also decent (about 5%), but we'll see how it is in a few hours
>>59797454
thanks, i'll check if that's it
I need to just put it inside mpv.conf, right?
>>
>>59797807
No it's a lua script. I don't know how to disable fullscreen completely from mpv.conf
>>
>>59798086
i know it's a script; how to execute it then?
>>
>>59798147
put in in a lua file in scripts folder. script folder is on same level as mpv.conf. It's a listener so it will be ran always when mpv starts.
>>
>>59798238
alright, thanks

btw, how do I restore the old "gui"? I used a version from about 2 or 3 months ago, and after update the on screen controls changed to big-ass ones. I liked the compact version more.
I found
seekbarstyle=slider
and
layout=box
but apparently they don't change anything
>>
>>59798639
script-opts=osc-seekbarstyle=slider,osc-layout=box
>>
>>59798700
doesn't seem to work, my mpv.conf line is
script-opts=osc-deadzonesize=1,osc-seekbarstyle=slider,osc-layout=box

mpv/scripts dir is empty (or rather it doesn't exist at all), not sure if that's how it should be (gonna add >>59797454 script soon)

Sorry for being a total noob, but i've just recently started using mpv and i don't understand everything that's in manual yet.
>>
File: comparing_scalers.png (91KB, 500x660px) Image search: [Google]
comparing_scalers.png
91KB, 500x660px
>>59796688
>>
>>59799646
If the high res original isn't available I'd prefer to use a scaler that doesn't try to make up detail that doesn't exist.
>>
>>59799646
Jinc is better.
>>
>>59800324
Why? We are not in astronomy or chemical sciences areas.
More detailed/processed picture is good for video watching by humans.
>>
>>59800427
Please respect a good distance between your eyes and your monitor!
They are tons of social studies about it.
>>
>>59799646
neural-enhance is must precise, it even has all the ringing artifacts of the highres.
>>
>>59800488
I do. Jinc still better.
>>
>>59800543
No shaders available, it's a python shit based on a shitty framework.
>>
What is super-xbr-3d and is it useful for mpv?
https://github.com/hizzlekizzle/glsl-shaders/commit/b665bcc58d0e19f2bfeea11d302b8ed3709df517
>>
Best conf for anime?
opengl-hq is enough?
>>
>>59802272
Yes.
Thread posts: 104
Thread images: 18


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.