StefanLobbenmeier / youtube-dl-gui

A cross-platform GUI for youtube-dl made in Electron and node.js
GNU Affero General Public License v3.0
1.46k stars 57 forks source link

Audio Language Selection #128

Open SuperiorUser opened 3 months ago

SuperiorUser commented 3 months ago

Hi, I am trying to download some videos from https://www.discoveryplus.in/videos, the videos have three language to select but there is no option to select the language in Open Video Downloader so sometime it downloads the correct language audio with the video and other times it downloads the wrong language audio, so please add a option the select the audio language for downloading the video. Looking for your positive response.

TheNorwegian commented 3 months ago

I would like to see this feature too. Let me explain with an example:

If I try to download this TV show - https://www.svtplay.se/video/jqWYzLV/vigil/avsnitt-1 - the programme grabs it fine, EXCEPT it chooses an audio stream that is not the standard stream. It chooses an audio that has a voice that reads the subtitles. That's an option I can choose in the SVT web player, but I don't want it in the download.

In a similar programme - https://github.com/mhogomchungu/media-downloader - I can inspect the different streams and choose the ones I want. Unfortunately, Media Downloader frequently crashes my computer. Open Video Downloader is 100% stable.

Thanks. Glenn

jehmin commented 2 months ago

Same here for another reason. Im trying to archive from TubiTV. There is a Video Description Audio Track that gets overlayed with the existing audio of the video. It would be nice to not have that Video Description audio in the video for the visually impaired.

StefanLobbenmeier commented 2 months ago

There is a Video Description Audio Track that gets overlayed with the existing audio of the video

that’s really surprising behavior. Are you saying that it merged 2 audiostreams into one? Or is that also a single audiostream available on the website?

But yeah in open video downloader you can see more audio tracks by enabling that at the very bottom of the settings, not sure if those are all though. But the audio track intransparency was a big reason for the rewrite, v3 shows all tracks by default and just sorts them for you.

jehmin commented 2 months ago

I might have been mistaken and not very technically inclined, I apologize in advance for my ignorance. Im running the latest version 2.5.4 and this is a m3u8 type of site.

The Video Description Audio track might have been selected by default, which incorporates the original audio too. So it might be a single standalone track. Which audibly describes the movie for the visually impaired in scenes where there is no dialog.

You might be right I might be able to select the correct track but the options look like Gibberish to me. I dont understand all the options to be honest. I just see a bunch of numbers. I recognize the Video Resolution numbers but I wouldnt know which one allows me to select the specific audio track im looking for.

Maybe a quick work around would be have a quick option for Best Video + Worst Audio or Best Video and 2nd or 3rd to best audio? The best scenario is if I can create a file which incorporates the specific selected audio and video tracks Or if I can create a Video with multiple audios which can be toggled in an MKV file with soft subtitles.

For this particular movie. I used Media Downloader and got a list of 12 tracks First 8 were video related and 4 where audio related. All of which had Format Code: hlsv6 default and Note: Proto:m3u8_native abr: 0k Meaning I cant tell the difference in which track is better between them 2 Audio Only ( which is what I want, cant tell the difference by the descriptions tho) 2 Audio Only Audio Description Tracks ( This is what open video downloader defaulted to in the best settings)

I guess i could download separate video and audio tracks and combine them myself but this time I had to use media downloader to get the job done.

I really like the layout of this program better and I hope to see it evolve one day. I still use this for other things. Im grateful that someone created this and I hope our input helps this project in any way.

jehmin commented 2 months ago

Thank You TheNorwegian for the other program you suggested which crashes your computer. I was able to get what I was looking for and I used the portable version of the mentioned program. It didnt crash my PC and I have alot of things going on while doing so. Win10 OS on Sata3 SSD i7-7700 32GB Ram 64%-95% CPU usage and 66% Memory usage And I have alot of other things running in the background including downloads and atleast 50 to 100 tabs between Chrome and Firefox.

TheNorwegian commented 2 months ago

Jehmin, glad it worked out. You can reallychoose the audio stream in Media Downloader.

Stefan, I do get a list of audio codecs but they are not descriptive, so if SVT offers me 3 codecs, I might have to download audio three times to get the one I need. It's a first world country problem, of course.