Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

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

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
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

Downloads:

49,501

Downloads of v 4.0.5:

480

Last Update:

13 Apr 2024

Package Maintainer(s):

Software Author(s):

  • Nikolaj Lynge Olsson

Tags:

subtitleedit admin subtitle editor video ocr sync merge split convert

Subtitle Edit

  • 1
  • 2
  • 3

4.0.5 | Updated: 13 Apr 2024

Downloads:

49,501

Downloads of v 4.0.5:

480

Maintainer(s):

Software Author(s):

  • Nikolaj Lynge Olsson

Subtitle Edit 4.0.5

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Dependency .NET 4.7.2 requires reboot

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Subtitle Edit, run the following command from the command line or from PowerShell:

>

To upgrade Subtitle Edit, run the following command from the command line or from PowerShell:

>

To uninstall Subtitle Edit, 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 subtitleedit -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 subtitleedit -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 subtitleedit
  win_chocolatey:
    name: subtitleedit
    version: '4.0.5'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'subtitleedit' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '4.0.5'
end

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


cChocoPackageInstaller subtitleedit
{
    Name     = "subtitleedit"
    Version  = "4.0.5"
    Source   = "INTERNAL REPO URL"
}

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


package { 'subtitleedit':
  ensure   => '4.0.5',
  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.

Package Approved

This package was approved as a trusted package on 13 Apr 2024.

Description

With SE you can easily adjust a subtitle if it is out of sync with the video in several different ways. You can also use SE for making new subtitles from scratch (do use the time-line/waveform/spectrogram) or translating subtitles.

Package parameters

  • /NoDesktopIcon - Don't add a desktop icon.
  • /NoQuicklaunchIcon - Don't add an icon to the QuickLaunch area.
  • /NoSetFileTypes - Associate common subtitle files with Subtitle Edit.
  • /ResetDictionaries - Reset Dictionaries and delete any custom names.
  • /ResetSettings - Reset Subtitle Edit's settings.

Example: choco install subtitleedit --params "/NoDesktopIcon /NoSetFileTypes"


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition

$packageCacheLocation = Get-PackageCacheLocation
. $toolsDir\helpers.ps1

# *** Automatically filled ***
$packageArgs = @{
    packageName   = 'subtitleedit'
    url           = 'https://github.com/SubtitleEdit/subtitleedit/releases/download/4.0.5/SubtitleEdit-4.0.5-Setup.zip'
    unzipLocation = $packageCacheLocation
    checksum      = '7bb3ea2582d2a1d0d5aa4c22ca016802d320565c1e2fe15a28ca80e6476ba56d'
    checksumType  = 'sha256'
}
# *** Automatically filled ***

Install-ChocolateyZipPackage @packageArgs

# *** Automatically filled ***
$packageArgs = @{
    packageName    = 'subtitleedit'
    softwareName   = 'Subtitle Edit*'
    fileType       = 'exe'
    silentArgs     = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
    validExitCodes = @(0)
}
# *** Automatically filled ***

$file = "$packageCacheLocation\*.{0}" -f $packageArgs.fileType | Get-Item | ForEach-Object FullName
if (!$file) {
    throw "Invalid zip file: installer is missing."
}
if ($file -is [array]) {
    throw "Invalid zip file: multiple installers found."
}

$pp = Get-PackageParameters
$mergeTasks = Get-MergeTasks $pp
$packageArgs.silentArgs += ' /MERGETASKS="{0}"' -f $mergeTasks

Install-ChocolateyInstallPackage @packageArgs -File $file

$logPath = Join-Path $toolsDir '*.zip.txt'
Remove-Item $logPath -Force -ErrorAction SilentlyContinue
Remove-Item $packageCacheLocation -Recurse -Force -ErrorAction SilentlyContinue
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

# *** Automatically filled ***
$packageName    = 'subtitleedit'
$softwareName   = 'Subtitle Edit*'
$fileType       = 'exe'
$silentArgs     = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
$validExitCodes = @(0)
# *** Automatically filled ***

[array] $key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -eq 1) {
    function Get-File ([string] $path) {
        # Remove quotes and trailing arguments if any
        if (!$path) { return }
        if (Test-Path $path) { return $path }
        function Split-CommandLine ([string] $path) { $path }
        $path = Invoke-Expression "Split-CommandLine $path"
        if (Test-Path $path) { return $path }
    }
    $key | ForEach-Object {
        $file = Get-File $_.UninstallString
        if ($file) {
            Uninstall-ChocolateyPackage -PackageName $packageName `
                                        -FileType $fileType `
                                        -SilentArgs $silentArgs `
                                        -ValidExitCodes $validExitCodes `
                                        -File $file | Out-Null
        } else {
            Write-Warning "Unknown uninstaller: $($_.UninstallString)"
        }
    }
} elseif ($key.Count -eq 0) {
    Write-Warning "$packageName has already been uninstalled by other means."
} else {
    Write-Warning "$($key.Count) matches found for $packageName!"
    Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
    Write-Warning "Please contact package maintainer the following keys were matched:"
    $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
tools\helpers.ps1
function Get-MergeTasks([hashtable] $pp) {
    $tasks = @()
    $tasks += '!'* $pp.NoDesktopIcon     + 'desktopicon'
    $tasks += '!'* $pp.NoDesktopIcon     + 'desktopicon\user'
    $tasks += '!'* $pp.NoDesktopIcon     + 'desktopicon\common'
    $tasks += '!'* $pp.NoQuicklaunchIcon + 'quicklaunchicon'
    $tasks += '!'* $pp.NoSetFileTypes    + 'associate_common'
    $tasks += '!'*!$pp.ResetDictionaries + 'reset_dictionaries'
    $tasks += '!'*!$pp.ResetSettings     + 'reset_settings'

    Write-Host "Merge Tasks: $tasks"
    return $tasks -join ','
}

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
Subtitle Edit 4.0.4 924 Sunday, March 17, 2024 Approved
Subtitle Edit 4.0.3 1406 Saturday, December 23, 2023 Approved
Subtitle Edit 4.0.2 1002 Sunday, November 19, 2023 Approved
Subtitle Edit 4.0.1 1303 Saturday, September 16, 2023 Approved
Subtitle Edit 4.0.0 680 Monday, September 4, 2023 Approved
Subtitle Edit 3.6.13.20230622 1449 Thursday, June 22, 2023 Approved
Subtitle Edit 3.6.13 1026 Sunday, May 14, 2023 Approved
Subtitle Edit 3.6.12 1084 Sunday, March 26, 2023 Approved
Subtitle Edit 3.6.11.20230215 989 Wednesday, February 15, 2023 Approved
Subtitle Edit 3.6.11.20230214 213 Tuesday, February 14, 2023 Approved
Subtitle Edit 3.6.11.20230204 631 Saturday, February 4, 2023 Approved
Subtitle Edit 3.6.11 1328 Monday, January 30, 2023 Approved
Subtitle Edit 3.6.10 1234 Tuesday, November 22, 2022 Approved
Subtitle Edit 3.6.9 273 Monday, November 21, 2022 Approved
Subtitle Edit 3.6.8 953 Monday, October 24, 2022 Approved
Subtitle Edit 3.6.7 1304 Saturday, August 13, 2022 Approved
Subtitle Edit 3.6.6 1272 Thursday, May 26, 2022 Approved
Subtitle Edit 3.6.5 1170 Saturday, March 19, 2022 Approved
Subtitle Edit 3.6.4 1438 Friday, December 3, 2021 Approved
Subtitle Edit 3.6.3 849 Thursday, November 11, 2021 Approved
Subtitle Edit 3.6.2 1327 Tuesday, August 24, 2021 Approved
Subtitle Edit 3.6.1 1515 Thursday, May 20, 2021 Approved
Subtitle Edit 3.6.0.20210219 1139 Monday, February 22, 2021 Approved
Subtitle Edit 3.5.18 1219 Tuesday, November 10, 2020 Approved
Subtitle Edit 3.5.17 752 Tuesday, October 6, 2020 Approved
Subtitle Edit 3.5.16 1284 Tuesday, June 16, 2020 Approved
Subtitle Edit 3.5.15 808 Friday, May 1, 2020 Approved
Subtitle Edit 3.5.14.20200310 820 Tuesday, March 10, 2020 Approved
Subtitle Edit 3.5.14 290 Sunday, March 8, 2020 Approved
Subtitle Edit 3.5.13 748 Monday, January 20, 2020 Approved
Subtitle Edit 3.5.12 138 Sunday, January 19, 2020 Approved
Subtitle Edit 3.5.11 826 Sunday, October 27, 2019 Approved
Subtitle Edit 3.5.10 737 Sunday, August 18, 2019 Approved
Subtitle Edit 3.5.9 958 Sunday, February 10, 2019 Approved
Subtitle Edit 3.5.8 593 Thursday, December 20, 2018 Approved
Subtitle Edit 3.5.7 661 Saturday, September 8, 2018 Approved
Subtitle Edit 3.5.6 895 Tuesday, February 27, 2018 Approved
Subtitle Edit 3.5.5 536 Saturday, January 27, 2018 Approved
Subtitle Edit 3.5.4 747 Monday, October 2, 2017 Approved
Subtitle Edit 3.5.3 722 Friday, May 12, 2017 Approved
Subtitle Edit 3.5.2 662 Friday, March 3, 2017 Approved
Subtitle Edit 3.5.1 659 Wednesday, December 14, 2016 Approved
Subtitle Edit 3.5.0 423 Monday, December 12, 2016 Approved
Subtitle Edit 3.4.13 627 Saturday, June 25, 2016 Approved
Subtitle Edit 3.4.12 501 Monday, March 21, 2016 Approved
Subtitle Edit 3.4.11 535 Saturday, February 6, 2016 Approved
Subtitle Edit 3.4.10 472 Thursday, October 15, 2015 Approved
Subtitle Edit 3.4.8 438 Tuesday, August 4, 2015 Approved
Subtitle Edit 3.4.7 428 Saturday, July 25, 2015 Approved
Subtitle Edit 3.4.6 457 Saturday, April 11, 2015 Approved
Subtitle Edit 3.4.4 761 Sunday, November 30, 2014 Approved
Subtitle Edit 3.4.3 594 Saturday, October 11, 2014 Approved
Subtitle Edit 3.4.2 556 Monday, September 8, 2014 Approved
Subtitle Edit 3.4.1 517 Saturday, August 9, 2014 Approved
Subtitle Edit 3.4.0 468 Tuesday, July 15, 2014 Approved
Subtitle Edit 3.3.15 527 Sunday, April 13, 2014 Approved
Subtitle Edit 3.3.14 517 Wednesday, February 26, 2014 Approved
Subtitle Edit 3.3.13 463 Tuesday, February 18, 2014 Approved
Subtitle Edit 3.3.12 473 Sunday, January 12, 2014 Approved
Subtitle Edit 3.3.11 487 Wednesday, January 8, 2014 Approved
Subtitle Edit 3.3.9 547 Saturday, November 9, 2013 Approved
Subtitle Edit 3.3.7 563 Saturday, August 24, 2013 Approved
Discussion for the Subtitle Edit Package

Ground Rules:

  • This discussion is only about Subtitle Edit and the Subtitle Edit 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 Subtitle Edit, 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