Can youtube-dlp download youtube videos with the chapter descriptions like y2down.cc
Can youtube-dlp download youtube videos with the chapter descriptions like y2down.cc


@nostupidquestions Can youtube-dlp download youtube videos with the chapter descriptions like y2down.cc
@kemotep
Tartube doesn't seem to
Dr. Wesker @lemmy.sdf.org
What do you mean descriptions? Like the video's description body text? If so, yes. Gimme one moment to get on my computer, and I'll edit this comment to include the command args.
EDIT: This is the specific shell alias I use when I'm archiving videos for backup.
yt-archive() { yt-dlp --embed-chapters \ --concurrent-fragments 5 \ --restrict-filenames \ --write-description \ --write-subs \ --write-auto-subs \ --sub-langs="en.*" \ --paths="~/Archival/" \ "$@" }
The command arg you're likely most interested in is
--write-description
which will output the text to a text file alongside the video file15 1 Reply4am @lemm.ee This is good info but I believe they mean the Chapter names which appear along the play bar (see “Chapter: Results” in OP’s screenshot)
4 0 ReplyDr. Wesker @lemmy.sdf.org
The
--embed-chapters
flag above should accomplish this, then.3 0 Reply
Tyoda @lemm.ee --embed-metadata
Embed metadata to the video file. Also embeds chapters/infojson if present unless --no-embed-chapters/--no-embed-info-json are used (Alias: --add-metadata)
from the yt-dlp github page
5 0 Replyprole @lemmy.blahaj.zone It does fucking everything lol.
Thought it was just for YouTube videos until I got it recently and read the man file. The amount of shit you can do with it is insane.
2 0 ReplyThavron @lemmy.ca
I was pleasantly surprised that it also works for most... spicy websites.
2 0 Replyprole @lemmy.blahaj.zone Indeed
1 0 Reply
LunchMoneyThief @links.hackliberty.org Much of it is just functionality by way of ffmpeg, which is also an excellent program.
1 0 Reply