Comments (4)
-
Your premise is wrong because youtube-dl for about the last 4~5 years - possibly longer - by default tried to achieve the highest quality version
-f best
. -
We go a step further and use
bestvideo+bestaudio
for all sites but specifically youtube. I/we care about fidelity immensely. Fidelity is preferred over all other considerations (including speed because last week Youtube was punishing downloaders who grabbed separate audio and video streams with download dial-up speeds as punishment)
Many YouTube video items are archived in low quality
Perhaps they were low quality to begin with? Age tends to be an indicator of this.. Virtually no one was using this script years ago, but I believe that in all of it's existence youtube-dl was using -f best
as the default. Tubeups first ancestor was written in 2012.
youtube-dl
does the downloading, and tubeup is what takes data from the .json file and tells inernetarchive
to make an item and then upload the files to it. That's how tubeup works.
-
We're accepting pull requests.
-
What specific video item do you think is lower quality than the original source?
from tubeup.
- Does
-f best
actually give you the best video though? Doesn't it just give you a video that has "good" audio and video, but not the best of both (as that is impossible without merging two formats), likebestvideo+bestaudio
? - I did have a specific video in mind, but I realise now that I'm not sure how to tell if a video was uploaded with tubeup. How can I tell?
from tubeup.
Does
-f best
actually give you the best video though?
Like 90 percent the absolute best. Very good but not quite archival quality. The best usually-muxable-as-MP4 copy. It depends on the video and what formats are available. I've noticed available formats change over time for certain videos which drop filesize over slightly over the age of the video but this could be due to numerous things.
You're talking about a tiny difference that bugs only people like me. Also, you'd have to control that item you want updated meaning you'd have to be the one who uploaded it.
Now that you mentioned it, when Tubeup was rewritten at some point after I stopped actively updating it because it was beyond my meager means, it appears bestaudio+bestvideo
was removed. So I'm adding it back in and after testing I'll either push a new version or leave it as is.
from tubeup.
Turns out I never added it for bestaudio+bestvideo
, but theres a serious downside to adding this and a ton of people will open issues bitching:
ratebypass
in youtube-dl no longer works, so you get dialup speeds when downloading separate video/audio streams. Basically as fast as it takes to watch/listen to the video.
People will bitch about this. They will bitch up a storm. It also doesn't appreciably improve PQ/AQ in my tests. In fact it seems the earlier you rip a video, the better it will look. I've gone back and ripped the same video and see a 50mb drop in filesize on the same video at highest quality settings.
I also tried to implement subtitle conversion, and when it's done as a library call instead of a flag in a command it just doesn't work and does nothing, we're still getting VTT files uploading. So Archive.org will have to make a process to derive VTT into SRT.
So we either:
-
Live with
-f best
for Youtube which is ytdls default. -
Activate a marginally better rip option, but either tolerate super slow speed Youtube punishes us with to the tune of 20 guys filing issues all complaining about the speed, or possibly force an external downloader (curl or httpie are my prime choices), to get both speed and dubious quality improvement - at the expense of possible site compatibility issues outside of youtube.
Edit 3:
CLOSING since this is a non-issue and also reverting my local changes to tubeup since they were of dubious value, caused severe speed penalties or just broken.
from tubeup.
Related Issues (20)
- Proposal: What to do about yt-dlps new nightly branch? HOT 4
- deleted HOT 1
- Bug report/feature request: Continue downloading other videos when one fails with a permanent error HOT 6
- Bug report: extremely slow downloads from youtube HOT 3
- Bug report: [native] nsig extraction failed HOT 4
- Possible NSIG fixes HOT 8
- Upgrade yt-dlp ASAP to at least 2023.07.06 HOT 5
- "Creator" field for Douyin needs update HOT 9
- Update internetarchive to 3.4.0/3.5.0? HOT 4
- Uploaded YT video thumbnails in .webp are not used for IA item tiles HOT 7
- PEP 668 compatability
- Add new release for 2023-08-10. HOT 2
- Bug report: Video impossible to upload when best quality stream is unavailable on the server-side HOT 11
- Bug report: Unable to archive Youtube video after premiere HOT 1
- TypeError: 'module' object is not callable HOT 8
- Troubles facing video archival
- Add a "local mode" to assist in uploading from disk HOT 4
- Bug report: `ModuleNotFoundError: No module named 'pkg_resources'` with python 3.12.1 HOT 7
- option to choose quality/format or sending custom commands to yt-dlp HOT 6
- "Pre-condition check failed" fix
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tubeup.