Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

17,996

Downloads of v 2022.11.14:

96

Last Update:

18 Nov 2022

Package Maintainer(s):

Software Author(s):

  • mpv team

Tags:

mpv video media player multimedia

mpv (Portable)

  • 1
  • 2
  • 3

2022.11.14 | Updated: 18 Nov 2022

Downloads:

17,996

Downloads of v 2022.11.14:

96

Maintainer(s):

Software Author(s):

  • mpv team

mpv (Portable) 2022.11.14

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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:

>

Deployment Method:

NOTE

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

1. Enter Your Internal Repository Url

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


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • 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://community.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. Copy Your Script

choco upgrade mpv.portable -y --source="'INTERNAL REPO 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="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install mpv.portable
  win_chocolatey:
    name: mpv.portable
    version: '2022.11.14'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'mpv.portable' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2022.11.14'
end

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


cChocoPackageInstaller mpv.portable
{
    Name     = "mpv.portable"
    Version  = "2022.11.14"
    Source   = "INTERNAL REPO URL"
}

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


package { 'mpv.portable':
  ensure   => '2022.11.14',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

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


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

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.

Package Approved

This package was approved by moderator Windos on 18 Nov 2022.

Description

Maintainer Note

What's the difference between this package and mpvio? None, but this package is stuck following a now defunct version scheme of mpv.
Why does the mpv package use a different version than the official project? Long ago, the Windows builds of mpv were provided by a contributor who made Windows specific changes to mpv. Since the chocolatey package was following that specific build, it made sense (at the time) to mirror that build's version scheme.

mpv

a free, open source, and cross-platform media player

Overview

mpv is a free (as in freedom) media player for the command line. It supports a wide variety of media file formats, audio and video codecs, and subtitle types.

Scripting

Powerful scripting capabilities can make the player do almost anything. There is a large selection of user scripts on the wiki.

On Screen Controller

While mpv strives for minimalism and provides no real GUI, it has a small controller on top of the video for basic control.

High quality video output

mpv has an OpenGL, Vulkan, and D3D11 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, HDR, and more.

GPU video decoding

mpv can leverage most hardware decoding APIs on all platforms. Hardware decoding can be enabled at runtime on demand.

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!


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

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

If ( Get-Item $toolsDir\doc\mpv.html -ea 0) {
  Write-Warning 'For technical reasons, please uninstall then reinstall mpv.'
  Write-Warning 'cuninst mpv.install; cinst mpv.install'
  Write-Error 'The builds provided by this package have changed and mpv needs to be reinstalled.'
}

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\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.

See DOCS/contribute.md for binding rules wrt. licensing for contributions.

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
    stream/dvb*                     must stay GPL
    stream/stream_cdda.c            unknown
    stream/stream_dvb.*             must stay GPL
    stream/stream_dvdnav.c          unknown
    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+

None of the cases 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).
tools\mpv-0.35.0-i686.7z
md5: B5FE356603D5ACB70D7630DFC232691A | sha1: EA56C20A2CCE2296E3917C4C0110DB371D398550 | sha256: 7C13E571F5E3C1C481D901245F657171775024FE10D0026026DB7D5E55EB4B25 | sha512: 0F69D061050BBC7CBAEF3E9CD87CC2EA3F2AEA556E667B28E63422E2A4AA2357D2DD9C8F7F4CFD7F93AB237DD4BBB6E012B38E0BFC91C90ADE50465FADF08F81
tools\mpv-0.35.0-x86_64.7z
md5: D368164826D3647C39EEC405312BF7A4 | sha1: 1E262583D3FE7D87A927142BA8AD946C1C932BB6 | sha256: F48CFCBE0BEE9B8AAE35FB185685A0DEC334AB68350701A2D04440D054CC9698 | sha512: 1638035F159D61A1DAD2463A65384EC18A04A0AEA934C90CDC048A2C035722AF698161361EF3BDF7876FD8941A5CCE8011F1FE293BA35BF6709F3427B57E9A98
tools\mpv.exe.ignore
 
tools\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://sourceforge.net/projects/mpv-player-windows/files/stable/> and can be verified by doing the following:

1. Go to

	x32: https://sourceforge.net/projects/mpv-player-windows/files/release/mpv-0.35.0-i686.7z
	x64: https://sourceforge.net/projects/mpv-player-windows/files/release/mpv-0.35.0-x86_64.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: 7c13e571f5e3c1c481d901245f657171775024fe10d0026026db7d5e55eb4b25
  checksum64: f48cfcbe0bee9b8aae35fb185685a0dec334ab68350701a2d04440d054cc9698

The file 'LICENSE.txt' have been obtained from <https://raw.githubusercontent.com/mpv-player/mpv/master/Copyright>


Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
mpv (Portable) 2021.11.01 379 Sunday, November 7, 2021 Approved
mpv (Portable) 2020.12.06 548 Friday, January 8, 2021 Approved
mpv (Portable) 2020.1.27 1330 Tuesday, March 17, 2020 Approved
mpv (Portable) 2019.12.29 506 Thursday, January 23, 2020 Approved
mpv (Portable) 2019.11.02 779 Monday, November 11, 2019 Approved
mpv (Portable) 2018.10.02 659 Wednesday, October 3, 2018 Approved
mpv (Portable) 2018.07.31 376 Wednesday, August 1, 2018 Approved
mpv (Portable) 2018.07.22 292 Tuesday, July 24, 2018 Approved
mpv (Portable) 2017.12.25 675 Saturday, December 30, 2017 Approved
mpv (Portable) 2017.09.13 831 Wednesday, September 13, 2017 Approved
mpv (Portable) 2017.07.18 736 Thursday, July 20, 2017 Approved
mpv (Portable) 2017.04.23 845 Wednesday, April 26, 2017 Approved
mpv (Portable) 2017.02.12 966 Tuesday, February 14, 2017 Approved
mpv (Portable) 2016.12.25 1179 Monday, December 26, 2016 Approved
mpv (Portable) 2016.11.20 1046 Wednesday, November 23, 2016 Approved
mpv (Portable) 2016.10.20 1050 Friday, October 21, 2016 Approved
mpv (Portable) 2016.08.26 844 Wednesday, September 7, 2016 Approved
mpv (Portable) 2016.08.16 952 Thursday, August 18, 2016 Approved
mpv (Portable) 2016.07.10 601 Monday, July 11, 2016 Approved
mpv (Portable) 2016.06.25 417 Saturday, June 25, 2016 Approved
mpv (Portable) 2016.04.11.1 352 Monday, May 9, 2016 Approved
mpv (Portable) 2016.04.11 615 Friday, April 15, 2016 Approved
mpv (Portable) 2016.02.29 732 Monday, February 29, 2016 Approved
mpv (Portable) 2016.01.18 644 Wednesday, January 20, 2016 Approved
mpv (Portable) 2015.12.11 546 Wednesday, December 23, 2015 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