`--alang` isn't effective. Audio selection defaults to the first track.

Aperta
#18,525 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

os:win
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.

Image Image
Log File

output.txt

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.
Lingua principale
C
Stelle
38.2k
Fork
3.7k
Merge medio
1g 13h
PR unite (30g)
76

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mpv-player/mpv

Tutte le issue di mpv-player/mpv

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.