Libav 0.7.1
Data Structures | Typedefs | Functions | Variables
libavformat/flvenc.c File Reference
#include "avformat.h"
#include "flv.h"
#include "internal.h"
#include "avc.h"
#include "metadata.h"
#include "libavutil/dict.h"
#include <assert.h>

Go to the source code of this file.

Data Structures

struct  FLVContext

Typedefs

typedef struct FLVContext FLVContext

Functions

static int get_audio_flags (AVCodecContext *enc)
static void put_amf_string (AVIOContext *pb, const char *str)
static void put_avc_eos_tag (AVIOContext *pb, unsigned ts)
static void put_amf_double (AVIOContext *pb, double d)
static void put_amf_bool (AVIOContext *pb, int b)
static int flv_write_header (AVFormatContext *s)
static int flv_write_trailer (AVFormatContext *s)
static int flv_write_packet (AVFormatContext *s, AVPacket *pkt)

Variables

static const AVCodecTag flv_video_codec_ids []
static const AVCodecTag flv_audio_codec_ids []
AVOutputFormat ff_flv_muxer

Typedef Documentation

typedef struct FLVContext FLVContext

Function Documentation

static int flv_write_header ( AVFormatContext s) [static]

Definition at line 173 of file flvenc.c.

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

Definition at line 359 of file flvenc.c.

static int flv_write_trailer ( AVFormatContext s) [static]

Definition at line 330 of file flvenc.c.

static int get_audio_flags ( AVCodecContext enc) [static]

Definition at line 62 of file flvenc.c.

Referenced by flv_write_header(), and flv_write_packet().

static void put_amf_bool ( AVIOContext pb,
int  b 
) [static]

Definition at line 168 of file flvenc.c.

Referenced by flv_write_header().

static void put_amf_double ( AVIOContext pb,
double  d 
) [static]

Definition at line 162 of file flvenc.c.

Referenced by flv_write_header(), and flv_write_trailer().

static void put_amf_string ( AVIOContext pb,
const char *  str 
) [static]

Definition at line 143 of file flvenc.c.

Referenced by flv_write_header().

static void put_avc_eos_tag ( AVIOContext pb,
unsigned  ts 
) [static]

Definition at line 150 of file flvenc.c.

Referenced by flv_write_trailer().


Variable Documentation

Initial value:

Definition at line 441 of file flvenc.c.

const AVCodecTag flv_audio_codec_ids[] [static]
const AVCodecTag flv_video_codec_ids[] [static]