[FFmpeg-devel] [PATCH] Read ogg stream language
Reimar Döffinger
Reimar.Doeffinger
Sun Mar 2 15:41:22 CET 2008
On Sun, Mar 02, 2008 at 09:03:30AM -0500, Ronald S. Bultje wrote:
> Hi,
>
> On Sun, Mar 2, 2008 at 1:15 AM, Reimar D?ffinger <
> Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
>
> > On Sat, Mar 01, 2008 at 06:24:10PM -0500, Ronald S. Bultje wrote:
> > > On Sat, Mar 1, 2008 at 6:03 PM, Michael Niedermayer <michaelni at gmx.at>
> > > wrote:
> > > > On Sat, Mar 01, 2008 at 09:44:06PM +0000, M?ns Rullg?rd wrote:
> > > > > Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
> > > > > > +} langmap [] = {
> > > > > > + {"eng", "English"},
> > > > > > + {"und", NULL}
> > > > > > +};
> > >
> > > ISO-639-1 defines both 2- and 3-letter language codes. If you pick both
> > of
> > > them, you can use this for DVD language code reading also (that's
> > 2-letter).
> > > Also, Matroska uses the 3-letter coding as well.
> >
> > Huh? This mapping is the other way round, from string to language code, I
> > have
> > not planned to provide language code to id mapping yet.
>
>
> Oh, OK. So, any plans to do the opposite? :-).
No, what would be the purpose of it? End-user applications would want a
translated string to display to the user, since it is non-standard I
don't think we want to create this ogm tag, so what would be the use
case for it?
Greetings,
Reimar D?ffinger
More information about the ffmpeg-devel
mailing list