From unknown Thu Aug 14 21:51:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43418 <43418@debbugs.gnu.org> To: bug#43418 <43418@debbugs.gnu.org> Subject: Status: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly Reply-To: bug#43418 <43418@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:51:41 +0000 retitle 43418 ffprobe/avprobe and ffmpeg/avconv should be added as dependen= cies of youtube-dl so it will function correctly reassign 43418 guix submitter 43418 Nathan Dehnel severity 43418 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 07:28:11 2020 Received: (at submit) by debbugs.gnu.org; 15 Sep 2020 11:28:11 +0000 Received: from localhost ([127.0.0.1]:57368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kI987-0006eV-61 for submit@debbugs.gnu.org; Tue, 15 Sep 2020 07:28:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:35876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kI984-0006eN-K6 for submit@debbugs.gnu.org; Tue, 15 Sep 2020 07:28:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kI984-0005HF-Cw for bug-guix@gnu.org; Tue, 15 Sep 2020 07:28:08 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:42187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kI982-0001Qi-Nn for bug-guix@gnu.org; Tue, 15 Sep 2020 07:28:08 -0400 Received: by mail-wr1-x42e.google.com with SMTP id c18so2882885wrm.9 for ; Tue, 15 Sep 2020 04:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=MbuT8EmezB5ZramMPyf8Yv5kIoNqq375rgDpX0g6Xrg=; b=kCoNMXTWIJD0gHj37POKZWYDgUEc9YpKF3K4DWMnI2F/zGn4a0bO8SCKEgB8cILoXa NxDpSgpSsql9ziDaV8xg3nh0Tw/8OB4LZeY3kzOrQPkvM9mSfFs/r6ZZw+F3JMzw272+ 7IQVcUvOT+doUA8HFbVLPwFE83w/dBeEtkcYK2MmM80Ew5HHOgsy60QBnbp/D2kWDsHp +o4cZ2+v/OrvFxBJ4svghmryNpKvTqd6KXG6fa4nZFIPpvPFE59sid5DFqqCod6gBuHg CaLmX7wKlKBQIm7gp++aTUsWbqdQwt879uTG8qeAwLeUb53ymMX8n3PZvOi/Rs6sZ+13 7MxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MbuT8EmezB5ZramMPyf8Yv5kIoNqq375rgDpX0g6Xrg=; b=OYR141SgGPFvm1WDIhaxYZ+iBK21wQv1q6ZTZ9Lj+R0oE6vcBdxWtFJRHLXfgBfOJ9 +R+mnNqo3rPC3fjgyEeGM1vYCSO8X0Mz+83rd1Qg9wrS69jCrwyxd8Jy017tmn514nrg psirJkF0EhM2dpuQQjUGcZ1j05mrbRntqfarIcFJsFaCs2X8ZuBCsYSciEjydp2GJVPF nuRRp02xOpdOcBUcONfYAK+d2WcBTWr/ppYDcR1VgzRRndy0QR+QPwtnt4CcwwD6egio TdL/Ed/Iwpuj1Fnz5rwwZT85ob7yqHUcMtZiKea3SpQIgJ/rAXK+FsUM2SLH1fJJyRKy Novw== X-Gm-Message-State: AOAM531pAVeu8JZyaZUd+OrpfbPb1EijNGWzZzga8xIzqckWe0SYfbK0 /tltXVhYBGs+G6Vu0pM/HUr6TsypUSi+FCewr+ZIOTVk134= X-Google-Smtp-Source: ABdhPJx9Aw2fZ4gSr3HQo7c1mfNGAkW2M6gITCEFPGA/eEcyWjVrZCRUxHM8ChkufLQfsRVdVukDWlLtv2BHdlwb3oI= X-Received: by 2002:adf:fcc7:: with SMTP id f7mr20778635wrs.274.1600169284109; Tue, 15 Sep 2020 04:28:04 -0700 (PDT) MIME-Version: 1.0 From: Nathan Dehnel Date: Tue, 15 Sep 2020 06:27:56 -0500 Message-ID: Subject: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly To: bug-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=ncdehnel@gmail.com; helo=mail-wr1-x42e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) bash-5.0$ youtube-dl -x https://www.youtube.com/watch?v=7Ijd_iN9Blk [youtube] 7Ijd_iN9Blk: Downloading webpage [download] Deadmau5 - Hit Save-7Ijd_iN9Blk.webm has already been downloaded [download] 100% of 15.45MiB ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 08:07:38 2020 Received: (at submit) by debbugs.gnu.org; 15 Sep 2020 12:07:38 +0000 Received: from localhost ([127.0.0.1]:57482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kI9kI-0001Pk-GO for submit@debbugs.gnu.org; Tue, 15 Sep 2020 08:07:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:46928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kI9kE-0001Pa-8d for submit@debbugs.gnu.org; Tue, 15 Sep 2020 08:07:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kI9kE-00019f-2o for bug-guix@gnu.org; Tue, 15 Sep 2020 08:07:34 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:48476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kI9kB-0007Bd-Ke for bug-guix@gnu.org; Tue, 15 Sep 2020 08:07:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=6UXyWdaFD1MGpd2KUHshOfaPPhkoLbcyfZaKeep/ox0=; h=date:in-reply-to: references:subject:cc:to:from; b=J8GaZUazAA2VTfrcaHDqumIOxlRTH6uBPWVId l+y7XpfqsALY1KHTwVInMl2B+PIu4JFBHpDV5ZfaJY/NhXvmAHzJ63TS05rH2BL1yAcPuj Jsg9D3s8ocoSpK0tssHlxztumCf09J5DPXF4wj3DIukQh8zRBthXYy25vaTaUDma/nOHVt XwJkSQZnf2sY4+ew5aBvvU2sBu89/2cRDjWjCVqGbqfB+52VHQn1dCkMxbfK8eqFsY8ZMm /5TcDwCNrGamlrN5crQZ6jo6L+CGy5mr5l3BVxkBC6nCDyxY7cpEH18KYsrtEuRGJsT0QH IwRwuc9u5SDxtROLaW2bcgsnw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ed26962f (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Tue, 15 Sep 2020 12:07:28 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Nathan Dehnel Subject: Re: bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly References: In-reply-to: Date: Tue, 15 Sep 2020 14:06:11 +0200 Message-ID: <87bli7s0r0.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 43418@debbugs.gnu.org, bug-guix@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Nathan, Nathan Dehnel =E5=86=99=E9=81=93=EF=BC=9A > bash-5.0$ youtube-dl -x=20 > https://www.youtube.com/watch?v=3D7Ijd_iN9Blk > [youtube] 7Ijd_iN9Blk: Downloading webpage > [download] Deadmau5 - Hit Save-7Ijd_iN9Blk.webm has already been=20 > downloaded > [download] 100% of 15.45MiB > ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please=20 > install one. It works fine without =E2=80=98-x=E2=80=99: =CE=BB youtube-dl https://www.youtube.com/watch?v=3D7Ijd_iN9Blk [youtube] 7Ijd_iN9Blk: Downloading webpage [download] Destination: Deadmau5 - Hit Save-7Ijd_iN9Blk.mp4 [download] 100% of 37.09MiB in 00:02 This *is* functioning correctly in my view: that advanced options=20 optionally require run-time dependencies is not a bug but a=20 feature. The programme clearly explains which package could be=20 installed to continue, and the user can chose which one they=20 prefer - including neither, which suffices for the majority of=20 youtube-dling. Matters would be different if the error message were less clear,=20 or perhaps if ffmpeg weren't so insanely great: =CE=BB guix size youtube-dl | tail -n1 total: 186.9 MiB =CE=BB guix size youtube-dl ffmpeg | tail -n1 total: 811.2 MiB (!) Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX2CuMw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15Z6QA/1Ia1UABr4VP+trQdAXyxebJhnFckMRa9ARwO2Dm +gFuAP4m6U+AqKtl0sezgJlNLjw7p+ZujyIzmkNWlO8sSG2eCQ== =4m3B -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 15:44:23 2020 Received: (at submit) by debbugs.gnu.org; 15 Sep 2020 19:44:23 +0000 Received: from localhost ([127.0.0.1]:60625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIGsJ-0001TQ-Hj for submit@debbugs.gnu.org; Tue, 15 Sep 2020 15:44:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:36692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIGsG-0001TH-Lu for submit@debbugs.gnu.org; Tue, 15 Sep 2020 15:44:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIGsG-0001BT-Ei for bug-guix@gnu.org; Tue, 15 Sep 2020 15:44:20 -0400 Received: from mx1.riseup.net ([198.252.153.129]:55120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIGsE-0005lC-ON for bug-guix@gnu.org; Tue, 15 Sep 2020 15:44:20 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4BrYZn2dFCzFdvP; Tue, 15 Sep 2020 12:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1600199057; bh=k9g75gYdpxWENTLHZ+5EkVIZGPcYBf1dXveJOsRxwZI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=kCUtrXPqAyJVt1yFTWHej8iFRjpuOcDBGDLv22JMXza4CIY5Z9sHjwcgQIcjLHf9i o8c7W3adZX6s73ngSUrgN4gMmH4ChXQZZl5u8CCcA5LbiaY7sTRhHJonKdyIWWE/gu hMPCW4nEve0vC2XU74cIQEtmlzFbUUQcfx6zaELA= X-Riseup-User-ID: 6C1F6956E1F33215228FCCA1A7723A0A0996D9C553E46F7BF2215B88F2AFA898 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4BrYZj1DB4zJnpy; Tue, 15 Sep 2020 12:44:12 -0700 (PDT) Date: Tue, 15 Sep 2020 21:34:36 +0200 From: raingloom To: Tobias Geerinckx-Rice via Bug reports for GNU Guix Subject: Re: bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly Message-ID: <20200915213436.1577fed3@riseup.net> In-Reply-To: <87bli7s0r0.fsf@nckx> References: <87bli7s0r0.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/15 15:43:58 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Nathan Dehnel , 43418@debbugs.gnu.org, Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On Tue, 15 Sep 2020 14:06:11 +0200 Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote: > Hi Nathan, >=20 > Nathan Dehnel =E5=86=99=E9=81=93=EF=BC=9A > > bash-5.0$ youtube-dl -x=20 > > https://www.youtube.com/watch?v=3D7Ijd_iN9Blk > > [youtube] 7Ijd_iN9Blk: Downloading webpage > > [download] Deadmau5 - Hit Save-7Ijd_iN9Blk.webm has already been=20 > > downloaded > > [download] 100% of 15.45MiB > > ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please=20 > > install one. =20 >=20 > It works fine without =E2=80=98-x=E2=80=99: >=20 > =CE=BB youtube-dl https://www.youtube.com/watch?v=3D7Ijd_iN9Blk > [youtube] 7Ijd_iN9Blk: Downloading webpage > [download] Destination: Deadmau5 - Hit Save-7Ijd_iN9Blk.mp4 > [download] 100% of 37.09MiB in 00:02 >=20 > This *is* functioning correctly in my view: that advanced options=20 > optionally require run-time dependencies is not a bug but a=20 > feature. The programme clearly explains which package could be=20 > installed to continue, and the user can chose which one they=20 > prefer - including neither, which suffices for the majority of=20 > youtube-dling. >=20 > Matters would be different if the error message were less clear,=20 > or perhaps if ffmpeg weren't so insanely great: >=20 > =CE=BB guix size youtube-dl | tail -n1 > total: 186.9 MiB > =CE=BB guix size youtube-dl ffmpeg | tail -n1 > total: 811.2 MiB >=20 > (!) >=20 > Kind regards, >=20 > T G-R Maybe it's time we added an "optional dependencies" field? There seems to be a bug report or help request like every week that just boils down to "this package has an undocumented dependency". From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 19:17:27 2020 Received: (at submit) by debbugs.gnu.org; 15 Sep 2020 23:17:27 +0000 Received: from localhost ([127.0.0.1]:60884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIKCV-0000JL-8G for submit@debbugs.gnu.org; Tue, 15 Sep 2020 19:17:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:48840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIKCT-0000JD-N1 for submit@debbugs.gnu.org; Tue, 15 Sep 2020 19:17:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIKCS-0002xb-9z for bug-guix@gnu.org; Tue, 15 Sep 2020 19:17:24 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:53761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIKCM-0006yC-EA for bug-guix@gnu.org; Tue, 15 Sep 2020 19:17:23 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id CE9645C0108; Tue, 15 Sep 2020 19:17:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 15 Sep 2020 19:17:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=v9WEK3vhuduE/3uTijFsvLyPiPACLXw9TzrxJpNjAYU=; b=he/FmAr8CFqH oo18LErskqTYHxxhJZZmLJmguuANom7lx4I30R6LY0wAUSVRO/vhEc2zytDkm6Aw QK9k3qnnTON1/N/xpmH8TJt5r50Ebm2hEei/+diPO2S4sGw2+hR4b2f1R7tNVp2a sdqyseTBGQbIP9IkFiMhx2JvSkaKs0U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=v9WEK3vhuduE/3uTijFsvLyPiPACLXw9TzrxJpNjA YU=; b=iTtbJ5cb6kdr2kxMwi3DKOha9+WUe3IYTsF51DaB8E2wqE+PxyPi7/L7+ 5HQaUdsP6bjCmaqBA8ZgRs//L6OXlYNDV/jel8hKCeKDhfTy2x9bCKe1NysDKpLU ZcGFvyYp8c8HWvzyhl2buHnq3+jAiX6JG9E7+nHQdIQamyeBn2rH0xRPSb1ybmqo R3C5po+BZ7VnnrK86+XDH4aYs7I0ph2KEYSpqWGeOk2WxT2o06bnZIHzAnEl6UR2 B4O2pU18Gv5tMT8hWFnkTnvgNkubUojfKbT58/aovXBope937DXT2oKqkWXZlcGq ndZ4K517USGTh+QSYfCai7PDdKsEw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtddugdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeegjeeggeehtddugfffuddtvdfffeffjeekffffveffheegvddvuedtffekjeej jeenucfkphepjeefrddugedurdduvdejrddugeeinecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 633703280059; Tue, 15 Sep 2020 19:17:16 -0400 (EDT) Date: Tue, 15 Sep 2020 19:17:06 -0400 From: Leo Famulari To: Tobias Geerinckx-Rice via Bug reports for GNU Guix Subject: Re: bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly Message-ID: <20200915231706.GB20807@jasmine.lan> References: <87bli7s0r0.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87bli7s0r0.fsf@nckx> Received-SPF: pass client-ip=66.111.4.26; envelope-from=leo@famulari.name; helo=out2-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/15 19:06:40 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Nathan Dehnel , 43418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On Tue, Sep 15, 2020 at 02:06:11PM +0200, Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote: > Matters would be different if the error message were less clear, or perhaps > if ffmpeg weren't so insanely great: > > λ guix size youtube-dl | tail -n1 > total: 186.9 MiB > λ guix size youtube-dl ffmpeg | tail -n1 > total: 811.2 MiB I wonder, should we expect FFmpeg to already be referenced by somebody's profile if they are using youtube-dl? VLC and mpv both depend on FFmpeg. The use case of "download video and watch it on another machine (or never watch it)" seems somewhat esoteric. On the other hand, youtube-dl has no explicit dependencies — I guess that everything it needs is from Python. That's beautiful, and I understand the reluctance to add a dependency, especially on a "kitchen sink" package like FFmpeg. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 19:52:54 2020 Received: (at submit) by debbugs.gnu.org; 15 Sep 2020 23:52:54 +0000 Received: from localhost ([127.0.0.1]:60917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIKko-00018S-GN for submit@debbugs.gnu.org; Tue, 15 Sep 2020 19:52:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:60108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIKkm-00018L-Na for submit@debbugs.gnu.org; Tue, 15 Sep 2020 19:52:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIKkm-0001j9-FS for bug-guix@gnu.org; Tue, 15 Sep 2020 19:52:52 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:36390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIKkk-0002yW-MV for bug-guix@gnu.org; Tue, 15 Sep 2020 19:52:52 -0400 Received: by mail-wr1-x42e.google.com with SMTP id z1so5039070wrt.3 for ; Tue, 15 Sep 2020 16:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RInRxFN0qry/YLZPMbPUGOYXPPaJAzJ6d8oEfj8Ijb8=; b=eRy5FCXEDd5OFNxktyjOIUFU8u5upauMSgTLWO/xisDE3bZZNVScge7s2Azfiqp3Wr vakQVNVjFC6RDdxU06Zb2/AINfIeAigD0eMm6ZReBK/2CkanCPg0quPQ3IKlpknEIbCU QzRaXI1dsi4inPMGOBl4WSY0ZUkNjVv/eWi2DRzXwDgd8R788Sna7lUySX2sPwZtR81M Ljb1auqyes59BHXAC4vxpvc8dmyePi3UtwDXNgbUaU1jLBVVX+FWBSsYz0kfN5ywB+nD phktRBADT8i53U6cfINLaIdkytHVYVyHorr/Wljt4LTNTsIrUcKE/hNg4QYOYYblfMfK LGlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=RInRxFN0qry/YLZPMbPUGOYXPPaJAzJ6d8oEfj8Ijb8=; b=gvREcnN7JOwO192MRQKgl0ND84BPOm/Qwl0bGNXV1z14cOakqLPakaxbmC2V9SNxAs pL4e4vftOOZYmZn+xIBh44sRlP741qzHbPA0v4r4/ETytuT3LnsCLCW2PkA4fqSbhT2M pWo4BuZK11JQV168f0WzJuBGiugfmL7YVxPS3gQlbXYTZDpXaaIBkwLUE2bXiMK8datP VghJTtl+/m0T+nZGbbzX81WSGmByDYu/aVDmEc7a0dBOJCMhbej/WlyPhJ3ek9uCoiXg snYi4QIuv5DTV2eX7cWpt+m3suBx20aQnLbloVvY7pfyD/GGdwHtjj12m0K+0JnDUJ5R BZ6Q== X-Gm-Message-State: AOAM532/m8UA1AkXt9VhX572CyXDQU2dMNAfkaQdRe5vt5DUqX4+lxH0 AWDy36Xcd/iR6FH7RjJBiSr/T594abGtioAV51o= X-Google-Smtp-Source: ABdhPJwhPWapvIjOM45MvZIy9hESiqiwpTgq5lM/YFZj245Dcy8jT3+KHMSFWced+2JMn5qdfIklXhP4uiQMkTlS85M= X-Received: by 2002:adf:fcc7:: with SMTP id f7mr23598621wrs.274.1600213969036; Tue, 15 Sep 2020 16:52:49 -0700 (PDT) MIME-Version: 1.0 References: <87bli7s0r0.fsf@nckx> <20200915213436.1577fed3@riseup.net> In-Reply-To: <20200915213436.1577fed3@riseup.net> From: Nathan Dehnel Date: Tue, 15 Sep 2020 18:52:38 -0500 Message-ID: Subject: Re: bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly To: raingloom Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=ncdehnel@gmail.com; helo=mail-wr1-x42e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: 43418@debbugs.gnu.org, Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Bug reports for GNU Guix X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Ludovic wanted to add useflags to guix. https://lists.gnu.org/archive/html/guix-devel/2019-05/msg00285.html I don't know what became of it. On Tue, Sep 15, 2020 at 2:44 PM raingloom wrote: > > On Tue, 15 Sep 2020 14:06:11 +0200 > Tobias Geerinckx-Rice via Bug reports for GNU Guix > wrote: > > > Hi Nathan, > > > > Nathan Dehnel =E5=86=99=E9=81=93=EF=BC=9A > > > bash-5.0$ youtube-dl -x > > > https://www.youtube.com/watch?v=3D7Ijd_iN9Blk > > > [youtube] 7Ijd_iN9Blk: Downloading webpage > > > [download] Deadmau5 - Hit Save-7Ijd_iN9Blk.webm has already been > > > downloaded > > > [download] 100% of 15.45MiB > > > ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please > > > install one. > > > > It works fine without =E2=80=98-x=E2=80=99: > > > > =CE=BB youtube-dl https://www.youtube.com/watch?v=3D7Ijd_iN9Blk > > [youtube] 7Ijd_iN9Blk: Downloading webpage > > [download] Destination: Deadmau5 - Hit Save-7Ijd_iN9Blk.mp4 > > [download] 100% of 37.09MiB in 00:02 > > > > This *is* functioning correctly in my view: that advanced options > > optionally require run-time dependencies is not a bug but a > > feature. The programme clearly explains which package could be > > installed to continue, and the user can chose which one they > > prefer - including neither, which suffices for the majority of > > youtube-dling. > > > > Matters would be different if the error message were less clear, > > or perhaps if ffmpeg weren't so insanely great: > > > > =CE=BB guix size youtube-dl | tail -n1 > > total: 186.9 MiB > > =CE=BB guix size youtube-dl ffmpeg | tail -n1 > > total: 811.2 MiB > > > > (!) > > > > Kind regards, > > > > T G-R > > Maybe it's time we added an "optional dependencies" field? > There seems to be a bug report or help request like every week that > just boils down to "this package has an undocumented dependency". From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 04:16:05 2020 Received: (at 43418) by debbugs.gnu.org; 16 Sep 2020 08:16:05 +0000 Received: from localhost ([127.0.0.1]:33137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kISbk-00059t-TT for submit@debbugs.gnu.org; Wed, 16 Sep 2020 04:16:05 -0400 Received: from world.peace.net ([64.112.178.59]:43786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kISbg-00058z-TP for 43418@debbugs.gnu.org; Wed, 16 Sep 2020 04:16:04 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kISba-0007hJ-J9; Wed, 16 Sep 2020 04:15:54 -0400 From: Mark H Weaver To: Leo Famulari , 43418@debbugs.gnu.org Subject: Re: bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly In-Reply-To: <20200915231706.GB20807@jasmine.lan> References: <87bli7s0r0.fsf@nckx> <20200915231706.GB20807@jasmine.lan> Date: Wed, 16 Sep 2020 04:14:36 -0400 Message-ID: <87mu1q9lyw.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43418 Cc: ncdehnel@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leo Famulari writes: > On Tue, Sep 15, 2020 at 02:06:11PM +0200, Tobias Geerinckx-Rice via Bug r= eports for GNU Guix wrote: >> Matters would be different if the error message were less clear, or perh= aps >> if ffmpeg weren't so insanely great: >>=20 >> =CE=BB guix size youtube-dl | tail -n1 >> total: 186.9 MiB >> =CE=BB guix size youtube-dl ffmpeg | tail -n1 >> total: 811.2 MiB > > I wonder, should we expect FFmpeg to already be referenced by somebody's > profile if they are using youtube-dl? VLC and mpv both depend on FFmpeg. > The use case of "download video and watch it on another machine (or > never watch it)" seems somewhat esoteric. I was just about to disagree with you, on the grounds that GStreamer, and in particular Totem (a.k.a. GNOME Videos) does not depend on FFmpeg. It is, in fact, possible to watch videos downloaded using 'youtube-dl', with only gst-plugins-{base,good} installed, provided that you request freedom-respecting formats like VP9 and Opus. How to request freedom-respecting formats? Unfortunately, the obvious "--prefer-free-formats" usually doesn't work in my experience, but you can run "youtube-dl -F " to see a list of available formats, and then something like "youtube-dl -f 247+251 " (for non-live youtube videos of sufficient resolution) to download VP9 and Opus and combine them into a file. However, in my recent experience, youtube usually provides the freedom-respecting formats only as separate audio and video streams which must be recombined by youtube-dl, and in that case the 'ffmpeg' command line tool seems to be required. So, ultimately I tend to agree with Leo that 'youtube-dl' is unlikely to be useful without 'ffmpeg', and therefore it might as well depend on it somehow. I see two possible approaches: ffmpeg could be added to youtube-dl's propagated-inputs, or it could be instead be added to 'inputs', and we could substitute hardcoded paths to 'ffmpeg' in the built 'youtube-dl'. I generally tend to favor the latter approach, but there are valid arguments for each approach and I don't feel strongly about it. What do you think? Mark From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 04:58:13 2020 Received: (at submit) by debbugs.gnu.org; 16 Sep 2020 08:58:13 +0000 Received: from localhost ([127.0.0.1]:33165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kITGW-00069q-Qx for submit@debbugs.gnu.org; Wed, 16 Sep 2020 04:58:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:59520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kITGU-00069h-4Z for submit@debbugs.gnu.org; Wed, 16 Sep 2020 04:58:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kITGT-0006JA-SK for bug-guix@gnu.org; Wed, 16 Sep 2020 04:58:09 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:56164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kITGQ-0001Iv-TB for bug-guix@gnu.org; Wed, 16 Sep 2020 04:58:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=hxLg3S/ux4ilDhpq/qzpNJKVqMHjXuFIJbQPzUZBllc=; h=date:in-reply-to: references:subject:cc:to:from; b=PvbZGUFKJ9zHrH6BRagtGeMdR7aWavsaUb95h iMOr+2CqR0zIPSiPrTaP0cguXlhN+dPOICGk7j5Kj45efOvGEDwHREaDbYInAczqUjxGEW O2gjKqiiQBQzqvEyDIbHWwO94NqNMyWZxIuTfTsG3GMo/VfzA3MQ7uAgSvFAN7du/4LMYO d14Jt/fEj8qZaeKmr2BfsCGDIfGNdhL6M5xEayMLiV/Tf7IkWQ8CqR2zdwyW0mPaXbcdPN 5kFqtA+HJEu9KAn49IheAiko4HmUqxkM3ub/0Y7DLMyyug6UdkLDE6dKrV7W6snglJ9Fkl 2MBCCkHGE6iycYc94aCEZ5GbQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id bbf33844 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Wed, 16 Sep 2020 08:58:03 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Mark H Weaver Subject: Re: bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly References: <87bli7s0r0.fsf@nckx> <20200915231706.GB20807@jasmine.lan> <87mu1q9lyw.fsf@netris.org> In-reply-to: <87mu1q9lyw.fsf@netris.org> Date: Wed, 16 Sep 2020 10:58:14 +0200 Message-ID: <875z8ertcp.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: ncdehnel@gmail.com, 43418@debbugs.gnu.org, bug-guix@gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Leo, Mark, Mark H Weaver =E5=86=99=E9=81=93=EF=BC=9A > Leo Famulari writes: > >> On Tue, Sep 15, 2020 at 02:06:11PM +0200, Tobias Geerinckx-Rice=20 >> via Bug reports for GNU Guix wrote: >>> Matters would be different if the error message were less=20 >>> clear, or perhaps >>> if ffmpeg weren't so insanely great: >>>=20 >>> =CE=BB guix size youtube-dl | tail -n1 >>> total: 186.9 MiB >>> =CE=BB guix size youtube-dl ffmpeg | tail -n1 >>> total: 811.2 MiB >> >> I wonder, should we expect FFmpeg to already be referenced by=20 >> somebody's >> profile if they are using youtube-dl? VLC and mpv both depend=20 >> on FFmpeg. >> The use case of "download video and watch it on another machine=20 >> (or >> never watch it)" seems somewhat esoteric. I don't see why my use case should be sidelined as =E2=80=98esoteric=E2=80= =99.=20 ;-) > However, in my recent experience, youtube usually provides the > freedom-respecting formats only as separate audio and video=20 > streams > which must be recombined by youtube-dl, and in that case the=20 > 'ffmpeg' > command line tool seems to be required. This is a good argument. If including ffmpeg by default makes it=20 easier to request & mux free=C3=ABr formats, let's do that. > I see two possible approaches: ffmpeg could be added to=20 > youtube-dl's > propagated-inputs, or it could be instead be added to 'inputs',=20 > and we > could substitute hardcoded paths to 'ffmpeg' in the built=20 > 'youtube-dl'. > I generally tend to favor the latter approach, but there are=20 > valid > arguments for each approach and I don't feel strongly about it. Which advantages does the former have? I wasn't aware of any. Thanks! T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX2HTpg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15rQAA/A8BhACrbvnqwkyRK+8jNjn6Wzp27A3tFY+ElzlO w5N9AQComy1HNFEUu34SqG9bkauRJxpYvNEC28mAYdf4Onp7BA== =rYpc -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 05:54:15 2020 Received: (at 43418) by debbugs.gnu.org; 16 Sep 2020 09:54:15 +0000 Received: from localhost ([127.0.0.1]:33248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIU8l-0007Vt-Ee for submit@debbugs.gnu.org; Wed, 16 Sep 2020 05:54:15 -0400 Received: from tobias.gr ([80.241.217.52]:47192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIU8i-0007Vj-TA for 43418@debbugs.gnu.org; Wed, 16 Sep 2020 05:54:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=rSjpXJ9QIjjW62VPfJUQRe5IQKCe8clWisfZ6+IaNr8=; h=date:subject:to: from; b=AlBiOcLvKzO5/P0u4p53rNtYH3FRUuZW0aYtwhSRsmqwMNDQmtO7eX3S0uxHQm 20vl9Yf198F+TgKRIaCpBh5gvipEIvnNWYB3fmoTnjGlekNnVfk3SbJL0nFjDEDFO4J9+F hAEMZTyxEqrnNIDbXPHz6KbGcSAlElr8lBRtIUu4Co1accr3v9jN6y20lkfMYmy8BYme0O UG/swIP/GyJxrTvCbyXMVkAF4rH1aepsGhK8nmDwy2f6slmCVMNWpgRXf8GeOghzwuekUw 2NzLzbl6EQxKDl0p+CFjI42KQvdk9v3oPg5bsI9rnfg3g4GRKaDplPV3OvNyi1sUteUigQ == Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 723a5a5d (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for <43418@debbugs.gnu.org>; Wed, 16 Sep 2020 09:54:11 +0000 (UTC) From: Tobias Geerinckx-Rice To: 43418@debbugs.gnu.org Subject: [PATCH] gnu: youtube-dl: Refer to ffmpeg. Date: Wed, 16 Sep 2020 11:54:15 +0200 Message-Id: <20200916095415.13617-1-me@tobias.gr> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43418 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Addresses . * gnu/packages/video.scm (youtube-dl)[inputs]: Add ffmpeg. [arguments]: Fall back to input ffmpeg instead of searching $PATH. --- gnu/packages/video.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 8ebe7dbcdf..50f751f8da 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2184,6 +2184,13 @@ To load this plugin, specify the following option when starting mpv: ;; 'youtube-dl.bash-completion'. `(#:tests? #f ; Many tests fail. The test suite can be run with pytest. #:phases (modify-phases %standard-phases + (add-after 'unpack 'default-to-the-ffmpeg-input + (lambda _ + ;; Continue respecting the --ffmpeg-location argument. + (substitute* "youtube_dl/postprocessor/ffmpeg.py" + (("\\.get\\('ffmpeg_location'\\)" match) + (format #f "~a or '~a'" match (which "ffmpeg")))) + #t)) (add-before 'install 'fix-the-data-directories (lambda* (#:key outputs #:allow-other-keys) (let ((prefix (assoc-ref outputs "out"))) @@ -2207,6 +2214,8 @@ To load this plugin, specify the following option when starting mpv: (copy-file "youtube-dl.zsh" (string-append zsh "/_youtube-dl")) #t)))))) + (inputs + `(("ffmpeg" ,ffmpeg))) (synopsis "Download videos from YouTube.com and other sites") (description "Youtube-dl is a small command-line program to download videos from -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 07:32:04 2020 Received: (at submit) by debbugs.gnu.org; 16 Sep 2020 11:32:04 +0000 Received: from localhost ([127.0.0.1]:33413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIVfP-0003WG-SB for submit@debbugs.gnu.org; Wed, 16 Sep 2020 07:32:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:43840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIVfO-0003V3-Ei for submit@debbugs.gnu.org; Wed, 16 Sep 2020 07:32:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIVfO-000879-1o for bug-guix@gnu.org; Wed, 16 Sep 2020 07:32:02 -0400 Received: from world.peace.net ([64.112.178.59]:33972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIVfL-0005oW-8P for bug-guix@gnu.org; Wed, 16 Sep 2020 07:32:01 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kIVfG-0000vv-W9; Wed, 16 Sep 2020 07:31:55 -0400 From: Mark H Weaver To: Tobias Geerinckx-Rice Subject: Re: bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly In-Reply-To: <875z8ertcp.fsf@nckx> References: <87bli7s0r0.fsf@nckx> <20200915231706.GB20807@jasmine.lan> <87mu1q9lyw.fsf@netris.org> <875z8ertcp.fsf@nckx> Date: Wed, 16 Sep 2020 07:30:35 -0400 Message-ID: <87bli69cw9.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.112.178.59; envelope-from=mhw@netris.org; helo=world.peace.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/16 07:31:55 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: ncdehnel@gmail.com, 43418@debbugs.gnu.org, bug-guix@gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Tobias, Tobias Geerinckx-Rice writes: > Mark H Weaver =E5=86=99=E9=81=93=EF=BC=9A > >> I see two possible approaches: ffmpeg could be added to youtube-dl's >> propagated-inputs, or it could be instead be added to 'inputs', and >> we could substitute hardcoded paths to 'ffmpeg' in the built >> 'youtube-dl'. I generally tend to favor the latter approach, but >> there are valid arguments for each approach and I don't feel strongly >> about it. > > Which advantages does the former have? I wasn't aware of any. The former approach is arguably simpler, easier to maintain, and if the user upgrades only 'ffmpeg' while leaving 'youtube-dl' unchanged, with the latter approach 'youtube-dl' will continue using the old 'ffmpeg' with its potential security holes, which users unfamiliar with Guix might not expect. I still generally prefer the latter approach for several reasons, most notably because it means fewer dynamically-determined dependencies, which are contrary to our goals for reproducible behavior, i.e. that if the software in a given store item works today for your use case, it will work the same way tomorrow. However, it's worth noting that this property is less useful for a program like 'youtube-dl', because a copy of 'youtube-dl' that works today might well stop working tomorrow because of changes made on the server side, regardless of our efforts. Mark From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 07:32:29 2020 Received: (at 43418) by debbugs.gnu.org; 16 Sep 2020 11:32:29 +0000 Received: from localhost ([127.0.0.1]:33418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIVfp-0003qJ-JX for submit@debbugs.gnu.org; Wed, 16 Sep 2020 07:32:29 -0400 Received: from world.peace.net ([64.112.178.59]:44134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIVfn-0003lK-So for 43418@debbugs.gnu.org; Wed, 16 Sep 2020 07:32:28 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kIVfi-0000wj-AN; Wed, 16 Sep 2020 07:32:22 -0400 From: Mark H Weaver To: Tobias Geerinckx-Rice , 43418@debbugs.gnu.org Subject: Re: bug#43418: [PATCH] gnu: youtube-dl: Refer to ffmpeg. In-Reply-To: <20200916095415.13617-1-me@tobias.gr> References: <20200916095415.13617-1-me@tobias.gr> Date: Wed, 16 Sep 2020 07:31:03 -0400 Message-ID: <87a6xq9cvh.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43418 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Tobias, > Addresses . > > * gnu/packages/video.scm (youtube-dl)[inputs]: Add ffmpeg. > [arguments]: Fall back to input ffmpeg instead of searching $PATH. Looks good to me. Thank you! Mark From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 07:54:33 2020 Received: (at 43418-done) by debbugs.gnu.org; 16 Sep 2020 11:54:33 +0000 Received: from localhost ([127.0.0.1]:33453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIW1B-0004T7-BY for submit@debbugs.gnu.org; Wed, 16 Sep 2020 07:54:33 -0400 Received: from tobias.gr ([80.241.217.52]:56272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIW19-0004Sz-K6 for 43418-done@debbugs.gnu.org; Wed, 16 Sep 2020 07:54:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=aHybVniuSHuHIvR8eYqPtiYaXBYQShaql+IQxwt2Ig8=; h=date:in-reply-to: references:subject:cc:to:from; b=FNI5ORbN4JFnTGT/MEqf0KqUl5m8O4ctWOXyr WJS1zgXYmPuorbGaATT/jgy0+UjWIOaYkYABdKTxKZVXrkbdxdZbHQU1wkLdePCE8Jxv/i J7R/yc+Bza6vZmVnkgUFkM3as5vQEB96QVE5j1wck2O9tWi631bi8M+jvVfW+WYz54oed7 dwBe9dvYjMEuzNUzBs4138h3+iXAs0oDIZCsNP9XtCnoMqqXFXUPQ7ksOKf7WAsr34qs4Y IIThYxXGsWuogedfr45aPHllZNjiE1t2VsjwnfrmNXpVK8uzXgkCi3xH/IOsonBPwuRJhx cPQzrp+qfOLWD5t0PjtjbfLLQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ec204c8e (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Wed, 16 Sep 2020 11:54:30 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Mark H Weaver , zimoun Subject: Re: bug#43418: [PATCH] gnu: youtube-dl: Refer to ffmpeg. References: <20200916095415.13617-1-me@tobias.gr> <87a6xq9cvh.fsf@netris.org> In-reply-to: <87a6xq9cvh.fsf@netris.org> Date: Wed, 16 Sep 2020 13:54:42 +0200 Message-ID: <87zh5qq6m5.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43418-done Cc: 43418-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Mark, Simon, Mark H Weaver =E5=86=99=E9=81=93=EF=BC=9A >> Addresses . >> >> * gnu/packages/video.scm (youtube-dl)[inputs]: Add ffmpeg. >> [arguments]: Fall back to input ffmpeg instead of searching=20 >> $PATH. > > Looks good to me. Thank you! Thanks, pushed. > The usage seems more Fixes than Addresses. I'm still of the opinion that this was no bug but a feature=20 request, and there was nothing to fix. I promise to add it to the=20 release notes if you think it's necessary, but would rather keep=20 those limited to =E2=80=98real=E2=80=99 bugs as well. It's not like we're = short=20 on those ;-) Whatever it was, it's now closed, and we'll be spared of=20 duplicates from now on. Thanks all, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX2H9Ag0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15OVoA/ReNmO3ktaM51oeLkqG86JqI0Qw28MIn/C2nnc19 PSbLAP9F3BDvzSlbd6WBeAIbjqMcBEYK5eWQEdGk+DUd88wUDA== =qmgq -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 08:08:10 2020 Received: (at 43418-done) by debbugs.gnu.org; 16 Sep 2020 12:08:10 +0000 Received: from localhost ([127.0.0.1]:33511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIWEM-0004qN-DK for submit@debbugs.gnu.org; Wed, 16 Sep 2020 08:08:10 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:44347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIWEK-0004qC-On for 43418-done@debbugs.gnu.org; Wed, 16 Sep 2020 08:08:09 -0400 Received: by mail-qk1-f193.google.com with SMTP id n133so7796308qkn.11 for <43418-done@debbugs.gnu.org>; Wed, 16 Sep 2020 05:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pcZZX7EEVwTOhPFHD6ceob3lSdYs9hc5Cp0A2Jmkno4=; b=Ld3RZ+giXYOGJ+f5otE+yi8a98uz9zyacD4oVv90EsEae4tJ+PzmP0w69vD/S33FCp ZAmMrBUngeDpBKlP2LmLmmdGn5QhVXrJNyqR9L8pLureE2b3q2rTagTPi5VgAtm+pZ9q vfy8icvnmaB0USvSs+1Tyle3xzCIfEOUogFL2p5ieMVFDYi/30nSLYGgMg1PEknHanrl mTfbKbwCDqTGqBB184jx4yj9/FF6+sZz2JInn4JACzJsqRcW8WQR/EnJ2RzYgL7o4eHE iVPaKxR9rR9Rvb3gc4U63JMHde8b/e3mVZ7R32EmwM2pl3MXUVtTl9CBh42cSiSrCHoP Y8Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=pcZZX7EEVwTOhPFHD6ceob3lSdYs9hc5Cp0A2Jmkno4=; b=Plo0VlpS3GxaB0p3QT+8KC5iceVSm5/2gK0t14bBN7jJZ+40djOTWeLh3cVgs/f9NC /HAB+90ZItaQvG8fhsPMbCdcHaOEcTruaD9fSKp67WVXTjUojBZ5AcgfCYsdJterTB+H VO+bD8FZMStwq7bXxVs3+BezZyV8B0dmU7yBmvtcct4JXAsuTAbpmThmk248Snn0zAWw VzaamIH4KuNQ+QNs1RbRNbGEt7WLnCu1B1S09NmEeRu29F+3ryglulq40zDhuHVb2Nav N5a3THB7/hD4CNx3snKp1T8BdQF2hb0VymOOVEZ7zzCZJmK2sLThXPlhB6VuXyKH2yVM HXkQ== X-Gm-Message-State: AOAM532K2Wd8xvph3p3on27Wh3ZPUz/EpZD4N0Vd/C7v6eYR+HbgkQWs VHIxg5RWJqm+g86ToJqaoVVEVc0lgo/NOTeVtlw= X-Google-Smtp-Source: ABdhPJwTwAl2kdXSFtzUH7WcgcZjI83J8r/4100IBt0KpcRZFYWbPr0/eCYRih+0Uc8WaLX330gX1WYcr7GecC+DNV0= X-Received: by 2002:a37:6848:: with SMTP id d69mr21449634qkc.80.1600258083220; Wed, 16 Sep 2020 05:08:03 -0700 (PDT) MIME-Version: 1.0 References: <20200916095415.13617-1-me@tobias.gr> <87a6xq9cvh.fsf@netris.org> <87zh5qq6m5.fsf@nckx> In-Reply-To: <87zh5qq6m5.fsf@nckx> From: zimoun Date: Wed, 16 Sep 2020 14:07:52 +0200 Message-ID: Subject: Re: bug#43418: [PATCH] gnu: youtube-dl: Refer to ffmpeg. To: Tobias Geerinckx-Rice Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43418-done Cc: Mark H Weaver , 43418-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, 16 Sep 2020 at 13:54, Tobias Geerinckx-Rice wrote: > > The usage seems more Fixes than Addresses. > > I'm still of the opinion that this was no bug but a feature > request, and there was nothing to fix. I promise to add it to the > release notes if you think it's necessary, but would rather keep > those limited to =E2=80=98real=E2=80=99 bugs as well. It's not like we'r= e short > on those ;-) I am fine with whatever the convention is. Just one that we collectively share. :-) It helps to dig with the tandem "git log --grep" and "M-x debbugs", IMHO. I mean it could make sense to have Fixes for "real" bugs and Addresses for anything else tracked by debbugs (whishlist, typo, etc.). Cheers, simon From unknown Thu Aug 14 21:51:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Oct 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator