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) |
It was based on ffmpeg example program.
| 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 | |||
| ) |
1.4.7