Exemple #1
0
        /// <summary>
        /// Gets the output formats.
        /// </summary>
        /// <returns>All supported output formats.</returns>
        public static IEnumerable <Format> GetOutputFormats()
        {
            var outputFormats = FfmpegCalls.GetOutputFormats();

            return(outputFormats.Select(format => new Format(format)));
        }
Exemple #2
0
 static unsafe FfmpegUtils()
 {
     LogCallback        = OnLogMessage;
     DefaultLogCallback = FfmpegCalls.GetDefaultLogCallback();
     FfmpegCalls.SetLogCallback(LogCallback);
 }