FFmpeg
|
#include <unistd.h>
#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>
Go to the source code of this file.
Functions | |
static int | open_input_file (const char *filename) |
static int | init_filters (const char *filters_descr) |
static void | print_frame (const AVFrame *frame) |
int | main (int argc, char **argv) |
Variables | |
static const char * | filter_descr = "aresample=8000,aformat=sample_fmts=s16:channel_layouts=mono" |
static const char * | player = "ffplay -f s16le -ar 8000 -ac 1 -" |
static AVFormatContext * | fmt_ctx |
static AVCodecContext * | dec_ctx |
AVFilterContext * | buffersink_ctx |
AVFilterContext * | buffersrc_ctx |
AVFilterGraph * | filter_graph |
static int | audio_stream_index = -1 |
|
static |
Definition at line 52 of file decode_filter_audio.c.
Referenced by main().
|
static |
Definition at line 90 of file decode_filter_audio.c.
Referenced by main().
|
static |
Definition at line 203 of file decode_filter_audio.c.
Referenced by main().
Definition at line 217 of file decode_filter_audio.c.
|
static |
Definition at line 42 of file decode_filter_audio.c.
Referenced by main().
|
static |
Definition at line 43 of file decode_filter_audio.c.
Referenced by main().
|
static |
Definition at line 45 of file decode_filter_audio.c.
Referenced by compute_crc_of_packets(), init_filters(), log_packet(), main(), open_input_file(), process_frame(), read_interval_packets(), read_packets(), seek_test(), show_chapters(), show_format(), show_frame(), show_program(), show_programs(), show_stream(), show_streams(), video_decode(), video_decode_example(), and write_frame().
|
static |
Definition at line 46 of file decode_filter_audio.c.
Referenced by avformat_transfer_internal_stream_timing_info(), decode(), enc_open(), init_decoder(), init_filter(), init_filters(), main(), mpeg4_decode_header(), open_codec_context(), open_input_file(), open_output_file(), process_frame(), run_test(), and show_stream().
AVFilterContext* buffersink_ctx |
Definition at line 47 of file decode_filter_audio.c.
Referenced by init_filter(), init_filters(), and main().
AVFilterContext* buffersrc_ctx |
Definition at line 48 of file decode_filter_audio.c.
Referenced by init_filter(), init_filters(), and main().
AVFilterGraph* filter_graph |
Definition at line 49 of file decode_filter_audio.c.
Referenced by init_filter(), init_filter_graph(), init_filters(), and main().
|
static |
Definition at line 50 of file decode_filter_audio.c.
Referenced by init_filters(), main(), and open_input_file().