libavformat/isom.c File Reference

#include "avformat.h"
#include "riff.h"
#include "isom.h"

Go to the source code of this file.

Functions

int ff_mov_iso639_to_lang (const char *lang, int mp4)
int ff_mov_lang_to_iso639 (unsigned code, char *to)

Variables

const AVCodecTag ff_mp4_obj_type []
const AVCodecTag codec_movvideo_tags []
const AVCodecTag codec_movaudio_tags []
const AVCodecTag ff_codec_movsubtitle_tags []
static const char *const mov_mdhd_language_map []


Function Documentation

int ff_mov_iso639_to_lang ( const char *  lang,
int  mp4 
)

Definition at line 249 of file isom.c.

Referenced by mov_write_header(), and mov_write_string_metadata().

int ff_mov_lang_to_iso639 ( unsigned  code,
char *  to 
)

Definition at line 277 of file isom.c.

Referenced by mov_read_mdhd(), and mov_read_udta_string().


Variable Documentation

Definition at line 169 of file isom.c.

Referenced by mov_find_codec_tag(), and mov_read_stsd().

Initial value:

 {
    { CODEC_ID_MOV_TEXT, MKTAG('t', 'e', 'x', 't') },
    { CODEC_ID_MOV_TEXT, MKTAG('t', 'x', '3', 'g') },
    { CODEC_ID_NONE, 0 },
}

Definition at line 217 of file isom.c.

Referenced by mov_find_codec_tag(), and mov_read_stsd().

Initial value:

 {
    { CODEC_ID_MOV_TEXT  , 0x08 },
    { CODEC_ID_MPEG4     , 0x20 },
    { CODEC_ID_H264      , 0x21 },
    { CODEC_ID_AAC       , 0x40 },
    { CODEC_ID_MPEG2VIDEO, 0x61 }, 
    { CODEC_ID_MPEG2VIDEO, 0x60 }, 
    { CODEC_ID_MPEG2VIDEO, 0x62 }, 
    { CODEC_ID_MPEG2VIDEO, 0x63 }, 
    { CODEC_ID_MPEG2VIDEO, 0x64 }, 
    { CODEC_ID_MPEG2VIDEO, 0x65 }, 
    { CODEC_ID_AAC       , 0x66 }, 
    { CODEC_ID_AAC       , 0x67 }, 
    { CODEC_ID_AAC       , 0x68 }, 
    { CODEC_ID_MP3       , 0x69 }, 
    { CODEC_ID_MP2       , 0x69 }, 
    { CODEC_ID_MPEG1VIDEO, 0x6A }, 
    { CODEC_ID_MP3       , 0x6B }, 
    { CODEC_ID_MJPEG     , 0x6C }, 
    { CODEC_ID_PNG       , 0x6D },
    { CODEC_ID_JPEG2000  , 0x6E }, 
    { CODEC_ID_VC1       , 0xA3 },
    { CODEC_ID_DIRAC     , 0xA4 },
    { CODEC_ID_AC3       , 0xA5 },
    { CODEC_ID_VORBIS    , 0xDD }, 
    { CODEC_ID_DVD_SUBTITLE, 0xE0 }, 
    { CODEC_ID_QCELP     , 0xE1 },
    { 0, 0 },
}

Definition at line 30 of file isom.c.

Referenced by mov_find_codec_tag(), mov_read_esds(), and mov_write_esds_tag().

const char* const mov_mdhd_language_map[] [static]

Initial value:

 {
    
    "eng", "fra", "ger", "ita", "dut", "sve", "spa", "dan", "por", "nor",
    "heb", "jpn", "ara", "fin", "gre", "ice", "mlt", "tur", "hr ", "chi",
    "urd", "hin", "tha", "kor", "lit", "pol", "hun", "est", "lav",  NULL,
    "fo ",  NULL, "rus", "chi",  NULL, "iri", "alb", "ron", "ces", "slk",
    "slv", "yid", "sr ", "mac", "bul", "ukr", "bel", "uzb", "kaz", "aze",
    
    "aze", "arm", "geo", "mol", "kir", "tgk", "tuk", "mon",  NULL, "pus",
    "kur", "kas", "snd", "tib", "nep", "san", "mar", "ben", "asm", "guj",
    "pa ", "ori", "mal", "kan", "tam", "tel",  NULL, "bur", "khm", "lao",
    
    "vie", "ind", "tgl", "may", "may", "amh", "tir", "orm", "som", "swa",
    
    NULL, "run",  NULL, "mlg", "epo",  NULL,  NULL,  NULL,  NULL,  NULL,
    
    NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL,
    NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL,
    NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL,  NULL, "wel", "baq",
    "cat", "lat", "que", "grn", "aym", "tat", "uig", "dzo", "jav"
}

Definition at line 227 of file isom.c.

Referenced by ff_mov_iso639_to_lang(), and ff_mov_lang_to_iso639().


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8