public static extern int avformat_match_stream_specifier(AVFormatContext* s, AVStream* st, String spec);
 public static extern void avformat_free_context(AVFormatContext* s);
 public static extern int av_find_default_stream_index(AVFormatContext* s);
 public static extern int av_sdp_create(AVFormatContext** ac, int n_files, String buf, int size);
 public static extern int av_interleaved_write_frame(AVFormatContext* s, AVPacket* pkt);
 public static extern int av_write_trailer(AVFormatContext* s);
 public static extern int av_find_stream_info(AVFormatContext* ic);
 public static extern AVStream* av_new_stream(AVFormatContext* s, int id);
 public static extern int avformat_open_input(AVFormatContext** ps, String filename, AVInputFormat* fmt, AVDictionary** options);
 public static extern int av_demuxer_open(AVFormatContext* ic);
 public static extern int avformat_alloc_output_context2(AVFormatContext** ctx, AVOutputFormat* oformat, String format_name, String filename);
 public static extern AVProgram* av_new_program(AVFormatContext* s, int id);
 public static extern AVStream* avformat_new_stream(AVFormatContext* s, AVCodec* c);
 public static extern void av_close_input_file(AVFormatContext* s);
 public static extern int avformat_find_stream_info(AVFormatContext* ic, AVDictionary** options);
 public static extern void avformat_close_input(AVFormatContext** s);
 public static extern AVProgram* av_find_program_from_stream(AVFormatContext* ic, AVProgram* last, int s);
 public static extern int avformat_write_header(AVFormatContext* s, AVDictionary** options);
 public static extern int av_find_best_stream(AVFormatContext* ic, AVMediaType type, int wanted_stream_nb, int related_stream, AVCodec** decoder_ret, int flags);
 public static extern int av_interleave_packet_per_dts(AVFormatContext* s, AVPacket* @out, AVPacket* pkt, int flush);
 public static extern int av_read_frame(AVFormatContext* s, AVPacket* pkt);
 public static extern int av_get_output_timestamp(AVFormatContext* s, int stream, long* dts, long* wall);
 public static extern int av_seek_frame(AVFormatContext* s, int stream_index, long timestamp, int flags);
 public static extern void av_dump_format(AVFormatContext* ic, int index, String url, int is_output);
 public static extern int avformat_seek_file(AVFormatContext* s, int stream_index, long min_ts, long ts, long max_ts, int flags);
 public static extern AVRational av_guess_sample_aspect_ratio(AVFormatContext* format, AVStream* stream, AVFrame* frame);
 public static extern int av_read_pause(AVFormatContext* s);
 public static extern void avformat_queue_attached_pictures(AVFormatContext* s);
 public static extern AVDurationEstimationMethod av_fmt_ctx_get_duration_estimation_method(AVFormatContext* ctx);