Wrong audio on multi language videos #1507
Replies: 6 comments 13 replies
-
i am facing the same problem. please add the possibility to pick the wished language |
Beta Was this translation helpful? Give feedback.
-
I do not work for VDH. I'm just another user. |
Beta Was this translation helpful? Give feedback.
-
While I agree with the others about the issue as it's frustrating, there may also be some variables that they need to figure out. For example, Youtube may use randomly generated codes or segments within the URL to access different parts of the database to retrieve the language tracks for example (and these may possibly be updated on a daily basis) thus making it harder for programs like VDH to work properly. So while it's a new feature for Youtube, they may have also seen it as an opportunity to make it harder for such programs to work. The other thing is that not all videos may have the same number of audio tracks (some may have more languages than others) so this may also further complicate things (although part of me thinks that whatever codes are being used for US English for example, would remain the same from video to video regardless of the number of tracks available. Regarding the copy of the URL, in the extension, there is an option to copy the video URL, so you don't necessarily need to go through the steps outlined above to get the URL, although I haven't verified if the URL that is copied is the same one shown above in the detailed explanation. |
Beta Was this translation helpful? Give feedback.
-
Thank you GrampaWildWilly for such a comprehensive breakdown of the process. I wrote a bash script that opens my youtube channels in tabs, then fetches the titles and checks them against a list in a file, only downloading any new videos it finds, adding completed downloads to the file. The switch to German language certainly caught me out on many channels I follow. Using your explaination, I have rewritten a new version of the script that fetches all the information, extracts the stream ID's and now downloads the videos correctly in English. Your efforts in solving this are truly appreciated here showing a path for me to follow. Regards |
Beta Was this translation helpful? Give feedback.
-
Here is a quick script based on information in this thread. There seem to be a lot of edge cases, and things may change quickly, but it works for me right now. #!/bin/bash useragent='Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0' ffprobe -protocol_whitelist http,https,tls,tcp -strict experimental -analyzeduration 25000000 -probesize 250000000 audio=$(awk -e "/$language.*$aquality/ { split($0, line, "$split"); print line[5] ":" line[6]; exit }" 2.out) video=$(awk -e "/$vquality/ { split($0, line, "$split"); print line[5] ":" line[6]; exit }" 2.out) rm ./2.out ffmpeg -fflags +discardcorrupt -user_agent "$useragent" -hwaccel auto -protocol_whitelist file,crypto,data,http,https,tls,tcp -strict experimental -analyzeduration 25000000 -probesize 250000000 -allowed_extensions ALL -i $1 -codec: copy -map $video -map $audio "$outfile" 2>./ffmpg.log |
Beta Was this translation helpful? Give feedback.
-
number one frustration, right here. nothing like downloading a large video, only to find its in... i dunno, portuguese or arabic or something random. love the energy of everyone posting their ffmpeg arcana, but if i wanted to do that i wouldn't be using a browser extension in the first place. and i lament anyone willing to run random scripts they find on the internet, probably with no comprehension of what they're doing. that's a quick way to make the cybersecurity segment of the evening news. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
Trying to download a video on Firefox and it has multiple audio tracks for various languages (an AI feature?). My problem is prety much a duplicate of the one reported by Fuzzlix on September 26 except that for me the language picked by VDH mostly seems to be German. This is rapidly concerning more and more channels and it would really be helpful if we could choose not just the resolution but the audio stream as well? Below video as an example:
https://www.youtube.com/watch?v=M8tXHQMxEVQ
Addon & CoApp version and details
version: 9.1.0.44
target: mozilla
channel: stable
lang: en-US
coapp: {"found":true,"path":"C:\Program Files\DownloadHelper CoApp\vdhcoapp.exe","version":"2.0.19","new_version":false}
license: {"accepted":true,"email":"","key":"0f759f6d52d84536"}
platform: x86-64 win
UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0
{
"valid_license_message_has_been_displayed": true,
"used_history_button": true,
"download_directory": "G:\independent\VideoDownloadHelper",
"last_download_directory": {
"__serializer_tag": "option_some",
"__serializer_value": {
"__serializer_tag": "primitive"
}
},
"theme": "dark",
"view_options": {
"all_tabs": false,
"low_quality": false,
"sort_by_status": true,
"sort_reverse": false,
"show_button_clean": true,
"show_button_clean_all": false,
"show_button_convert_local": false,
"hide_downloaded": false
},
"use_sidebar": false,
"open_count_store": 1839,
"successfull_dl": 55,
"never_show_successfull_dl_message": true
}
Beta Was this translation helpful? Give feedback.
All reactions