Difference between pages "HyperV Kernel Configuration" and "Package:Mpv"

(Difference between pages)
(Provided preliminary Hyper-V kernel configuration information)
 
 
Line 1: Line 1:
For a Hyper-V generation 2 system, you'll need certain options enabled in the Kernel in this order because latter options aren't available until earlier options are enabled:
+
{{Ebuild
* CONFIG_HYPERVISOR_GUEST: Processor type and featueres > Linux Guest Support
+
|Summary=Video player based on MPlayer/mplayer2.
* CONFIG_PARAVIRT: Processor type and features > Linux Guest Support > Enable paravirtualization code
+
|CatPkg=media-video/mpv
* CONFIG_PARAVIRT_SPINLOCKS: Processor type and features > Linux Guest Support > Paravirtualization layer for spinlocks
+
|Maintainer=Oleg
* CONFIG_HYPERV: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V client drivers
+
|Homepage=http://mpv.io/
* CONFIG_HYPERV_UTILS: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Utilities driver
+
}}
* CONFIG_HYPERV_BALLOON: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Balloon driver
+
mpv is a fork of mplayer2, to learn more about the differences take a look at their [https://github.com/mpv-player/mpv/blob/master/DOCS/man/changes.rst docs].
* CONFIG_HYPERV_NET: Device Drivers > Network device support > Microsoft Hyper-V virtual network driver
+
Currently there is only mpv version 0.6.1 availabe in Funtoo
* CONFIG_HYPERV_STORAGE: Device Drivers > SCSI device support > SCSI low-level drivers > Microsoft Hyper-V virtual storage driver
+
{{fancynote|Read the [https://github.com/mpv-player/mpv/wiki/FFmpeg-versus-Libav mpv wiki] to understand ffmpeg vs libav especially in regard to mpv.
* CONFIG_HYPERV_KEYBOARD: Device Drivers > Input device support > Hardware I/O ports > Microsoft Synthetic Keyboard driver
+
If you are interested you  might even read the article [http://blog.pkh.me/p/13-the-ffmpeg-libav-situation.html The FFmpeg/Libav situation] }}
* CONFIG_FB_HYPERV: Device Drivers > Graphics support > Frame buffer Devices > Microsoft Hyper-V Synthetic Video support
+
==Installation==
* CONFIG_HID_HYPERV_MOUSE: Device Drivers > HID support > Special HID drivers > Microsoft Hyper-V mouse driver
+
<console>
[[Category:Hardware Compatibility]]
+
###i##  emerge media-video/mpv
 +
</console>
 +
==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:
 +
{{File|name=~/.mpv/config|body=
 +
# 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:
 +
<console>
 +
###i##  man mpv
 +
</console>
 +
==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:
 +
{{File|name=~/.mpv/input.conf|body=
 +
n playlist_next
 +
p playlist_prev
 +
}}
 +
The man page provides information about all possible bindings.
 +
{{EbuildFooter}}

Latest revision as of 02:42, November 7, 2014

media-video/mpv


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

Summary: Video player based on MPlayer/mplayer2.

Mpv

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.