[FFmpeg-devel] [PATCH] movenc.c Quicktime audio selection and language code
Tue Jan 11 21:37:29 CET 2011
On 01/11/2011 12:18 PM, Martin Tessarek wrote:
> 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
> ISO 14496-12 says in page 21 220.127.116.11 unsigned int(5) language;
> // ISO-639-2/T language code
> and in 18.104.22.168 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).
"ISO language codes cannot be used for all elements of a QuickTime file.
Currently, ISO language codes
can be used only for user data text. All other elements, including text
tracks, must be specified using Macintosh
So this only applies in the user data case, so I think this is wrong for
MODE_MOV, but should be changed for the user data case.
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel