-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[crunchyroll] Download audio language in Japanese and/or French #7741
Comments
|
Hello, this is the output with the -F parameter added.
|
Only japanese audio seem available. It's possibly a site bug, but a dev with access to cruchyroll will need to check |
Yes it works when I select an episode, it downloads in the original language (here in Japanese) but when I want to download all the episodes (like a playlist) and I put the url I only have French and no VO (Japanese).
|
I think it would come from the URL, if I select an episode (contains "watch" in the url) the language is indeed Japanese but if I select a series (all episodes of an anime, the url contains "series") the language is French whereas I would like it to be vo or that I can filter between the two to have either Japanese or French or both. Any idea please? |
Hi, you're basically wanting this pull request. |
Hi, how to use it under windows in compiled version? |
I think I know what your problem is, actually crunchyroll uses a different video (url) between vf and vo, so when you use the playlist, yt-dlp downloads all the vf episodes first then it will download the vo episodes (and for the fr subtitles get them from the vo episode (not the vf episode)). |
and also it seems to me that the video can have a length more or less long between the vf and the vo so |
Yep 2000ms 3000ms generally. (Scene skipping / Advertiser Skipping) Why, I don't know :/ |
Yes that's it but when I use the playlist I can't download the vo with the vostfr... So I don't know what to do except wait for the PR but it dates from the beginning of May... |
I just didnt have had much time to look at it, especially since the PR has big implications. I assume there is some sort of easier way to aproach what its trying to do, but I havent had the time to take an in depth look at the api calls and responses yet. Additionally crunchyroll has been going through a couple changes recently, so there should be some time before its api becomes stable again (not that its ever been lol) Please continue being patient for now |
I'll wait, thank you for the work already provided and if anyone has another idea how to do it I'm interested. |
For series, I use --match-filter "language=fr-FR," and it works well 🙃 |
For anime on crunchyrool it's not working |
I'm sorry it didn't work. I also forgot to mention that this "--match-filter" sometimes works with the URL of an episode. I use it only on the series URL, so the "match-filter" retrieves the playlist containing the required dubbing. Another fact I forgot to mention is that I'm using another version compiled by Grub4K, and it has been working perfectly for me so far. Here is the link to the page with some more instructions given by him, and there you will find the link for the pre-release. I'm editing it now because I checked with yt-dlp from the main repository, updating it with "--update-to nightly" will work fine, just like the pre-release from Grub4K. |
Yt-dlp was already up to date but look if I put my command with the match-filter here is the output :
In this example and for you, which command would you have used? |
I did the test with the update from the main repository --update-to nightly, and it worked here. F:[01]\FUNi>yt-dlp -v --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" --match-filter "language=fr-FR" -f "b" -a "URLs.txt" --cookies-from-browser firefox -o "%(series)s - S%(season_number)sE%(episode_number)02d - %(episode)s" --print filename --print urls 1>>OVER.txt |
I just tested and it works thank you. But how to have two Japanese and French audio tracks with French subtitles? |
Full subtitle Forced subtitle And with the command below, I retrieve the audio by calling FFmpeg to extract the audio from the video (it's the same as downloading the entire video and then extracting the audio). |
Ok thank you and do you have the command to extract the French and Japanese audio through a single yt-dlp command? |
Unfortunately not, that's why I use different commands for each purpose and then I do the remux.🙃.. To do something more comprehensive, it would certainly be good in Python, and that's something I don't master😢 |
Since each language variant has its own url, |
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Please make sure the question is worded well enough to be understood
Hello, I'm trying to download an anime in the original language (vo: Japanese) and also in French. But I want to have the subtitles in French.
I can't make a filter on the language, I tried the following arguments:
But nothing works. Can I have some help pls ?
yt-dlp.exe -vU --write-subs --sub-lang fr-FR --sub-format srt --embed-subs --remux-video mkv --audio-quality 0 --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" --cookies-from-browser firefox --paths "Z:\Vidéos\Downloaded\Crunchyroll" --format-sort langage:jaJP https://www.crunchyroll.com/fr/series/GY243NN0R/the-misfit-of-demon-king-academy
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: