FFmpeg
|
API example for decoding and filtering. More...
#include <unistd.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavfilter/avfiltergraph.h>
#include <libavfilter/avcodec.h>
#include <libavfilter/buffersink.h>
#include <libavfilter/buffersrc.h>
Go to the source code of this file.
Macros | |
#define | _XOPEN_SOURCE 600 /* for usleep */ |
Functions | |
static int | open_input_file (const char *filename) |
static int | init_filters (const char *filters_descr) |
static void | display_frame (const AVFrame *frame, AVRational time_base) |
int | main (int argc, char **argv) |
Variables | |
const char * | filter_descr = "scale=78:24" |
static AVFormatContext * | fmt_ctx |
static AVCodecContext * | dec_ctx |
AVFilterContext * | buffersink_ctx |
AVFilterContext * | buffersrc_ctx |
AVFilterGraph * | filter_graph |
static int | video_stream_index = -1 |
static int64_t | last_pts = AV_NOPTS_VALUE |
Detailed Description
API example for decoding and filtering.
Definition in file filtering_video.c.
Macro Definition Documentation
#define _XOPEN_SOURCE 600 /* for usleep */ |
Definition at line 30 of file filtering_video.c.
Function Documentation
|
static |
Definition at line 141 of file filtering_video.c.
Referenced by main().
|
static |
Definition at line 83 of file filtering_video.c.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 172 of file filtering_video.c.
|
static |
Definition at line 50 of file filtering_video.c.
Referenced by main().
Variable Documentation
AVFilterContext* buffersink_ctx |
Definition at line 44 of file filtering_video.c.
Referenced by init_filters().
AVFilterContext* buffersrc_ctx |
Definition at line 45 of file filtering_video.c.
Referenced by init_filters().
|
static |
Definition at line 43 of file filtering_video.c.
const char* filter_descr = "scale=78:24" |
Definition at line 40 of file filtering_video.c.
Referenced by main().
AVFilterGraph* filter_graph |
Definition at line 46 of file filtering_video.c.
|
static |
Definition at line 42 of file filtering_video.c.
|
static |
Definition at line 48 of file filtering_video.c.
Referenced by display_frame(), find_and_decode_index(), and write_index().
|
static |
Definition at line 47 of file filtering_video.c.
Referenced by main(), and open_input_file().
Generated on Mon Nov 18 2024 06:52:06 for FFmpeg by 1.8.11