tis-handbrake icon

HandBrake

Paquet d’installation silencieuse pour HandBrake

1.10.0-1

  • package: tis-handbrake
  • name: HandBrake
  • version: 1.10.0-1
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Alexandre Gauvrit,Clément BAZIRET
  • editor: Rodney Hester
  • licence: opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: HandBrake
  • architecture: x64
  • signature_date:
  • size: 24.30 Mo
  • installed_size: 105.68 Mo
  • homepage : https://handbrake.fr/
  • depends:

package           : tis-handbrake
version           : 1.10.0-1
architecture      : x64
section           : base
priority          : optional
name              : HandBrake
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Alexandre Gauvrit,Clément BAZIRET
description       : HandBrake is a tool to convert video from almost any format to a selection of modern and widely supported codecs.
depends           : tis-dotnet6
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/HandBrake/HandBrake/releases
installed_size    : 105677524
impacted_process  : HandBrake
description_fr    : HandBrake est un outil pour convertir la vidéo de presque n'importe quel format à une sélection de codecs modernes et largement pris en charge.
description_pl    : HandBrake to narzędzie do konwersji wideo z niemal dowolnego formatu do wybranych nowoczesnych i szeroko obsługiwanych kodeków
description_de    : HandBrake ist ein Werkzeug zur Konvertierung von Videos aus nahezu jedem Format in eine Auswahl moderner und weithin unterstützter Codecs
description_es    : HandBrake es una herramienta para convertir vídeo de casi cualquier formato a una selección de códecs modernos y ampliamente soportados
description_pt    : O HandBrake é uma ferramenta para converter vídeo de quase qualquer formato para uma selecção de codecs modernos e amplamente suportados
description_it    : HandBrake è uno strumento per convertire video da quasi tutti i formati in una selezione di codec moderni e ampiamente supportati
description_nl    : HandBrake is een hulpmiddel om video van vrijwel elk formaat te converteren naar een selectie van moderne en breed ondersteunde codecs
description_ru    : HandBrake - это инструмент для преобразования видео практически из любого формата в набор современных и широко поддерживаемых кодеков
audit_schedule    : 
editor            : Rodney Hester
keywords          : handbrake,tool,video
licence           : opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
homepage          : https://handbrake.fr/
package_uuid      : 02068241-2ffb-43e4-ab85-c0f0738cb735
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : d46944b977198f5333feedd3bea127928607e7e886e53b01251284450e6a8385
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-14T13:00:22.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : NDvvpJCmWdobii3UUG/TKYkh3EY1Rnok+G/Wws8dCHdNB5WyWWjXRUAwngZfQzs4HT/Bpfvn7KPtK7HYYDT4CL/VayckOZYLIGUe0XKlPvM/Y0O2471H6IJcMTEco9EWOe+BU7hpKj6yGIqLB4fMn2pO3HRsQjUVrYsvFOxXhTDNdnfZRPgtFWuUgnOOvlw9zj4Pt+Hd8Qbk8M+8GxdpUTC/GPDBJHsxamKcj2li6Osd3aTE5yc142vlnCWTHkHMa1ZwNr3AOc97m1MzrbdtJyxlGpeqq4rt0R2Dsn+h8NCq6D00gMcjE5M/SA0UHAvhS3WUIvwhscRDVvgODO6v8Q==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("HandBrake-*-x86_64-Win_GUI.exe")[0]

    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="HandBrake",
        min_version=control.get_software_version(),
    )

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/HandBrake/HandBrake/releases/latest"
    bin_contains = "-x86_64-Win_GUI.exe"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("v", "").replace(".windows", "")
    for to_download in json_load["assets"]:
        if bin_contains in to_download["name"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Checking version from file
    # if get_os_name() == "Windows" and "windows" in control.target_os.lower():
    #     version_from_file = get_version_from_binary(latest_bin)
    #     if Version(version_from_file, 4) == Version(version, 4):
    #         print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
    #     else:
    #         error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

6996b406cc4a15fa9754cf04704a6a230034a74c727f2419f3976b39a5552f93 : HandBrake-1.10.0-x86_64-Win_GUI.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
abdd9c42b86b4c26d70d7546628dcfc02fdd6c18f9f60977174e6e16cb65bd5f : WAPT/control
d46944b977198f5333feedd3bea127928607e7e886e53b01251284450e6a8385 : WAPT/icon.png
67d1bfdeeade4c0e9fe526415fcba2662dabb768a1b1fbeff2752a61989c9b22 : luti.json
e7b5fa088ef9ab365dc24c302c3db472135bd3696004e14448a0beca6738762e : setup.py
56933560cc2371b847c65e5111b08f645268850812e4b1b3bb474a9e9851d494 : update_package.py