clsid2 / mpc-hc

Media Player Classic
GNU General Public License v3.0
11.3k stars 496 forks source link

Can't specify default subtitle language #2009

Closed xuefer closed 1 year ago

xuefer commented 1 year ago

works for other video but not https://acg.rip/t/272202 https://acg.rip/t/272202.torrent mediainfo shows correct language "English (US)", "Chinese (Simplified)" and "Chinese (Traditional)", but specifing "zt;zht;zh-cn;zh-hk;zh-sg;zh-tw;zh-;zh;chi;eng" in lav advanced subtitles selection never select Chinese nor English for this video. (default track preference is set to: zht chi eng)

General
Unique ID                   : 321366217408150413759335341795689257075 (0xF1C4E1D2C0B353359F1B21ADEA025873)
Complete name               : C:\var\Downloads\_new_\[NC-Raws] Rougo ni Sonaete Isekai de 8-manmai no Kinka wo Tamemasu - 04 (CR 1920x1080 AVC AAC MKV) [1FD16FE5].mkv
Format                      : Matroska
Format version              : Version 4
File size                   : 1.33 GiB
Duration                    : 23 min 24 s
Overall bit rate            : 8 130 kb/s
Writing application         : Lavf59.30.101
Writing library             : Lavf59.30.101
ErrorDetectionType          : Per level 1

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L4
Format settings             : CABAC / 4 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 4 frames
Format settings, GOP        : M=1, N=48
Codec ID                    : V_MPEG4/ISO/AVC
Duration                    : 23 min 23 s
Nominal bit rate            : 8 000 kb/s
Width                       : 1 920 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.161
Writing library             : x264 core 142
Encoding settings           : cabac=1 / ref=4 / deblock=1:1:1 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=96 / keyint_min=48 / scenecut=40 / intra_refresh=0 / rc_lookahead=48 / rc=2pass / mbtree=1 / bitrate=8000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=12000 / vbv_bufsize=18000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:0.60
Default                     : No
Forced                      : No

Audio
ID                          : 2
Format                      : AAC LC
Format/Info                 : Advanced Audio Codec Low Complexity
Codec ID                    : A_AAC-2
Duration                    : 23 min 24 s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 44.1 kHz
Frame rate                  : 43.066 FPS (1024 SPF)
Compression mode            : Lossy
Default                     : No
Forced                      : No

Text #1
ID                          : 3
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 21 min 53 s
Compression mode            : Lossless
Language                    : Arabic (SA)
Default                     : Yes
Forced                      : No

Text #2
ID                          : 4
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 23 min 19 s
Compression mode            : Lossless
Language                    : German (DE)
Default                     : No
Forced                      : No

Text #3
ID                          : 5
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 21 min 53 s
Compression mode            : Lossless
Language                    : English (US)
Default                     : No
Forced                      : No

Text #4
ID                          : 6
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 23 min 23 s
Compression mode            : Lossless
Language                    : Spanish (Latin America)
Default                     : No
Forced                      : No

Text #5
ID                          : 7
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 23 min 23 s
Compression mode            : Lossless
Language                    : Spanish (ES)
Default                     : No
Forced                      : No

Text #6
ID                          : 8
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 23 min 23 s
Compression mode            : Lossless
Language                    : French (FR)
Default                     : No
Forced                      : No

Text #7
ID                          : 9
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 21 min 53 s
Compression mode            : Lossless
Language                    : Italian (IT)
Default                     : No
Forced                      : No

Text #8
ID                          : 10
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 21 min 53 s
Compression mode            : Lossless
Language                    : Portuguese (BR)
Default                     : No
Forced                      : No

Text #9
ID                          : 11
Format                      : ASS
Codec ID                    : S_TEXT/ASS
Codec ID/Info               : Advanced Sub Station Alpha
Duration                    : 21 min 53 s
Compression mode            : Lossless
Language                    : Russian (RU)
Default                     : No
Forced                      : No

Text #10
ID                          : 12
Format                      : UTF-8
Codec ID                    : S_TEXT/UTF8
Codec ID/Info               : UTF-8 Plain Text
Duration                    : 23 min 18 s
Title                       : 中文(简体)| 繁化姬
Language                    : Chinese (Simplied)
Default                     : No
Forced                      : No

Text #11
ID                          : 13
Format                      : UTF-8
Codec ID                    : S_TEXT/UTF8
Codec ID/Info               : UTF-8 Plain Text
Duration                    : 23 min 18 s
Title                       : 中文(繁體)
Language                    : Chinese (Traditional)
Default                     : No
Forced                      : No
Video: MPEG4 Video (H264) 1920x1080 23.976fps [V: h264 high L4.0, yuv420p, 1920x1080]
Audio: AAC 44100Hz stereo [A: aac lc, 44100 Hz, stereo]
Subtitle: Advanced SubStation Alpha [S: ar- [ar-] (ass) [default]]
Subtitle: Advanced SubStation Alpha [S: de- [de-] (ass)]
Subtitle: Advanced SubStation Alpha [S: en- [en-] (ass)]
Subtitle: Advanced SubStation Alpha [S: es- [es-] (ass)]
Subtitle: Advanced SubStation Alpha [S: es- [es-] (ass)]
Subtitle: Advanced SubStation Alpha [S: fr- [fr-] (ass)]
Subtitle: Advanced SubStation Alpha [S: it- [it-] (ass)]
Subtitle: Advanced SubStation Alpha [S: pt- [pt-] (ass)]
Subtitle: Advanced SubStation Alpha [S: ru- [ru-] (ass)]
Subtitle: UTF-8 [S: 中文(简体)| 繁化姬 [zh-] (subrip)]
Subtitle: UTF-8 [S: 中文(繁體) [zh-] (subrip)]
Subtitle: UTF-8 [S: No subtitles]
clsid2 commented 1 year ago

Here is documentation for the stream selection: https://1f0.de/lav-splitter/lav-splitter-stream-selection/

Only three letter language codes are supported. It is not possible to choose a Chinese language variation. The extended language tags as used in that file are not supported.