bibanon / tubeup

Use yt-dlp to download video and upload to the Internet Archive with metadata.
https://pypi.python.org/pypi/tubeup/
GNU General Public License v3.0
416 stars 69 forks source link

option to choose quality/format or sending custom commands to yt-dlp #321

Closed fenopa closed 9 months ago

fenopa commented 9 months ago

I don't really want to waste the resources of the internet archive with full quality uploads, 720p or sometimes 480p would be more than enough for me with much smaller file sizes. Is there an option to choose the quality/resolution or change format option provided to yt-dlp ("-f" option) from tubeup? If not, it can be useful to add such an option.

brandongalbraith commented 9 months ago

For archival operations, it is always preferable to capture the highest quality available.

fenopa commented 9 months ago

well, sometimes it's a waste of resources. anyway I achived that by adding a "format" option to ydl_opts in TubeUp.py but it would be nice to have it as an option instead of modifying the TubeUp.py every time.

vxbinaca commented 9 months ago

I don't really want to waste the resources of the internet archive with full quality uploads

Getting the full quality copy of the video is easy and fast. IA doesn't mind. Just don't channel dump.

If you are questioning your usage and want to gimp the quality of what could become the only copy on the internet, please do internet history a favor and cease not only using Tubeup but cease digital archival.

Really. If you want to hobble the only copy of something, quit and do something else with your life.

vxbinaca commented 9 months ago

well, sometimes it's a waste of resources. anyway I achived that by adding a "format" option to ydl_opts in TubeUp.py but it would be nice to have it as an option instead of modifying the TubeUp.py every time.

Jesus. Fucking. Christ. You're ruining history.

fenopa commented 9 months ago

I'm not questioning my usage, I want to save some important videos that may disappear based on past experiences. But they don't really have to be saved as 1080p60 videos with huge filesizes. Filesize difference of a few hours live stream record of 1080p60 stream vs 720p30 encode of it or 480p30 encode is huge and you don't really need to save it as 1080p60 because what matters is what the person says in these streams, they just sit there and talk for a few hours and that's it and it's not necesarry to save that as 1080p60 video with huge filesizes, 720p30 or 480p would just suffice without wasting resources of a nonprofit organization more than what's needed.

Also, wayback machine's own youtube archiver saves videos at maximum 720p quality anyway, they would save the full quality if "they don't mind". I'm basically adjusting tubeup settings to wayback machine's own youtube archiver's settings, so I don't think what I do is bad.

vxbinaca commented 9 months ago

But they don't really have to be saved as 1080p60

Thats an editorial choice about the content you shouldn't be making. You are changing the result of what the site gave you for spurious reasons.

Also, wayback machine's own youtube archiver saves videos at maximum 720p quality anyway

Don't care we aren't IA or the Wayback.

gobble-dee-guk about video formats

Don't care.

so I don't think what I do is bad.

It is. You are bad for doing this. This isn't a fucking debate or something to be voted on. You're reducing the quality for a bullshit reason - not that any forced quality reduction could have a good reason. There is no good reason for what you are doing, you will annoy future users of the archive who cannot find better quality copies of a video that existed.