예제 #1
0
        private void ExcecuteCommand(string[] cmd, FFmpegConversionOptions options)
        {
            var ffmpeg = FFmpeg.GetInstance(CrossCurrentActivity.Current.Activity.ApplicationContext);

            if (ffmpeg.IsSupported)
            {
                App.DebugLog("Start conversion");
                ffmpeg.Execute(cmd.ToArray(), new MyExecuteBinaryResponseHandler2(this, options));
                App.DebugLog("Stop conversion");
            }
        }
예제 #2
0
 public MyExecuteBinaryResponseHandler2(FFmpegConverter converter, FFmpegConversionOptions options)
 {
     this.converter = converter;
     this.options   = options;
 }