this post was submitted on 22 Sep 2024
25 points (96.3% liked)

No Stupid Questions

35320 readers
1503 users here now

No such thing. Ask away!

!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:

Rules (interactive)


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.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS
 

@nostupidquestions How do I fix this in yt-dlp?
yt-dlp -S youtube-link always downloads 360p videos but not on newly downloaded videos even when those same videos download best video quality via command yt-dlp link. I have ffmpeg. Does yt-dlp have a history I can clear or a config reset because I can't make sense of this regression happening otherwise since it's not due to updates.

all 13 comments
sorted by: hot top controversial new old
[–] A32topsL@lemmy.world 9 points 9 hours ago* (last edited 9 hours ago) (2 children)

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

[–] notfromhere@lemmy.ml 3 points 6 hours ago (1 children)

That comm looks abandoned? Last post was 9mo ago.

[–] A32topsL@lemmy.world 2 points 5 hours 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.

[–] Reshirams_Rad_Slam@mastodo.neoliber.al 2 points 9 hours ago (1 children)

@A32topsL That doesn't download av1 by default no? I've also downloaded some of the videos before with no problems

[–] A32topsL@lemmy.world 3 points 9 hours ago* (last edited 9 hours ago) (2 children)

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.

[–] Reshirams_Rad_Slam@mastodo.neoliber.al 1 points 8 hours ago (2 children)

@A32topsL Still forced 360p. I've already added screenshots. Seems -S is the culprit.

[–] A32topsL@lemmy.world 2 points 8 hours ago* (last edited 8 hours ago) (1 children)
  1. Alright, I checked your screenshot, your results have no single AV1.
  2. Your -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 :(

[–] A32topsL@lemmy.world 1 points 8 hours ago (1 children)

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.

[–] Reshirams_Rad_Slam@mastodo.neoliber.al 1 points 7 hours ago* (last edited 7 hours ago)

@A32topsL Yeah but for most other videos they download the best but for some God-given already downloaded videos it forces 360p (my commandline)

[–] onTerryO@lemmy.ca 3 points 10 hours ago

Do you have ffmpeg installed?

[–] mumblerfish@lemmy.world 1 points 9 hours ago

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?