meeb / tubesync

Syncs YouTube channels and playlists to a locally hosted media server
GNU Affero General Public License v3.0
1.88k stars 119 forks source link

Request: Allow selecting AV1 for video codec #353

Open NameIsKallie opened 1 year ago

NameIsKallie commented 1 year ago

It would be nice to have the option to select AV1 video codec to minimize download sizes now that YouTube is making most videos available in AV1

meeb commented 1 year ago

Thanks for the suggestion. This should be possible now so I'll look into it.

draco1544 commented 1 year ago

Thanks for the suggestion. This should be possible now so I'll look into it.

Any news on this ?

meeb commented 1 year ago

Nope, not had time lately. Happy to accept PRs though.

AshleyAshes commented 2 months ago

1+ for AV1 support if possible. :) It'd be a wonderful minor improvement.

meeb commented 2 months ago

Do you happen to have a YouTube link to a video with AV1 video formats? It would save me trying to hunt for one to see what the codec names are.

AshleyAshes commented 2 months ago

https://www.youtube.com/watch?v=MngTH_mh_Is

Here's an easy example. It has AV1 all the way down to 256x144. However, YouTube has not seemingly universally deployed AV1 at this time, some videos get it and others don't. I'm unclear if TubeArchivist has a 'hierarchy' system for codecs, to fall back if another one isn't available, but if not it'd be necessary. AV1 is def the smallest codec YT deploys so being able to 'prefer' AV1 would be great, especially when I'm archiving long running channels or channels with videos with long run times.

meeb commented 2 months ago

Thanks for the example @AshleyAshes I'll take a look.