Downloads:

11,493

Downloads of v 2018.10.02:

465

Last Update:

10/3/2018

Package Maintainer(s):

Software Author(s):

  • mpv team

Tags:

mpv video media player multimedia

mpv (Portable)

2018.10.02 | Updated: 10/3/2018

Downloads:

11,493

Downloads of v 2018.10.02:

465

Maintainer(s):

Software Author(s):

  • mpv team

mpv (Portable) 2018.10.02

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install mpv (Portable), run the following command from the command line or from PowerShell:

>

To upgrade mpv (Portable), run the following command from the command line or from PowerShell:

>

To uninstall mpv (Portable), run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade mpv.portable -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade mpv.portable -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure mpv.portable installed
  win_chocolatey:
    name: mpv.portable
    state: present
    version: 2018.10.02
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'mpv.portable' do
  action    :install
  version  '2018.10.02'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: mpv.portable,
    Version: 2018.10.02,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller mpv.portable
{
   Name     = 'mpv.portable'
   Ensure   = 'Present'
   Version  = '2018.10.02'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'mpv.portable':
  provider => 'chocolatey',
  ensure   => '2018.10.02',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install mpv.portable version="2018.10.02" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved as a trusted package on 9/7/2019.

Description

mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

Streamlined CLI options

MPlayer's options parser was improved to behave more like other CLI programs, and many option names and semantics were reworked to make them more intuitive and memorable.

On Screen Controller

While mpv has no official GUI, it has a small controller that is triggered by mouse movement.

High quality video output

mpv has a OpenGL based video output that is capable of many features loved by videophiles, such as video scaling with popular high quality algorithms, color management, frame timing, interpolation, and more.

GPU video decoding

mpv leverages the FFmpeg hwaccel APIs to support VDPAU, VAAPI, DXVA2, VDA and VideoToolbox video decode acceleration.

Embeddable

A straightforward C API was designed from the ground up to make mpv usable as a library and facilitate easy integration into other applications.

Active development

mpv is under active development, focusing on code refactoring and cleanups as well as adding features. Want a feature? Post a patch or request it!


legal\LICENSE.txt
mpv is a fork of mplayer2, which is a fork of MPlayer.

mpv as a whole is licensed under the GNU General Public License GPL version 2
or later (called GPLv2+ in this document, see LICENSE.GPL for full license
text) by default, or the GNU Lesser General Public License LGPL version 2 or
later (LGPLv2.1+ in this document, see LICENSE.LGPL for full license text) if
built with the --enable-lgpl configure switch.

Most source files are LGPLv2.1+ or GPLv2+, but some files are available under
more liberal licenses, such as BSD, MIT, ISC, and possibly others. Look at the
copyright header of each source file, and grep the sources for "Copyright" if
you need to know details. C source files without Copyright notice are usually
licensed as LGPLv2.1+. Also see the list of files with specific licenses below
(not all files can have a standard license header).

All new contributions must be LGPLv2.1+ licensed. Using a more liberal license
compatible to LGPLv2.1+ is also ok.

Changes done to GPL code must come with the implicit/explicit agreement that the
project can relicense the changes to LGPLv2.1+ at a later point without asking
the contributor. This is a safeguard for making potential relicensing of
remaining GPL code to LGPLv2.1+ easier.

For information about authors and contributors, consult the git log, which
contains the complete SVN and CVS history as well.

"v2.1+" in this context means "version 2.1 or later".

Some libraries are GPLv2+ or GPLv3+ only. Building mpv with Samba support makes
it GPLv3+.

mpv can be built as LGPLv2.1+ with the --enable-lgpl configure option. To add
a LGPL mode to mpv, MPlayer code had to be relicensed from GPLv2+ to LGPLv2.1+
by asking the MPlayer authors for permission. Since permission could not be
obtained from everyone, LGPL mode disables the following features, some of
them quite central:
- Linux X11 video output
- BSD audio output via OSS
- NVIDIA/Linux hardware decoding (vdpau, although nvdec usually works)
- Linux TV input
- minor features: jack, DVD, CDDA, SMB, CACA, legacy direct3d VO
Some of these will be fixed in the future. The intended use for LGPL mode is
with libmpv, and currently it's not recommended to build mpv CLI in LGPL mode
at all.

The following files are still GPL only (--enable-lgpl disables them):

    audio/out/ao_jack.c             will stay GPL
    audio/out/ao_oss.c              will stay GPL
    demux/demux_tv.c                will stay GPL
    stream/ai_*                     will stay GPL (TV code)
    stream/audio_in.*               will stay GPL (TV code)
    stream/dvb*                     must stay GPL
    stream/frequencies.*            must stay GPL
    stream/stream_cdda.c            unknown
    stream/stream_dvb.*             must stay GPL
    stream/stream_dvd.c             unknown
    stream/stream_dvd_common.*      unknown
    stream/stream_dvdnav.c          unknown
    stream/stream_smb.c             will stay GPLv3
    stream/stream_tv.c              will stay GPL
    stream/tv*                      will stay GPL
    video/out/vo_caca.c             unknown
    video/out/vo_direct3d.c         unknown
    video/out/vo_vaapi.c            probably impossible (some company's code)
    video/out/vo_vdpau.c            probably impossible (nVidia's code)
    video/out/vo_x11.c              probably impossible
    video/out/vo_xv.c               probably impossible
    video/out/x11_common.*          probably impossible
    video/vdpau.c                   hard (GPL-only parts must be ifdefed)
    video/vdpau.h                   unknown
    video/vdpau_mixer.*             actual code must be rewritten
    DOCS/man/                       GPLv2+
    bootstrap.py                    unknown license, probably GPLv2+ or LGPLv2+
    etc/mplayer-input.conf          unknown license, probably GPLv2+
    mpv.desktop                     unknown license, probably GPLv2+
    etc/restore-old-bindings.conf   unknown license, probably GPLv2+

The following files contain some optional GPL code (--enable-lgpl disables it):

    options/parse_commandline.c     dvd:// expansion

None of the exceptions listed above affect the final binary if it's built as
LGPL. Linked libraries still can affect the final license (for example if
FFmpeg was built as GPL).
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
The embedded software have been downloaded from the listed download
location on <https://mpv.srsfckn.biz/>
and can be verified by doing the following:

1. Go to

	x32: https://mpv.srsfckn.biz/mpv-i686-20181002.7z
	x64: https://mpv.srsfckn.biz/mpv-x86_64-20181002.7z

	to download the installer.

2. Get the checksum using one of the following methods:
  - Using powershell function 'Get-FileHash'
  - Use chocolatey utility 'checksum.exe'

3. The checksums should match the following:

  checksumType: SHA256
  checksum32: 5262144B0A619FC0A55033BDEA016431B619F9902912A509890ABFE8F3164EBA
  checksum64: 48EDD28162495224B9ED80986EBA1EA92E2E23DE695F119AFE369A4CE51B73C9

The file 'LICENSE.txt' has been obtained from <https://raw.githubusercontent.com/mpv-player/mpv/master/Copyright>
tools\chocolateyinstall.ps1
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
    packageName = 'mpv.install'
    file        = gi $toolsDir\*_x32.7z
    file64      = gi $toolsDir\*_x64.7z
    destination = "$toolsDir"
}

Get-ChocolateyUnzip @packageArgs

# mpv can't be shimmed, the shim doesn't work with mpv.com
# as of 2016.01.18, there is a dll dependency, so mpv can't be hardlinked to chocolatey\bin
# adding to PATH until chocolatey implements a /usr/lib equivalent
$pathType = 'User'
If ( Test-ProcessAdminRights ) { $pathType = 'Machine' }
Install-ChocolateyPath $toolsDir $pathType
tools\chocolateyuninstall.ps1
$packageName = 'mpv.portable'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

# Remove from Machine PATH
$machinePath = Get-EnvironmentVariable -Name PATH -Scope Machine
if ( $machinePath.Contains($toolsDir) ) {
	$cleanMachinePath = $([Environment]::GetEnvironmentVariable("PATH",[EnvironmentVariableTarget]::Machine)).Replace("$toolsDir;",'')
	[Environment]::SetEnvironmentVariable("PATH", "$cleanMachinePath", [EnvironmentVariableTarget]::Machine)
}
# Remove from User PATH
$userPath = Get-EnvironmentVariable -Name 'PATH' -Scope User
if ( $userPath.Contains($toolsDir) ) {
	$cleanUserPath = $([Environment]::GetEnvironmentVariable("PATH", [EnvironmentVariableTarget]::User)).Replace("$toolsDir;",'')
	 [Environment]::SetEnvironmentVariable("PATH", "$cleanUserPath", [EnvironmentVariableTarget]::User)
}
tools\mpv.exe.ignore
 
tools\mpv_x32.7z
md5: 08643798911706C4110557A572BB256C | sha1: 8559E425218535D005FD52CDB2F4E0512C589F54 | sha256: 5262144B0A619FC0A55033BDEA016431B619F9902912A509890ABFE8F3164EBA | sha512: E996EDA97D2F8472C998D424362A76FB130EBAF98EA7A371B7CE166C390E4A29F122750B29B1CD3D361D84581E2CFA3D722B81939B47D86AD82AB10D43D0709B
tools\mpv_x64.7z
md5: 6A266621C298650146921F288F96036A | sha1: 3AC76700B2935A81E546B0F8D1FBF471DDEAD23E | sha256: 48EDD28162495224B9ED80986EBA1EA92E2E23DE695F119AFE369A4CE51B73C9 | sha512: 05AF003178875E149682C6AFEB3863DA7C9451D82254A0F4BCAF949D54939BDF62DA1EC930DAC27AF8E953E00B46CE611BE4C50A0FE7A1A5D0A55BD283253456

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
mpv (Portable) 2018.07.31 262 Wednesday, August 1, 2018 Approved
mpv (Portable) 2018.07.22 162 Tuesday, July 24, 2018 Approved
mpv (Portable) 2017.12.25 533 Saturday, December 30, 2017 Approved
mpv (Portable) 2017.09.13 693 Wednesday, September 13, 2017 Approved
mpv (Portable) 2017.07.18 595 Thursday, July 20, 2017 Approved
mpv (Portable) 2017.04.23 699 Wednesday, April 26, 2017 Approved
mpv (Portable) 2017.02.12 839 Tuesday, February 14, 2017 Approved
mpv (Portable) 2016.12.25 1039 Monday, December 26, 2016 Approved
mpv (Portable) 2016.11.20 908 Wednesday, November 23, 2016 Approved

This package has no dependencies.

Discussion for the mpv (Portable) Package

Ground Rules:

  • This discussion is only about mpv (Portable) and the mpv (Portable) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or mpv (Portable), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus