FFmpeg
|
movie video source More...
#include <float.h>
#include "libavutil/attributes.h"
#include "libavutil/avstring.h"
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "libavutil/timestamp.h"
#include "libavformat/avformat.h"
#include "audio.h"
#include "avcodec.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | MovieStream |
struct | MovieContext |
Macros | |
#define | OFFSET(x) offsetof(MovieContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
#define | describe_frameref(f, link) describe_frame_to_str((char[1024]){0}, 1024, f, link) |
Functions | |
static int | movie_config_output_props (AVFilterLink *outlink) |
static int | movie_request_frame (AVFilterLink *outlink) |
static AVStream * | find_stream (void *log, AVFormatContext *avf, const char *spec) |
static int | open_stream (void *log, MovieStream *st) |
static int | guess_channel_layout (MovieStream *st, int st_index, void *log_ctx) |
static av_cold int | movie_common_init (AVFilterContext *ctx) |
static av_cold void | movie_uninit (AVFilterContext *ctx) |
static int | movie_query_formats (AVFilterContext *ctx) |
static char * | describe_frame_to_str (char *dst, size_t dst_size, AVFrame *frame, AVFilterLink *link) |
static int | rewind_file (AVFilterContext *ctx) |
static int | movie_push_frame (AVFilterContext *ctx, unsigned out_id) |
Try to push a frame to the requested output. | |
Variables | |
static const AVOption | movie_options [] |
movie video source
use direct rendering (no allocation of a new frame)
support a PTS correction mechanism
Definition in file src_movie.c.
#define OFFSET | ( | x | ) | offsetof(MovieContext, x) |
Definition at line 72 of file src_movie.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 73 of file src_movie.c.
#define describe_frameref | ( | f, | |
link | |||
) | describe_frame_to_str((char[1024]){0}, 1024, f, link) |
Definition at line 413 of file src_movie.c.
Referenced by movie_push_frame().
|
static |
Definition at line 364 of file src_movie.c.
Referenced by movie_common_init().
|
static |
Definition at line 551 of file src_movie.c.
Referenced by movie_common_init().
|
static |
Definition at line 92 of file src_movie.c.
Referenced by movie_common_init().
|
static |
Definition at line 146 of file src_movie.c.
Referenced by movie_common_init().
|
static |
Definition at line 167 of file src_movie.c.
Referenced by movie_common_init().
|
static |
Definition at line 190 of file src_movie.c.
|
static |
Definition at line 315 of file src_movie.c.
|
static |
Definition at line 332 of file src_movie.c.
|
static |
Definition at line 387 of file src_movie.c.
|
static |
Definition at line 416 of file src_movie.c.
Referenced by movie_push_frame().
|
static |
Try to push a frame to the requested output.
ctx | filter context |
out_id | number of output where a frame is wanted; if the frame is read from file, used to set the return value; if the codec is being flushed, flush the corresponding stream |
Definition at line 450 of file src_movie.c.
Referenced by movie_request_frame().
|
static |
Definition at line 75 of file src_movie.c.