Commits on Oct 22, 2018 vo_gpu: vulkan: hwdec_cuda: Add support for Vulkan interop vo_gpu: vulkan: Add a function to get the device UUID vo_gpu: vulkan: Add arbitrary user data for an ra_vk_buf vo_gpu: vulkan: Add support for exporting buffer memory
so someone posted this the other day -- When a new file is loaded -> wait 0.5s, then displays the OSC for 5 seconds local OSC_SECONDS = 3 mp.add_hook("on_preloaded", 100, function() mp.add_timeout(0.5, function() mp.command("script-message osc-visibility always no-osd") mp.add_timeout(OSC_SECONDS, function() mp.command("script-message osc-visibility auto no-osd") end) end) end)
how do i make it so it displays stats (i) rather than osd?
/mpv/ experts and devs (I'm almost certain some devs are in these threads)....
I have disabled border (top toolbar) in mpv because I use a laptop and every vertical pixel is important to me. However, one thing I miss is a way to close the mpv without a keyboard.
Other players, such as IINA have an overlay thta brings up window widgets when you move your mouse near the top of the player window.
mpv has an awesome OSD at the bottom of the screen but it can't do what IINA does and you can't close/min/max the window with it.
Is there a way to have something like this in mpv?
mpv-easy has an OSC with a close/minimize button on it. I'm not sure how you set it up because it's all in Chinese. github.com/422658476/MPV-EASY-Player I bind my middle mouse click to quit instead.
I can't figure out which of these controls the top bar...
Asher Young
so use i3 fgt
Samuel Lopez
Does mpv have an option for posterize? Please respond.
Brayden Young
hastebin.com/ceresoxuju.rb Is a script for mpv to create webm/gif/mkv copy The issue is, if I create a webm from a stream, then trying to create a second webm from the same stream it overwrite the old saved webm created with the same name, how to make the filename for the new webm different?
stop Stop playback and clear playlist. With default settings, this is essentially like quit. Useful for the client API: playback can be stopped without terminating the player.
i add a binding to shift+space to this, and it quits the window. how do i make it stop but keep window open?
well no, i'm trying to do a keybind to stop when pressing a key i already have >keep-open=yes >keep-open-pause=yes in mpv.conf so shouldnt for instance >ESC stop stop playback, and leave the window open? instead, it quits mpv
Charles Rogers
How do I get mpv to switch to dgpu on osx automatically? I've read through all of the github comments and none of the provided commands work.
Is Mojave breaking it?
Also how do I check if the resizers are activated without comparing it autistically using screenshots?
Logan Morales
honestly i'm seeing no difference playing a youtube video with keep-open-pause yes/no
both just pause video at EOF where "no" should actually stop the video right?
i'm starting to think mpv doesnt actually have a "stop" function, just pause+quit or pause
in smplayer, for example, if i press the stop button (or keybind), playback stops, video closes, window remains open (showing a blank video window). this is what i'm trying to do in mpv.
Ethan Jackson
Let's try again. I believe what you're looking for is idle=yes in mpv.conf. You can tell if the scalers and custom shaders are working by pressing shift+i and then going to the second page by pressing 2 to see the timings. It displays what timings for all computations it's currently doing. Can't really help you with the gpu issue, I've no experience with that OS.
Charles Powell
idle=yes force-window=yes
this did it, pressing ESC now shows the "drop files or URLs to play here" which is what i wanted
Xavier Bennett
now i removed the keep-open/keep-open-pause and it works perfectly, which begs the question wtf is the point of these options if idle does the job better? i'm guessing keep-open refers to an actual video file and not to the mpv process itself?
Noah King
Keep-open keeps the file itself open, so you can replay. idle closes the file, but not mpv so you can drag new things into it for example.
Easton Thompson
>so you can replay is it that costly to just re-open the file?
Ryder Cruz
When using this format mpv 'url1' 'url2' 'url3' How to know which file is playing?
Aiden Russell
I suppose keep-open imitates the behavior of other players. It's also great for streams, since you might want to rewatch, now that the video is cached. The last part of the url is the file name in stats (shift+i).
Jace Cruz
>It's also great for streams good point
Christian Walker
>The last part of the url is the file name in stats The name is gibberish, I was looking for something like the number of the URL.
James Rogers
You can make button display the playlist with [key] show-text "${playlist}" in input.conf. Do they get added in a random order, what's the problem?
>--spirv-compiler=nvidia nvidia spirv compiler no longer works, use auto
Colton Stewart
Why angle over winvk for gpu-context when using vulkan?
Adam Sanchez
Worst config ever
Xavier Turner
It's difficult to explain but I'll try. I'm using mpv to watch several videos, so i used mpv url1 url2 url3 etc to watch it, the videos are not named properly, but I've put the URLs in correct order, so I want to know what is the current number of the URL. For example there's 10 files in the play list, and I'm watch No.6.
Cooper Hall
f8
Jacob Perez
Still can't make Vulkan work on Linux. Shaderc fails to build. At least with the never kernel amdgpu dpm world better with mpv - much faster.
Adam Morris
what distro?
Xavier Ortiz
It's not a keybind in my input.config
Alexander Hall
it's default to show playlist F8 Show the playlist and the current position in it (useful only if a UI window is used, broken on the terminal).
Hudson Johnson
Xubuntu.
William Johnson
>Xubuntu. well there's your problem
Camden Young
?
Dylan King
Have you tried the ppa found on the mpv page? I use that one and vulkan works for me (on kubuntu and now KDE neon).
Julian Morris
almost any other distro is better for packaging/updates/etc
William Hill
It shouldn't work for you. Check logs for errors Has nothing to do with actual shaderc building.
How do I install the latest mpv under debian? apt pinning has me very confused. I have "deb non-gnu.uvt.nl/debian stretch main" as a repo
Aiden Jones
I have a weird bug... after I suspend my laptop and then wake it up, all mpv windows are frozen. I have to xkill them and restart and I lose my position. Latest gi head compiled version... Is that a known issue or am I doing something wrong?
that hdwec gives me more performance but ill admit i just put those scaling settings since thats what the guide says are the best ones are there actually better scaling options?
You could bind a mouse button to quit. Also, if the player is in full screen mode, the title bar will still be present if you move your mouse to the top of the screen. Other than that, I don't think mpv has the auto-hiding title bar option
Alexander Rodriguez
I'll try it thanks
Charles Rodriguez
it's a useful option to have. I use keep-open for [protocol.http] so that once I've cached a video it won't quit once it ends. Also useful if I'm watching a network stream, that way if it reaches the "end" it will pause and wait for more to load instead of quitting.
Isaac Nelson
>scale=ewa_hanning >scale-radius=3.2383154841662362 >scale-blur=1.055 who are you trying to fool? that's haasnsoft >gpu-shader no wonder you labeled them as a "Meme"
Nolan Green
>that's haasnsoft With less blur. >gpu-shader That's explain why I did never see any difference with then on.
Carter Bennett
If you click on the title in the OSC it should display the title and which item it is
[3/13] Title.mkv
Dominic Peterson
>I think this has been an issue forever. I've just gotten use to killing whatever I was watching before hibernating. Any idea what causes this behavior? VLC, and other players I tried (notably the xplayer) don't have this issue. After a suspend/wake, they both work fine.
Levi Johnson
been using mpv to play radio streams more again lately, and on most I get the Invalid audio PTS: sometime -> -sometime this seems to be this issue github.com/mpv-player/mpv/issues/5126 but no fix is ever given. any of you lads know any workarounds for this? seeing track titles on track change would be neato
Does mpv progressively eat up a lot of ram when listening to a radio stream for you too?
Julian Cox
it might be something that would better be fixed in ffmpeg than mpv, but I hoped someone else ran into this before and found some sort of work around. I've seen this for as long as I can remember with different systems and versions
Xavier Price
now that I check, yes it seems to. will keep watch of that for a while to be sure. normally I switch streams every now and then(playlist of different m3u files), which seems to reset it so I never noticed it.
Angel Robinson
cache?
Henry Jones
It happens with any kind of config for me, even an empty one.