

14·
4 months agoIf chapters are available for the video, yt-dlp has a command line argument that will split the video into different files, one for each chapter. Quoting a reddit comment:
you need ffmpeg.
how to convert to mp3: wiki
split chapters:--split-chapters
example naming files after chapters:-o "chapter:%(section_number)s %(section_title)s.%(ext)s"
available chapter variables:
section_title (string): Title of the chapter section_number (numeric): Number of the chapter within the file section_start (numeric): Start time of the chapter in seconds section_end (numeric): End time of the chapter in seconds
as i recall, i don’t use this myself, it will also keep the original file, which naming depends on the regular
-o
(use in addition to the-o
line withchapter:
)
--split-chapters
will also work with the timestamps mentioned in the description
One of my favorite facts is that while the first pyramids were being built, there were still Mammoth roaming some northern European regions (never checked whether this is true or not but I’ve heard it so many times that I want to believe it is true)