[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/ - the /g/reatest media player

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: 323
Thread images: 34

File: a picture.png (915KB, 953x564px) Image search: [Google]
a picture.png
915KB, 953x564px
Install mpv:
https://mpv.io/installation/

Wiki:
https://github.com/mpv-player/mpv/wiki

Manual:
https://mpv.io/manual/master/

User Scripts (including opengl shaders):
https://github.com/mpv-player/mpv/wiki/User-Scripts

input.conf:
https://github.com/mpv-player/mpv/blob/master/etc/input.conf

High quality video playback profile:
profile=opengl-hq
>>
File: Clipboard.jpg (554KB, 3840x1080px) Image search: [Google]
Clipboard.jpg
554KB, 3840x1080px
>>61990504
What's wrong with your stats?
>>
>>61990558
Looks OK to me!
>>
>>61990137
I tried those settings but it still gives the message error message. I also tried restarting, which also didn't work
>>
>>61990616
>dropped frames 93
I dont think so
>>
>>61990655
screenshot-directory="~~/home/skeleton/Pictures/Pictures/Pictures/ReactionImages/Screenshots"
screenshot-template="%F%P"
>>
script-binding stats/display_stats_toggle

doesn't work anymore for me. What do?
>>
File: 1491195530581.png (102KB, 587x90px) Image search: [Google]
1491195530581.png
102KB, 587x90px
>>61990655
# Screenshot settings
screenshot-template=~~/%08n
screenshot-format=png
screenshot-png-compression=1
screenshot-png-filter=0
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=no

>>61988564
Why bother? why even use that OSC.
I cannot understand why anyone would use anything other than box, my only grip with it is the borders I wish they weren't round and I could change their colors.
>>61990742
change it on the .lua itself
>>61990504
>>
>>61990742
i script-message display-stats
I script-message display-stats-toggle

I put this in the input.conf and worked.
>>
>>61990761
>I cannot understand why anyone would use anything other than box, my only grip with it is the borders I wish they weren't round and I could change their colors.
change it on the .lua itself
>>
>>61990775
Thanks, anon.
>>61990761
Yeah but I wanted to set an additional shortcut (mouse wheel click), keeping the usual i/I.
>>
>>61990833
>Yeah but I wanted to set an additional shortcut (mouse wheel click), keeping the usual i/I.
My mistake.
>>61990775
e script-binding stats/display-stats
E script-binding stats/display-stats-toggle

Worked for me, weird that yours works.
>>61990783
.lua? osc.lua?
>>
>>61990724
>>61990761
Neither of these work either. I'd imagine at this point that the issue isn't in the config
I've also reinstalled
>>
>>61990884
>.lua? osc.lua?
Yes. Build it yourself or just put it in the scripts folder with osc=no on the config.

https://github.com/mpv-player/mpv/blob/969c25d2f7be931374f061b351f33ebaa429ab2d/player/lua/osc.lua
>>
File: 1499182971587.jpg (41KB, 336x476px) Image search: [Google]
1499182971587.jpg
41KB, 336x476px
>>61990903
Outdated stats.lua?
Typed the keybind wrong?
Do you mind posting your conf?
>>61990915
Might as well do it today or I'll get lazy again.
>>
>>61990945
Line 873 for the borders.
>>
>>61990945
I dont think ive ever seen that picture before.
>>
>>61990504
profile=opengl-hq
scale=ewa_lanczossharp
tscale=oversample
video-sync=display-resample
interpolation

alternative non-meme conf to OP
>>
>>61991049
profile=opengl-hq
scale=ewa_lanczossharp
video-sync=display-resample

Fixed.
>>
>>61991049
Add to that
cscale=ewa_lanczos
.
>>
Subtitles question.

When i have an mkv file that already has subs inside of it AND I also have an srt/ass file (same basename as the mkv), why doesn't mpv load also the srt/ass and offer it as one of the subs I can cycle through?

Often, why I grab some japanese movies that comes in mkv format, there are better subs available so it's a pain to use it with mpv.

mpv devs, please make it happen. offer srt/ass track even when the mkv has a sub track.
>>
>>61990504
How do you display that info overlay in mpv(linux)?
>>
>>61991161
You can't.
>>
>>61991122
sub-auto=fuzzy
>>
File: whats_going_on_in_here_003.png (7KB, 443x376px) Image search: [Google]
whats_going_on_in_here_003.png
7KB, 443x376px
I need all the MPC-HC bloat like playlists.

Can I pump mpv full of it like you pump a cream pie with cream?
>>
>>61991229
yes, check the links in OP
there's also frontend gooeys
>>
>>61991101
that's a dumb meme that looks worse than spline36
>>
>>61991284
Go check your eyes.
>>
>>61991218
Have you even read what I wrote? Obv not.
>>
>>61991321
https://diff.pics/E8IolkhoQMGv/1
actually haasnsoft looks better than both
>>
>>61991437
>diff.pics
No, thanks.
>>
>>61991437
can you add ewa_lanczossharp?
>>
>>61991437
Even haasn doesn't use haasnsoft for cscale.
>>
>>61991122
Works on my machine. You're probably doing something wrong.
>>
What's the command osc uses whenever you click on the tittle? I want to bind it on a keybind
>>61991122
I don't understand your question, basically you are asking if subs on /path/video.mkv load subs even if the .mkv has subs?

You can use sub-auto=all for that.
>>61991449
What's wrong with it?
>>
>>61991931
>What's wrong with it?
External link for images on imageboard.
>>
>>61991939
>neo /g/
>>
>>61991953
Heck off neon.
>>
>>61991931
>basically you are asking if subs on /path/video.mkv load subs even if the .mkv has subs?
yes. why doesn't it load extra subs if subs are inside of an mkv already.

I can do it from the command line but that's a pain in the ass.
>>
>>61991939
what the fuck is wrong with you?
>>
><hanna> https://0x0.st/nEH.png compute shaders work!
><hanna> we're _this_ close to working vulkan in mpv
><hanna> just fragment shaders left
>>
File: VULKAN.png (11KB, 1022x637px) Image search: [Google]
VULKAN.png
11KB, 1022x637px
>>
>>61991931
>What's wrong with it?
- requires JAVASHIT
- not as convenient as just clicking on a fucking image posted here
>>
>>61992650
what is it?
>>
File: emoji.jpg (74KB, 960x540px) Image search: [Google]
emoji.jpg
74KB, 960x540px
Is there a video player that supports full color emoji? This is a killer feature for me.
When you don't speak a language it's hard to understand the emotions conveyed. This is when a cry laugh emoji for example can come in extremely useful. It's like SDH subs for deaf people, but for autistic people.
>>
>>61992770
VULKAN™
>>
>>61990504
How do you get those stats in OP's pic
>>
>>61992770
Next generation graphics API!
>>
>>61992614
Is there anymore big things to come after vulkan finished?
>>
>>61992817
libass only supports monocolor planes. But it would be possible with RBG subs (bitmaps)
>>
>>61990504
I tried using this visualizer script (https://github.com/mfcc64/mpv-scripts/blob/master/visualizer.lua)
but for some reason mpv exits immediately and I get a lot of jibberish and this
parsing the filter graph failed

What do?
I'm using GNU/Linux.
>>
>>61993283
Here's the message before that
[ffmpeg] Parsed_showcqt_4: Option 'attack' not found
[ffmpeg] AVFilterGraph: Error initializing filter 'showcqt' with args 'fps =30:size =960x360:count =3:csp = bt709:bar_g = 2:sono_g = 4:bar_v = 9:sono_v = 17:axisfile = data\:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAAgCAQAAABZEK0tAA<this is a very long string and it goes on and on>
>>
>>61993334
change showcqt to showwaves
>>
>>61993283
what version of ffmpeg?
>>
>>61993383
That works.
>>61993391
1:3.3.3
>>
>>61993411
Seems like that's too old, you need https://github.com/FFmpeg/FFmpeg/commit/3408f46694 for the `attack` option to exist; which has not yet made it into a release.
>>
>>61993515
Thanks, I guess I'll install that one.
>>
>>61993532
why don't you just compile ffmpeg or download a nightly build? that's what's recommended for use w/ mpv anyway
>>
>>61993556
That's what I'm gonna do.
>>
File: noir_06.png (2MB, 1920x1080px) Image search: [Google]
noir_06.png
2MB, 1920x1080px
>>61990504
>>
>>61990504
Whats the story here, is that actually mpv or mpc-hc+madvr? I dont think you're using ngu with mpv.
>>
>>61991931
Anyone who wants it
F2 show_text "[${playlist-pos-1}/${playlist-count}] ${media-title} [${width}x${height}][${video-format}]" 

SPACE cycle pause; show-text "[${playlist-pos-1}/${playlist-count}] ${media-title}
>>
File: 1476313496250.jpg (743KB, 1197x1228px) Image search: [Google]
1476313496250.jpg
743KB, 1197x1228px
Anyone with a Ryzen CPU can do a smoth software decode of this video [YouTube] The World in HDR in 4K (ULTRA HD) (embed) ?
Make sure it's the preset VP9.2@4K 60fps pls
It's to determine if it's just me or Ryzen just can't handle the load without stuttering
>>
>>61996085
you didn't post the video
>>
>>61996136
>>61996085
My bad here is the video:
https://www.youtube.com/watch?v=tO01J-M3g0U
>>
>>61996085
Which Ryzen model? 8350 can't decode it without stutter so i doubt ryzen 3 and maybe 4 core ryzen 5 models can do it smooth
>>
File: file.png (35KB, 802x540px) Image search: [Google]
file.png
35KB, 802x540px
>>61996228
>>
>>61996243
1700 should able to do it, try with

vd-lavc-dr=yes

, it helps with 4k rendering
>>
>>61996273
>vd-lavc-dr=yes
btw this only works with opengl-backend=dxinterop on windows and not with angle
>>
>>61996273
Will do, my config for reference:
#############
# Video #
#############

--scale=ewa_lanczossharp
--cscale=ewa_lanczossoft
--tscale=mitchell
--temporal-dither
--blend-subtitles
--opengl-pbo
--target-prim=bt.709
--target-trc=bt.1886
--gamma-auto
--icc-profile-auto
--icc-3dlut-size=256x256x256

hwdec=auto-copy
video-sync=display-resample


#############
# Audio #
#############

#ao=wasapi:exclusive
alang=jp,jpn,en,eng

#############
# Cache #
#############

#cache=auto
cache-default=102400
#cache-file="F://Temporaire//MPV/cache"

#############
# Subtitles #
#############

slang=fr,en,eng
demuxer-mkv-subtitle-preroll # try to correctly show embedded subs when seeking
sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
embeddedfonts=yes # use embedded fonts for SSA/ASS subs
--sub-ass-force-style=Kerning=yes # allows you to override style parameters of ASS scripts

# the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)
sub-font="Source Sans Pro Semibold"
sub-font-size=52
sub-color="#FFFFFFFF"
sub-border-color="#FF262626"
sub-border-size=3.2
sub-shadow-offset=1
sub-shadow-color="#33000000"
sub-spacing=0.5

#############
# OSD #
#############

script-opts=osc-vidscale=no,osc-scalefullscreen=1.5,osc-scalewindowed=1.2,osc-layout=bottombar,osc-seekbarstyle=bar
no-border
ontop
osd-duration=5000


#############
# Misc #
#############
save-position-on-quit

# [SCREENSHOTS]
screenshot-format=png
screenshot-png-filter=0
screenshot-png-compression=4
screenshot-template="F://Temporaire//mpv_screenshot%n"


[extension.webm]
loop-file=yes
>>
>>61996085
>>61996207
>>61996243
my CPU shits itself (i5-4430)
>>
>>61996287
remove "--"s they are command line switches, not supposed to be put in config files
>>
>>61996273
>>61996286
Dude thanks, this was successful, couldn't playback https://www.youtube.com/watch?v=1La4QzGeaaQ at 8k@fps smoothly tho, I guess it's R7 limits

What exactly does this options does? Could find it in the manual.
>>
>>61996085
I get like 10% CPU usage on that clip. VP9 is stupidly fast to decode
>>
>>61996371
I can decode 4K and 6K but 8K is too much
>>
>>61996371
haasn implemented it to help stuttering like you are experiencing with 4k+ video, it renders video directly to vram eliminating overhead from going back and forth from system ram
https://mpv.io/manual/master/#options-vd-lavc-dr

8k is threadripper territory i think, or you can get gtx 1050/1050ti they can hw decode vp9.2

>>61996384
Are you sure you are decoding the VP9.2 10-bit HDR version?
>>
>>61996384
What CPU do you have?
>>
File: mpv-shot0008.jpg (2MB, 4096x2128px) Image search: [Google]
mpv-shot0008.jpg
2MB, 4096x2128px
>>61996422
Pic related
>>61996425
E5 2670
>>
>>61996482
>E5 2670
no wonder that's plenty powerful
>>
>>61996422
>it renders video directly to vram eliminating overhead from going back and forth from system ram
no, it still decodes to RAM (at least on any sane platform).
>>
>>61996501
According to this page: https://www.cpubenchmark.net/high_end_cpus.html it's about as powerful as a Ryzen 5 1060
>>
>>61996531
>1060
1600*
>>
>>61991590
Shut up Poettering
>>
Let's talk GPU's what are the best currently to play HEVC?
>>61996287
>
script-opts=osc-vidscale=no,osc-scalefullscreen=1.5,osc-scalewindowed=1.2,osc-layout=bottombar,osc-seekbarstyle=bar

>osd
>all that waste of lines decorating
>>
>>61996653
CUDA, I think?
>>
File: 56249369.png (200KB, 387x466px) Image search: [Google]
56249369.png
200KB, 387x466px
>>61992614
>>
File: 23636572.jpg (5KB, 112x118px) Image search: [Google]
23636572.jpg
5KB, 112x118px
>>61993717
>>
>>61996243
The fuck is wrong with your RAM?
>>
>>61996917
so what? profile=vulkan-hq next weekend? :)
>>
>>61996653
>Let's talk GPU's what are the best currently to play HEVC?
http://forum.doom9.org/showthread.php?p=1746017

I'm so disappointed that AMD still doesn't have fixed function hw VP9 decoding on any GPU tho.
>>
>>61996986
>2015
>>
>>61997010
First post isn't updated but the discussion is good.
>>
>>61996955
I dunno, I have 1 BLS16G4D240FSC stick.
>>
>>61996986
>function hw VP9 decoding

Why though? Unless you need more than 30fps @8K you can sw decode on any decent CPU.
>>
>>61997040
power efficiency
multiple stream decode
>>
>>61997047
Both valid points. Unfortunately the VP9 ABI isn't stable (libvpx 1.6 broke back compatibility) so I wouldn't expect that any time soon.
>>
how do I convert a 60 FPS video to 30 FPS w/ ffmpeg without re-encoding
>>
>>61990504
What config is the best for a low end old laptop?

Right now all I'm using is:
profile=opengl-hq


It has an Intel Core i5-2450M @ 4x 3.1GHz, a GeForce 410M and 6GB of rams.
>>
>>61997353
if your laptop can handle that, add
scale=ewa_lanczossharp
>>
>>61990504
I was watching sagebu last night and there seems to be a problem with mpv (tried smplayer-mpv if it matters, im not installing vlc cuz shits got lots of deps)

>video plays well
>next chapter
>subs disappear
>close mpv
>reopen
>skip 1 or more chapters to make subs appear properly
what is the wrong?
>>
>>61997366
Tried it, starts dropping frames like crazy.
>>
nearest > all
>>
>>61990761

>I cannot understand why anyone would use anything other than box

they're all pretty bad
>>
Somewhat off topic, but just noticed that some videos on youtube have chapter markings. Is this solely because the uploader has placed time markings in the video description or is it part of the video?

Example video: https://www.youtube.com/watch?v=aat8Fs7330E
>>
Best localities for SSimSuperRes?
>>
>>61997383
Don't listen to him, he's retarded. There is no way your laptop can handle ewa_lanczossharp if it's struggling on opengl-hq alone.
>>
How do I make mpv open on the top right using geometry?
>>
Just tried this on android, I can say that this runs better than mx player even on network streams. Although, is there a way to include user scripts with the android version?
>>
>>61999341
geometry=100%:5%
>>
File: thumbs up hata.png (64KB, 400x518px) Image search: [Google]
thumbs up hata.png
64KB, 400x518px
>>61999387
thank you anon
>>
>>61998868
I think it's the former.
>>
>>61999116
I use 1-pass with 8.0.
>>
>>61999916
I use 24.0
>>
Vulkan sure sounds cool but what are the benefits really?
>>
profile=opengl-hq
opengl-backend=dxinterop
scale=ewa_lanczossoft
cscale=ewa_lanczossoft
tscale=oversample
interpolation=yes
video-sync=display-resample
icc-profile-auto
icc-cache-dir="~~/mpv-icc"

Trying mpv today, I'm missing something? win7, i5 7600 + gtx970, 1440p 144hz.
>>
>>62000246
Looking good. Not sure about icc settings though. Do you use icc profile for your monitor?
>>
>>62000330
>Do you use icc profile for your monitor?
Yes.

I was thinking about trying some shaders, but I'm too lazy to test them. I'm way more satisfied with the mpv jinc quality than I was with the madvr jinc.
>>
>>62000505
>I'm way more satisfied with the mpv jinc quality than I was with the madvr jinc.
I noticed that too when switched from madvr. I compared Jinc and nnedi3. Both looked better on mpv vs madvr. They are much faster too now.
>>
>>62000174
>Due to OpenGL's rather severe limitations when it comes to timing, the only way to reliably figure out when vsyncs happen is to actually draw a frame on every vsync. The consequence of this is that, even for 24 Hz video, you need to draw frames at 60 Hz even if they are the same frame over and over again - thus increasing power usage by a factor of 2x-3x in such a case.
tfw 120hz
vulkan pls fix
>>
>>62001262
To be honest i dont think Vulkan will help with that... I hope im wrong.
>>
>>62001262
>tfw 120hz
You can just optimize 120Hz mode with madvr to 119.88Hz and disable video-sync completely...
>>
>>62001367
>disable video-sync completely
no
>>
>>62001384
why
>>
File: 15725026.jpg (11KB, 356x275px) Image search: [Google]
15725026.jpg
11KB, 356x275px
>https://github.com/mpv-player/mpv/issues/4788
people like that need to use VLC
>>
>>62001600
Poor Akemi.
>>
>>61990504
Are there some prettier visualizers than
https://github.com/mfcc64/mpv-scripts/blob/master/visualizer.lua
?
>>
>>62001600
Holy shit, the mactoddler meme is real.
>>
When someone will leak wm4 config?
>>
>>62001600
>macfags
>>
>>61992817
emoji is not a good emotion carrier.
there's like 20 different emoji vendors made by apple, ms, google etc. and people react differently to each of them
>>
Can someone explain interpolation behavior in this scenario please.
>30FPS video
>60FPS display
Also do you need video-sync in this case? What mode? Thanks.
>>
>>62002177
tscale=oversample
interpolation=yes
video-sync=display-resample


Read the manual, it's not SVP level of interpolation.
>>
>>62002241
default tscale is smoother
>>
>>62002241
I understand you tried to help, anon, but your post is irrelevant.
>>
>>62002241
video-sync=display-resample
interpolation

you dont need =yes
>>
Is autospeed better than interpolation?
>>
>>62002177
>>62002329
https://github.com/mpv-player/mpv/wiki/Display-synchronization
https://github.com/mpv-player/mpv/wiki/Interpolation
>>
>>62002360
Ive read both. I still dont understand what kind of frames are created for 30FPS on 60Hz display. There is no judder so why wont it get disabled automatically like for 60FPS on 60Hz display. There is also not a word on what display-sync to use when your display refresh is exact multiple of video fps. ie 30FPS on 60Hz display.
>>
If I use RAVU r3 smoothtest 1, should I use scale or cscale at all?
>>
>>62002416
>should I use scale or cscale at all?
You dont have a choice. scale and cscale will be used for offset.
>>
>>62002449
So should I still use ewa_lanzcos then?
>>
>>62002465
Yeah.
>>
Interpolation is a meme.
>>
cscale will still be used to correct minor offset. An EWA scaler like haasnsoft is recommended for the cscale setting.


Who could of being behind this
>>
>>62002385
       --video-sync=<audio|...>
How the player synchronizes audio and video.

If you use this option, you usually want to set it to display-resample to enable a timing mode that tries to not skip or repeat frames when
for example playing 24fps video on a 24Hz screen.

The modes starting with display- try to output video frames completely synchronously to the display, using the detected display vertical
refresh rate as a hint how fast frames will be displayed on average. These modes change video speed slightly to match the display. See
--video-sync-... options for fine tuning. The robustness of this mode is further reduced by making a some idealized assumptions, which may
not always apply in reality. Behavior can depend on the VO and the system's video and audio drivers. Media files must use constant framer‐
ate. Section-wise VFR might work as well with some container formats (but not e.g. mkv). If the sync code detects severe A/V desync, or the
framerate cannot be detected, the player automatically reverts to audio mode for some time or permanently.
>>
>>62002556
bjin!
>>
>>62002556
bjin uses haasnsoft too.
>>
>>61990504
>the /g/reatest media player
>Literally the only player that needs 24/7 support thread
Ah yes, truly the greatest among them all!
>>
>>62002583
I have a bad feeling about these shaders, no wonder people stopped using them and posting them here
>>
>>62002634
>he posted it again
>>
>>62002649
They're all in the OP though.
>>
File: 1472024895715.png (917B, 308x38px) Image search: [Google]
1472024895715.png
917B, 308x38px
>>62002634
Define "support"
>>62002676
>>
File: 2017-08-20-132057_622x74_scrot.png (12KB, 622x74px) Image search: [Google]
2017-08-20-132057_622x74_scrot.png
12KB, 622x74px
>>62002708
>>
>>62002575
>
display-resample to enable a timing mode that tries to not skip or repeat  frames

But i get like 1 dropped/repeated frame every 9 hours with 119.88Hz. So obviously i dont need display-resample. The manual doesnt answer my questions. It only makes assumptions and has no examples.
>>
>>62001320
I hope you are completely wrong. ;)
That's my most wanted VULKAN feature!
>>
>>62002788
If you don't use interpolation, in your case, display-resample is almost useless.
>>
Holy otherworldly shit! Even doom9 retards are using linux/mpv now!
I think the doom9 devs have to create a fully opensource and optimized product based on mpc-hc, lavfilters and madvr to compete now.
>>
>>62003034
Ravu made using madVR for NGU pointless. Personally, I hope they keep trying to one-up each other so we can keep getting fancy new features.
>>
>>62003034
>Holy otherworldly shit! Even doom9 retards are using linux/mpv now!
Huh? But yeah i see a lot of ex madvr users recently on mpv's github.
>>
File: thinken.jpg (104KB, 751x341px) Image search: [Google]
thinken.jpg
104KB, 751x341px
What does pic related mean? Estimated goes to 29.970 at times.
>>
How do I activate script. I put a script file to .cofig/mpv/script folder
How do I activate it?
>>
customres.lua when?
>>
>>62003142
Should activate by itself. You may need to set keybinds for it.
>>
>>62003147
I think autocustomres.lua should be better but if madshi took so much time to create that buggy shit, that's probably because it's a mess to code.
>>
>>61990504
How do i make it remember its previous state on startup (i.e. playlist, current track, position in track)?
>>
>>62003163
I'm trying to use this https://github.com/Argon-/mpv-stats
It says default keybind for it is i or I.
It does nothing.
>>
>>62003191
>shfit+i
>>
>>62003191
are you on 0.26?
screenshot your path because you mispelled config
>>
>>62003142
>script
It should be "scripts". Also >>62003221
>>
File: 1493613076279.png (111KB, 1095x716px) Image search: [Google]
1493613076279.png
111KB, 1095x716px
>>62003221
>>62003223
>>
>>62003250
i script-message display-stats
I script-message display-stats-toggle

put this on your input.conf
>>
>>62003282
that shouldnt matter
>>
>>62003282
>>62003304

I think the script is broken
[stats] 
[stats] stack traceback:
[stats] [C]: in ?
[stats] [C]: in ?
[stats] Lua error: /home/nma/.config/mpv/scripts/stats.lua:1: unexpected symbol near '<'
>>
>>62003250
Dude i dont know what youre doing but i just put stats.lua into scripts folder and it works by pressing shift+i. I have changed nothing. Maybe try updating your mpv, i dunno.
>>
>>62003317
You saved it wrong then.

https://raw.githubusercontent.com/Argon-/mpv-stats/master/stats.lua
>>
>>62003317
>unexpected symbol
Are you sure you didn't just fuck copying and pasting the script?
>>
>>62003347
>>62003338
>>62003352
I downloaded it. Shit, let me try again.
>>
File: 1483095347445.jpg (305KB, 1920x1200px) Image search: [Google]
1483095347445.jpg
305KB, 1920x1200px
>>62003352
>>62003347
>>62003338
Yup. my bad, I fucked it up. Now it's working. -_-
>>
>>61997047
>power efficiency
VP9 software decoding is more power efficient than VP9 hardware decoding
>>
>>62003089
might be variable framerate
>>
>>62003475
Source?
>>
>>62002177
https://github.com/mpv-player/mpv/wiki/Interpolation
https://github.com/haasn/interpolation-samples
>>
>>62003498
Multiple tests. I know of at least two who I can cite by name: lachs0r did one, so did TD. I haven't since I have no VP9 hardware, but I trust their results.

TD in particular also tested mobile devices, and came to the same conclusion. ffvp9 is more efficient than their platform-specific VP9 hardware decoders. It's just better optimized, because BBB is a madman.
>>
>>62003537
>>TD
Literally who?
>>
>>62002788
1. `display-resample` is still useful even if your video rate EXACTLY matches the display rate, because it will also smooth out timestamp glitches. Matroska files (.mkv) in particular have lossy timestamp encoding which can lead to spurious duplicated or dropped frames even in otherwise ideal scenarios, simply because the

2. There's no guarantee that your audio hardware won't drift. There's no guarantee that your vsync clock won't drift. Even if the specifications indicate that they run at 59.94 Hz and 48000 kHz respectively, that could be 59.95 Hz and 47998 Hz in reality. Drift happens. madVR's “one frame drop in X days” bullshit figures are just calculated on paper. Unless you actually test for 5 days in a row, you have no way of guaranteeing that.

3. Not all content matches what you think it does. Just beacuse much of your anime is 23.976 Hz on paper doesn't mean you won't run into unusual or even VFR sources elsewhere (youtube videos, screen recordings, etc.). What will you do in those cases? You can't have a mode for every single possible source, and switching refresh rates in the middle of playback is problematic anyway so madCustomRes shit won't work for VFR. (It usually takes the monitor a while to adjust)

4. DS is better *at* handling delayed/mistimed frames (which will happen whether you want to or not, for example if you resize the window or go into fullscreen mode and mpv needs to compile more meme shaders or whatever). It can usually smooth out the dropped frames without further glitches.

In summary, the only reason to ever turn off DS is if your hardware can't handle it. Even setting “display-vdrop” will be better than “audio” timing mode.
>>
>>62003627
This guy:
https://people.xiph.org/~tdaede/power/
>>
>>62001262
>>62001320
>>62002913
Yes, vulkan can absolutely help with that, because part of the whole point of vulkan is that you get direct control over the swapchain and can queue the same frame multiple times. Btw, it's also possible that some modern OpenGL platforms can do the same (i.e. control the swapchain). Part of the vulkan refactors is making the mpv internal code use system-independent abstractions for rendering, swapchain management, windowing etc. instead of hard-coding it to OpenGL like it used to. So in theory, it's possible we could also add support for modern OpenGL swapchain extensions (as a separate “swapchain” type compared to the old “swap buffers and pray” approach).

Vulkan also helps with many other things:

- Gives us more or less direct control over the hardware, allowing us to do neat things like async compute, micro-optimizations that would be impossible otherwise, telling the GPU *exactly* where we want to allocate our textures, etc.

- Allows us to control the swapchain depth, which allows you to trade latency in exchange for better performance and smoother playback by rendering as many frames ahead-of-time as you want to. For example, if your GPU sometimes has rendering spikes where it takes 20ms to render a frame, but your swapchain depth is 8, then it will just temporarily go down to “7” or “6” and play “catch up” afterwards. Basically think of the swapchain as an extra output queue that allows us to render frames in advance. This will *also* help with the scenario you described.
(cont)
>>
>>62003811 (cont)
- Allows us to run multiple GPU commands in parallel, for example image transfers, rendering and even dispatching compute shaders (on GPUs with async compute support). Some of these can hypothetically even run at the same time, so you could present one frame while rendering another. Since vulkan has explicit synchronization (compared to OpenGL's implicit global synchronization), the GPU is no longer limited by the assumption that everything could access everything else.

- Possibly other benefits that I haven't thought of
>>
>>62003691
Wait so what's the deal with HW decoding, if even for h264 the difference in power consumption is only 10%?
Is it just a meme?
>>
>>62003816
I hope you don't lose your motivation again.
>>
File: 68574088.jpg (63KB, 457x1456px) Image search: [Google]
68574088.jpg
63KB, 457x1456px
>>62003811
>>62003816
>>
>>62003089
It means the timestamps are inaccurate. Is this matroska? If so, that's a known matroska limitation. You could try something like MP4 instead, which uses exact/lossless timestamps. (But careful: Just remuxing from MKV to MP4 will probably not help, you'd also have to regenerate the PTS)
>>
>>62003185
save-position-on-quit?
>>
>>62003317
>he downloaded the html page
welcome to neo-/g/
>>
>>62003185
shift+q
>>
>>62003669
>simply because the
rounded timestamps can be wrong by up to 0.3ms. Display-sync tries to generate the “best fit” sampling pattern, whereas audio mode would just drop the frame if the PTS is 0.1ms after your vsync time.
>>
File: 1483917168121.jpg (47KB, 369x368px) Image search: [Google]
1483917168121.jpg
47KB, 369x368px
These threads have taught me so much about media players and playback
>>
>>62004108
Exactly what have they even though you
>>
>>62004108
your welcome madshi
>>
>>62003817
> measurements taken at max brightness

It's a meme until it isn't. Those both have pretty burly hardware for 1080p. Try a $50 shitphone and something interesting might happen.
>>
>>62004161
Things like decoding, upscaling, timing, and lots of other stuff

>>62004170
;^)
>>
>>62004170
lel
>>
>>62003811
Does this means slower GPU will benefit from prerendering frames?
>>
File: isthisreallife.png (108KB, 773x894px) Image search: [Google]
isthisreallife.png
108KB, 773x894px
>>62001600
holy shit
>>
>>62001600
>>62004443
this has to be an elaborate troll
>>
>>62004443
>macfags
>>
File: 1444220608641.png (188KB, 327x316px) Image search: [Google]
1444220608641.png
188KB, 327x316px
>>62001600
>Also, this line doesn't work:
>./mpv AV: 00:00:33 / 00:23:57 (2%) A-V: 0.001 DS: 2.500/1 Dropped: 1
>I tried in zsh, bash, and sh. With zsh mpv will attempt to play the root directory

>I didn't know what you meant by status line. It isn't visible when I'm viewing videos in full screen.
>>
>>62003669
I got the idea, thanks, but what video-sync mode should i use in the end? I have 59.94Hz, 60Hz, 71.93Hz and 119.88Hz modes available. Lets say i would use them with xrandr. What video-sync should i use then? Will i still benefit from interpolation or it is unnecessary?
>>
>>62001600
I think i've lost few brain cells reading that.
>>
>>62004543
video-sync=display-resample
interpolation
>>
>>62004443
>>62004532
Average zsh user
>>
>>62004347
If the video FPS is lower than your display FPS, yes
>>
>>62004543
Depends on what result you want?
>>
>>62004924
I want the most perfect playback.
>>
>>62004986
for fucks sake >>62004622
>>
>>62004986
Define “perfect”
>>
>>62005061
no dropped/repeated frames, no judder
>>
>>62005065
Then you want video-sync=display-resample
>>
>>62005219
>no judder
Also `interpolation`
>>
>>62005224
>Also `interpolation` read >>62004543
>>62005219
>Then you want video-sync=display-resample
You keep in mind that i have those modes available, right? >>62004543 I still need a display-resample and not, lets say display-vdrop?
>>
>>62005288
You keep asking the same question that we keep answering
>>
File: 1483196170887.png (169KB, 359x361px) Image search: [Google]
1483196170887.png
169KB, 359x361px
>>62001600
>>62004443
>>
>>62001600
I wonder if he uses IINA
>>
>>62005321
Are you telling me that i need to use display-resample no matter what? Why do other modes exist then? Also do i still need to use interpolation for VFR videos, i.e >>62003089 ?
>>
script-opts=osc-seekbarstyle=bar,osc-layout=bottombar,osc-timetotal=yes,osc-deadzonesize=0.88

Why did this disable my volume scroll button
>>
>>62005525
That's not a VFR video, that's a CFR video with jittery timestamps.

>Why do other modes exist then?
Either for testing, or for people who want a different result. (For example to avoid resampling)

>Are you telling me that i need to use display-resample no matter what?
I'm telling you that display-resample minimizes the chance of any sort of stutter or dropped/repeated frame.
>>
File: 1501847500001.jpg (574KB, 1904x1015px) Image search: [Google]
1501847500001.jpg
574KB, 1904x1015px
How do I disable the white rectangle?
>>
>>62005707
no-osd-bar
>>
>>62005674
>That's not a VFR video, that's a CFR video with jittery timestamps.
>We also use VFR (Variable Frame Rate) video to provide smooth video
From release group. So do i need interpolation enabled for VFR videos? That certain video plays at 23.97Hz most of the time. Do i set my display mode to 30Hz or to 23.97Hz with that VFR video?
>>
>>62005731
Oh sorry, I misread the screenshot. Didn't see it was 24 vs 30 fps. Yes, that's VFR.
>>
>>62005595
pls some1
>>
Im migrating to Linux. Do i need to install any codecs for mpv to play videos/audios? Do i even need to install codecs on Linux at all? On Windows mpv plays everything out of the box (like mp3, foobar and other players).
>>
>>62005887
Just install it with your package manager. The dependencies will be pulled in automatically.
>>
>>62005908
What "codecs" does mpv use?
>>
>>62005926
ffmpeg
>>
>>62005829
Do i need interpolation with that VFR video to remove judder? Or do i just set my display to even or multiple of the container FPS be?
>>
>>62005987
>Do i need interpolation with that VFR video to remove judder?
Normally, yes
>Or do i just set my display to even or multiple of the container FPS be?
It needs to be a multiple of *all* the framerates that the video will actually be playing at. So if the video goes between 24 and 30 Hz, then you need to set your monitor to lcm(24,30) = 120 Hz to play both at the same time without judder.
>>
File: mpv_2017-08-20_17-02-52.jpg (367KB, 2560x1440px) Image search: [Google]
mpv_2017-08-20_17-02-52.jpg
367KB, 2560x1440px
Yo is it normal to have it have this many mistimed frames? Only one dropped and I think that's from going full screen. Also, it doesn't like to keep up with 85hz always as seen here.
>>
>>62005926
mpv uses libavcodec (part of FFmpeg) which is linked into the executable. Your package manager will automatically install `ffmpeg` if you install `mpv`, so there's no need to worry about it.
>>
File: 1483244290006.jpg (72KB, 553x746px) Image search: [Google]
1483244290006.jpg
72KB, 553x746px
>>62006009
>nv12
>>
>>62006009
If that only happens at the beginning and then stops increasing for the rest of playback, that's pretty normal. Your GPU often takes a frame or two to spin up to full speed. Your OpenGL driver also needs to spend some time allocating resources like textures, buffers etc.; which typically happens on first use. If you're not using a shader cache, then shader compilation will also trigger some amount of processing time that needs to be done by your OpenGL driver.

So the first few frames will usually stutter; as well as any time you change something that requires resources to be reallocated (for example switching from windowed to fullscreen mode).
>>
>>62006009
>4
>many
>>
>>62006055
If I'm doing something wrong tell me why?
>>
>>62006009
>dxva2-copy
why
>>
>>62006112
roo, what am I doing wrong you fuccin nogs.
>>
>>62006127
using it
>>
>>62006127
use swdec if you can. otherwise I think d3d11va is prefered over dxva2
>>
>>62006027
>>62005939
I am just very confused because Ubuntu asks me if i want to install "proprietary codecs" during installation. Some people on youtube say that without those codecs sound of the box is trash. Does this affects only media applications that rely on default open source codecs?
>>
>>62005873
pls
>>
>>62006194
I use pulse audio and it sounds just fine.
>>
>>62006230
Isnt pulse audio a driver thingy?
>>
>>62006194
>Ubuntu asks me if i want to install "proprietary codecs" during installation
Oh yeah that's some autistic freedom/licensing shit or something. I don't' remember what they're for, but just install them anyway. I don't think it really matters either way honestly.
>>
>>62006058
How do I enable a shader cache? or what's a good config for somebody with 16gb's of ram.
>>62006243
kinda but all it does is hook into ALSA.
>>
>>62006252
>just install them anyway
I try to avoid unnecessary bloat...
>>
MOUSE_BTN4 add volume -5
MOUSE_BTN3 add volume 5

Why won't it let me fucking change the volume?
>>
>>62006296
You're using ubuntu genius. If you actually cared about bloat, you would be rolling some ultra-minimal gentoo installation.
>>
>>62006320
Its Ubuntu minimal... Gentoo is too much for me, im only starting with Linux!
>>
>>62006370
>Ubuntu minimal
>not bloated
Anyways, you'll eventually realize bloat is just a meme.
>>
>>62005595
>>62005873
>>62006215
>>62006298
It shouldn't and stop typing please
>>
>>62006298
put it in input.conf
>>
>>62006416
i did
>>
>>62006298
AXIS_UP
AXIS_DOWN
>>
>no-input-default-bindings

How come this stopped working?
>>
>>62006552
it still works
>>
>>62006617
no it doesnt
>>
>>62006632
works for me
>>
>>62006641
https://www.youtube.com/watch?v=UXLgz3wH2n8
>>
>>62006770
Just tested and it's working. You're doing something wrong, idiot.
>>
>>62006892
Prove it on the latest version and if it works, I'll send you $50 BTC
>>
File: 1499919185358.png (237KB, 443x600px) Image search: [Google]
1499919185358.png
237KB, 443x600px
>i'm having a problem with mpv but i don't want to give any more information and i can't be bothered to run mpv from the command line to check for errors please fix it for me
fuck off
>>
File: ram.jpg (202KB, 1920x1080px) Image search: [Google]
ram.jpg
202KB, 1920x1080px
>>61990504
Hi /mpv/, noob coming through

Right now, the only setting in my mpv.conf file is "profile=opengl-hq". I want to set up upscaling that looks good for BOTH anime and live-action stuff.

I'm reading the mpv man page's "OpenGL renderer options" page, and don't understand what a lot of the stuff means. Should I be using only "--scale", or are "--cscale", "--dscale", "--tscale" also important? Could I have some settings recommendations? I have a good nvidia graphics card and I'm not too concerned about performance.

If it's relevant, I'm on mpv 0.23 (latest version for debian stable)
>>
>>62007031
Read >>61991049
>>
>>62007031
Here >>62000246 remove opengl-backend=dxinterop and put ewa_lanczossharp on scale if you feel like it.
>>
>>62007031
You should update. A lot has changed.
http://www.deb-multimedia.org/dists/testing/main/binary-amd64/package/mpv
>>
>>62007169
Why do you have tscale in your config but no interpolation?
>>
>>62007191
read it again
>>
>>62007191
I see interpolation there
>>
>>61990504
https://mpv.io/manual/stable/
>mpv does not support DVD menus.
Dropped.
>>
>>62007156
>>62007169
Thanks, I'll look at these configs

>>62007189
0.23 works well enough for me, but I'll consider it. Do 0.24+ include better upscaling algorithms?
>>
>>62007207
>>62007209
My bad. I need to go to bed.
>>
Is video-sync=display resample just a meme?
I don't see that much of a difference.
>>
>>62007216
>Do 0.24+ include better upscaling algorithms?
It includes better everything.
>>
>>61991076
Is interpolation bad or something?
>>
>>62007226
depends on your monitor and the file.
I notice a lot smoother playback with it.
just try it with and without on a few diff files to see if you want it or not.
>>
>>62007244
its a matter of preference. people have different tastes.
>>
>>62007031
Me again. I've read about interpolation a little. How important is it for everyday viewing?

Also, here are the tscale options I have available:
Available scalers:
oversample
linear
spline16
spline36
spline64
sinc
lanczos
ginseng
bicubic
bcspline
catmull_rom
mitchell
robidoux
robidouxsharp
box
nearest
triangle
gaussian


How can I tell which ones are good and which aren't? The man page just says to see "--tscale=help", which is the output above
>>
>>62007293
I don't like judder on panning scenes, so I enable interpolation and use tscale=oversample. That gives the best results imo.
>>
>>62007293
https://github.com/Argon-/mpv-config/blob/master/mpv.conf
>>
>>62007293
Currently oversample is as close to legit smoothness as possible. Everything else introduces soap opera effect.
>>
>>62007293
Mitchell (default) looks the smoothest to me.
Test it on this file https://a.pomfe.co/cceijly.mkv
You can toggle interpolation on and off by adding "t cycle interpolation" to your input.conf.
Remember you need video-sync=display-resample to enable interpolation.
>>
>>62007368
>soap opera effect
no
>>
>>62007412
Yes.
>>
>>62007391
>all that ghosting mitchell causes
>still can't properly eliminate judder
>still blurry ass shit
>still no original file
>>
File: mpv_2017-08-20_18-56-44.jpg (429KB, 2560x1440px) Image search: [Google]
mpv_2017-08-20_18-56-44.jpg
429KB, 2560x1440px
roo, why does this shit happen. I have an i7 6700k. Here's my config.

 opengl-backend=dxinterop
vd-lavc-dr=yes
opengl-pbo=yes
profile=opengl-hq
scale=haasnsoft
cscale=ewa_lanczossoft
video-sync=display-resample
interpolation=yes
tscale=oversample
blend-subtitles=yes
opengl-shader="~~/shaders/ravu-r4.hook"
log-file=~~/logs/log.txt
>>
>>62007391
I'm going to have to second that other anon. Mitchell looks very blurry to me.
>>
>>62007368
mitchell is objectively smoother. to me oversample looks the same as having interpolation off, complete juddery eye cancer.
24 fps was a mistake.
also the soap opera effect is literally a meme "waah i'm not used it, that makes it bad".
>>
>>62007293
https://github.com/mpv-player/mpv/issues/2685#issuecomment-234704191
>To summarize my findings, I notice a clear trend between sharp-but-flickering and smooth-but-blurry, which goes something like this:

>oversample <-> linear <-> catmull_rom <-> mitchell <-> gaussian <-> bicubic
>>
>>62007694
>linear
I found this one to be sharper than oversample, in fact I think it's one of the best ones for juddering+sharpening but it sometimes messes the image.
>>
>>62007539
Have you watched true 23/24FPS video on true 23/24Hz screen? Smoothmotion looks close to that. Mitchell on the other hand looks similar to your average soap opera on a TV.
>>
>>62007854
0/10
>>
redpill me on SVP
>>
>>62007953
Its your right to have a shit taste, man. Peace.
>>
File: motion-interpolation.png (355KB, 800x400px) Image search: [Google]
motion-interpolation.png
355KB, 800x400px
>>62007964
>>
>>62007993
oh shit
>>
>>62007983
Remember also, blurays are for shitty modern movies - real kino is only available as 480p DVDs. Heck, even DVDs are pretty bad compared to VHS tapes. Those are the best for quality, hands down. They look like the author intended, instead of some cheap soap opera.
>>
>>62007964
https://www.youtube.com/watch?v=N8O_ecWSlYQ

SVP is free on linux with mpv
>>
>>62007993
>his hardware is too weak to clean up the artifacts
lmaoing@urlife
>>
>>62008015
That constant de-factoring on the middle of the mans when they are walking is too noticeable for me
>>
>>62007539
You know madvr has only oversample for a purpose? Might as well just get one of those million Hz TVs with retarded FRC filled with artifacts. But at least its so smooth it looks like REAL LIFE!!!1
>>
>>62007964
It's a meme. Just use some fancy interpolation tricks for judder, but don't go beyond that.
>>
>>62008108
madVR only has oversample because madshi doesn't have a framework for a flexible tscale.
>>
>>62008129
>fancy interpolation tricks
the point of interpolation with
tscale=oversample
is that it performs predictably and efficiently with nothing fancy
>>
>>62008210
>being this autistic
>>
Its UI is locked to the same resolution as the video it's playing? That seems like an odd design decision.
>>
>>62008230
>using the opposite adjective to describe something
>>
>>62008308
don't be such a literal nigga
>>
>>62008298
Is that the default UI for your mpv?

If so, you're on a version so old it belongs in a museum
>>
>>62008298
That's definitely not default behavior and definitely not happening here. Something is messed up on your end.
>>
File: who_wants_a_body_massage.png (518KB, 1280x768px) Image search: [Google]
who_wants_a_body_massage.png
518KB, 1280x768px
>>62008333
>>62008385
dunno what to tell ya, it's just a clean install of mint mate and then sudo apt install mpv

just for the sake of thoroughness i went back and made sure the repo was added and then updated it and now it looks different but still really bad.

also that is apparently all the UI this shit has, no menu, no right-click popups, nothin. i'm gonna go see if mpc-hc runs in wine instead.
>>
>>62010120
thats the right osd lad
>>
>>62010120
>>62008298
I don't know what you are doing but you are doing something very wrong
>>
>>62010120
type
mpv --version
in terminal and paste the output
>>
>>62010233
or mpv -v
Thread posts: 323
Thread images: 34


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