libavformat/ffmenc.c File Reference

#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat_readwrite.h"
#include "avformat.h"
#include "internal.h"
#include "ffm.h"

Go to the source code of this file.

Functions

static void flush_packet (AVFormatContext *s)
static void ffm_write_data (AVFormatContext *s, const uint8_t *buf, int size, int64_t dts, int header)
static int ffm_write_header (AVFormatContext *s)
static int ffm_write_packet (AVFormatContext *s, AVPacket *pkt)
static int ffm_write_trailer (AVFormatContext *s)

Variables

AVOutputFormat ff_ffm_muxer


Function Documentation

static void ffm_write_data ( AVFormatContext s,
const uint8_t *  buf,
int  size,
int64_t  dts,
int  header 
) [static]

Definition at line 58 of file ffmenc.c.

Referenced by ffm_write_packet().

static int ffm_write_header ( AVFormatContext s  )  [static]

Definition at line 85 of file ffmenc.c.

static int ffm_write_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 204 of file ffmenc.c.

static int ffm_write_trailer ( AVFormatContext s  )  [static]

Definition at line 230 of file ffmenc.c.

static void flush_packet ( AVFormatContext s  )  [static]

Definition at line 28 of file ffmenc.c.


Variable Documentation

Initial value:

 {
    .name              = "ffm",
    .long_name         = NULL_IF_CONFIG_SMALL("FFM (FFserver live feed) format"),
    .mime_type         = "",
    .extensions        = "ffm",
    .priv_data_size    = sizeof(FFMContext),
    .audio_codec       = CODEC_ID_MP2,
    .video_codec       = CODEC_ID_MPEG1VIDEO,
    .write_header      = ffm_write_header,
    .write_packet      = ffm_write_packet,
    .write_trailer     = ffm_write_trailer,
}

Definition at line 244 of file ffmenc.c.


Generated on Fri Oct 26 02:43:52 2012 for FFmpeg by  doxygen 1.5.8