I bought an overly bright 9 volt, 3 watt LED to light up a bird box which has a webcam in it. The LED module is this one: https://www.amazon.co.uk/gp/product/B07CWSRF6N
However when I dim it using a simple 12V dimmer to 50% or less, it starts to make the video feed flicker due to the strobing LED's interaction with the camera frame-rate. It's being driven by a spare 9V DC power supply previous used for a broadband router.
Can I fit a capacitor across the LED to help smooth it? If so, what kind of value would I need? Or am I better just to fit a big load resistor in front and remove the dimmer?
Thanks!
EDIT: Here's a pic of the dimmer innards: