the best vido player
Mpv general
Other urls found in this thread:
github.com
github.com
github.com
github.com
github.com
github.com
mpv.srsfckn.biz
sourceforge.net
github.com
twitter.com
are you even trying? sage
can i make it display a spectogram for audio files using ffmpeg's showspectrumpic?
how bout this nigguh?
github.com
Neat.
>no commits in nearly a week
IT'S FUCKING _OVER_
fuck off madshit
Someone give a fag with a 1024x768 screen some advice
get a 1080p screen
Is there one with 4:3 AR?
inb4 brainlet meme
bump
mpv plays video pretty ok
Is the deband option good?
can somebody teach me how to change the default save location in this script? which line do I have to change?
github.com
-- If empty, saves on the same directory of the playing video.
-- A starting "~" will be replaced by the home dir.
output_directory = "",
nevermind, I figured it out, I should have used \\ instead of \ when pasting the path for fuck all reason.
so why is mpv better than VLC ?
By far
Because that's how strings work in lua. Alternatively, use /, they're valid path separators on windows.
If you're on a mac IINA is superior, highly recommended
any of you guys know how to fix these awful rainbow-like gradients?
ps don't suggest debanding, these aren't bands.
oops, forgot pic
is it possible to call a function from one script in another while reusing the existing instance?
example:
script1.lua
local result = something_complex_that_takes_lots_of_time_to_complete()
function do_stuff_that_takes_almost_no_time_to_complete()
--do stuff using result (without modifying it's value)
end
mp.register_event('some_event', do_stuff_that_takes_almost_no_time_to_complete)
call_script1.lua
script1 = ... ?
script1.do_stuff_that_takes_almost_no_time_to_complete()
I'd rather avoid calculating result again
Shitty on android.
Where do I start with contributing to MPV? Is there a todo list or something?
just go trough open issues on github and search for ones with no one assigned
Thanks, I love you
How do I do this properly?
ytdl-raw-options=write-auto-sub= # auto translate subtitles
ytdl-raw-options=sub-lang 'it, Italian'= # youtube subs language
ytdl-raw-options=sub-lang="en,eng,enUS,en-US",write-auto-sub=
Here, this should work. If it doesn't... well, maybe someone else will help you - I'm off to sleep.
Eh turns out sub-lang isn't needed if you already have "slang" in mpv.conf. The write-auto-sub shit is unusable though, makes mpv take a millenium to load up which is a shame, I thought it would ask to translate the subs only if it didn't find any of the ones specified in slang
i installed mplayer on debian stable and now i have mpv. is this the new version of mplayer or something? is mplayer a transitional package now?
>mpvis a GPLv2-licensed fork of mplayer2 and effectively its successor.
development of mplayer is dead so most people switched to mpv.
Is anyone working on a switch port yet?
What version of lua does the latest git master use?
VLC used to have playback issues but I don't think it does anymore. MPV is way more configurable and you can script it completely to your comfort, it's generally faster in both loading and seeking files. but not like any of that matters if you're a person who just hit play and don't touch it again, use whatever you like.
How do I get mpv to play raw binary data?
E.g:
$ dd if=/dev/urandom bs=1M count=10 > out.raw
$ mpv out.raw
Failed to recognize file format.
Exiting... (Errors when loading file)
Works fine in VLC.
I use MPC HC + madVR + LAVfilters and something else. I am I watching anime right Jow Forums?
What's a good low-quality vo profile? If I open several webms at a time for fapping playback gets pretty choppy on my computer.
>mp4 shitter group
No.
nope, Jow Forums only accepts mpv
use mpv or gtfo
[protocol.webm]
profile=low-latency
>If you're new to the project, and want to help, here are some suggestions what to work on. You're also welcome to come up with your own ideas.
>Rewrite mpv in Rust.
for what reason?
bump
actually, instead of calling one script from another, calling the function by command line args would be fine foo
do i have to make my own folder for the configs?
I just want to play videos in relatively higher quality but I am unsure if it automatically does the higher settings out of the box
no
Anyone?
Yes
Hopefully madshi didn't give up like haasn.
scripts run in separate Lua states, not possible
it looks like chroma banding to me
maybe
take a look at the "script-message-to" command, and the mp.register_script_message function
one of the thumbnail scripts used it too
github.com
How does ffplay compare to mpv?
Now, that's exactly what I've been looking for, thanks. Works wonders.
Now I have more questions though:
-what is the order of script execution?
Can I be sure that a script from the scripts\ directory will execute before one passed via command line args? Tried it several times and it works, but this may be a coincidence.
-what is faster, script binding or script message? Since I have to use message anyways, I was considering removing my binding and replace it with script message.
Why mpv misses two shared libraries after building it with mpv-build?
MPV keeps ignoring my ytdl-format resolution setting I out in the config and defaults to 360p. What gives?
I like playlist. Well Jow Forums. Do you?
post config
profile=opengl-hq
deband=no
hwdec=no
scale=ewa_lanczossharp
cscale=ewa_lanczos
video-sync=display-resample
interpolation
tscale=oversample
keep-open=yes
ytdl-format='best[height
meant for
1) try without quotes
2) change
your ytdl-format only works for non-DASH videos, change it to
ytdl-format="bestvideo[height
you can put profile=protocol.https until your http profile to save copying it twice
I would use
ytdl-format="bestvideo[height
W-where is haasn?
Is this project still active? Serious question, I don't come often to mpv threads.
Well, the last build is from December 2017 on mpv.srsfckn.biz
there are two links on the mpv download page, try clicking the second.
hwdec=cuda-copy doesn't seem to work on that.
Just to be sure, you're talking about this build, right? sourceforge.net
If it's so great, explain why I'm using MPC HC?
>mpv-x86_64-20180421-git-65f0825.7z
Yes
And the Dec 2017 build.
maybe there's an event fired when mpv has finished loading all scripts, then you could use that as a "main", idk. i wouldn't rely on execution order
don't know about the second
yeah, I guess that's 'idle' - it fires way too late for what I want to do though
as for now I have this:
idle_load_random_background.lua:
local mp = require 'mp'
local utils = require 'mp.utils'
local path = 'waifus'
local files = utils.readdir(path, 'files')
function load_random_background()
filename = utils.join_path(path, files[math.random(1, #files)])
mp.set_property('video', 'auto')
mp.commandv('loadfile', filename, 'replace', 'osc=no,title=No file - mpv')
mp.osd_message("No file")
end
math.randomseed(os.time())
mp.register_script_message('load_random_background', load_random_background)
mp.register_event('idle', load_random_background)
and this, in scripts/explicit directory so it won't load automatically
load_random_background.lua:
local mp = require 'mp'
mp.commandv('script-message', 'load_random_background')
on top of that, i have an alias:
mpv-no-file = mpv --script="scripts/explicit/load_random_background.lua"
Yes, all of it "just" to have mpv display waifus instead of it's logo when opened with no file specified.
Of course the mp.register_event('idle', load_random_background) idle even fires just fine, but that's about 1 second delay, so mpv goes from logo, trough black screen to the pic I want it to display. And after making a separate script and calling it manually, the pic loads instantly. Only one problem left is that I'm not sure if the first script will always make it in time to register it's script message before the other calls it. As for now it does, but I only made a few tries manually.
>Only one problem left is that I'm not sure if the first script will always make it in time to register it's script message before the other calls it
I don't think you have a guarantee. One thing that you can do is register another script_message in load_random_background, and make it so that idle_load_random_background calls this script message to acknowledge that it received the message.
Then, in load_random_background, fire the script_message periodically until it gets acknowledged. A bit convoluted but it works.
I like your way of thinking, but I'll pass - worst thing that can happen is me seeing the logo-black screen-picture sequence, because the idle even will fire if script message from load_random_background won't reach it's target.
>inb4 I'll do what you said after seeing what I described for the first time and going into autistic rage that waifu pic was delayed
eh, I guess I'm brain damaged after all these years on Jow Forums
How do I get MPV to automatically add all files within a folder to a playlist when a random video file from that folder is played, like MPC does.
I put it in the scripts folder, but it doesn't seem to work. Am I missing something?
I can't use input-conf=custom.conf inside of mpv.conf for some reason.
I'm retarded, where is the config file?
Create it
>r&m
mpv is many times more configurable
read the manual. create it in the folder mentioned.