ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.46k stars 10.04k forks source link

Annotations as subtitles #5610

Open James-E-A opened 9 years ago

James-E-A commented 9 years ago

Would it be feasible, using the lxml library, to have Youtube-DL find a way to save annotations as subtitles? (Referring mainly to its usage in MPV via the youtube-dl hook, but also for downloading: for example, downloading a video's annotations and muxing them into a WebM as WebVTT or an MKV as ASS/SSA)

I understand that this feature might be a little complicated to implement, and might require some collaboration between the authors of Youtube-DL and MPV, but it would be a very nice feature to have.

keybounce commented 7 years ago

Bump

I am also requesting more support for annotations. I can download them as XML, but being able to at least see the text of them during playback would be a big help.

As someone that uses subtitles when possible already, can the text of the annotation xml file be added to the existing subtitles?

James-E-A commented 7 years ago

I think that part of the issue complicating this is that the annotations themselves are not a subtitle format per se, thus will require conversion, which opens up a whole new can of worms to deal with while keeping the code clean.