From a176bb068783181c066d29d83e60aa7693655b8b Mon Sep 17 00:00:00 2001 From: Hoang Dinh Date: Tue, 17 Sep 2024 23:57:20 -0700 Subject: [PATCH] Update speech_transformers.py --- ffsubsync/speech_transformers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ffsubsync/speech_transformers.py b/ffsubsync/speech_transformers.py index 72ca23e..38883d1 100644 --- a/ffsubsync/speech_transformers.py +++ b/ffsubsync/speech_transformers.py @@ -367,6 +367,8 @@ def fit(self, fname: str, *_) -> "VideoSpeechTransformer": "1", "-acodec", "pcm_s16le", + "-af", + "aresample=async=1", "-ar", str(self.frame_rate), "-",