草庐IT

AVStream

全部标签

c# - 我有 .H 文件,如何将其公共(public)方法打开到 .Net 库?

我有这样的.H文件(来自here)/*FFmpegsimpleEncoder*/#ifndef__VIDEO_ENCODER_H__#define__VIDEO_ENCODER_H__#include"ffmpegInclude.h"#include#includeclassVideoEncoder{private://outputfilenamestd::stringoutputFilename;//outputformat.AVOutputFormat*pOutFormat;//formatcontextAVFormatContext*pFormatContext;//videos