[FFmpeg-devel] [PATCH] Read ogg stream language
Fri Feb 1 00:33:46 CET 2008
Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
> attached patch makes vorbis_comment (which lacks a ff_ prefix btw) parse
> the language tag into AVStream.language (if a mapping is known).
> It also adds vorbis comment parsing to oggparseogm.c (I would apply as a
> second step).
> The code is probably improvable, the mapping list even more so.
The official specification makes no mention of a LANGUAGE field.
Of the unofficial field extension specs [2,3,4] I was able to easily
find, only  lists LANGUAGE, and it does not detail how the language
is to be specified. It is also merely a suggestion posted to a
mailing list, where it was met with little enthusiasm.
I know there are Ogg files around with a LANGUAGE tag, but I've been
unable to find *any* documentation on its intended use or
interpretation. If you know something I don't, please enlighten me.
mans at mansr.com
More information about the ffmpeg-devel