From 3a108863e69b1852fefebc0b778f84f024bbcade Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Fri, 26 Sep 2025 15:49:33 +0200 Subject: [PATCH] cf/noise,vcap/testcard2: decrease noisiness The original noisiness 30 seem to be too much to be default - with default compression JPEG or H.264 it produces high-bitrate stream. The new value 200 may better approximate real-life complexity video. --- src/capture_filter/noise.c | 2 +- src/video_capture/testcard2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/capture_filter/noise.c b/src/capture_filter/noise.c index f332379ae..083e812c5 100644 --- a/src/capture_filter/noise.c +++ b/src/capture_filter/noise.c @@ -58,7 +58,7 @@ struct module; static void done(void *state); enum { - DEFAULT_MAGNITUDE = 30, + DEFAULT_MAGNITUDE = 200, }; struct state_noise { diff --git a/src/video_capture/testcard2.c b/src/video_capture/testcard2.c index 23062a2b2..f18a65f8b 100644 --- a/src/video_capture/testcard2.c +++ b/src/video_capture/testcard2.c @@ -94,7 +94,7 @@ enum { BANNER_MARGIN_BOTTOM = 75, BUFFER_SEC = 1, FONT_HEIGHT = 108, - NOISE_DEFAULT = 30, + NOISE_DEFAULT = 200, }; #define DEFAULT_FORMAT \