From cf62940b84dbef77a8d65aa8597fa2966889f751 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Tue, 7 Apr 2026 13:56:13 +0200 Subject: [PATCH] feat: write fps.txt alongside WebP sequence audio --- main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.py b/main.py index e0a04be..d144dc6 100755 --- a/main.py +++ b/main.py @@ -339,6 +339,11 @@ class ExportWorker(QThread): self._input, self._start, self._output ) subprocess.run(audio_cmd, capture_output=True, text=True, timeout=60) + # Write fps.txt alongside the .wav file. + if self._fps is not None: + fps_path = self._output + ".fps.txt" + with open(fps_path, "w") as f: + f.write(f"{self._fps}\n") # Audio extraction failure (e.g. no audio stream) is ignored — # the frame sequence is the primary output. self.finished.emit(self._output)