ffmpeg_rw.h File Reference

Interface with ffmpeg. More...

Go to the source code of this file.

Functions

AVStream * add_video_stream (AVFormatContext *oc, int codec_id)
void open_video (AVFormatContext *oc, AVStream *st)
void write_video_frame (AVFormatContext *oc, AVStream *st, int frame_count, unsigned char *imgFrame)
void close_video (AVFormatContext *oc, AVStream *st)
AVStream * add_audio_stream (AVFormatContext *oc, int codec_id)
void open_audio (AVFormatContext *oc, AVStream *st)
void get_audio_frame (int16_t *samples, int frame_size, int nb_channels)
void write_audio_frame (AVFormatContext *oc, AVStream *st)
void close_audio (AVFormatContext *oc, AVStream *st)


Detailed Description

Interface with ffmpeg.

It was based on ffmpeg example program.


Function Documentation

AVStream* add_audio_stream ( AVFormatContext *  oc,
int  codec_id 
)

AVStream* add_video_stream ( AVFormatContext *  oc,
int  codec_id 
)

void close_audio ( AVFormatContext *  oc,
AVStream *  st 
)

void close_video ( AVFormatContext *  oc,
AVStream *  st 
)

void get_audio_frame ( int16_t *  samples,
int  frame_size,
int  nb_channels 
)

void open_audio ( AVFormatContext *  oc,
AVStream *  st 
)

void open_video ( AVFormatContext *  oc,
AVStream *  st 
)

void write_audio_frame ( AVFormatContext *  oc,
AVStream *  st 
)

void write_video_frame ( AVFormatContext *  oc,
AVStream *  st,
int  frame_count,
unsigned char *  imgFrame 
)


Generated on Tue Jan 22 17:07:30 2008 for MUAN by  doxygen 1.4.7