From 6edb9a055bfe453f2164088c3d2413cdfd1f5d60 Mon Sep 17 00:00:00 2001 From: meryacine Date: Wed, 8 Sep 2021 21:10:39 +0200 Subject: [PATCH] using avg_frame_ratefinstead of r_frame_rate --- streamer/autodetect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamer/autodetect.py b/streamer/autodetect.py index 70cc7c0..0c32233 100644 --- a/streamer/autodetect.py +++ b/streamer/autodetect.py @@ -104,7 +104,7 @@ def get_interlaced(input: Input) -> bool: def get_frame_rate(input: Input) -> Optional[float]: """Returns the autodetected frame rate of the input.""" - frame_rate_string = _probe(input, 'stream=r_frame_rate') + frame_rate_string = _probe(input, 'stream=avg_frame_rate') if frame_rate_string is None: return None