Mpv

Revision as of 02:42, November 7, 2014 by Mf2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

media-video/mpv


Current Maintainer(s):Oleg Vinichenko
Source Repository:Funtoo Overlay
Homepage

Summary: Video player based on MPlayer/mplayer2.


News

Drobbins

How We're Keeping You At the Center of the Funtoo Universe

Read about recent developments that keep you, our users, at the forefront of our focus as Funtoo moves forward.
10 April 2015 by Drobbins
Mgorny

New OpenGL management in Funtoo

Funtoo is switching to an improved system for managing multiple OpenGL providers (Mesa/Xorg, AMD and NVIDIA). The update may involve blockers and file collisions.
30 March 2015 by Mgorny
Drobbins

Subarch Profiles are coming...

Subarch profiles are on their way! Learn more here.
29 March 2015 by Drobbins
View More News...

Mpv

Tip

This is a wiki page. To edit it, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

mpv is a fork of mplayer2, to learn more about the differences take a look at their docs. Currently there is only mpv version 0.6.1 availabe in Funtoo

Note

Read the mpv wiki to understand ffmpeg vs libav especially in regard to mpv. If you are interested you might even read the article The FFmpeg/Libav situation

Installation

#  emerge media-video/mpv

General configuration

mpv does not come with a graphical user interface (beside the video display). All settings are placed in a config file, a short example is provided below:

~/.mpv/config
# Save the video position on quit
save-position-on-quit

# Use the vdpau driver for hardware decoding (for nvidia cards)
hwdec=vdpau

# Video output driver. A list can be displayed via: mpv -vo=help
vo=opengl

The config file is completely optional, but mpv is highly customizable. It is suggested that you take a look at the man page:

#  man mpv

Input configuration

You may create a separate file called input.conf for customizing the shortcuts for mpv. The example below binds the key "n" to skip to the next video in the current playlist and the key "p" to skip to the previous video:

~/.mpv/input.conf
n playlist_next
p playlist_prev

The man page provides information about all possible bindings.