ffmpeg 保存数据流到文件
av_register_all(); std::string filename = "d6.mp4";AVFormatContext *outContext = NULL;avformat_alloc_output_context2(&outContext, NULL, "mp4", filename.c_str());AVStream *stream = avformat_...