|
static void | add_audio_stream (OutputStream *ost, AVFormatContext *oc, enum AVCodecID codec_id) |
|
static AVFrame * | alloc_audio_frame (enum AVSampleFormat sample_fmt, uint64_t channel_layout, int sample_rate, int nb_samples) |
|
static void | open_audio (AVFormatContext *oc, OutputStream *ost) |
|
static AVFrame * | get_audio_frame (OutputStream *ost) |
|
static int | encode_audio_frame (AVFormatContext *oc, OutputStream *ost, AVFrame *frame) |
|
static int | process_audio_stream (AVFormatContext *oc, OutputStream *ost) |
|
static void | add_video_stream (OutputStream *ost, AVFormatContext *oc, enum AVCodecID codec_id) |
|
static AVFrame * | alloc_picture (enum AVPixelFormat pix_fmt, int width, int height) |
|
static void | open_video (AVFormatContext *oc, OutputStream *ost) |
|
static void | fill_yuv_image (AVFrame *pict, int frame_index, int width, int height) |
|
static AVFrame * | get_video_frame (OutputStream *ost) |
|
static int | write_video_frame (AVFormatContext *oc, OutputStream *ost) |
|
static void | close_stream (AVFormatContext *oc, OutputStream *ost) |
|
int | main (int argc, char **argv) |
|
libavformat API example.
Definition in file output.c.