#include "avformat.h"
#include "libavutil/intreadwrite.h"
#include "pcm.h"
#include "riff.h"
#include "id3v2.h"
Go to the source code of this file.
Defines | |
| #define | EA3_HEADER_SIZE 96 |
| #define | ID3v2_EA3_MAGIC "ea3" |
Enumerations | |
| enum | { OMA_CODECID_ATRAC3 = 0, OMA_CODECID_ATRAC3P = 1, OMA_CODECID_MP3 = 3, OMA_CODECID_LPCM = 4, OMA_CODECID_WMA = 5 } |
Functions | |
| static int | oma_read_header (AVFormatContext *s, AVFormatParameters *ap) |
| static int | oma_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | oma_read_probe (AVProbeData *p) |
Variables | |
| static const AVCodecTag | codec_oma_tags [] |
| AVInputFormat | ff_oma_demuxer |
Known file extensions: ".oma", "aa3" The format of such files consists of three parts:
LIMITATIONS: This version supports only plain (unencrypted) OMA files. If any DRM-protected (encrypted) file is encountered you will get the corresponding error message. Try to remove the encryption using any Sony software (for example SonicStage). CODEC SUPPORT: Only ATRAC3 codec is currently supported!
Definition in file oma.c.
| #define EA3_HEADER_SIZE 96 |
| #define ID3v2_EA3_MAGIC "ea3" |
| anonymous enum |
| static int oma_read_header | ( | AVFormatContext * | s, | |
| AVFormatParameters * | ap | |||
| ) | [static] |
| static int oma_read_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int oma_read_probe | ( | AVProbeData * | p | ) | [static] |
const AVCodecTag codec_oma_tags[] [static] |
Initial value:
{
{ CODEC_ID_ATRAC3, OMA_CODECID_ATRAC3 },
{ CODEC_ID_ATRAC3P, OMA_CODECID_ATRAC3P },
{ CODEC_ID_MP3, OMA_CODECID_MP3 },
}
Initial value:
{
"oma",
NULL_IF_CONFIG_SMALL("Sony OpenMG audio"),
0,
oma_read_probe,
oma_read_header,
oma_read_packet,
0,
pcm_read_seek,
.flags= AVFMT_GENERIC_INDEX,
.extensions = "oma,aa3",
.codec_tag= (const AVCodecTag* const []){codec_oma_tags, 0},
}
1.5.8