FFmpeg
|
#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 <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
#include <libswresample/swresample.h>
Go to the source code of this file.
Data Structures | |
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 |
libavformat API example.
Output a media file in any supported libavformat format. The default codecs are used.
Definition in file muxing.c.
#define STREAM_FRAME_RATE 25 /* 25 images/s */ |
#define STREAM_PIX_FMT AV_PIX_FMT_YUV420P /* default pix_fmt */ |
#define SCALE_FLAGS SWS_BICUBIC |
|
static |
|
static |
Definition at line 84 of file muxing.c.
Referenced by write_audio_frame(), and write_video_frame().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |