From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sNfIMUmRF2UqigAAG6o9tA:P1 (envelope-from ) for ; Sat, 30 Sep 2023 05:08:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sNfIMUmRF2UqigAAG6o9tA (envelope-from ) for ; Sat, 30 Sep 2023 05:08:57 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AFCDB43869 for ; Sat, 30 Sep 2023 05:08:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MriU9Icf; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696043337; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Bgpz+r/231dE8QvYZDOOxvf9xozOCOYwcjv/twGtei4=; b=XqxpMcJ/gHnHUL6qiW6kBB35PPaUlWTD/pbw5DcBGlibi0PW0jhEvYe9eAzVFEkwu4tzad nPbVdg4GnlayY1fomMl2zhPH5BdDhWTOrwyJMyrGYNn7pW7QtFBsT/wrN/Qiiov+3wGwH3 PuN6eNnh8BjzdTejRxmVno5XBTw3OM4D/tycUqT0NxWeNAghsjeHnaNvUdlyTxXIngVDBb 0bSKDGc9Co1rbXD/f8k1kNJhy6wfC54XB0HT2eRc/YtHqOr0aveks8vVWf934rWA8HCDgo 2TBboKUSS+R9GK7o19FaUaWdrNvL2qosngLKtRvGgp/GypX54gLykniZhGbovw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696043337; a=rsa-sha256; cv=none; b=EfDVNBeAVYeJedgpZ1ZmiJGLk2YSUiQXyyc4h6cyqqBw5UyuKS9w5s6GM19oFu/tBEkIvR 2gKjI2sRsQ2PXZb/B1+qo9tl1M5Eg9pm7GX4MwMmRxqltAPbIbSBHMmxViLwTnBVZvp8d2 bE8bvZ+WsNf6xpjlwwIQ9JDBN3tNGLhWF2NLpNVP5AuQMkBySXTWjh3lGaa7gQP5OMkF8R uGuebFNGN5+nMtOex0H/absT8sDpAS8GQWvmfKfVsK8TEg9oeWcSqZS/CBuOhVVp4geltF fikqMOcEgXJmijnS6B9533PDpezYlRVUPK2wRDuMauSFXvRQpke18g5BNBOpjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MriU9Icf; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmQLY-0000x2-MI; Fri, 29 Sep 2023 23:08:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmQLX-0000qx-LN for guix-patches@gnu.org; Fri, 29 Sep 2023 23:08:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qmQLW-0007Tr-VB for guix-patches@gnu.org; Fri, 29 Sep 2023 23:08:46 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmQLm-0003vT-27 for guix-patches@gnu.org; Fri, 29 Sep 2023 23:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66271] [PATCH 1/2] gnu: Add ffmpeg-progress-yield. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Sep 2023 03:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66271 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66271@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 66271-submit@debbugs.gnu.org id=B66271.169604334015084 (code B ref 66271); Sat, 30 Sep 2023 03:09:02 +0000 Received: (at 66271) by debbugs.gnu.org; 30 Sep 2023 03:09:00 +0000 Received: from localhost ([127.0.0.1]:57502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmQLk-0003vB-6v for submit@debbugs.gnu.org; Fri, 29 Sep 2023 23:09:00 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmQLi-0003uv-59 for 66271@debbugs.gnu.org; Fri, 29 Sep 2023 23:08:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6232C240101 for <66271@debbugs.gnu.org>; Sat, 30 Sep 2023 05:08:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696043317; bh=oDbWOzYJqZtRoWQBes7KD04qE7ynRJqpRrAMf/+WRRA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=MriU9IcfeCXtakKQ6nzhXdroHV92ZEQBh49ND+VAlT3adh4My7vfQUpQl/nZh7j7o 6k6GQGtgir2/QFj5ooAY+yo8pPHnpJcfZUV7JWC73ZdwT5rixn4n9nfgGh1DzQJ3DV TM/jc1qrEChz7p5dKR8VoTUdnIcO7BCxesHSnL1JRJ1mF1ATtea5GxR5yEn4iMx23s 7NkhlgNzCcF5takOWRvls8Iee8UGLVfzVBERDt5gD8HpknQCRWO0sBLjfhKrCyZmYr GQnlyRDZnptrGWeHXXvcFxPRk40HasMMETwVplVo2edamaQWFYlxSEDqx69luGThEx 1LC6TA1TaNzag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RyBxc0YH0z9rxB; Sat, 30 Sep 2023 05:08:35 +0200 (CEST) From: Vinicius Monego Date: Sat, 30 Sep 2023 03:08:22 +0000 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -3.84 X-Spam-Score: -3.84 X-Migadu-Queue-Id: AFCDB43869 X-TUID: ifapgHPkkuMw * gnu/packages/video.scm (ffmpeg-progress-yield): New variable. --- gnu/packages/video.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 5375424ce6..a707541b68 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1940,6 +1940,39 @@ (define-public ffmpegthumbnailer videoformats depend on the configuration flags of ffmpeg.") (license license:gpl2+))) +(define-public ffmpeg-progress-yield + (package + (name "ffmpeg-progress-yield") + (version "0.7.8") + (source (origin + (method url-fetch) + (uri (pypi-uri "ffmpeg-progress-yield" version)) + (sha256 + (base32 + "07j6m8p8z8ybl75h0d4xzjl1pvkfzr0i73siysqcgrrahdgsxrls")))) + (build-system pyproject-build-system) + (arguments + ;; Not sure if the test file actually does anything. + (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "test/test.py")))) + (add-after 'wrap 'wrap-program + ;; Wrap ffmpeg on the executable. + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((fpy "bin/ffmpeg-progress-yield") + (ffm "bin/ffmpeg")) + (wrap-program (search-input-file outputs fpy) + `("PATH" ":" prefix + (,(search-input-file inputs ffm)))))))))) + (inputs (list bash-minimal ffmpeg)) + (home-page "https://github.com/slhck/ffmpeg-progress-yield") + (synopsis "Run an ffmpeg command with progress") + (description "This package allows an ffmpeg command to run with progress. +It is usually a complement to @code{ffmpeg-normalize}.") + (license license:expat))) + (define-public vlc (package (name "vlc") -- 2.39.2