--embed-chapters
--embed-subs
--sub-langs all
+ --format-sort +res~480,+vcodec:av01,+acodec:opus
--format ${lib.concatStringsSep "/" [
- "bestvideo[height<=480][vcodec=av1]+bestaudio"
- "bestvideo[height<=480][vcodec=vp9]+bestaudio"
- "bestvideo[height<=480][ext=mp4]+bestaudio"
- "bestvideo[height<=480]+bestaudio"
-
- "best[height<=480][ext=av1]"
- "best[height<=480][ext=vp9]"
- "best[height<=480][ext=mp4]"
- "best[height<=480]"
-
+ "bestvideo+bestaudio"
"best"
]}
--output "%(release_date>%Y-%m-%d,upload_date>%Y-%m-%d)s - %(title)s.%(id)s.%(format_id)s.%(ext)s"