summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-18 16:26:13 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-18 16:26:13 +0100
commit934db0f43803e4b1a16ed0bc43d7719076a0a463 (patch)
treef2670212fb229a6d2560005c1ca408d9aa9841a2
parentedc4ab2985ec9b3568394bcc4beeeb7d6f5cc181 (diff)
parameter smoothing
-rw-r--r--cli/app/search/live.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py
index 3f720c5..389ece4 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -448,7 +448,7 @@ class Listener:
'-y',
'-f', 'image2pipe',
'-vcodec', 'png',
- '-r', FPS,
+ '-r', str(FPS),
'-i', '-',
'-c:v', 'libx264',
'-preset', 'slow',
@@ -456,7 +456,7 @@ class Listener:
'-vf', 'fps={}'.format(FPS),
'-pix_fmt', 'yuv420p',
'-s', '512x512',
- '-r', FPS,
+ '-r', str(FPS),
fp_out
], stdin=PIPE, stdout=PIPE)