TaskCanceledException: 已取消一个任务。 --Task: System.Threading.Tasks.Task`1[System.Object] StackTrace: 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout) 在 System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout) 在 System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) 在 System.Windows.Threading.Dispatcher.Invoke(Action callback) 在 DynamicClass.<>c__DisplayClass2e.<RunFFmpegWithProgress>b__2b(Object s, DataReceivedEventArgs e) 在 System.Diagnostics.Process.ErrorReadNotifyUser(String data) 在 System.Diagnostics.AsyncStreamReader.FlushMessageQueue() 在 System.Diagnostics.AsyncStreamReader.GetLinesFromStringBuilder() 在 System.Diagnostics.AsyncStreamReader.ReadBuffer(IAsyncResult ar) 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.IO.Stream.ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(Task completingTask) 在 System.Threading.Tasks.Task.FinishContinuations() 在 System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted) 在 System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) 在 System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) 在 System.Threading.ThreadPoolWorkQueue.Dispatch()