Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--slang region doesn't work #13983

Closed
Piber0 opened this issue Apr 24, 2024 · 1 comment · Fixed by #13917
Closed

--slang region doesn't work #13983

Piber0 opened this issue Apr 24, 2024 · 1 comment · Fixed by #13917
Labels

Comments

@Piber0
Copy link

Piber0 commented Apr 24, 2024

Important Information

Provide following Information:

If you're not using git master or the latest release, update.
Releases are listed here: https://github.com/mpv-player/mpv/releases

Reproduction steps

mpv --no-config --slang=fr-FR output.mkv

Expected behavior

According to the documentation, the slang option supports the region of a language, so this command should select the subtitle French from France (fr-FR) instead of French from Canada (fr-CA).

Actual behavior

Log file

Z:\>mpv --no-config --slang=fr-FR output.mkv
 (+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
 (+) Audio --aid=1 --alang=en (*) (eac3 6ch 48000Hz)
 (+) Subs  --sid=1 --slang=fr-CA (subrip)
     Subs  --sid=2 --slang=fr-FR (subrip)
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 1920x1080 yuv420p
AV: 00:00:02 / 00:43:29 (0%) A-V: -0.000 Cache: 84s/150MB

Sample files

The specific region of a subtitle can be created in MKVToolNix GUI (and mkvpropedit propably too).

@Piber0 Piber0 added the os:win label Apr 24, 2024
@kasper93
Copy link
Contributor

Fixed by #13917

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants