youtube-dl-gui icon indicating copy to clipboard operation
youtube-dl-gui copied to clipboard

Split audio by chapter names

Open indig0F10w opened this issue 11 months ago • 3 comments

Is your feature request related to a problem? Please describe. When downloading audio only from one video which is actually a playlist split by chapters there is no option to split it into separate files.

Describe the solution you'd like Option to select split audio by chapter names. A audio equivalent to option "Split playlists into separate videos when:"

Describe alternatives you've considered Splitting manually with mp3DirectCut or Audacity.

Additional context Capture

Thank you.

indig0F10w avatar Mar 15 '24 17:03 indig0F10w

YT DLP documentation:

Split video by chapters: Videos can be split into multiple files based on chapters using --split-chapters

there is no separate option to split audio. I would assume the same setting works for splitting audio as well. But it might be that this option is only passed to yt-dlp when you also download a video, would have to check

StefanLobbenmeier avatar Mar 15 '24 18:03 StefanLobbenmeier

I found a possible solution on Ask Ubuntu but I am not a programmer.

In order to download the best m4a audio in separate tracks: yt-dlp -f ba[ext=m4a] --split-chapters URL

In order to first list the available formats: yt-dlp -F URL

and then download the desired audio format while splitting per chapter: yt-dlp -f 139 --split-chapters URL

indig0F10w avatar Mar 15 '24 18:03 indig0F10w

@StefanLobbenmeier - I came here to request the same feature. It would be very helpful for downloading music albums, which are frequently posted to Youtube as one video split into chapters per song. Thanks a lot for your work on this great software!

Flavescent avatar May 09 '24 07:05 Flavescent