[FFmpeg-devel] [PATCH 1/2] clarified the usage of ISO 639 language codes

Helmut K. C. Tessarek tessarek at evermeet.cx
Wed Jan 8 00:32:40 CET 2014


From: "Helmut K. C. Tessarek" <tessarek at evermeet.cx>

added the following to the metadata section:
The language can be specified as an ISO 639-2/T or ISO 639-2/B (3 letters) code.

added the following to the -vlang and -slang sections:
(639-2/T or 639-2/B)
---
 doc/ffmpeg.texi |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 0a930ce..7d22c16 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -322,6 +322,7 @@ To set the language of the first audio stream:
 @example
 ffmpeg -i INPUT -metadata:s:a:1 language=eng OUTPUT
 @end example
+The language can be specified as an ISO 639-2/T or ISO 639-2/B (3 letters) code.
 
 @item -target @var{type} (@emph{output})
 Specify target file type (@code{vcd}, @code{svcd}, @code{dvd}, @code{dv},
@@ -509,7 +510,8 @@ prefix is ``ffmpeg2pass''. The complete file name will be
 stream
 
 @item -vlang @var{code}
-Set the ISO 639 language code (3 letters) of the current video stream.
+Set the ISO 639 (639-2/T or 639-2/B) language code (3 letters) of the current
+video stream.
 
 @item -vf @var{filtergraph} (@emph{output})
 Create the filtergraph specified by @var{filtergraph} and use it to
@@ -710,7 +712,8 @@ stereo but not 6 channels as 5.1. The default is to always try to guess. Use
 
 @table @option
 @item -slang @var{code}
-Set the ISO 639 language code (3 letters) of the current subtitle stream.
+Set the ISO 639 (639-2/T or 639-2/B) language code (3 letters) of the current
+subtitle stream.
 @item -scodec @var{codec} (@emph{input/output})
 Set the subtitle codec. This is an alias for @code{-codec:s}.
 @item -sn (@emph{output})
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list