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 (int 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 * mov_mdhd_language_map []


Function Documentation

int ff_mov_iso639_to_lang ( const char *  lang,
int  mp4 
)

Definition at line 204 of file isom.c.

Referenced by mov_write_header().

int ff_mov_lang_to_iso639 ( int  code,
char *  to 
)

Definition at line 232 of file isom.c.

Referenced by mov_read_mdhd().


Variable Documentation

Definition at line 130 of file isom.c.

Referenced by mov_find_codec_tag(), and mov_read_stsd().

Definition at line 56 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 172 of file isom.c.

Referenced by mov_read_stsd().

Initial value:

 {
    { CODEC_ID_MPEG4     ,  32 },
    { CODEC_ID_H264      ,  33 },
    { CODEC_ID_AAC       ,  64 },
    { CODEC_ID_MPEG2VIDEO,  97 }, 
    { CODEC_ID_MPEG2VIDEO,  96 }, 
    { CODEC_ID_MPEG2VIDEO,  98 }, 
    { CODEC_ID_MPEG2VIDEO,  99 }, 
    { CODEC_ID_MPEG2VIDEO, 100 }, 
    { CODEC_ID_MPEG2VIDEO, 101 }, 
    { CODEC_ID_AAC       , 102 }, 
    { CODEC_ID_AAC       , 103 }, 
    { CODEC_ID_AAC       , 104 }, 
    { CODEC_ID_MP3       , 107 }, 
    { CODEC_ID_MP3       , 105 }, 
    { CODEC_ID_MPEG1VIDEO, 106 }, 
    { CODEC_ID_MJPEG     , 108 }, 
    { CODEC_ID_PNG       , 109 },
    { CODEC_ID_JPEG2000  , 110 }, 
    { CODEC_ID_VC1       , 163 },
    { CODEC_ID_VORBIS    , 221 }, 
    { CODEC_ID_DVD_SUBTITLE, 224 }, 
    { CODEC_ID_QCELP     , 225 },
    { 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* 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 182 of file isom.c.

Referenced by ff_mov_iso639_to_lang(), and ff_mov_lang_to_iso639().


Generated on Fri Apr 23 15:12:03 2010 for ffmpeg by  doxygen 1.5.6