From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CE9BF138359 for ; Tue, 27 Oct 2020 23:58:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F277E08F7; Tue, 27 Oct 2020 23:58:51 +0000 (UTC) Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8A057E08F1 for ; Tue, 27 Oct 2020 23:58:50 +0000 (UTC) Received: by mail-ot1-x344.google.com with SMTP id o14so2749318otj.6 for ; Tue, 27 Oct 2020 16:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=fy1LS79MVPzrKDOpZKWKx1bhhvl5Cl2eciTL8cEdfRE=; b=a2q4HtJS7BiDxajIxue9TdlyluxwnqBKIraiDcDIFjj+CTt17IMC0zhRImniLGHvg4 CHsofpmKGWqGQsfB2vPMY0D77DCIdOhBAvGEY2DjW/hwBwApbpN1Hs8sqTutm2sw1dhg vtgh1sy7RAIhbtdCaoJlrzBgk0JXGm4sQtRdhkWOVtpE3xucJDC3NOx4qUJCRchqQ91L wIwmBE+R8ODoeRtCV3ixDulbWiK4UrdhD8uYQZP5WoY5EG6kItsuaSFyqG8uOB79Rtgx cuswUpDp9gkQ6IEOQsI7RA+plgJ6k223yxtREFvtex08ySACeFhiYqZrp0QZUqnXq73K eROQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=fy1LS79MVPzrKDOpZKWKx1bhhvl5Cl2eciTL8cEdfRE=; b=NXaUXWlYzYCGRtqiSqgd556Yj4C07X8uCY5ukprnv7kg5kSu+M+pradtw+0KEox7cf yPrko/I8mXCVCmIpuOABGMRl826/hQDmxauDLGclMYvGUp/o4lb2rDq7dN9j+po6gJvq 3KV7YwstEAs7Hb0mSy/MbU2DxelaO+YE7q9mws45JZ68XNHyDl4ibx/LonxM/FpQnYbn smYrBAM298SUM6eCus81xPI8RSE43CZwiw56AEHdwJfOAPb8MNjH7+eRMayLHfBZA0IC aLthsq2g7AneK4Mvwas26bRQ9wnOYHtgHSU/YN0NegAgon53VM1IDUj/4UcRyMphed3o G7Pg== X-Gm-Message-State: AOAM533gCE/UpZ6Bhdfyw5sO5Rl2KAXfLqUVZhJTnm8T/BCC6dPfr9TI L3h2CrTtj5vHhewIf57e1pM= X-Google-Smtp-Source: ABdhPJwumGzNKxhKToV0JykWQdx0DWobOBURAG0Et+gGzxJaTJXU5ZUg1K3x0iCpecTP0DxGPGTetg== X-Received: by 2002:a9d:1449:: with SMTP id h67mr3109701oth.136.1603843129632; Tue, 27 Oct 2020 16:58:49 -0700 (PDT) Received: from [192.168.0.100] (adsl-074-188-241-138.sip.asm.bellsouth.net. [74.188.241.138]) by smtp.gmail.com with ESMTPSA id c64sm2174381oia.49.2020.10.27.16.58.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Oct 2020 16:58:49 -0700 (PDT) Subject: Re: [gentoo-user] youtube-dl and the conf file. To: gentoo-user@lists.gentoo.org References: <9f2169f0-78ac-de8c-004e-df1c701a8ca3@gmail.com> <1765142.tdWV9SEqCh@lenovo.localdomain> From: Dale Openpgp: preference=signencrypt Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keyd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MFo6oJVjuEgy1dvu1wFfDq7c+i8GAHu L4pYzyXYu6PporlNNU0xSwdVgzM/uuK0lt+UxCimgC+YR3IezgDcbfudb7h9dGIwL+bbPL0A EQEAAYkCNgQYAQgAIBYhBNnuy6u48FpLrRsJhe8Qz9da75mcBQJcXOzIAhsMAAoJEO8Qz9da 75mcXZ4P/1YXgWDZek7mhzrf6uaQzMxa92P89HeWz4PlgB/32symeEFAV04WazzBZffI8AYY rGA1Xmu/2VaB9+FOODyKhUWBc2UL0NRWBk6POwboyTdKlclmpixaN9zLcBt0YLejoRfN1B/5 aQf9/lUDZMnAiCyz0FgeqEMUshldmwWC35RqnjrCbbuk2vIqSH6BLDIXU6jQrLHE1DF0ai41 wLtQFAFXPhn45n0ZwYhVs4Z32z4sjXrIvgBgCaXa4HM+L1Klne0KiNM8ReFTTpTE0SgyDOSZ O3MOa2n77i6JbVtsbiFYnNeP3J9S/l3jevGpZEtNQOKrIm1MW8jGuHWtsDeMkT/mCcSodlkt PxIo+mMK9GpGvG2hW80LiohqNfUbNwAmr3blOYY4URPXPRnEnPs4pmTmL5owjw2dkg145i9I D42Tq+XZ6YtWt3SGzGbAYow6XwTwZ5NFAzV9UQuCGrDw4KWan6O6Z+VIYWsn0UMZlu1Obxna aocofkaUCbISK26kImuD1aA8juSHC18Qv1xUage6/UakbSxyDtACqt6hOVFKX3IA59ApdNRT +2x3iCmlvF9MJsGgFq6IpqL+Fk7iWV8Kjbz0wQOId6N9+JdQh3LrLaS7a1PowUm1z9DK5/O0 Yg+gpDnEOOFI7WM5u7a7FSM2Z/LXGVwel/0eWvLk9tN6 Message-ID: Date: Tue, 27 Oct 2020 18:58:47 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <1765142.tdWV9SEqCh@lenovo.localdomain> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: d3b321b1-fb4d-4e5b-aa23-f5ae2983bcac X-Archives-Hash: 03801e58a02d39ce3b46f5575b82d4fb Michael wrote: > On Tuesday, 27 October 2020 21:14:37 GMT Arve Barsnes wrote: >> On Tue, 27 Oct 2020 at 21:58, Dale wrote: >>> I'm using the normal youtube-dl command. No options or >>> anything. This is what I have in the conf file. >>> >>> >>> --format >>> bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?128 >>> 0]+bestaudio/best >>> >>> --merge-output-format mp4 >>> >>> >>> Those options worked for a long time so I guess something changed with >>> youtube-dl. I don't get why it says the options are a URL either. When >>> I google, I can't find where anyone is getting this error or using >>> different options either, at least not to accomplish the same goal. I >> I took a quick look at the commit history, and it seems the >> documentation for the format options haven't changed in at least a >> year, so it's hard to say if it is actually youtube-dl being the >> culprit here. >> >> Might be a quoting problem. Have you changed or updated anything >> regarding your terminal emulator lately? >> >> Maybe run your command with the verbose flag (-v) and see if it tells >> you the full command it is trying to run. Notice in the docs the whole >> format string is quoted with single quotes. >> >> Regards, >> Arve > Occasionally the youtube-dl on the tree is not totally up-to-date with the > latest and greatest in git. You can wait for a day or two and see if it gets > updated in portage testing branch, or download it from git and run it from > within a directory. > > Theoretically, your config can run into trouble if the container format you > have set to merge video and audio into, will not work with the video/audio > extractors available on the stream. > > You have specified: "--merge-output-format mp4" > > If the available codex for video or audio is not suitable for the mp4 > container, you are going to get an error. For example, if a stream only has > bestvideo in a VP9 codec at width 1280, and/or best audio in opus codec, this > will barf if you try to merge it into a mp4 container without transcoding the > video and/or audio streams using codecs compatible with mp4, instead of > merging (copying) them into webm (mkv) as they come. > > Hence it throws a wobbly back at you and asks you to run a search in case > there is some URL with video/audio streams in codecs which will satisfy your > mp4 container format requirement. > > I don't think the single/double quote is an issue for Linux. In MSWindows you > ought to use double quotes. I first noticed this when using a site other than youtube.  For a long while, I thought it was because of me using other sites.  Today, real early this morning, I wanted a video off youtube and noticed it still gave the error.  That made me start to wonder.  Odd thing is, it seems to pick the best video but the ones I was downloading were already low definition anyway.  I may find a 4K video and see what it does.  If it grabs the 4K version, it's ignoring the option in the conf file.  If it grabs the 720P version, well, it is making use of some of the option even if it is not happy with the rest of the line.  I get the same error even when I comment out that merge format line.  I was hoping but I added that line a while back but so far, it ignores it or they are not available as you point out.  If youtube-dl stops working because it can't be maintained, I'm going to be sad.  I don't use it a lot but it is a nifty tool.  I really like the resume feature.  It seems other tools stop at 90 something percent and they require me to start over.  Youtube-dl just picks up where it left off when you try again.  Saves a lot of time and bandwidth for me and the site I'm getting a video from.  Dale :-)  :-)