New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downloading multiple subtitles of the same language from Crunchyroll #20227
Comments
At least you can download. |
Each one uses a different session id. But for some reason even on their website it will not let you chose the other track. Might be a bug on their end. Submitted a site request to fix. https://www.crunchyroll.com/ace-attorney/episode-16-turnabout-beginnings-last-trial-782001?ssid=344973 |
I'm having the same issue with V LIVE. They allow users to create fansubs for videos and this can result in having multiple subtitle tracks for the same language. Notably, the unofficial en_US subtitle for this video is actually in Turkish: https://www.vlive.tv/video/3697?channelCode=FE619 (When downloading the video with youtube-dl, the unofficial/Turkish en_US track is chosen over the official en_US one.) The video shows 21 different available subtitle tracks, but when using
Help with this issue would be appreciated as I'm trying to download several hundred videos and would like the option of which en_US subtitle track to download (or perhaps the ability to include both.) |
Did some poking around (I'm not familiar with Python so please excuse any mistakes) and I discovered that multiple subtitle tracks for the same language on a V LIVE video are being overwritten in the In
The only difference in these two subtitle tracks is in the Using
Maybe the source URL could be parsed to determine if a track is an official subtitle or fansub and that distinction could be made part of the key? I'm also going to try and determine whether V LIVE allows multiple fan-submitted subtitle tracks for a language, or if each language is limited to one official subtitle track and one fan-submitted track. Please let me know if I should submit a new issue for this as it involves V LIVE specifically and not Crunchyroll, even though it is related to the same core issue of handling multiple subtitle files for the same language. Thank you! -- Edit: Found a quick and dirty solution to my V LIVE issue! It's by no means complete (especially since it's hardcoded for English), but maybe it can help inspire a future bug-fix. In
In
(Adding the handler option to the ffmpeg command is necessary for it to label the two tracks correctly, otherwise they'll both be labeled "English".) Then, the subtitles can be included using |
Think the problem with the alternate English sub for crunchy is that it might be overwriting the sub and maybe adding a line that it a sub exist when downloading it needs a line in the code where it download the second English sub and annotate it as say English (US) alt.ass file. Something like. |
I know this is an old issue, but it appears that this issue still exists on the latest version
I agree with darkhelmet2016's point, that having some sort of "(alt)" text would be great for multiple versions. |
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like this:[x]
)Make sure you are using the latest version: run
youtube-dl --version
and ensure your version is 2019.03.01. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-v
flag to your command line you run youtube-dl with (youtube-dl -v <your command line>
), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
As you see from the above log, the issue I'm reporting doesn't have anything to do with downloading the video from Crunchyroll, since that works fine for me. My issue is that certain series (such as Ace Attorney in my above log) have two separate subtitle tracks that are both enUS, but differ in that one has the character names that were used in the English localization of the game the series is based on, and the second enUS track uses romanizations of the character names in Japanese. However, youtube-dl only seems to recognize one subtitle track per language, even when --allsubs is specified as a parameter. It also seems to decide at random which of the two enUS tracks it will download, because sometimes it will download only the track with English localized names, and other times it will download only the track with Japanese names.
Is it possible to make youtube-dl be able to recognize and download multiple subtitle tracks of the same language from Crunchyroll? For example, they could be output as
"Ace Attorney Season 2 Episode 16 – Turnabout Beginnings — Last Trial-782001.enUS.ass"
for the default track with localized names, and
"Ace Attorney Season 2 Episode 16 – Turnabout Beginnings — Last Trial-782001.enUS.alternate.ass
for the alternate track with Japanese names.
The text was updated successfully, but these errors were encountered: