Skip to content

Commit 31ab434

Browse files
committed
Remove '-r' flag from ffmpeg args
Remove the explicit "-r" option when assembling the ffmpeg command in RTSPVideoStreamWriter. This prevents forcing an output frame rate and allows ffmpeg to rely on frame timestamps (use_wallclock_as_timestamps) or avoid conflicting rate settings.
1 parent 4ee799e commit 31ab434

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/om1_vlm/anonymizationSys/face_recog_stream/rtsp_video_writer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ def _build_ffmpeg_command(self, is_raw: bool = False):
189189
"bgr24",
190190
"-s",
191191
f"{self.width}x{self.height}",
192-
"-r",
193-
f"{self.current_fps:.3f}",
194192
"-use_wallclock_as_timestamps",
195193
"1",
196194
"-thread_queue_size",

0 commit comments

Comments
 (0)