Just use yt-dlp.exe url
.
Also, there's a dedicated youtube-dl Community, with the Mods with the same names as in Reddit's counterpart, so it's likely them too: !youtubedl@lemm.ee
!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rule 1- All posts must be legitimate questions. All post titles must include a question.
All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.
Rule 2- Your question subject cannot be illegal or NSFW material.
Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.
Rule 3- Do not seek mental, medical and professional help here.
Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.
Rule 4- No self promotion or upvote-farming of any kind.
That's it.
Rule 5- No baiting or sealioning or promoting an agenda.
Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.
Rule 6- Regarding META posts and joke questions.
Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.
On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.
If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.
Rule 7- You can't intentionally annoy, mock, or harass other members.
If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.
Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.
Rule 8- All comments should try to stay relevant to their parent content.
Rule 9- Reposts from other platforms are not allowed.
Let everyone have their own content.
Rule 10- Majority of bots aren't allowed to participate here.
Our breathtaking icon was bestowed upon us by @Cevilia!
The greatest banner of all time: by @TheOneWithTheHair!
Just use yt-dlp.exe url
.
Also, there's a dedicated youtube-dl Community, with the Mods with the same names as in Reddit's counterpart, so it's likely them too: !youtubedl@lemm.ee
That comm looks abandoned? Last post was 9mo ago.
Well, they'll probably see it. I think Lemmy users should post there too to trigger them. The Reddit counterpart Mods with those same names are active in the Subreddit counterpart, not just by Mod activity but they're actually knowledgeable of yt-dlp usage and other programs like Python, and they actually answer/reply there. So hopefully the Lemmy counterpart becomes active too, like at least cross post.
@A32topsL That doesn't download av1 by default no? I've also downloaded some of the videos before with no problems
Ah, alright. Try yt-dlp.exe -S vcodec:av01
. Note however, not all YouTube videos have AV1 counterparts, and then other sites use different code for AV1, so I'm not sure if the command would always work for other non-YT sites.
@A32topsL Still forced 360p. I've already added screenshots. Seems -S is the culprit.
-S "codec"
seems to be not working as you intended anymore. Sometimes the ranking changes too through time, so you must update your command line. Happened to me too before. For example, use -S vcodec:av01
. Again, don't forget, your results have no single AV1, hence no AV1 could be downloaded.@A32topsL I use -S "codec" to download av1 then failing that vp9..... but seems to be impossible now :(
So far works for me. For example Joshua vs Dubois highlight:
yt-dlp.exe -S vcodec:av01 -F https://www.youtube.com/watch?v=5ZJCDbszAE4
244 webm 854x480 25 │ 17.02MiB 689k https │ vp09.00.30.08 689k video only 480p, webm_dash
609 mp4 1280x720 25 │ ~ 43.08MiB 1746k m3u8 │ vp09.00.31.08 1746k video only
247 webm 1280x720 25 │ 30.53MiB 1236k https │ vp09.00.31.08 1236k video only 720p, webm_dash
614 mp4 1920x1080 25 │ ~ 70.25MiB 2847k m3u8 │ vp09.00.40.08 2847k video only
616 mp4 1920x1080 25 │ ~143.88MiB 5831k m3u8 │ vp09.00.40.08 5831k video only Premium
248 webm 1920x1080 25 │ 58.60MiB 2372k https │ vp09.00.40.08 2372k video only 1080p, webm_dash
394 mp4 256x144 25 │ 1.70MiB 69k https │ av01.0.00M.08 69k video only 144p, mp4_dash
395 mp4 426x240 25 │ 3.96MiB 160k https │ av01.0.00M.08 160k video only 240p, mp4_dash
396 mp4 640x360 25 │ 7.51MiB 304k https │ av01.0.01M.08 304k video only 360p, mp4_dash
397 mp4 854x480 25 │ 13.14MiB 532k https │ av01.0.04M.08 532k video only 480p, mp4_dash
398 mp4 1280x720 25 │ 23.01MiB 931k https │ av01.0.05M.08 931k video only 720p, mp4_dash
399 mp4 1920x1080 25 │ 43.07MiB 1743k https │ av01.0.08M.08 1743k video only 1080p, mp4_dash
As you can see, the bottom are 399, 398, 397, 396, etc., all AV1 formats. Last is 399 which is 1080p. The last on the list is the one would be downloaded, especially if you have FFmpeg.
@A32topsL Yeah but for most other videos they download the best but for some God-given already downloaded videos it forces 360p (my commandline)
Do you have ffmpeg installed?
I forget the flags, but I think you can list all formats with the -F
, then select the ones you want be downloaded using the id number and the flag -f
. and use a +
if you want ffmpeg to merge an audio and video track together. Would that help?