Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
prioritze opus over other codecs, especially or at least if, no video is requested #6637
Comments
|
How about: |
|
That's great, but youtube-dl like a lot of programs, strives to have the "best quality defaults" as it even says in the readme of course. I'm more arguing for fullness here, rather than reporting a problem. However, in messing around with some conditional passes, I can't seem to get youtube-dl to grab anything with opus without specifically -f x where x is the format code. For example, I tried even what yan12125 stated above, but it did nothing. If I added a "best" failsafe, then it would give me vorbis, but, it wasn't until I put -f 251 that I could get the program to grab an opus file. |
|
Which URL are you testing? |
|
You have to use |
|
Ah, now why didn't I think of that? Good call. I still think the other way not working is a problem, and the original intention of the "issue" stands, but I don't intend these to be super important or anything... Still, that works for me, for brevity. |
I realize the final muxing is probably while you're careful about getting opus. You could start by grabbing it, if at similar bitrate, when no video is requested, or at the very least, when -x is passed.