Downloads:

1,509

Downloads of v 1.18.4.20210725:

62

Last Update:

26 Jul 2021

Package Maintainer(s):

Software Author(s):

  • GStreamer Team

Tags:

audio video recording streaming codec

GStreamer (Development)

  • 1
  • 2
  • 3

1.18.4.20210725 | Updated: 26 Jul 2021

Downloads:

1,509

Downloads of v 1.18.4.20210725:

62

Maintainer(s):

Software Author(s):

  • GStreamer Team

  • 1
  • 2
  • 3
GStreamer (Development) 1.18.4.20210725

  • 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

To install GStreamer (Development), run the following command from the command line or from PowerShell:

>

To upgrade GStreamer (Development), run the following command from the command line or from PowerShell:

>

To uninstall GStreamer (Development), 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade gstreamer-devel -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 gstreamer-devel -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 gstreamer-devel installed
  win_chocolatey:
    name: gstreamer-devel
    state: present
    version: 1.18.4.20210725
    source: STEP 3 URL

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


chocolatey_package 'gstreamer-devel' do
  action    :install
  version  '1.18.4.20210725'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: gstreamer-devel,
    Version: 1.18.4.20210725,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller gstreamer-devel
{
   Name     = 'gstreamer-devel'
   Ensure   = 'Present'
   Version  = '1.18.4.20210725'
   Source   = 'STEP 3 URL'
}

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


package { 'gstreamer-devel':
  provider => 'chocolatey',
  ensure   => '1.18.4.20210725',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install gstreamer-devel version="1.18.4.20210725" 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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator TheCakeIsNaOH on 25 Aug 2021.

Description

GStreamer is a pipeline-based multimedia framework that links together a wide variety of media processing systems to complete complex workflows. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing.

Applications can take advantage of advances in codec and filter technology transparently. Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface.

GStreamer is free and open-source software subject to the terms of the GNU Lesser General Public License (LGPL).

Versioning is done in the MAJOR.MINOR.MICRO format with even MINOR numbers indicating stable releases, and odd MINOR numbers indicating unstable development releases [source].

This package performs a "Complete" install and may contain restricted codecs or protocols with additional licensing restrictions or potential patent issues in some countries.


tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop';

$packageName = "${ENV:ChocolateyPackageName}"
$nameSplit = ${packageName}.Split('-')
$toolchain = "msvc"

if (${packageName}.Contains("devel")) {
    Write-Output "No PATH changes required for devel package. Exiting..."
    Exit
}

# gstreamer, gstreamer-devel, gstreamer-mingw, or gstreamer-mingw-devel
if (${nameSplit}.Length -gt 1 -and ${nameSplit}[1] -ne "devel") {
    $toolchain = ${nameSplit}[1]
}

# ENV:ChocolateyForceX86 appears to never be set for uninstall
# No --x86 flag exists on the command
if (${ENV:OS_IS64BIT} -And -Not ${ENV:ChocolateyForceX86}) {
    $pathForUninstall = "%GSTREAMER_1_0_ROOT_$(${toolchain}.ToUpper())_X86_64%\bin"
} else {
    $pathForUninstall = "%GSTREAMER_1_0_ROOT_$(${toolchain}.ToUpper())_X86%\bin"
}

if (-not (Get-Command 'Uninstall-ChocolateyPath' -errorAction SilentlyContinue)) {
    Write-Output "Using Uninstall-ChocolateyPath-GH1663 function";

    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $modulePath = Join-Path "${toolsDir}" 'Uninstall-ChocolateyPath-GH1663.ps1'
    Import-Module "${modulePath}"

    Uninstall-ChocolateyPath-GH1663 "${pathForUninstall}" "User"
}
else {
    Write-Debug "Using native Uninstall-ChocolateyPath function";

    Uninstall-ChocolateyPath "${pathForUninstall}" "User"
}
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

# Strip package YYYYMMDD postfix if present
$versionSplit   = ${ENV:ChocolateyPackageVersion}.Split('.')
$major          = ${versionSplit}[0]
$minor          = ${versionSplit}[1]
$revision       = ${versionSplit}[2]
$version        = "${major}.${minor}.${revision}"

$packageName    = "${ENV:ChocolateyPackageName}"
$packageTitle   = "${ENV:ChocolateyPackageTitle}"

$nameSplit      = ${packageName}.Split('-')
$toolchain      = "msvc"
$devel          = ""

# gstreamer, gstreamer-devel, gstreamer-mingw, or gstreamer-mingw-devel
if (${packageName}.Contains("devel")) {
  $devel = "devel-"
}
if (${nameSplit}.Length -gt 1 -and ${nameSplit}[1] -ne "devel") {
  $toolchain = ${nameSplit}[1]
}

$url            = "https://gstreamer.freedesktop.org/data/pkg/windows/${version}/${toolchain}/gstreamer-1.0-${devel}${toolchain}-x86-${version}.msi"
$url64          = "https://gstreamer.freedesktop.org/data/pkg/windows/${version}/${toolchain}/gstreamer-1.0-${devel}${toolchain}-x86_64-${version}.msi"
$silentArgs     = "ADDLOCAL=ALL /qn /norestart /l*v `"$(${ENV:TEMP})\$(${packageName}).$(${version}).MsiInstall.log`""

$packageArgs = @{
  packageName     = "${packageName}"
  softwareName    = "${packageTitle}"
  url             = "${url}"
  url64           = "${url64}"
  fileType        = "msi"
  silentArgs      = "${silentArgs}"
  validExitCodes  = @(0)
  checksum        = "f704058553e3bc50da7c14a18e400e53427701297245621d161a633007aa72c9"
  checksumType    = "sha256"
  checksum64      = "95489c5882aa7a1d701fea2d78fb5eb6c6a35726dd945cfe4b517e880f45b976"
  checksumType64  = "sha256"
}

Install-ChocolateyPackage @packageArgs

if (${ENV:OS_IS64BIT} -And -Not ${ENV:ChocolateyForceX86}) {
  $locationVarName = "GSTREAMER_1_0_ROOT_$(${toolchain}.ToUpper())_X86_64"
} else {
  $locationVarName = "GSTREAMER_1_0_ROOT_$(${toolchain}.ToUpper())_X86"
}

$installLocation = (Get-EnvironmentVariable -Name "${locationVarName}" -Scope "User")
Write-Output ""
Write-Output "GStreamer installed to ${installLocation}"
Write-Output ""

Write-Output "Checking for PATH entry..."

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$modulePath = Join-Path "${toolsDir}" 'Install-ChocolateyPath-GH1663.ps1'
Import-Module "${modulePath}"

# Must install to User path since we need to expand a User environment variable
Install-ChocolateyPath-GH1663 -PathToInstall "%${locationVarName}%\bin" -PathType "User"
Update-SessionEnvironment

$locationOnPath = (Get-Command gst-launch-1.0.exe -errorAction SilentlyContinue)
if ($locationOnPath) {
  Write-Output "Confirmed gst-launch-1.0.exe on PATH at $(${locationOnPath}.source)"
} else {
  Write-Error 'GStreamer gst-launch-1.0.exe could not be found on PATH after install!'
}

Write-Output ""
tools\EnvPathFunctions-GH1663.ps1
# Copyright © 2018 Chocolatey Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# https://github.com/chocolatey/choco/pull/1663
# https://github.com/chocolatey/choco/blob/b89e64e9fd599c3244290d62096e0e7ab0c91742/src/chocolatey.resources/helpers/functions/EnvPathFunctions.ps1

# For internal use by Install-ChocolateyPath and Uninstall-ChocolateyPath.

function Parse-EnvPathList([string] $rawPathVariableValue) {
  # Using regex (for performance) which correctly splits at each semicolon unless the semicolon is inside double quotes.
  # Unlike semicolons, quotes are not allowed inside paths so there is thankfully no need to unescape them.
  # (Verified using Windows 10’s environment variable editor.)
  # Blank path entries are preserved, such as those caused by a trailing semicolon.
  # This enables reserializing without gratuitous reformatting.
  $paths = $rawPathVariableValue -split '(?<=\G(?:[^;"]|"[^"]*")*);'

  # Remove quotes from each path if they are present
  for ($i = 0; $i -lt $paths.Length; $i++) {
    $path = $paths[$i]
    if ($path.Length -ge 2 -and $path.StartsWith('"', [StringComparison]::Ordinal) -and $path.EndsWith('"', [StringComparison]::Ordinal)) {
      $paths[$i] = $path.Substring(1, $path.Length - 2)
    }
  }

  return $paths
}

function Format-EnvPathList([string[]] $paths) {
  # Don’t mutate the original (externally visible if the argument is not type-coerced),
  # but don’t clone if mutation is unnecessary.
  $createdDefensiveCopy = $false

  # Add quotes to each path if necessary
  for ($i = 0; $i -lt $paths.Length; $i++) {
    $path = $paths[$i]
    if ($path -ne $null -and $path.Contains(';')) {
      if (-not $createdDefensiveCopy) {
        $createdDefensiveCopy = $true
        $paths = $paths.Clone()
      }
      $paths[$i] = '"' + $path + '"'
    }
  }

  return $paths -join ';'
}

function IndexOf-EnvPath([System.Collections.Generic.List[string]] $list, [string] $value) {
  $list.FindIndex({
    $value.Equals($args[0], [StringComparison]::OrdinalIgnoreCase)
  })
}
tools\Install-ChocolateyPath-GH1663.ps1
# Copyright © 2017 Chocolatey Software, Inc.
# Copyright © 2015 - 2017 RealDimensions Software, LLC
# Copyright © 2011 - 2015 RealDimensions Software, LLC & original authors/contributors from https://github.com/chocolatey/chocolatey
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$modulePath = Join-Path "${toolsDir}" 'EnvPathFunctions-GH1663.ps1'
Import-Module "${modulePath}"

# https://github.com/chocolatey/choco/pull/1663
# https://github.com/chocolatey/choco/blob/b89e64e9fd599c3244290d62096e0e7ab0c91742/src/chocolatey.resources/helpers/functions/Install-ChocolateyPath.ps1

function Install-ChocolateyPath-GH1663 {
<#
.SYNOPSIS
**NOTE:** Administrative Access Required when `-PathType 'Machine'.`
This puts a directory to the PATH environment variable.
.DESCRIPTION
Ensures that the given path is present in the given type of PATH
environment variable as well as in the current session.
.NOTES
This command will assert UAC/Admin privileges on the machine if
`-PathType 'Machine'`.
This is used when the application/tool is not being linked by Chocolatey
(not in the lib folder).
.INPUTS
None
.OUTPUTS
None
.PARAMETER PathToInstall
The exact path to ensure in the environment PATH.
.PARAMETER PathType
Which PATH to add it to. If specifying `Machine`, this requires admin
privileges to run correctly.
.PARAMETER IgnoredArguments
Allows splatting with arguments that do not apply. Do not use directly.
.EXAMPLE
Install-ChocolateyPath -PathToInstall "$($env:SystemDrive)\tools\gittfs"
.EXAMPLE
Install-ChocolateyPath "$($env:SystemDrive)\Program Files\MySQL\MySQL Server 5.5\bin" -PathType 'Machine'
.LINK
Uninstall-ChocolateyPath
.LINK
Install-ChocolateyEnvironmentVariable
.LINK
Get-EnvironmentVariable
.LINK
Set-EnvironmentVariable
.LINK
Get-ToolsLocation
#>
param(
  [parameter(Mandatory=$true, Position=0)][string] $pathToInstall,
  [parameter(Mandatory=$false, Position=1)][System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User,
  [parameter(ValueFromRemainingArguments = $true)][Object[]] $ignoredArguments
)

  Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters
  ## Called from chocolateysetup.psm1 - wrap any Write-Host in try/catch

  $paths = Parse-EnvPathList (Get-EnvironmentVariable -Name 'PATH' -Scope $pathType -PreserveVariables)
  if ((IndexOf-EnvPath $paths $pathToInstall) -eq -1) {
    try {
      Write-Host "PATH environment variable does not have $pathToInstall in it. Adding..."
    } catch {
      Write-Verbose "PATH environment variable does not have $pathToInstall in it. Adding..."
    }

    if ($pathType -eq [EnvironmentVariableTarget]::Machine -and -not (Test-ProcessAdminRights)) {
      $psArgs = "Install-ChocolateyPath -pathToInstall `'$pathToInstall`' -pathType `'$pathType`'"
      Start-ChocolateyProcessAsAdmin "$psArgs"
    } else {
      $paths += $pathToInstall
      Set-EnvironmentVariable -Name 'PATH' -Value $(Format-EnvPathList $paths) -Scope $pathType
    }
  }

  # Make change immediately available
  $paths = Parse-EnvPathList $env:PATH
  if ((IndexOf-EnvPath $paths $pathToInstall) -eq -1) {
    $paths += $pathToInstall
    $env:Path = Format-EnvPathList $paths
  }
}
tools\Uninstall-ChocolateyPath-GH1663.ps1
# Copyright © 2018 Chocolatey Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$modulePath = Join-Path "${toolsDir}" 'EnvPathFunctions-GH1663.ps1'
Import-Module "${modulePath}"

# https://github.com/chocolatey/choco/pull/1663
# https://github.com/chocolatey/choco/blob/b89e64e9fd599c3244290d62096e0e7ab0c91742/src/chocolatey.resources/helpers/functions/Uninstall-ChocolateyPath.ps1

function Uninstall-ChocolateyPath-GH1663 {
<#
.SYNOPSIS
**NOTE:** Administrative Access Required when `-PathType 'Machine'.`

This puts a directory to the PATH environment variable.

.DESCRIPTION
Ensures that the given path is not present in the given type of PATH
environment variable as well as in the current session.

.NOTES
This command will assert UAC/Admin privileges on the machine if
`-PathType 'Machine'`.

This is used when the application/tool is not being linked by Chocolatey
(not in the lib folder).

.PARAMETER PathToUninstall
The exact path to remove from the environment PATH.

.PARAMETER PathType
Which PATH to add it to. If specifying `Machine`, this requires admin
privileges to run correctly.

.PARAMETER IgnoredArguments
Allows splatting with arguments that do not apply. Do not use directly.

.EXAMPLE
Uninstall-ChocolateyPath -PathToUninstall "$($env:SystemDrive)\tools\gittfs"

.EXAMPLE
Uninstall-ChocolateyPath "$($env:SystemDrive)\Program Files\MySQL\MySQL Server 5.5\bin" -PathType 'Machine'

.LINK
Install-ChocolateyPath

.LINK
Get-EnvironmentVariable

.LINK
Set-EnvironmentVariable

.LINK
Get-ToolsLocation
#>
param(
  [parameter(Mandatory=$true, Position=0)][string] $pathToUninstall,
  [parameter(Mandatory=$false, Position=1)][System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User,
  [parameter(ValueFromRemainingArguments = $true)][Object[]] $ignoredArguments
)

  Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters

  $paths = Parse-EnvPathList (Get-EnvironmentVariable -Name 'PATH' -Scope $pathType -PreserveVariables)
  $removeIndex = (IndexOf-EnvPath $paths $pathToUninstall)
  if ($removeIndex -ge 0) {
    Write-Host "Found $pathToUninstall in PATH environment variable. Removing..."

    if ($pathType -eq [EnvironmentVariableTarget]::Machine -and -not (Test-ProcessAdminRights)) {
      Write-Error "Failed: This requires administrator rights."
    } else {
      $paths = [System.Collections.ArrayList] $paths
      $paths.RemoveAt($removeIndex)
      Set-EnvironmentVariable -Name 'PATH' -Value $(Format-EnvPathList $paths) -Scope $pathType
    }
  }

  # Make change immediately available
  $paths = Parse-EnvPathList $env:PATH
  $removeIndex = (IndexOf-EnvPath $paths $pathToUninstall)
  if ($removeIndex -ge 0) {
    $paths = [System.Collections.ArrayList] $paths
    $paths.RemoveAt($removeIndex)
    $env:Path = Format-EnvPathList $paths
  }
}

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.

Version Downloads Last Updated Status
GStreamer (Development Files) 1.16.2 1427 Friday, June 26, 2020 Approved

Discussion for the GStreamer (Development) Package

Ground Rules:

  • This discussion is only about GStreamer (Development) and the GStreamer (Development) 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 GStreamer (Development), 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