ffmenc.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "libavutil/avassert.h"
#include "libavutil/parseutils.h"
#include "avformat.h"
#include "internal.h"
#include "ffm.h"
Include dependency graph for ffmenc.c:

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 void write_header_chunk (AVIOContext *pb, AVIOContext *dpb, unsigned id)
 
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 59 of file ffmenc.c.

Referenced by ffm_write_packet().

static int ffm_write_header ( AVFormatContext s)
static

Definition at line 96 of file ffmenc.c.

static int ffm_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 232 of file ffmenc.c.

static int ffm_write_trailer ( AVFormatContext s)
static

Definition at line 259 of file ffmenc.c.

static void flush_packet ( AVFormatContext s)
static

Definition at line 30 of file ffmenc.c.

Referenced by ffm_write_data(), and ffm_write_trailer().

static void write_header_chunk ( AVIOContext pb,
AVIOContext dpb,
unsigned  id 
)
static

Definition at line 86 of file ffmenc.c.

Referenced by ffm_write_header().

Variable Documentation

AVOutputFormat ff_ffm_muxer
Initial value:
= {
.name = "ffm",
.long_name = NULL_IF_CONFIG_SMALL("FFM (FFserver live feed)"),
.extensions = "ffm",
.priv_data_size = sizeof(FFMContext),
.audio_codec = AV_CODEC_ID_MP2,
.video_codec = AV_CODEC_ID_MPEG1VIDEO,
}
struct FFMContext FFMContext
static int write_packet(AVFormatContext *s, AVPacket *pkt)
static int write_trailer(AVFormatContext *s)
static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ffmenc.c:232
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int ffm_write_trailer(AVFormatContext *s)
Definition: ffmenc.c:259
static int ffm_write_header(AVFormatContext *s)
Definition: ffmenc.c:96
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:470

Definition at line 270 of file ffmenc.c.