multi-downloader-nx icon indicating copy to clipboard operation
multi-downloader-nx copied to clipboard

does not detect pt-br audio

Open OryWareKyrie opened this issue 3 years ago • 6 comments

Program version

3.0.4

Operating System

Windows

Type

Cli

Service

Funimation

Command used

node index.js --service funi -s 1650251 -e 04 -q 7 --dubLang jpn por

Show ID

1650251

Episode

04

Console Output

=== Multi Downloader NX 3.0.4 ===

[#1650251] Life Lessons with Uramichi Oniisan (2021)
[0001] Life Lessons with Uramichi Oniisan - #01 Uramichi-Oniisan (00:23:39) [HD1080, Japanese, Spanish, Portuguese]
[0002] Life Lessons with Uramichi Oniisan - #02 Senpai and Kohai (00:23:39) [HD1080, Japanese, Spanish, Portuguese]
[0003] Life Lessons with Uramichi Oniisan - #03 Wash Your Hands and Gargle (00:23:40) [HD1080, Japanese, Portuguese, Spanish]
[0004] Life Lessons with Uramichi Oniisan - #04 Long, Hot Summer (00:23:40) [HD1080, Japanese, Spanish] (selected)
[0005] Life Lessons with Uramichi Oniisan - #05 Once This Concert Is Over… (00:23:40) [HD1080, Japanese, Spanish, Portuguese]
[0006] Life Lessons with Uramichi Oniisan - #06 That Thing That You Can't Remember the Name Of (00:23:39) [HD1080, Japanese, Portuguese, Spanish]
[0007] Life Lessons with Uramichi Oniisan - #07 I Can Do It by Myself (00:23:40) [HD1080, Japanese, Portuguese, Spanish]
[0008] Life Lessons with Uramichi Oniisan - #08 Servility and Conscience (00:23:40) [HD1080, Japanese, Spanish, Portuguese]
[0009] Life Lessons with Uramichi Oniisan - #09 Young People These Days (00:23:40) [HD1080, Japanese, Spanish, Portuguese]
[0010] Life Lessons with Uramichi Oniisan - #10 Subzero Spiral (00:23:40) [HD1080, Japanese, Spanish, Portuguese]
[0011] Life Lessons with Uramichi Oniisan - #11 Fateful Encounter (00:23:40) [HD1080, Japanese, Portuguese, Spanish]
[0012] Life Lessons with Uramichi Oniisan - #12 Awkward Smile (00:23:40) [HD1080, Japanese, Spanish, Portuguese]
[0013] Life Lessons with Uramichi Oniisan - #13 Together with Maman Forever (00:23:40) [HD1080, Japanese, Portuguese, Spanish]

[INFO] Selected Episodes: 0004

[INFO] Life Lessons with Uramichi Oniisan - S1E4 - Long, Hot Summer
[INFO] Available streams (Non-Encrypted):
[#1704224] Japanese [Simulcast] (selected) (using 'English', 'Spanish', 'Portuguese' for subtitles)
[#4125102] Spanish (Latin Am) [Simulcast]
[INFO] Servers available:
        vmfst-api.prd.funimationsvc.com
[INFO] Available qualities:
         1: 416x234 (457KiB/s)
         2: 640x360 (684KiB/s)
         3: 768x432 (1023KiB/s)
         4: 768x432 (1419KiB/s)
         5: 960x540 (2249KiB/s)
         6: 1280x720 (3415KiB/s)
         7: 1280x720 (4963KiB/s)
         8: 1920x1080 (6725KiB/s)
         9: 1920x1080 (8673KiB/s)

### Additional Information

image

OryWareKyrie avatar Mar 21 '22 09:03 OryWareKyrie

~~I think this might be the same issue as the last one. Have you tested it with the newest commit?~~ I just tested it, and it is indeed a bug within the newest commit, hence it will be looked into.

izu-co avatar Mar 21 '22 11:03 izu-co

~I think this might be the same issue as the last one. Have you tested it with the newest commit?~ I just tested it, and it is indeed a bug within the newest commit, hence it will be looked into.

sorry for the delay to answer. yes I tested with last commit. OK! thanks. I found another "BUG". It's not setting the audio as Chinese (zh; chi) during mux. is using cmn.

> "mkvmerge" -o "C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.mkv" --video-tracks 0 --no-audio --track-name 0:"Chinese (Mandarin, PRC) [Uncut]" --language 0:cmn "C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.video.ts" --track-name 0:"Chinese (Mandarin, PRC)" --language 0:cmn --no-video --audio-tracks 0 "C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.audio.cmn.ts" --track-name 0:"English" --language 0:"eng" "C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.subtitle.eng.ass" --track-name 0:"Spanish" --language 0:"spa" "C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.subtitle.spa.ass" --track-name 0:"Brazilian Portuguese" --language 0:"por" "C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.subtitle.por.ass" --no-attachments
mkvmerge v62.0.0 ('Apollo') 64-bit
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.video.ts': Using the demultiplexer for the format 'MPEG transport stream'.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.audio.cmn.ts': Using the demultiplexer for the format 'AAC'.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.subtitle.eng.ass': Using the demultiplexer for the format 'SSA/ASS subtitles'.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.subtitle.spa.ass': Using the demultiplexer for the format 'SSA/ASS subtitles'.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.subtitle.por.ass': Using the demultiplexer for the format 'SSA/ASS subtitles'.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.video.ts' track 0: Using the output module for the format 'AVC/H.264 (unframed)'.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.audio.cmn.ts' track 0: Using the output module for the format 'AAC'.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.subtitle.eng.ass' track 0: Using the output module for the format 'SSA/ASS text subtitles'.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.subtitle.spa.ass' track 0: Using the output module for the format 'SSA/ASS text subtitles'.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.subtitle.por.ass' track 0: Using the output module for the format 'SSA/ASS text subtitles'.
The file 'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.mkv' has been opened for writing.
'C:\Ory\multi-downloader-nx-18.01.22\lib\videos\LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.video.ts' track 0: Extracted the aspect ratio information from the video bitstream and set the display dimensions to 1280/720.
Progress: 100%
The cue entries (the index) are being written...
Multiplexing took 3 seconds.
[INFO][mkvmerge Done]
General
Unique ID                   : 202106787711588002192597324912057796418 (0x980C59F8166C170C2AABF8FDEAF24742)
Complete name               : LINK CLICK S02 720p Funimation WEB-DL AVC AAC2.0-Ory\LINK CLICK E06 720p Funimation WEB-DL AVC AAC2.0-Ory.mkv
Format                      : Matroska
Format version              : Version 4
File size                   : 216 MiB
Duration                    : 7 min 58 s
Overall bit rate            : 3 776 kb/s
Encoded date                : UTC 2022-03-21 19:46:38
Writing application         : mkvmerge v62.0.0 ('Apollo') 64-bit
Writing library             : libebml v1.4.2 + libmatroska v1.6.4

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L4
Format settings             : CABAC / 3 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 3 frames
Codec ID                    : V_MPEG4/ISO/AVC
Duration                    : 7 min 58 s
Bit rate                    : 3 517 kb/s
Width                       : 1 280 pixels
Height                      : 720 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 24.000 FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.159
Stream size                 : 201 MiB (93%)
Title                       : Chinese (Mandarin, PRC) [Uncut]
Default                     : Yes
Forced                      : No
Color range                 : Limited
Matrix coefficients         : BT.709

Audio
ID                          : 2
Format                      : AAC LC
Format/Info                 : Advanced Audio Codec Low Complexity
Codec ID                    : A_AAC-2
Duration                    : 7 min 58 s
Bit rate                    : 256 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 48.0 kHz
Frame rate                  : 46.875 FPS (1024 SPF)
Compression mode            : Lossy
Stream size                 : 14.6 MiB (7%)
Title                       : Chinese (Mandarin, PRC)
Default                     : Yes
Forced                      : No

Text #1
ID                          : 3
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 3 min 47 s
Bit rate                    : 140 b/s
Count of elements           : 80
Compression mode            : Lossless
Stream size                 : 3.90 KiB (0%)
Title                       : English
Language                    : English
Default                     : Yes
Forced                      : No

Text #2
ID                          : 4
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 3 min 46 s
Bit rate                    : 131 b/s
Count of elements           : 72
Compression mode            : Lossless
Stream size                 : 3.64 KiB (0%)
Title                       : Spanish
Language                    : Spanish
Default                     : Yes
Forced                      : No

Text #3
ID                          : 5
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 3 min 47 s
Bit rate                    : 108 b/s
Count of elements           : 55
Compression mode            : Lossless
Stream size                 : 3.02 KiB (0%)
Title                       : Brazilian Portuguese
Language                    : Portuguese
Default                     : Yes
Forced                      : No

OryWareKyrie avatar Mar 21 '22 20:03 OryWareKyrie

This is correct as far as I am concerned since it is Mandarin Chinese, is it not?

izu-co avatar Mar 22 '22 15:03 izu-co

It seems like they are using a new API (maybe?). The audio comes from a cloudfront API endpoint, which we are actively trying to avoid in order to not get blocked.

Therefore, with my eyes on the merge of funi and crunchy I won't investigate any further. If someone has the time (I don't) to fix this, please feel free to open a PR.

izu-co avatar Mar 22 '22 15:03 izu-co

This is correct as far as I am concerned since it is Mandarin Chinese, is it not?

yes it is correct. only "cmn" is ISO 639-3 is "zh; chi" is ISO 639-2. It's not a BUG but an Observation.

It seems like they are using a new API (maybe?). The audio comes from a cloudfront API endpoint, which we are actively trying to avoid in order to not get blocked.

Therefore, with my eyes on the merge of funi and crunchy I won't investigate any further. If someone has the time (I don't) to fix this, please feel free to open a PR.

Ok Manin!!! I'm going to test some old versions of the tool, maybe one of them will pull the audio!

OryWareKyrie avatar Mar 22 '22 17:03 OryWareKyrie

I doubt it since it is using the same api

izu-co avatar Mar 22 '22 17:03 izu-co

I'm going to close this since the pt-br audio no longer exists on this series it seems, so I can't look into fixing it. Feel free to re-open if you have another example though

AnimeDL avatar Jul 14 '23 00:07 AnimeDL