ezytdl icon indicating copy to clipboard operation
ezytdl copied to clipboard

[Features Request] Subtitles support + Overall MKV support

Open enzomtpYT opened this issue 2 years ago • 13 comments

Hi ! I've been struggling while downloading some videos and i think some useful features could be added :

  • Downloads of Subtitles
  • Adding MKV support
  • Downloading all audio tracks (from different languages) in one MKV
  • Downloading all Subtitles (from different languages) in one MKV

I am sorry if i am asking too much, ill try to find some way to make what i want to do.

Thanks for make a such great program !

enzomtpYT avatar Aug 25 '23 16:08 enzomtpYT

I would absolutely love to look into this! I've never had a use case personally for any of these but I'm willing to put in effort in implementing that :)

Which source are you trying to download from that supports multiple audio streams? I don't know of any personally.

sylviiu avatar Aug 25 '23 17:08 sylviiu

Here is an example with multiple Audio Source & Multiple Subtitles : https://www.youtube.com/watch?v=mImFz8mkaHo

enzomtpYT avatar Aug 25 '23 17:08 enzomtpYT

Also if this can help i found a way to download youtube subtitles by using YT-DL arguements : "--all-subs"

enzomtpYT avatar Aug 25 '23 17:08 enzomtpYT

Noted, thank you. I'll look into this!

i actually never knew youtube offered multiple language audio tracks

Downloading with "--all-subs" would only fit with one use case (downloading with FFmpeg disabled, and downloading the original format without conversion -- which might not even embed the subtitles if possible) -- I'd have to find a way to embed it with FFmpeg as well. This can become a "metadata option" here: image

sylviiu avatar Aug 26 '23 20:08 sylviiu

leaving this as a note for myself

multiple language streams are found in the formats array with the same format ID; e.g. format id 233 has multiple indexes for each languages (233-0, 233-1, etc), where the note specifies the language

image image image

i can't tell if this is the same for all services, but crunchyroll languages are through different URLs.

sylviiu avatar Aug 26 '23 20:08 sylviiu

Also, what do you mean by adding MKV support? What's missing from it?

All media encoding & processing is handled by FFmpeg (where applicable); MKV should be supported already?

sylviiu avatar Aug 26 '23 21:08 sylviiu

Ok, wait till I get home and I will tell you more Sorry for making you wait

enzomtpYT avatar Aug 27 '23 02:08 enzomtpYT

Also, what do you mean by adding MKV support? What's missing from it?

All media encoding & processing is handled by FFmpeg (where applicable); MKV should be supported already?

Sorry for the late response ! So mkv is already supported by FFmpeg, but after checking mkv support multiple audio streams, i wanted to know if it is possible to make something where you choose what to put (with checkboxes) and then at the end it merge all audio/videos and subtitles in one mkv files with ffmpeg, sorry again if it is too difficult !

enzomtpYT avatar Aug 28 '23 12:08 enzomtpYT

Yeah, that would be possible. That's currently my plan for implementing this.

Sorry for being silent past couple days, I've been a little busy outside of software development :( I'll work on this soon!

sylviiu avatar Sep 02 '23 23:09 sylviiu

Sorry for being silent past couple days, I've been a little busy outside of software development :(

It is okay, i don't want to rush you ! Take all the time you need !

enzomtpYT avatar Sep 04 '23 10:09 enzomtpYT

finally got around to making some progress :D image

sylviiu avatar Jan 14 '24 01:01 sylviiu

I need the Downloads of Subtitles function too, that will very helpful for my work.

Another5405 avatar Feb 17 '24 10:02 Another5405

can you add multiple audio tracks function for https://www.discoveryplus.in/show/morgan-freemans-through-the-wormhole this website also?

GP-HP avatar Jul 10 '24 21:07 GP-HP