Results 90 comments of fent

for those getting this, do you know if the error comes from the `getInfo()` call, or does it happen after the download has started?

does calling ytdl by itself show this error too? or only with discordjs? what's your version? a similar bug was recently fixed.

this is intentional, due to some formats, particularly itag 22 and dash mpd formats, being unreliable. the sorting was changed for these so that a download would have a greater...

> Moreover, when you choose `lowest`, you get the itag 22 which doesn't seem to be logic. that's true. maybe this default sorting can be kept as default, but renamed...

Yeah, just pass the stream to ffmpeg. I've used the following modules before https://www.npmjs.com/package/fluent-ffmpeg (see `seekInput()` and `duration()` https://www.npmjs.com/package/ffmpeg-binaries (using the `-ss` and `-t` arguments)

There's `begin` but it's not very reliable. We might want to investigate this a bit more and see how Youtube does this.

yes but I currently don't have much free time to put into open source. so it'll be a while before i look into it.

it's working for me too. but when the issue first opened, i got an error 🦆

> ``` > $ ytdl --version > 1.1.0 > ``` > > I've also tried running: > > ``` > $ npm install -g ytdl-core@latest > > + [email protected] >...