From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eGAPHQnKYV/KWwAA0tVLHw (envelope-from ) for ; Wed, 16 Sep 2020 08:17:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iENoFwnKYV9fUwAAbx9fmQ (envelope-from ) for ; Wed, 16 Sep 2020 08:17:13 +0000 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 E83A59403C6 for ; Wed, 16 Sep 2020 08:17:12 +0000 (UTC) Received: from localhost ([::1]:49672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIScp-0005ek-9M for larch@yhetil.org; Wed, 16 Sep 2020 04:17:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIScg-0005cx-Me for bug-guix@gnu.org; Wed, 16 Sep 2020 04:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIScg-0004W4-BF for bug-guix@gnu.org; Wed, 16 Sep 2020 04:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kIScg-0005Be-6F for bug-guix@gnu.org; Wed, 16 Sep 2020 04:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43418: ffprobe/avprobe and ffmpeg/avconv should be added as dependencies of youtube-dl so it will function correctly Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 16 Sep 2020 08:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43418 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari , 43418@debbugs.gnu.org Received: via spool by 43418-submit@debbugs.gnu.org id=B43418.160024416519838 (code B ref 43418); Wed, 16 Sep 2020 08:17:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ncdehnel@gmail.com Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: vu8+U4PFB9q5 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