public static AvOptions WebmVideo(string inputFile, string outputFile) { AvOptions options = new AvOptions { AudioOptions = new AudioOptions { Bitrate = string.Empty, AudioCodec = AudioCodecType.Ogg }, VideoOptions = new VideoOptions { Bitrate = "1000k", VideoCodec = VideoCodecType.VP8, //VideoCompression = null, }, Overwrite = true, InputFile = inputFile, OutputFile = outputFile, }; return options; }
public static AvOptions WebmAudio(string inputFile, string outputFile) { AvOptions options = new AvOptions { AudioOptions = new AudioOptions { Bitrate = string.Empty, AudioCodec = AudioCodecType.Ogg }, VideoOptions = null, Overwrite = true, InputFile = inputFile, OutputFile = outputFile, }; return options; }
public static AvOptions OggVideo(string inputFile, string outputFile) { AvOptions options = new AvOptions { AudioOptions = new AudioOptions { AudioCodec = AudioCodecType.Ogg, Bitrate = "44100", }, VideoOptions = new VideoOptions { Bitrate = "1000k", VideoCodec = VideoCodecType.Theora, //VideoCompression = null, }, Overwrite = true, InputFile = inputFile, OutputFile = outputFile, }; return options; }
public static AvOptions OggAudio(string inputFile, string outputFile) { AvOptions options = new AvOptions { VideoOptions = null, AudioOptions = new AudioOptions { Bitrate = "44100", AudioCodec = AudioCodecType.Ogg, }, InputFile = inputFile, OutputFile = outputFile, Overwrite = true, }; return options; }
public static AvOptions H254Video(string inputFile, string outputFile) { AvOptions options = new AvOptions { AudioOptions = new AudioOptions { Bitrate = "44100", }, VideoOptions = new VideoOptions { Bitrate = "1000k", VideoCodec = VideoCodecType.H254 }, Overwrite = true, InputFile = inputFile, OutputFile = outputFile, }; return options; }
public static AvOptions FlashAudio(string inputFile, string outputFile) { AvOptions options = new AvOptions { VideoOptions = null, AudioOptions = new AudioOptions { Bitrate = "44100", AudioCodec = AudioCodecType.Copy }, Format = "flv", InputFile = inputFile, OutputFile = outputFile, Overwrite = true, }; return options; }