[FFmpeg-devel] [PATCH] movenc.c Quicktime audio selection and language code

Martin Tessarek mt
Tue Jan 11 21:18:00 CET 2011


Am 11.01.2011 um 20:51 schrieb Baptiste Coudurier:

> Do you know how to fix the case for ipad/iphone ?

I tried to compare the atom header for working cases (Handbrake which uses mp4v2) but couldn't find anything obvious why it doesn't work.
Also I have no direct access to these devices to try out some different values in the atom headers.

> Can you please quote the specs ? ISO 14496-12 and Quicktime File Format.
> They might differ and I want to be sure that the values are correct.

ISO 14496-12 says in page 21 8.4.2.2
unsigned int(5)[3] language;    // ISO-639-2/T language code

and in 8.4.2.3
language declares the language code for this media. See ISO 639-2/T for the set of three character codes.


Quicktime File Format says in chapter 5 page 227:
Some elements of a QuickTime file may be associated with a particular spoken language. To indicate the language associated with a particular object, the QuickTime file format uses either language codes from the Macintosh Script Manager or ISO language codes (as specified in ISO 639-2/T).




More information about the ffmpeg-devel mailing list