FFmpeg
|
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavfilter/buffersink.h>
#include <libavfilter/buffersrc.h>
#include <libavutil/channel_layout.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 (unsigned int stream_index, int flush) |
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 |
|
static |
Definition at line 423 of file transcoding.c.
Referenced by filter_encode_write_frame(), and flush_encoder().
Definition at line 509 of file transcoding.c.
|
static |
Definition at line 39 of file transcoding.c.
Referenced by init_filters(), main(), open_input_file(), and open_output_file().
|
static |
Definition at line 40 of file transcoding.c.
Referenced by encode_write_frame(), main(), and open_output_file().
|
static |
Definition at line 49 of file transcoding.c.
Referenced by activate(), default_filter_name(), dnn_classify_activate(), dnn_classify_post_proc(), dnn_detect_activate(), dnn_detect_post_proc(), dnn_detect_post_proc_ov(), dnn_detect_post_proc_tf(), encode_write_frame(), ff_dnn_init(), ff_dnn_load_model_native(), ff_dnn_load_model_ov(), ff_dnn_load_model_tf(), filter_encode_write_frame(), init_filters(), main(), print_digraph(), and print_formats().
|
static |
Definition at line 57 of file transcoding.c.
Referenced by encode_write_frame(), flush_encoder(), init_filters(), main(), open_input_file(), and open_output_file().