libavformat/rmenc.c File Reference
#include "avformat.h"
#include "avio_internal.h"
#include "rm.h"
#include "libavutil/dict.h"
Go to the source code of this file.
|
Data Structures |
struct | StreamInfo |
struct | RMMuxContext |
Defines |
#define | BUFFER_DURATION 0 |
Functions |
static void | put_str (AVIOContext *s, const char *tag) |
static void | put_str8 (AVIOContext *s, const char *tag) |
static int | rv10_write_header (AVFormatContext *ctx, int data_size, int index_pos) |
static void | write_packet_header (AVFormatContext *ctx, StreamInfo *stream, int length, int key_frame) |
static int | rm_write_header (AVFormatContext *s) |
static int | rm_write_audio (AVFormatContext *s, const uint8_t *buf, int size, int flags) |
static int | rm_write_video (AVFormatContext *s, const uint8_t *buf, int size, int flags) |
static int | rm_write_packet (AVFormatContext *s, AVPacket *pkt) |
static int | rm_write_trailer (AVFormatContext *s) |
Variables |
AVOutputFormat | ff_rm_muxer |
Define Documentation
#define BUFFER_DURATION 0 |
Function Documentation
static void put_str |
( |
AVIOContext * |
s, |
|
|
const char * |
tag | |
|
) |
| | [static] |
static void put_str8 |
( |
AVIOContext * |
s, |
|
|
const char * |
tag | |
|
) |
| | [static] |
Variable Documentation
Initial value:
{
.name = "rm",
.long_name = NULL_IF_CONFIG_SMALL("RealMedia"),
.mime_type = "application/vnd.rn-realmedia",
.extensions = "rm,ra",
.priv_data_size = sizeof(RMMuxContext),
.audio_codec = AV_CODEC_ID_AC3,
.video_codec = AV_CODEC_ID_RV10,
.write_header = rm_write_header,
.write_packet = rm_write_packet,
.write_trailer = rm_write_trailer,
.codec_tag = (const AVCodecTag* const []){ ff_rm_codec_tags, 0 },
}
Definition at line 468 of file rmenc.c.