Console.WriteLine("Welcome to the ffmpeg/gifsicle command generator");
Console.WriteLine("Enter the absolute path to the video file.");
string? videoPath = Console.ReadLine();
if (videoPath.Contains(" "))
videoPath = $"\"{videoPath}\"";
Console.WriteLine("Enter the absolute path gif output.");
string? gifOutputPath = Console.ReadLine();
if (gifOutputPath.Contains(" "))
gifOutputPath = $"\"{gifOutputPath}\"";
Console.WriteLine($"ffmpeg -i {videoPath} -pix_fmt rgb8 -r 10 {gifOutputPath} && gifsicle -O3 {gifOutputPath} -o {gifOutputPath}");