ffmpeg:encoding:set_language
This is an old revision of the document!
Table of Contents
ffmpeg - Encoding - Set Language
FFMPeg uses the ISO 639-2 codes.
Set language for specific streams
-map 0:v \ -map 0:1 -metadata:s:a:0 language=zxx \ -map 0:2 -metadata:s:a:1 language=eng \ -map 0:3 -metadata:s:a:2 language=fra \ -map 0:4 -metadata:s:a:3 language=kin
NOTE: The standard includes some codes for special situations:
- mis, for “uncoded languages”;
- mul, for “multiple languages”;
- qaa-qtz, a range reserved for local use.
- und, for “undetermined”;
- zxx, for “no linguistic content, not applicable”;
Set language as Unknown
ffmpeg -i in.mkv -map 0:a -metadata:s:a:0 language="und" -metadata:s:a:0 title="Just Music" out.mkv
NOTE: und stands for Undetermined.
The standard includes some codes for special situations:
- mis, for “uncoded languages”;
- mul, for “multiple languages”;
- qaa-qtz, a range reserved for local use.
- und, for “undetermined”;
- zxx, for “no linguistic content, not applicable”;
References
ffmpeg/encoding/set_language.1698919854.txt.gz · Last modified: 2023/11/02 10:10 by peter