ffmpeg 4.0.2不能在网络中断时停止

时间:2018-10-22 19:42:41

标签: ffmpeg timeout

我在ArchLinux上使用ffmpeg 4.0.2(从Arch存储库安装) 我在执行 public void SignUp() { FirebaseAuth auth = FirebaseAuth.DefaultInstance; //The error is after this line auth.CreateUserWithEmailAndPasswordAsync(email.text, password.text).ContinueWith(task => { if (task.IsCanceled) { Debug.LogError("CreateUserWithEmailAndPasswordAsync was canceled."); return; } if (task.IsFaulted) { Debug.LogError("CreateUserWithEmailAndPasswordAsync encountered an error: " + task.Exception); return; } // Firebase user has been created. Firebase.Auth.FirebaseUser newUser = task.Result; Debug.LogFormat("Firebase user created successfully: {0} ({1})", newUser.DisplayName, newUser.UserId); // SignInWithVerification(); }); }

时正在模拟rfkill block all的连接丢失 ffmpeg永远等待不停。我已经尝试过ffmpeg -rw_timeout 10M -i https://server.com/path/playlist.m3u8 -c copy output.mkv-stimeout,但是没有用。

当网络中断时,如何使ffmpeg停止?

0 个答案:

没有答案