From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] youtube-dl and the conf file.
Date: Tue, 27 Oct 2020 22:36:10 +0000 [thread overview]
Message-ID: <1765142.tdWV9SEqCh@lenovo.localdomain> (raw)
In-Reply-To: <CAJjrzcVmPKm+nsC+hRUVZUzo4GMEzfO=yy7DCnGRVEMeh9Yf8Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2490 bytes --]
On Tuesday, 27 October 2020 21:14:37 GMT Arve Barsnes wrote:
> On Tue, 27 Oct 2020 at 21:58, Dale <rdalek1967@gmail.com> wrote:
> > I'm using the normal youtube-dl <link to video> 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.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-10-27 22:36 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 20:58 [gentoo-user] youtube-dl and the conf file Dale
2020-10-27 21:14 ` Arve Barsnes
2020-10-27 22:36 ` Michael [this message]
2020-10-27 23:58 ` Dale
2020-10-27 23:48 ` Dale
2020-10-28 0:54 ` David Haller
2020-10-28 1:35 ` Dale
2020-10-28 6:21 ` Arve Barsnes
2020-10-28 7:19 ` Ashley Dixon
2020-10-28 10:28 ` David Haller
2020-10-28 23:15 ` Dale
2020-10-29 10:00 ` Michael
2020-10-29 17:43 ` Dale
2020-10-30 21:56 ` Dale
2020-10-30 22:36 ` Arve Barsnes
2020-10-30 22:57 ` Jack
2020-11-02 16:06 ` Dale
2020-11-02 16:57 ` Arve Barsnes
2020-11-02 20:21 ` Dale
2020-11-10 9:19 ` Dale
2020-10-31 12:53 ` Wols Lists
2020-10-29 17:47 ` David Haller
2020-10-28 19:27 ` Dale
2020-10-28 21:11 ` Michael
2020-10-28 22:57 ` Dale
2020-10-29 11:15 ` [gentoo-user] Re: [O/T] PSU caps Michael
2020-10-29 17:39 ` Dale
2020-10-29 17:47 ` [gentoo-user] Re: youtube-dl and the conf file Grant Edwards
2020-10-29 18:25 ` [gentoo-user] Re: [O/T of O/T] winmodem? Michael
2020-10-29 19:02 ` Grant Edwards
2020-10-29 19:36 ` Dale
2020-10-28 15:52 ` [gentoo-user] youtube-dl and the conf file Mark Knecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1765142.tdWV9SEqCh@lenovo.localdomain \
--to=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox