FFmpeg 5.1.6
|
libavfilter API usage example. More...
#include <inttypes.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/channel_layout.h"
#include "libavutil/md5.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/samplefmt.h"
#include "libavfilter/avfilter.h"
#include "libavfilter/buffersink.h"
#include "libavfilter/buffersrc.h"
Go to the source code of this file.
Macros | |
#define | INPUT_SAMPLERATE 48000 |
#define | INPUT_FORMAT AV_SAMPLE_FMT_FLTP |
#define | INPUT_CHANNEL_LAYOUT (AVChannelLayout)AV_CHANNEL_LAYOUT_5POINT0 |
#define | VOLUME_VAL 0.90 |
#define | FRAME_SIZE 1024 |
Functions | |
static int | init_filter_graph (AVFilterGraph **graph, AVFilterContext **src, AVFilterContext **sink) |
static int | process_output (struct AVMD5 *md5, AVFrame *frame) |
static int | get_input (AVFrame *frame, int frame_num) |
int | main (int argc, char *argv[]) |
libavfilter API usage example.
Definition in file filter_audio.c.
#define INPUT_SAMPLERATE 48000 |
Definition at line 56 of file filter_audio.c.
#define INPUT_FORMAT AV_SAMPLE_FMT_FLTP |
Definition at line 57 of file filter_audio.c.
#define INPUT_CHANNEL_LAYOUT (AVChannelLayout)AV_CHANNEL_LAYOUT_5POINT0 |
Definition at line 58 of file filter_audio.c.
#define VOLUME_VAL 0.90 |
Definition at line 60 of file filter_audio.c.
#define FRAME_SIZE 1024 |
|
static |
|
static |
|
static |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 269 of file filter_audio.c.