FFmpeg
4.0
|
API example for demuxing, decoding, filtering, encoding and muxing. More...
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavfilter/buffersink.h>
#include <libavfilter/buffersrc.h>
#include <libavutil/opt.h>
#include <libavutil/pixdesc.h>
Go to the source code of this file.
Data Structures | |
struct | FilteringContext |
struct | StreamContext |
Functions | |
static int | open_input_file (const char *filename) |
static int | open_output_file (const char *filename) |
static int | init_filter (FilteringContext *fctx, AVCodecContext *dec_ctx, AVCodecContext *enc_ctx, const char *filter_spec) |
static int | init_filters (void) |
static int | encode_write_frame (AVFrame *filt_frame, unsigned int stream_index, int *got_frame) |
static int | filter_encode_write_frame (AVFrame *frame, unsigned int stream_index) |
static int | flush_encoder (unsigned int stream_index) |
int | main (int argc, char **argv) |
Variables | |
static AVFormatContext * | ifmt_ctx |
static AVFormatContext * | ofmt_ctx |
static FilteringContext * | filter_ctx |
static StreamContext * | stream_ctx |
API example for demuxing, decoding, filtering, encoding and muxing.
Definition in file transcoding.c.
|
static |
|
static |
|
static |
Definition at line 225 of file transcoding.c.
Referenced by init_filters().
|
static |
Definition at line 404 of file transcoding.c.
Referenced by filter_encode_write_frame(), and flush_encoder().
Definition at line 504 of file transcoding.c.
|
static |
Definition at line 38 of file transcoding.c.
Referenced by main().
|
static |
Definition at line 39 of file transcoding.c.
Referenced by main().
|
static |
Definition at line 45 of file transcoding.c.
Referenced by default_filter_name(), main(), and print_digraph().
|
static |
Definition at line 51 of file transcoding.c.