Difference between pages "Package:Mpv" and "Intel64-nehalem"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
{{Ebuild
{{Subarch
|Summary=Video player based on MPlayer/mplayer2.
|CPU Family=64-bit Intel Processors
|CatPkg=media-video/mpv
|subarch=corei7
|Maintainer=Oleg
|CHOST=x86_64-pc-linux-gnu
|Homepage=http://mpv.io/
|CFLAGS=-march=corei7 -O2 -pipe
|USE=mmx sse sse2 sse3 ssse3 sse4
|Description=The '''corei7''' subarch supports the Nehalem, Westmere, Sandy_Bridge,  Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors.
}}
}}
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].
Beginning in November 2008, Intel launched the first Core i7 processor, codenamed [[Wikipedia:Bloomfield_(microprocessor)|Bloomfield]], based on the [[Wikipedia:Nehalem_(microarchitecture)|Nehalem]] microarchitecture. With this launch, they also added to and modified the conventions used in their [[Wikipedia:Intel_Core|Intel Core]] branding scheme. '''(Not to be confused with the [[Wikipedia:Intel Core (microarchitecture)|Intel Core microarchitecture]]. See [[core2_64]].)'''. This new naming scheme distinguishes between grades of processors rather than microarchitectures or design. Therefore, the '''corei7''' subarch supports the [[Wikipedia:Nehalem_(microarchitecture)|Nehalem]], [[Wikipedia:Westmere_(microarchitecture)|Westmere]], [[Wikipedia:Sandy_Bridge_(microarchitecture)|Sandy Bridge]], [[Wikipedia:Ivy_Bridge_(microarchitecture)|Ivy Bridge]], and [[Wikipedia:Haswell_(microarchitecture)|Haswell]] microarchitectures under the following brand names:
Currently there is only mpv version 0.6.1 availabe in Funtoo
{{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.
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] }}
==Installation==
<console>
###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)
* Intel Pentium/Celeron (low-level consumer)
hwdec=vdpau
* Intel Core i3 (entry-level consumer)
* Intel Core i5 (mainstream consumer)
* Intel Core i7 (high-end consumer/business)
* Intel Xeon (business server/workstation)


# Video output driver. A list can be displayed via: mpv -vo=help
See the following links for a list of supported [[Wikipedia:Celeron|Celeron]], [[Wikipedia:Pentium|Pentium]], [[Wikipedia:Intel_Core#Nehalem_microarchitecture_based|Nehalem]], [[Wikipedia:Westmere_(microarchitecture)|Westmere]], [[Wikipedia:Intel_Core#Sandy_Bridge_microarchitecture_based|Sandy Bridge]],  [[Wikipedia:Intel_Core#Ivy_Bridge_microarchitecture_based|Ivy Bridge]], and [[Wikipedia:Intel_Core#Haswell_microarchitecture_based|Haswell]] processors.
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}}

Revision as of 10:02, December 20, 2014

This section lists the CPU-optimized Funtoo Linux builds currently available for download for corei7. The corei7 subarch supports the Nehalem, Westmere, Sandy_Bridge, Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors.

No downloadable stage builds are currently available for this sub-architecture.

The corei7 subarch supports the Nehalem, Westmere, Sandy_Bridge, Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors..

Architecture and Optimization

The following settings are applied to all stages for this subarch via Funtoo subarch profiles:

CHOSTx86_64-pc-linux-gnu
CFLAGS-march=corei7 -O2 -pipe

CPU Compatibility

The Funtoo CPU Database shows that this subarch is recommended for the following processors:

codenamenameplatformlaunch_datespec_codescore_countthread_countbase_clockmax_clocklithography

Beginning in November 2008, Intel launched the first Core i7 processor, codenamed Bloomfield, based on the Nehalem microarchitecture. With this launch, they also added to and modified the conventions used in their Intel Core branding scheme. (Not to be confused with the Intel Core microarchitecture. See core2_64.). This new naming scheme distinguishes between grades of processors rather than microarchitectures or design. Therefore, the corei7 subarch supports the Nehalem, Westmere, Sandy Bridge, Ivy Bridge, and Haswell microarchitectures under the following brand names:

  • Intel Pentium/Celeron (low-level consumer)
  • Intel Core i3 (entry-level consumer)
  • Intel Core i5 (mainstream consumer)
  • Intel Core i7 (high-end consumer/business)
  • Intel Xeon (business server/workstation)

See the following links for a list of supported Celeron, Pentium, Nehalem, Westmere, Sandy Bridge, Ivy Bridge, and Haswell processors.