namespace OpenVIII.AV { using FFmpeg.AutoGen; public class Video : Ffcc { #region Methods /// /// Opens filename and init class. /// public static Video Load(string filename) => Load(filename, AVMediaType.AVMEDIA_TYPE_VIDEO); /// /// Opens filename and init class. /// /// /// Could be better, but there are many hoops to jump through. /// /// /// /// public static unsafe Video Load(BufferData bufferData, byte[] headerData, FfccMode ffccMode = FfccMode.ProcessAll) => Load(&bufferData, headerData, -1, ffccMode, AVMediaType.AVMEDIA_TYPE_VIDEO); public static unsafe Video Load(BufferData* bufferData, byte[] headerData, FfccMode ffccMode = FfccMode.ProcessAll) => Load(bufferData, headerData, -1, ffccMode, AVMediaType.AVMEDIA_TYPE_VIDEO); #endregion Methods } }