`--alang` isn't effective. Audio selection defaults to the first track.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
- 領域
- audio-video-rtc, cli
調査の方向性
No source file or test is named. Start by reproducing the issue with the provided mpv command and inspect output.txt, comparing the logged audio-track selection with the track actually played. Done means --alang selects the zho audio track while preserving the currently correct subtitle selection.
索引モデルが issue の本文から書いたものです。
説明
mpv Information
mpv v0.41.0-1084-ga1bf4b655 Copyright © 2000-2026 mpv/MPlayer/mplayer2 projects
built on Sep 26 2026 16:07:32
libplacebo version: v7.372.0 (v7.360.0-132-gc42968d-dirty)
FFmpeg version: N-126899-gd97584959
FFmpeg library versions:
libavcodec 63.14.100
libavdevice 63.2.100
libavfilter 12.4.100
libavformat 63.7.100
libavutil 61.8.100
libswresample 7.3.100
libswscale 10.2.100
Other Information
- Windows version:10.0.29671.1000
- GPU model, driver and version: Intel Arc Graphics
- Source of mpv: zhongfly/mpv-winbuild/releases
- Latest known working version: No longer traceable (Note: The builds on zhongfly's repo only date back to 8/28, and that version already had this issue.)
- Issue started after the following happened:
Reproduction Steps
Run mpv bd:// --bluray-device="X:\temp\1.iso" --alang=zh,chi,zho,zh-CN,zh-Hans,en,eng --slang=zh,chi,zho,zh-CN,zh-Hans,en,eng
Note: I append --slang= just for sanity check and reference. It is not directly related to the issue reported here, but is helpful for generating screenshots below for problem statement.
Expected Behavior
The tested .iso file has both audio and subtitle in zho (Chinese). I expect mpv to autoselect those for playback.
Actual Behavior
Even though the log file seems to indicate that mpv selects the right audio track (line 710) and subtitle track (line 723), in reality it plays the first audio track (English). The subtitle selection is correct, though. See the screenshots below.
Log File
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
- I tested and confirmed that the issue exists with the latest release version or newer.
- I provided all required information including system and mpv version.
- I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of
--log-file=output.txt. - I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- I attached the full, untruncated log file.
- I attached the backtrace in the case of a crash.
- 主要言語
- C
- スター
- 38.2k
- フォーク
- 3.7k
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 76
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mpv-player/mpv のほかの issue
-
meta:feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mpv-player/mpv#18855 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
meta:feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
mpv-player/mpv#18683 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Subtitle delay value displays "-0ms"再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンos:linux
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mpv-player/mpv#18649 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
meta:feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mpv-player/mpv#18464 ·
メンテナーはふだん 1 日以内に返信
-
Keyboard shortcut next and previous secondary subtitle file対応中かも @ravarnax が 225 日前に担当しました。 オープンmeta:feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
mpv-player/mpv#17693 · コメント 5 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ChupathingyCE/chupathingyce#1550 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
redis/redis#16302 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
slice
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
Life-Framework/Life-Framework#3878 ·
メンテナーはふだん 1 日以内に返信
-
`sha256()` returns a wrong hash when libsql-ffi is built with gcc 11 or later対応中かも @colinhacks が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tursodatabase/libsql#2333 ·
メンテナーはふだん 11 日以内に返信