namespace Publicate.Video { public abstract class EncodingProfile { public string size { get; protected set; } public string codec_names { get; protected set; } protected double get_low_framerate(double input_framerate) { if(input_framerate >= 50) { return input_framerate / 2; } return input_framerate; } public abstract string[] get_first_pass_command(string input_path, string output_path); public abstract string[] get_second_pass_command(string input_path, string output_path); public abstract string output_name(); public abstract bool suitable_for(VideoInfo info); } }