ffmpeg.转换示例_处理流程
1、示例的代码:SH:E:\Project_VS17\ffmpeg_test_vc2017\ffmpeg_test_vc2017\4_x\4x_convert_test.cpp 和 4x_convert_test.h (已上传git)
函数 API av_register_all(); avfilter_register_all(); open_input_file avformat_open_input avformat_find_stream_info av_mallocz_array for avcodec_find_decoder avcodec_alloc_context3 avcodec_parameters_to_context avcodec_open2 av_dump_format open_output_file avformat_alloc_output_context2 for avformat_new_stream avcodec_find_encoder avcodec_alloc_context3 av_inv_q av_get_channel_layout_nb_channels avcodec_open2 avcodec_parameters_from_context avcodec_parameters_copy av_dump_format avio_open avformat_write_header init_filters av_malloc_array init_filter avfilter_inout_alloc avfilter_graph_alloc avfilter_get_by_name avfilter_graph_create_filter av_opt_set_bin avfilter_get_by_name av_get_default_channel_layout avfilter_graph_create_filter av_opt_set_bin avfilter_graph_parse_ptr avfilter_graph_config avfilter_inout_free while av_read_frame av_frame_alloc av_packet_rescale_ts dec_func av_frame_free av_packet_rescale_ts av_interleaved_write_frame av_packet_unref for filter_encode_write_frame flush_encoder av_write_trailer av_packet_unref av_frame_free for avcodec_free_context avfilter_graph_free av_free avformat_close_input avio_closep avformat_free_context
2、
3、
4、
5、