diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-01-17 18:27:56 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-01-17 18:27:56 +0100 |
| commit | e980b37539e3a90a36c6a71038c91a0073b115d8 (patch) | |
| tree | 346d58621739f4552607d286486224c4be2596cc /cli/app | |
| parent | 7c3e42dfa84781ac395fd3e0554a8c9028fef7cc (diff) | |
why not compress tehn
Diffstat (limited to 'cli/app')
| -rw-r--r-- | cli/app/search/live.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py index 6a2afb9..8038e72 100644 --- a/cli/app/search/live.py +++ b/cli/app/search/live.py @@ -419,7 +419,7 @@ class Listener: resize_time_total = 0 send_time_total = 0 p = Popen([ - '/usr/bin/ffmpeg', + 'ffmpeg', '-y', '-f', 'image2pipe', '-vcodec', 'png', @@ -463,7 +463,7 @@ class Listener: if out_img is not None: save_time = time.time() # out_img.save(os.path.join(path_out, "frame_{:05d}.png".format(i)), format='png', compression_level=3) - out_img.save(p.stdin, format='png', compression_level=0) + out_img.save(p.stdin, format='png', compression_level=3) save_time_total += time.time() - save_time resize_time = time.time() |
