Exemplo n.º 1
0
        /// <summary>
        /// Return the ffmpeg information string for a media file.
        /// </summary>
        public static string getVideoInfoStr(string file)
        {
            string procArgs = "";

            // Example format: -i "example.mkv"
            procArgs = $"-i \"{file}\"";

            string output = UtilsCommon.getFFmpegText(procArgs);

            return(output);
        }