anidl/multi-downloader-nx

[BUG]: [Crunchy] Doesn't pickup all subtitle tracks on dubbed episode

Closed this issue · 1 comments

Program version

4.4.3

Operating System

Windows

Type

CLI

Service

Crunchyroll

Command used

.\aniDL.exe --service 'crunchy' -s GY9PC2DEV -e 40 --dubLang eng --dlsubs all

Show ID

GY9PC2DEV

Episode

40

Console Output

Requesting: [GX9UQ940M] Dragon Ball Z (English Dub) - 40 - Held Captive
Selecting raw stream
Full stream found! ( 1: download_hls/eng/- )
Full stream found! (✓2: multitrack_text_hls/eng/- )
Downloading video...
Playlists URL: https://pl.crunchyroll.com/evs3/0d33a4dd4895be07dcc47597ac748249/assets/d69e5e347b1a1b011e5e81c0d61ebfd8_,4318843.mp4,4318844.mp4,4318842.mp4,4318840.mp4,4318841.mp4,1168.txt,.urlset/master.m3u8?lang=en-US&type=caption&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cCo6Ly9wbC5jcnVuY2h5cm9sbC5jb20vZXZzMy8wZDMzYTRkZDQ4OTViZTA3ZGNjNDc1OTdhYzc0ODI0OS9hc3NldHMvZDY5ZTVlMzQ3YjFhMWIwMTFlNWU4MWMwZDYxZWJmZDhfLDQzMTg4NDMubXA0LDQzMTg4NDQubXA0LDQzMTg4NDIubXA0LDQzMTg4NDAubXA0LDQzMTg4NDEubXA0LDExNjgudHh0LC51cmxzZXQvbWFzdGVyLm0zdTg~bGFuZz1lbi1VUyZ0eXBlPWNhcHRpb24iLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3MDc0NDE3NDl9fX1dfQ__&Signature=BjpHK6TL0m4A5iX73TqiAhvBtEfZJPq1lLkvGucDav2A6Dt2Ki24F~mt7RG5miGnqBWTIRwUxpX5VqAB1-Lz-iPSKpP~YAe6IJ6emI9oLn9Ff~q1DM5O-XqqOVrM6ZcFuZMbc7o1~RKtl6MhMs7akW5ZcC-iE1lSR5O0W-m4wVjxeFdIQFWG0ZraGoKypFG7z202InACYZuR2QeNiiBrvS1UFVjVnJIMM5q05ngXAtZZ9BMEOFTrObABWx438lowPTtehgws--EYLM3R1R9tZ2agZblCNEqc7htr9SLw-fkBBLSB1~G-1C3GXBJUm5NwbeYmy6F4nxcqNds8AdLOfA__&Key-Pair-Id=APKAJMWSQ5S7ZB3MF5VA (multitrack_text_hls/eng/-)
Servers available:
        pl.crunchyroll.com
Available qualities:
        [1] 428x240 (550KiB/s)
        [2] 640x360 (1070KiB/s)
        [3] 848x480 (2044KiB/s)
        [4] 1280x720 (4032KiB/s)
        [5] 1920x1080 (7919KiB/s)
Selected quality: 1920x1080 @ pl.crunchyroll.com
Stream URL: https://pl.crunchyroll.com/evs3/0d33a4dd4895be07dcc47597ac748249/assets/d69e5e347b1a1b011e5e81c0d61ebfd8_4318844.mp4/index-v1-a1.m3u8?res=1920x1080&Expires=1707441750&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9wbC5jcnVuY2h5cm9sbC5jb20vZXZzMy8wZDMzYTRkZDQ4OTViZTA3ZGNjNDc1OTdhYzc0ODI0OS9hc3NldHMvZDY5ZTVlMzQ3YjFhMWIwMTFlNWU4MWMwZDYxZWJmZDhfNDMxODg0NC5tcDQvaW5kZXgtdjEtYTEubTN1OD9yZXM9MTkyMHgxMDgwIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzA3NDQxNzUwfX19XX0_&Signature=hS3rF2cKScPDjK79JT-VWrPRwhnMSyON-RA2ehTSRxRm-KHtthyjHJa5nA0f83xLfCIgdcrjFIHNieQh4yUWq4nz4-8Sp3t30hCJ8vFqsKe9pLyg7iIhTSEse-sMuh8kFFRUscESPDf14ibGdWEe9dI1Y~BdennBz676tRCq9yFVfrTHf8zZwl1Xbe2Gob1sRuy-ub94fPkRm6CRjtFqIhPgZHS1ihB4s0r5bD8iAxOduzfP7MBcWwEYVEQeniOHwoNvW5GCZDIHCF06sy-Tqr98bxD17Jt2UmKvW-V0V3y8I-d2iL~oAJ0wqts-EJ5CyNC7kjcLKrYSqAI2fqTQow__&Key-Pair-Id=APKAJMWSQ5S7ZB3MF5VA
Output filename: [CR] Dragon Ball Z (English Dub) - S01E40 [1080p].English
Total parts in stream: 366 (37*10)
Saving stream to «P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].English.ts»...
10 of 366 parts downloaded [3%] (19s | 76Mb/s)
20 of 366 parts downloaded [5%] (18s | 86Mb/s)
30 of 366 parts downloaded [8%] (16s | 89Mb/s)
40 of 366 parts downloaded [11%] (15s | 88Mb/s)
50 of 366 parts downloaded [14%] (14s | 89Mb/s)
60 of 366 parts downloaded [16%] (14s | 86Mb/s)
70 of 366 parts downloaded [19%] (14s | 84Mb/s)
80 of 366 parts downloaded [22%] (14s | 85Mb/s)
90 of 366 parts downloaded [25%] (14s | 83Mb/s)
100 of 366 parts downloaded [27%] (13s | 84Mb/s)
110 of 366 parts downloaded [30%] (13s | 83Mb/s)
120 of 366 parts downloaded [33%] (13s | 82Mb/s)
130 of 366 parts downloaded [36%] (12s | 82Mb/s)
140 of 366 parts downloaded [38%] (11s | 83Mb/s)
150 of 366 parts downloaded [41%] (11s | 82Mb/s)
160 of 366 parts downloaded [44%] (11s | 80Mb/s)
170 of 366 parts downloaded [46%] (11s | 79Mb/s)
180 of 366 parts downloaded [49%] (10s | 79Mb/s)
190 of 366 parts downloaded [52%] (10s | 78Mb/s)
200 of 366 parts downloaded [55%] (9s | 79Mb/s)
210 of 366 parts downloaded [57%] (9s | 72Mb/s)
220 of 366 parts downloaded [60%] (8s | 72Mb/s)
230 of 366 parts downloaded [63%] (8s | 72Mb/s)
240 of 366 parts downloaded [66%] (7s | 73Mb/s)
250 of 366 parts downloaded [68%] (7s | 73Mb/s)
260 of 366 parts downloaded [71%] (6s | 74Mb/s)
270 of 366 parts downloaded [74%] (5s | 74Mb/s)
280 of 366 parts downloaded [77%] (5s | 74Mb/s)
290 of 366 parts downloaded [79%] (4s | 75Mb/s)
300 of 366 parts downloaded [82%] (4s | 72Mb/s)
310 of 366 parts downloaded [85%] (3s | 71Mb/s)
320 of 366 parts downloaded [87%] (3s | 72Mb/s)
330 of 366 parts downloaded [90%] (2s | 72Mb/s)
340 of 366 parts downloaded [93%] (1s | 72Mb/s)
350 of 366 parts downloaded [96%] (1s | 71Mb/s)
360 of 366 parts downloaded [98%] (0s | 72Mb/s)
366 of 366 parts downloaded [100%] (0s | 72Mb/s)
Subtitle downloaded: [CR] Dragon Ball Z (English Dub) - S01E40 [1080p].01.eng.English.cc.ass

Subtitles: en (Total: 1)
Required fonts: Verdana (Total: 1)
[mkvmerge] Started merging

> "mkvmerge" -o "P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].mkv" --no-date --disable-track-statistics-tags --engage no_variable_data --video-tracks 0 --audio-tracks 1 --track-name 0:"English [Uncut]" --language 1:eng --default-track 1 "P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].English.ts" --track-name 0:"English cc" --language 0:"eng" --default-track 0:0 "P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].01.eng.English.cc.ass" --attachment-name verdana.ttf --attachment-mime-type application/x-truetype-font --attach-file "P:\multi-downloader-nx-windows64-cli\fonts\verdana.ttf" --attachment-name verdanab.ttf --attachment-mime-type application/x-truetype-font --attach-file "P:\multi-downloader-nx-windows64-cli\fonts\verdanab.ttf" --attachment-name verdanai.ttf --attachment-mime-type application/x-truetype-font --attach-file "P:\multi-downloader-nx-windows64-cli\fonts\verdanai.ttf" --attachment-name verdanaz.ttf --attachment-mime-type application/x-truetype-font --attach-file "P:\multi-downloader-nx-windows64-cli\fonts\verdanaz.ttf"
mkvmerge v82.0 ('I'm The President') 64-bit
'P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].English.ts': Using the demultiplexer for the format 'MPEG transport stream'.
'P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].01.eng.English.cc.ass': Using the demultiplexer for the format 'SSA/ASS subtitles'.
'P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].English.ts' track 0: Using the output module for the format 'AVC/H.264 (unframed)'.
'P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].English.ts' track 1: Using the output module for the format 'AAC'.
'P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].01.eng.English.cc.ass' track 0: Using the output module for the format 'SSA/ASS text subtitles'.
The file 'P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].mkv' has been opened for writing.
'P:\multi-downloader-nx-windows64-cli\videos\[CR] Dragon Ball Z (English Dub) - S01E40 [1080p].English.ts' track 0: Extracted the aspect ratio information from the video bitstream and set the display dimensions to 1920/1080.
The cue entries (the index) are being written...
Multiplexing took 7 seconds.
[mkvmerge Done]

Additional Information

It really wouldn't be an issue if it picked up the correct track but it is picking up a largely empty track and ignores the actual CC track. It doesn't even get listed. Above is what happened when I attempted to tell it to grab and mux all sub tracks. I don't know if this is an API issue or if there is something else going on here with this.

Pushed a new commit on the mpd-support branch that should add proper support for the CC subtitles. This used to not be possible because the API didn't actually contain them, but they seem to contain them now. If you're comfortable with building, you can use that, otherwise the next release (which should be soon) will contain the fix!