I'd just like to say that OSC vidscale=no should be default behavior.
Bentley Young
I agree
Hunter Murphy
>open 6ch movie >host pc audio setup is 2 channels >add audio-channels=stereio to config file >movie gets silent as fuck because mpv can't downmix properly in 2018 and you need to increase volume to like 150% what a MESS guys
Have you fags made any script yet? I don't know shit about lua/javascript, but I'm willing to learn it just to mess around with mpv.
Jordan Martinez
>2018 >stereio XD
Adrian Scott
Damn, this thread is really dead, huh?
Anyway, I decide to start looking for some simple lua scripts myself to see what I can learn from them, and as far as the language goes it's pretty straightforward, but I just want to make one thing clear regarding the execution of functions. The documentation states: "Your script will be loaded by the player at program start from the scripts configuration subdirectory... Your script is first run "as is", and once that is done, the event loop is entered". Using the script bellow as an example, does that mean that the 'set_loop' function will be called twice, once the script is first run "as is" and then again when the 'file-loaded' event is fired? Not that knowing this changes things drastically, I just want to know what are the possibilities here.
-- Automatically set loop-file=inf for duration < given length. Default is 5s -- Use script-opts=autoloop-duration=x in mpv.conf to set your preferred length
local autoloop_duration = 300
function getOption() local opt = mp.get_opt("autoloop-duration") if (opt ~= nil) then local test = tonumber(opt) if (test ~= nil) then autoloop_duration = test end end end getOption()
local was_loop = mp.get_property_native("loop-file")
function set_loop() local duration = mp.get_property_native("duration") if duration ~= nil then if duration < autoloop_duration + 0.001 then mp.command("set loop-file inf") else mp.set_property_native("loop-file", was_loop) end else mp.set_property_native("loop-file", was_loop) end end
mp.register_event("file-loaded", set_loop)
Daniel Lewis
>stereio
found your problem
Leo Sullivan
hey to be fair practically all TV anime is stereo
Connor Torres
Only when the event file-loaded is triggered. You don't run the function anywhere else.
That's like asking if WordPad is better than Word.
Austin Morgan
Is WordPad better than Word though?
Lucas Scott
saving this for OP
Brandon Smith
Oh you're right, I just tested it using mp.osd_message and apparently when you register a function mpv doesn't run it at the startup of the script like it does with all the other functions. Speaking of testing, I'm using mp.osd_message to sorta 'debug' my script and show the value of variables and function return calls, is this the best way to go about this?
I think something went wrong for mpc because it's too washed but that's what they both look like out the box.
Julian White
Someone help me with --video-sync=display-resample, and --interpolation. Should I use the former? I can't tell a different, but it makes frames drop sometimes, so it's costly. But with interpolation, panning shots look great, no jitter. But I fear that it's not representative of the original video, that it modifies it too much.
Brody Phillips
MadVR is GUI based, you have to click the Apply button.
Aaron Sanders
You can use print() if you open mpv with a console
Joseph Butler
There's no option for CLI? What's wrong with mentally diseased Windows devs?
Luke Reyes
No user cli, there is an API for devs.
Parker Bell
Windows was created to be used with one finger, so the devs created one-finger programs called GUI.
Jeremiah Gray
Post a screenshot of your madVR config... Are you sure that you use madVR with mpc?
David Cox
how to add support of vtt subtitles?
Samuel Wilson
It isn't, and both are shit
Jace Diaz
mp.msg.verbose()
Henry Lopez
Don't "normalize" downmix. There are two settings for that, mpv's own downmix and codec downmix. Enlighten yourself with the manual.
Andrew Robinson
They work.
Elijah Price
use MPC-BE not MPC-HC
Justin Fisher
they aren't working. says no subtitles available
Jack Perry
Don't use MPC-BE, it's just a stupid MPC-HC clone... Use PotPlayer Stable with madVR or mpv with autoprofile, autospeedwin and your favorite glsl/hook shaders.
Zachary Perez
It's just insane how retarded are some people. There are tons of mpv "noobs" guides on internet and a huge official manual but people are too retarded to use them.
Cameron Robinson
Stop shitposting, mpv is the best and you can't prove the opposite. MadVR fags tried with NGU and stupid RCA without success.
Hudson Rodriguez
Is the haasn's motion interpolation algo still on the roadmap or it was just to attract people on patreon?
You need both for perfect playback. Set tscale=oversample for the most close to the original interpolation.
Aaron Turner
Shit config.
Ethan Bailey
Why is there two versions seem to be maintained now on the github - 0.27 and 0.28?
Ayden Myers
I don't see you posting, so I bet your config is shit
Joseph Williams
If I was to guess I'd say its something to do with ffmpeg versions.
Noah Jenkins
At least he probably doesn't use nearest for scale and non X FSRCNN.
Joseph Jenkins
>scale=nearest lol >blackman3 cscale meme >blend-subtitles meme >deband=yes but no config for it meme, by the time you notice banding the default settings will barely do anything >vd-lavc-dr and vulkan meme, d3d11 has comparable timings without dr on new cards >32-0-2 fsrcnnx glsl 0-2 is a meme, just go down to 24 senpai
Lucas Morris
Why not the superior madVR NGU for chroma and luma upscaling? It's d3d9 based and has much better timings and results.
Angel Kelly
The player (MPC) is shit, takes years to go in and out of fullscreen and seeking is slow as shit. Even VLC 3.0 is better on the fullscreen part. And no, not really for timings, and as far as results go it's marginally better than FSRCNNX-24 which isn't worth a far inferior player when it comes to the above, subtitle rendering and taking screenshots.
Michael Butler
You either disabled vtt then, or are using libav instead of FFmpeg. mpv with libav subtitle support is nonexistent.
Sebastian Barnes
What does mpv stand for?
Mason Jones
good question
Jeremiah Gonzalez
What the fuck is up with mpv's screenshot function? left is an mpv screenshot and right is a printscreen. Where the fuck do all the colors go?
>you have to configure it MPC+MadVR manually instead of it just working sounds like a video player for autists desu
Tyler Sullivan
Is mpv decent on Windows? How does hardware acceleration work (on Linux I use vdpau)?
Mason Gutierrez
even better than in Linux
Brody Allen
So what driver do I use?
Camden Miller
hwdec=auto
should pick d3d11va with the default gpu-api=d3d11
Benjamin Rodriguez
How do I update mpv on windows without fucking everything up? I'm using the Git portable version. Do I extract the new version inside that same folder and replace the files or just delete the old one and run the mpv-install file again and then reconfigure everything?
>stream 4k video sourced from youtube >constant buffering and taking forever >play the same 4k video in browser >no buffering and plays consistently explain what's wrong here
Brody Miller
Your configuration.
Tyler Evans
I haven't touched the configuration, why should I if it's supposed to just werk out of the box?
Parker Barnes
on a scale of 1 to chromium, what kind of rig do i need to compile mpv?
Xavier Reyes
Yes, directshow is fully retarded.
Ryder Diaz
it can be a problem with cache settings or youtube-dl
Wyatt Allen
Mpv is an advanced player with really decent default settings compared to chromium/firefox ones. People with shitty CPU and pajeet internet connection should change the mpv defaults. Don't forget most of mpv devs are German or American with proper hardware.
Owen Cooper
okay, well I'm using 2018.03.14 for youtube-dl and I'll give the following settings a go cache-default=20480 cache-initial=9216 I'm in america with gigabit internet speeds, my hardware is no slouch either.
Justin Carter
What about your CPU? Why not enabling hwdec in mpv.conf?
Lucas Lopez
try perhaps with default cache settings
Nolan Ramirez
i7-4770k @4GHz, I do have hardware decode enabled among other settings that shouldn't affect playback too heavily. I was using default settings before and get told to change it. Which is it?
Michael Richardson
USA destroyed internet neutrality, you are probably considered as suspicious and they slowdown your connection. ;)
Aaron Sullivan
just use what works for you
Lucas Rodriguez
okay, I'm gonna stop using mpv because it doesn't work.
Dominic Thompson
goodbye then
Christian Ross
Does youtube-dl work alone? Could you post a screenshot of mpv with stats.lua on when launching this video?
Joseph Sanchez
>I haven't touched the configuration, why should I if it's supposed to just werk out of the box? Nah bruvva, you've landed in the wrong thread. If you want everything out-of-the box use windows media player. use this mpv if you want gentoo-tier bugs & configs
Benjamin Gonzalez
meme player 5
David King
interpolation doesn't even work without display-resample. If you think it did, you fell for the placebo effect.
Ian Rodriguez
Is this a good config? I mainly watch chinese cartoons, and I have a decent pc to throw some heavier settings at if they're noticable enough.
Depending on your version you might need to change opengl-hq to gpu-hq. Also, I tend to fine that oversample isn't good enough for anime, so try something different like triangle or catmull_rom.
Jaxon Carter
scale=ewa_lanczossharp cscale=lanczossharp
Is this necessary or is it just placebo?
Elijah Rivera
I have something to share with arch users.
I tried to install mpv-full (with all possible libs) but it fucked up everything by installing ffmpeg-git over ffmpeg and moc and everything didn't have ffmpeg anymore If you're on arch and face this issue: >yaourt (or pacman) -Rdd ffmepg-git >yaourt (or pacman) -Rcs mpv-full >yaourt (or pacman) -S ffmpeg-full >yaourt (or pacman) -S mpv Meh I wanted to share that, don't trust this package, it mess up after one hour of install So i'm back to the vanilla one. I will lurk here now, i need to learn how to config it without installing extra-packages.
Joshua Fisher
I'll try that then, thanks.
Carter King
just use mpv-build-git
Jose Ross
There is a real difference ?
Nathaniel Turner
it uses the most recent ffmpeg version for mpv without overwriting the one on your system
Mason Barnes
>You need both for perfect playback But interpolated frames don't exist in the source, so they're not true to how the video should be shown
Jack King
Oh ok. I will do that. But one last question, i don't have a mpv.conf in /.config, do i have to create one by myself ?
Thomas Morgan
upscaling video is interpolating data that doesn't exist in the source too
Gavin Sanders
lmao you deleted your comment to fix one typo, when you still have a couple left.
John Taylor
>to fix one typo Not really, i've forgotten to quote user in the first one, but for the errors, i'm not anglo and still learning, so don't bully please. If you can answer to my question it would be nice too.
Adrian Hill
Yes, you create mpv.conf and input.conf with a text editor.
Evan Gonzalez
Stutters don't exist in the source too. Also what other user said.
Parker Stewart
I think maybe you confuse frame mismatch stutters with native anime choppiness? Either way youre right in configuring things according to your taste.
Matthew Brown
Scaling and interpolation are literally two different things
Michael Miller
Is there a way to speed up the download cache when playing a youtube video ? Can't watch 4k without waiting an eternity. I know it's huge files, but maybe there is a good option for that.
Carson Reyes
>is there a way to make my internet faster Yes, yes there is.
Jaxson Foster
I'm the same user that asked a few hours ago how to update mpv. I'm getting this error. I've tried it a bunch of times and still get the same error, internet works fine. Google didn't help a bit.