|
FFmpeg
|
libavformat API example. More...
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <math.h>#include <libavutil/avassert.h>#include <libavutil/channel_layout.h>#include <libavutil/opt.h>#include <libavutil/mathematics.h>#include <libavutil/timestamp.h>#include <libavformat/avformat.h>#include <libswscale/swscale.h>#include <libswresample/swresample.h>Classes | |
| struct | OutputStream |
Macros | |
| #define | STREAM_DURATION 10.0 |
| #define | STREAM_FRAME_RATE 25 /* 25 images/s */ |
| #define | STREAM_PIX_FMT AV_PIX_FMT_YUV420P /* default pix_fmt */ |
| #define | SCALE_FLAGS SWS_BICUBIC |
Typedefs | |
| typedef struct OutputStream | OutputStream |
Functions | |
| int | main (int argc, char **argv) |
libavformat API example.
Output a media file in any supported libavformat format. The default codecs are used.
1.8.12