public static unsafe Video Load(BufferData *buffer_Data, byte[] headerData, int loopstart = -1, FfccMode ffccMode = FfccMode.PROCESS_ALL) => Load <Video>(buffer_Data, headerData, loopstart = -1, ffccMode, AVMediaType.AVMEDIA_TYPE_VIDEO);
/// <summary> /// Opens filename and init class. /// </summary> /// <remarks> /// Could be better, but theres alot of hoops to jump through. /// </remarks> /// <see cref="https://stackoverflow.com/questions/9604633/reading-a-file-located-in-memory-with-libavformat"/> /// <seealso cref="http://www.ffmpeg.org/doxygen/trunk/doc_2examples_2avio_reading_8c-example.html"/> /// <seealso cref="https://stackoverflow.com/questions/24758386/intptr-to-callback-function"/> public static unsafe Video Load(BufferData buffer_Data, byte[] headerData, int loopstart = -1, FfccMode ffccMode = FfccMode.PROCESS_ALL) => Load(&buffer_Data, headerData, loopstart, ffccMode);
/// <summary> /// Opens filename and init class. /// </summary> /// <remarks> /// Could be better, but there are many hoops to jump through. /// </remarks> /// <see cref="https://stackoverflow.com/questions/9604633/reading-a-file-located-in-memory-with-libavformat"/> /// <seealso cref="http://www.ffmpeg.org/doxygen/trunk/doc_2examples_2avio_reading_8c-example.html"/> /// <seealso cref="https://stackoverflow.com/questions/24758386/intptr-to-callback-function"/> /// public static Audio Load(Sound.Entry entryData, int loopStart = -1, FfccMode ffccMode = FfccMode.ProcessAll) => Load(entryData, entryData.HeaderData, loopStart, ffccMode);
public static unsafe Audio Load(BufferData *bufferData, byte[] headerData, int loopStart = -1, FfccMode ffccMode = FfccMode.ProcessAll) => Load <Audio>(bufferData, headerData, loopStart, ffccMode, AVMediaType.AVMEDIA_TYPE_AUDIO);
public static unsafe Video Load(BufferData *bufferData, byte[] headerData, FfccMode ffccMode = FfccMode.ProcessAll) => Load <Video>(bufferData, headerData, -1, ffccMode, AVMediaType.AVMEDIA_TYPE_VIDEO);