shaked6540 / YoutubePlaylistDownloader

A tool to download whole playlists, channels or single videos from youtube and also optionally convert them to almost any format you would like
Apache License 2.0
1.54k stars 244 forks source link

Sometimes it fails a file #200

Closed NastyFlytrap closed 11 months ago

NastyFlytrap commented 11 months ago

For example i downloaded this playlist, with the setting to convert it to ogg and a handful of videos just dont get converted even when i specifically retry them by themselves

https://www.youtube.com/playlist?list=PLRxygl-iuYKicUSk4DUNVkdDVB94xB_2q Azteca post apocalypse for example will always download as mp4 despite my video settings being set to mkv and audio to ogg and it needing to convert it to ogg. It doesnt convert it to ogg, and even if it downloaded it as a video its still not saving it as the correct video format

shaked6540 commented 11 months ago

Can you post a screenshot of your download options?

NastyFlytrap commented 11 months ago

image Also, i believe i figured out the issue.

It does seem to be audio, but for some reason its mp4a at 44100 hz instead of the ogg 48000, while the file itself uses the mp4 format instead of ogg, or any other audio format

Also, i selected 192khz, so why isnt it using that?

shaked6540 commented 11 months ago

You selected "download clean audio, without converting to any format" which is why its downloading without converting. Uncheck that and it will work as expected

NastyFlytrap commented 11 months ago

You selected "download clean audio, without converting to any format" which is why its downloading without converting. Uncheck that and it will work as expected

I understand, but why are 98% of these webm, what i assume to be 'clean audio' while some are mp4? Shouldnt all of them be webm?

shaked6540 commented 11 months ago

Nope, some are webm and some are mp4. Why? I don't really know, its what youtube decided, the program is only downloading the raw audio from it. Sometimes its mp4, sometimes webm, and in some rare cases its even mp3. However, most if not all new videos will give you a webm audio file. very old videos will usually be mp3/mp4

NastyFlytrap commented 11 months ago

I see. Well, sorry for bothering you i guess