Skip to content

Commit

Permalink
(vp8-vfw) Modernized package
Browse files Browse the repository at this point in the history
ref #707
  • Loading branch information
AdmiringWorm committed Apr 30, 2017
1 parent d8acc5d commit 13e1c93
Show file tree
Hide file tree
Showing 7 changed files with 402 additions and 28 deletions.
12 changes: 12 additions & 0 deletions manual/vp8-vfw/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# [vp8-vfw](https://chocolatey.org/packages/vp8-vfw)

This is a video for windows (VFW) driver of the Google VP8 codec. The VP8 codec encodes with same or higher quality than most H.264 video encoders. Furthermore, it is completely royalty free for encoding and decoding.

Even though the Video for Windows driver framework is now several years old, several modern video editing tools still use extensively, such as Virtualdub. Sometimes, there is still a need to compress videos using standard AVI containers, therefore I decided to wrap the VP8 library around a Video For Windows driver. The version here was derived from the Xvid Video For Windows driver, and is fully functional.

## Features
- Compiled with the optimized Google VP8 library
- Includes most color space conversions supported by the Xvid codec
- Uses several threads on multi-core processors
- Encoded files can fully be decoded with FFMPEG as well as VLC
- FOURCC used is VP80
339 changes: 339 additions & 0 deletions manual/vp8-vfw/legal/LICENSE.txt

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions manual/vp8-vfw/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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 <http://www.optimasc.com/products/vp8vfw/index.html>
and can be verified by doing the following:

1. Download the following <http://www.optimasc.com/products/vp8vfw/vp8vfw-setup-1.2.0.exe>
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:

checksum type: sha256
checksum: e5002e0db7cc0db08825dfffe96c2cfc6d5a8b6b1f16ea17356f1c8ac2255918

The file 'LICENSE.txt' has been obtained from <https://www.gnu.org/licenses/gpl-2.0.txt>
The license is mentioned to be the correct one on the project page.
20 changes: 15 additions & 5 deletions manual/vp8-vfw/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
$packageName = '{{PackageName}}'
$fileType = 'exe'
$silentArgs = '/VERYSILENT'
$url = '{{DownloadUrl}}'
$ErrorActionPreference = 'Stop';

Install-ChocolateyPackage $packageName $fileType $silentArgs $url
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
packageName = 'vp8-vfw'
fileType = 'exe'
file = "$toolsPath\vp8vfw-setup-1.2.0.exe"
softwareName = 'VP8 Video For Windows codec*'
silentArgs = '/SILENT'
validExitCodes = @(0)
}

Install-ChocolateyInstallPackage @packageArgs

Remove-Item -Force -ea 0 "$toolsPath\*.exe","$toolsPath\*.ignore"
9 changes: 0 additions & 9 deletions manual/vp8-vfw/tools/chocolateyUninstall.ps1

This file was deleted.

5 changes: 5 additions & 0 deletions manual/vp8-vfw/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rm "$PSScriptRoot\tools\*.exe"
iwr "http://www.optimasc.com/products/vp8vfw/vp8vfw-setup-1.2.0.exe" -UseBasicParsing -OutFile "$PSScriptRoot\tools\vp8vfw-setup-1.2.0.exe"

. "$PSScriptRoot\..\..\scripts\Set-DescriptionFromReadme.ps1"
Set-DescriptionFromReadme -SkipFirst 1
26 changes: 12 additions & 14 deletions manual/vp8-vfw/vp8-vfw.nuspec
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>{{PackageName}}</id>
<version>{{PackageVersion}}</version>
<title>VP8 Video for Windows codec</title>
<id>vp8-vfw</id>
<version>1.2.0.20170430</version>
<packageSourceUrl>https://github.com/Chocolatey/chocolatey-coreteampackages/tree/master/manual/vp8-vfw</packageSourceUrl>
<owners>chocolatey</owners>
<title>VP8 Video for Windows codec</title>
<authors>Optima SC Inc</authors>
<licenseUrl>https://www.gnu.org/licenses/gpl-2.0.html</licenseUrl>
<projectUrl>http://www.optimasc.com/products/vp8vfw/index.html</projectUrl>
<!-- IconUrl: Skip check -->
<copyright>2009–2016 Optima SC Inc</copyright>
<licenseUrl>https://www.gnu.org/licenses/gpl-2.0.html</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
This is a video for windows (VFW) driver of the Google VP8 codec. The VP8 codec encodes with same or higher quality than most H.264 video encoders. Furthermore, it is completely royalty free for encoding and decoding.

Even though the Video for Windows driver framework is now several years old, several modern video editing tools still use extensively, such as Virtualdub. Sometimes, there is still a need to compress videos using standard AVI containers, therefore I decided to wrap the VP8 library around a Video For Windows driver. The version here was derived from the Xvid Video For Windows driver, and is fully functional.
</description>
<tags>vp8-vfw vp8 vfw video-for-windows codec admin foss</tags>
<summary>This is a video for windows (VFW) driver of the Google VP8 codec.</summary>
<releaseNotes />
<copyright>2009–2011 Optima SC Inc</copyright>
<tags>vp8 vfw video-for-windows codec admin</tags>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages</packageSourceUrl>
<!-- Do not touch the description here in the nuspec file. Description is imported during update from the Readme.md file -->
<description></description>
</metadata>
<files>
<file src="legal\**" target="legal" />
<file src="tools\**" target="tools" />
</files>
</package>

0 comments on commit 13e1c93

Please sign in to comment.