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[4], int mp4)
int ff_mov_lang_to_iso639 (unsigned code, char to[4])

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 [][4]


Function Documentation

int ff_mov_iso639_to_lang ( const char  lang[4],
int  mp4 
)

Definition at line 269 of file isom.c.

Referenced by mov_write_header(), mov_write_string_data_tag(), and mov_write_string_metadata().

int ff_mov_lang_to_iso639 ( unsigned  code,
char  to[4] 
)

Definition at line 296 of file isom.c.

Referenced by mov_read_mdhd(), and mov_read_udta_string().


Variable Documentation

Definition at line 182 of file isom.c.

Referenced by mov_get_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 237 of file isom.c.

Referenced by mov_get_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_MP4ALS    , 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 },
    { CODEC_ID_NONE      ,    0 },
}

Definition at line 30 of file isom.c.

Referenced by ff_mov_read_esds(), mov_write_esds_tag(), and mp4_get_codec_tag().

const char mov_mdhd_language_map[][4] [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",    "",
    "fo ",    "", "rus", "chi",    "", "iri", "alb", "ron", "ces", "slk",
    "slv", "yid", "sr ", "mac", "bul", "ukr", "bel", "uzb", "kaz", "aze",
    
    "aze", "arm", "geo", "mol", "kir", "tgk", "tuk", "mon",    "", "pus",
    "kur", "kas", "snd", "tib", "nep", "san", "mar", "ben", "asm", "guj",
    "pa ", "ori", "mal", "kan", "tam", "tel",    "", "bur", "khm", "lao",
    
    "vie", "ind", "tgl", "may", "may", "amh", "tir", "orm", "som", "swa",
    
       "", "run",    "", "mlg", "epo",    "",    "",    "",    "",    "",
    
       "",    "",    "",    "",    "",    "",    "",    "",    "",    "",
       "",    "",    "",    "",    "",    "",    "",    "",    "",    "",
       "",    "",    "",    "",    "",    "",    "",    "", "wel", "baq",
    "cat", "lat", "que", "grn", "aym", "tat", "uig", "dzo", "jav"
}

Definition at line 247 of file isom.c.

Referenced by ff_mov_iso639_to_lang(), and ff_mov_lang_to_iso639().


Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8