Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

ffmpeg_rw.cc File Reference

This file implements the routines to read and write mpeg video files. More...


Functions

AVStream * add_audio_stream (AVFormatContext *oc, int codec_id)
void open_audio (AVFormatContext *oc, AVStream *st)
void write_audio_frame (AVFormatContext *oc, AVStream *st)
void close_audio (AVFormatContext *oc, AVStream *st)
AVStream * add_video_stream (AVFormatContext *oc, int codec_id)
AVFrame * alloc_picture (int pix_fmt, int width, int height)
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)

Variables

int16_t * samples
uint8_t * audio_outbuf
int audio_outbuf_size
int audio_input_frame_size
AVFrame * picture
AVFrame * tmp_picture
uint8_t * video_outbuf
int video_outbuf_size


Detailed Description

This file implements the routines to read and write mpeg video files.

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
 

AVFrame* alloc_picture int  pix_fmt,
int  width,
int  height
 

void close_audio AVFormatContext *  oc,
AVStream *  st
 

void close_video AVFormatContext *  oc,
AVStream *  st
 

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
 


Variable Documentation

int audio_input_frame_size
 

uint8_t* audio_outbuf
 

int audio_outbuf_size
 

AVFrame* picture
 

int16_t* samples
 

AVFrame * tmp_picture
 

uint8_t* video_outbuf
 

int video_outbuf_size
 


Generated on Wed Jan 24 17:09:48 2007 for MUAN by  doxygen 1.3.9.1