MPV thread

mpv.io

How do you output two different instances of MPV to two different audio output devices?

Other urls found in this thread:

github.com/mpv-player/mpv/issues/2398
github.com/bitingsock/mpv/blob/master/TOOLS/lua/cycle_adevice.lua
sourceforge.net/projects/smplayer/files/SMPlayer/
sourceforge.net/projects/mplayerwin/files/MPlayer-MEncoder/
mpv.srsfckn.biz/
github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua
github.com/mpv-player/mpv/commit/3b3170aedb4c8a9bfa32238f3b580feea22071f8
gist.github.com/ElegantMonkey/bba287693830055a6bad90081c1ad4e2
pastebin.com/raw/n8CdxLD3
twitter.com/NSFWRedditGif

Should be possible with 2 portable config.

it is an option for the ao setting. read: github.com/mpv-player/mpv/issues/2398

particularly this script:
github.com/bitingsock/mpv/blob/master/TOOLS/lua/cycle_adevice.lua

>How do you output two different instances of MPV to two different audio output devices?
$ mpv --audio-device=foo FILE
$ mpv --audio-device=bar FILE

What is a clear looking font for the tiny letters used in the osd?

Anything I should change?

Yes, your OS.

cool, that works.
haven't gotten this to work. I just put it in .config/mpv/scripts/audio_device.lua

Tempted to be quite frank my famicom, all my software and games work on Linux.

What is the state of the AMD drivers though? Will MPV with the high quality settings and CSGO/Dota 2 work fine on a 7870 with the open source drivers?

There's new open source drivers out of the gate with the new cards, and my 5770 works pretty alright.

>Will MPV with the high quality settings and CSGO/Dota 2 work fine on a 7870 with the open source drivers?
who knows, try it for science?

Why do you have deband twice?

It doesn't force the bind; if you have "A" bound already, that would interfere.

you can change the device a program outputs to from pavucontrol

I simply want to say that i use these:

sourceforge.net/projects/smplayer/files/SMPlayer/

sourceforge.net/projects/mplayerwin/files/MPlayer-MEncoder/

mpv.srsfckn.biz/

If any of you experiences bad performance while playing video (specifically when using interpolation), you have to set the graphic card to maximum performance in the Nvidia control panel.

This trick saved my life.

>MPlayer1
>MEncoder
>SMPlayer
>Windows
Not okay famalam

I use display-resample with autospeedwin lua script.
It works perfectly on my television that supports multiple framerates but display-resample messes playback on my laptop screen that supports 60hz only.

What should I do to make it working perfectly on both displays? Interpolation is not for me!

Omelette? Is it you?

I just realized the keybind uses a static name, so it has to be cycle_adevice.lua
In addition, if you use an audio stack other than wasapi you need to change the wasapi references in the script to match yours.

ignore that first part, i guess it doesn't actually matter

if you use an audio stack other than wasapi you need to change the wasapi references in the script to match yours.

Why the other players doesn't have d3d11va and d3d11va-copy?
That's fucking great on my shitty laptop.

bump

Needs a backwards cycle
Pretty nice, but than again cycling instead of having a list and picking one of them is just less efficient.
>notepad++
>notepad replacer
get yourself set first
why

What's that?

What makes mpv so good? I thought the shilling was real but its legit amazing. Only annoying thing is on windows when i turn up the volume the things hidden, and it cant into screenshots

>and it cant into screenshots
with hwdec, but hopefully it will be fixed in the future.

im ready to convert, what do i need to complete replace mpchc and mavr?

4690k gtx970

>You can watch Twitch livestreams with Youtube-dl

Holy shit I can finally fucking delete livestreamer.

is hwdec worth using?

>replace MPC-HC

mpv

>replace madVR

vo=opengl-hq:scale=ewa_lanczossharp:cscale=ewa_lanczossharp

If it's not already fixed on master (there were some hwdec-related screenshot fixes recently), open a ticket and it will get fixed almost immediately

mpv's developer cares a lot about screenshot

On laptop, yes.
On a PC, only if your CPU can't keep up otherwise

why not just use those services with your web browser?

What's a decent config should I use to play chinese cartoon?
I'm using T420 with Core i5 and Intel HD 3000.

>there were some hwdec-related screenshot fixes recently
s - fixed
Ctrl s - doesn't work at all with ANGLE

How do I make it so MPV can play the next file in the folder?

1. Play the entire folder you want to watch, instead of just the individual file
-or-
2. Use autoload.lua

I highly recommend #1 unless you desperately want a program that thinks it knows what you want better than you do.

I want it to play the next file in the folder thats what I want.

Is that so hard.

Seriously I thought MPV was good with all the shilling going around.

How do I open my TV directory and play everything on shuffle?

hwdec presets, windows only tho
I use vdpau myself

>inb4 hwdec
My laptop a shit

do dvd menus work yet

No, it was removed and most likely won't be coming back.

Still no windows builds for mpc-qt? :(

ok so I downloaded one of those daily builds .zip for windows

where do I create the configuration file

He just told you how.

1) Select all the files you want within your file manager, right click, play with mpv

2) Put autoload.lua in your ~/.config/mpv/scripts folder

github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua

>I highly recommend #1 unless you desperately want a program that thinks it knows what you want better than you do.

All it does is add other media files in the directory into a playlist, what are you talking about?

Forget, already reinstalled MPC HC with madvr.

They used to work.

The main developer removed it. He's so autistic that he deleted a feature a lot of users wanted because it made the code look ugly. He originally deleted ALL support for DVD/BDs, meaning you couldn't even play them.

Read the manual:

On win32 (if compiled with MinGW, but not Cygwin), the default config file locations are different. They are
generally located under %APPDATA%/mpv/. For example, the path to mpv.conf is %APPDATA%/mpv/mpv.conf, which
maps to a system and user-specific path, for example
C:\users\USERNAME\AppData\Roaming\mpv\mpv.conf

You can find the exact path by running echo %APPDATA%\mpv\mpv.conf in cmd.exe.

Other config files (such as input.conf) are in the same directory. See the FILES section above.

The environment variable $MPV_HOME completely overrides these, like on UNIX.

If a directory named portable_config next to the mpv.exe exists, all config will be loaded from this directory
only. Watch later config files are written to this directory as well. (This exists on Windows only and is
redundant with $MPV_HOME. However, since Windows is very scripting unfriendly, a wrapper script just setting
$MPV_HOME, like you could do it on other systems, won't work. portable_config is provided for convenience to
get around this restriction.)

Config files located in the same directory as mpv.exe are loaded with lower priority. Some config files are
loaded only once, which means that e.g. of 2 input.conf files located in two config directories, only the one
from the directory with higher priority will be loaded.

A third config directory with the lowest priority is the directory named mpv in the same directory as mpv.exe.
This used to be the directory with the highest priority, but is now discouraged to use and might be removed in
the future.

Note that mpv likes to mix / and \ path separators for simplicity. kernel32.dll accepts this, but cmd.exe
does not.

(If you're too stupid to read, create a file called mpv.conf in the same directory as mpv.exe)

>what are you talking about?
I'm talking about the sort of “smart” behavior that developers should be shot for.

Like randomly adding random garbage from the filesystem into your playlist. That's just an anti-feature that I can't think of a single legitimate use case for.

And now?

github.com/mpv-player/mpv/commit/3b3170aedb4c8a9bfa32238f3b580feea22071f8

Please stop spreading FUD

Anyone?
I'm asking because my current config Causes the CPU temps to go 80 C when watching 1080p BD files.

My config file

# Video Options

vo=opengl-hq:no-deband

# Audio Options
alang=ja,jpn,Japanese

# Subtitle Options
slang=en,eng,English
demuxer-mkv-subtitle-preroll
ass-force-style=Kerning=yes

# Miscellaneous

screenshot-format=png
screenshot-png-compression=5
cache=153600
script-opts=osc-vidscale=yes
title='${media-title}'
autofit-larger=40%
geometry= 5%:85%

first time mpv user here on mint.
What's a good config file for me to use?

How can I activate bitstreaming (DTS Audio) in mpv? preferably bitstreaming should only activate when spdif output is selected as standard output source. (Windows)

Can MPV do this?

how many devices do you normally have of one audio stack type? backward cycle should be easy to implement, but you can cycle through 10 device in under a second.

do what? play videos?

With the black bars next to my browser.

yes

?
why wouldn't it?

I think he wants something like zoom 98%

>Don't have to use html5/flash, so you don't have to enable javascript to watch videos.
>Don't have to use a web player
>Have one configured player for watching videos
>Get all of the features mpv/youtube-dl used.

Streaming with mpv will soon get only better too.

gist.github.com/ElegantMonkey/bba287693830055a6bad90081c1ad4e2

thrice, -hq enabled deband by default.

You editor, your OS.

>That's just an anti-feature that I can't think of a single legitimate use case for.

Perhaps automatically loading all media files in a directory into an mpv playlist? That's a feature a lot of people want.

>There's a chance that it loads a malformed file with the same extension as real media files if you're the kind of retard that downloads stuff like that, oh mah god so sloppy I can't deal with this

You can play DVD/BDs, no menu support though.

You posted a source that confirms exactly what I said, how is that FUD?

mpv cannot do window management, nor can MPC-HC

>how is that FUD?
You seem to claim eh deleted it for “no reason” or because “it looked ugly”. Let me quote:

>He's so autistic that he deleted a feature a lot of users wanted because it made the code look ugly.
vs
>DVD/BD menu support never worked right, and are a pain to maintain. In particular, DVD menus never actually worked correctly, because highlights were not rendered correctly.
>Most importantly, the requirement to switch streams without losing the DVD/BD state caused major weirdness in the playback core. It was implemented by somehow syncing the playback state to the DVD/BD implementation (in stream_dvdnav.c etc.), and then reloading the demuxer without destroying and recreating the stream. This caused a bunch of special-cases which I'm looking forward to remove.

tl;dr it was completely broken, caused lots of headaches, special cases, pain etc.

also,
>a feature a lot of users wanted
Funny then how the feature got dropped due to lack of interest.

>He originally deleted ALL support for DVD/BDs, meaning you couldn't even play them.
[citation needed]

>That's a feature a lot of people want.
No, it really isn't. The feature people want is the ability to queue up an entire show at once, and for that much better solutions exists. (Such as, for example, queueing up the entire show at once)

I'm mpv with youtube-dl to watch some videos.
How do I make it so I can save the video I'm watching?
Is there a way to keybind a button to run youtube-dl on the URL?

For me mpv picture quality is still too grainy compared to madvr and I have much less aliasing when upscaling. However I prefer default mpv interpolation than smoothmotion, it would be great to add inside madvr.

>tl;dr it was completely broken

The only thing broken about it (in regards to actual usage) was that the highlights didn't render correctly, it otherwise worked perfectly.

>Funny then how the feature got dropped due to lack of interest.

So did he drop it because there was a lack of interest, or because of what you said above? Make up your mind.

>[citation needed]

Literally your own link.

>For me mpv picture quality is still too grainy compared to madvr

Post your mpv vo config. If you configure it properly it would look just as good or better.

You're probably not using the upscaling algorithm that you should be to compare with madVR's Jinc.

bomi > mpv

I'm having trouble playing HEVC files with MPV. I get audio but no video whatsoever, files work with VLC.

This problem is in Linux, with windows I have no problems playing HEVC files with mpv (in fact, they play better with it than VLC).

>The only thing broken about it (in regards to actual usage) was that the highlights didn't render correctly, it otherwise worked perfectly.
Because you were lucky enough to escape all the bugs and edge cases? Nice anecdote. It caused more than enough problems, therefore it got removed.

>So did he drop it because there was a lack of interest, or because of what you said above? Make up your mind.
Are you fucking retarded? It was dropped due to a combination of all the above *and* the fact that there was no interest in maintaining it. For a feature to be removed, both need to be the case.

There are plenty of terrible hacks in the mpv codebase that survive because there's interest in keeping them that way. DVD menu support was not one of them.

From teh commit I linked:
>If someone volunteers, it can be restored (i.e. rewritten) in a reasonable way. If nobody volunteers soon, it goes.
Guess what? Nobody fucking volunteered.

>Literally your own link.
Where in my link does it say mpv removed *ALL* DVD support? (not just DVD menu support)

Exactly, nowhere. This is my last reply to your shitty FUD/bait, I'm growing tired of having to respond to a wall.

Post the output of ffmpeg -v

daily reminder to not have any weird expectations about mpv

mpv is a PLAYER, not to be confused with these media management interfaces people seem to call players.

you give a file to it and it plays the file, that's why it's called a P L A Y E R

What's the best way to fix screen tearing on Debian Testing running Skylake integrated graphics?

ffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab

Weird. What about the log of mpv -v -no-audio FILE?

try different video outputs
mpv -vo help
mpv -vo xv #for example

[vd] Codec list:
[vd] (no decoders)
[vd] Failed to initialize a video decoder for codec 'hevc'.


basically

asd

at least 5-7 or more
and it's annoying, cycling instead of picking one from a menu is annoying, specially if you mistake cycle trough the correct one

As expected. Does ‘ffplay FILE‘ work? If not, it's an FFmpeg configuration issue and has nothing to do with mpv. Take it up with the ubuntu package maintainers and/or #ffmpeg.

>no open with for yt-dl on chrome
sad, but yeah youtube-dl is better than livestreamer
because they are fucking stupid, majority of the times is better
>gist.github.com/ElegantMonkey/bba287693830055a6bad90081c1ad4e2
don't see the point of this
>Like randomly adding random garbage from the filesystem into your playlist.
can't remember a player that does this

'ffplay FILE' works fine (I hadn't tried this before).

The other link you posted, moron. This one.

github.com/mpv-player/mpv/commit/3b3170aedb4c8a9bfa32238f3b580feea22071f8

>Because you were lucky enough to escape all the bugs and edge cases? Nice anecdote.

You wouldn't be able to find any open bug reports for "all those bugs" though would you?

try using the normal vo=opengl without the -hq:no-deband

>try using the normal vo=opengl without the -hq:no-deband
And for those 10bit?

I do not have an answer for that, try asking the github users, maybe they can hook you up?

Update: Now works. I unistalled MPV and re-installed. Sorry for wasting your time.

>Now works. I unistalled MPV and re-installed.
ubuntu general

Can I cycle between no-sub-ass? also why is this show not getting the subs replaced?

I want to display the numbers of frames just like you can in games is this possible in MPV? pls help

google mpv stats lua

The next madvr release will atomize mpv again.
Seriously you can't beat the madshi's renderer.

So then what would I use to do this?

What do you mean by “TV directory”? Like a normal filesystem directory?

mpv --shuffle TV

my config on Wangblows if anyone needs one
pastebin.com/raw/n8CdxLD3