user22303: Everytime I point a digital camera of some sort (webcam, phone, camcorder...) at my LED desk lamp or its light reflected off an object (only if the object is very reflective and/or near the lamp), I see some scrolling black lines that shift thickness and scrolling speed as I change white balance.
They make it impossible for me to film uboxing and other videos using my desk lamp as light source. What is the cause of this? I also noticed my ceiling-mounted LED light produces a similar pattern as well albeit with thicker lines. Finally, my bedside lamp - also LED - creates no such phenomenon.
A photo of the LED light on my desk


user-1: As @LPChip said, LEDs flicker at a high rate. This rate is equal to twice the frequency of your powerline (afaik, 50Hz in Europe, 60Hz in USA). If your exposure time is a few times the flicker rate, you'll have no trouble. Also possible is a exposure time of exactly a low multiple of the flicker frequency (so if your power is using 60 Hz, you can safely use 1/120 s or 1/60 s). For video, I'm not sure how to deal with the flicker, but a frame rate of exactly the power frequency might work. (if you use a framerate even slightly different from the net frequency, you'll catch a different phase of the light cycle at each image, so some frames will get full light, some will catch the full dark period, and the others will be somewhere in between.

The differences you noticed between different lamps can have a few causes.  

One is the driver needed to transform the incoming alternating current into direct current. More expensive circuits can remove the pulsing that remains after the initial transformation of the alternating current.
Another might be related to the composition of the lamp: white leds are actually (blue?) LEDS within a (fluorescent) material that converts part of the LED light to  longer wavelengths (green, yellow, and red light). If that material shows some phosphorescence, the lamp will continue emitting light for a short time (ms or µs) after the LED "switches off". That can diminish the flickering.

user-1: Yes, this is a shutter speed issue. Or rather it's your camera getting (almost) in sync with the flicker of your lamp. LED and fluorescent lamps (either CFLs or the longer tubes) only produce light for instants within any given second. Good old-fashioned incandescent bulbs also flicker, but the thermal inertia in the wire means that the degree of flicker will be much reduced and will barely be noticeable in many photos.
The solution is easy - either change the bulb in your desk lamp, or choose a smaller aperture & longer exposure for your shots. Do experiment, but something like 1/30th or 1/15th second exposure should mean that the illumination flicker is eliminated. If you need to be hand-held, then consider a high-frequency bulb. That would then allow you to have a shorter exposure time.

user22267: LEDs are a very fast reacting light source, far faster reacting than incandescents or even flouresecents. So if the current through the LED varies rapidly the light output will vary equally rapidly. 
Cameras often have a "rolling shutter". Different parts of the frame are captured at different times. So time variation in the lighting becomes spacial variation in the image.
There are several different possible causes of rapid variation in LED drive current and hence light output.

Some very cheap LED lights just rectify the mains and feed is straight to the LEDs. 
Some LED drivers use the LEDs themselves as the diodes in a switched-mode converter.
Some LED lights use pulse width modulation to adjust the brightness. Due to implementation even with the brightness control set to it's maximum value the on-time may not be quite 100%.

Personally of the three possible causes I think you are dealing with number 3. The reason I think this is that the lines are very hard edged. With mains-derived flicker I would expect to see a gradual ramp up and down. With switchmode converter derived flicker I would expect to see a sharp transition from black to full brightness followed by a gradual fade out.

user22258: The reason is very simple. LED's are not constantly turned on, but flicker at a very high rate, usually due to fluctuations in your powerline. Your video camera records at a fixed framerate and as such, you can see these black lines.
One way to counteract this is by not using an LED light source. But you may be able to work around this by setting a slower shutter speed (thanks to ths in the comments for this suggestion). You will likely need a tripod then though.

user22304: Cheap (to make) LED lights will flicker at twice the mains frequency. There are many ways of overcoming this in the design of lights, such as using a larger smoothing capacitor (which makes the light bulky), using a dedicated progressive LED driver IC (which turns off some of the LEDs but not all of them, so the light dims rather than going out every half cycle) or using a switched mode converter at a higher frequency (which is more complex than the more common capacitive dropper, but allows dimming - adjustable LED panels sold for use in photography will have this technology). 
Put a different bulb in the lamp, such as the one that's in your bedside lamp. Generally the more expensive and branded ones will have better smoothing circuitry.

22303: <p>Everytime I point a digital camera of some sort (webcam, phone, camcorder...) at my LED desk lamp or its light reflected off an object (only if the object is very reflective and/or near the lamp), I see some scrolling black lines that shift thickness and scrolling speed as I change white balance.</p>

<p>They make it impossible for me to film uboxing and other videos using my desk lamp as light source. What is the cause of this? I also noticed my ceiling-mounted LED light produces a similar pattern as well albeit with thicker lines. Finally, my bedside lamp - also LED - creates no such phenomenon.</p>

<p><strong>A photo of the LED light on my desk</strong></p>

<p><a href="https://i.stack.imgur.com/IlfBr.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/IlfBr.jpg" alt="enter image description here"></a></p>
 -1: <p>As @LPChip said, LEDs flicker at a high rate. This rate is equal to twice the frequency of your powerline (afaik, 50Hz in Europe, 60Hz in USA). If your exposure time is a few times the flicker rate, you'll have no trouble. Also possible is a exposure time of <em>exactly</em> a low multiple of the flicker frequency (so if your power is using 60 Hz, you can safely use 1/120 s or 1/60 s). For video, I'm not sure how to deal with the flicker, but a frame rate of exactly the power frequency might work. (if you use a framerate even slightly different from the net frequency, you'll catch a different phase of the light cycle at each image, so some frames will get full light, some will catch the full dark period, and the others will be somewhere in between.</p>

<p><hr>
The differences you noticed between different lamps can have a few causes.  </p>

<p>One is the driver needed to transform the incoming alternating current into direct current. More expensive circuits can remove the pulsing that remains after the initial transformation of the alternating current.</p>

<p>Another might be related to the composition of the lamp: white leds are actually (blue?) LEDS within a (fluorescent) material that converts part of the LED light to  longer wavelengths (green, yellow, and red light). If that material shows some phosphorescence, the lamp will continue emitting light for a short time (ms or µs) after the LED "switches off". That can diminish the flickering.</p>
 -1: <p>Yes, this is a shutter speed issue. Or rather it's your camera getting (almost) in sync with the flicker of your lamp. LED and fluorescent lamps (either CFLs or the longer tubes) only produce light for instants within any given second. Good old-fashioned incandescent bulbs also flicker, but the thermal inertia in the wire means that the degree of flicker will be much reduced and will barely be noticeable in many photos.</p>

<p>The solution is easy - either change the bulb in your desk lamp, or choose a smaller aperture &amp; longer exposure for your shots. Do experiment, but something like 1/30th or 1/15th second exposure should mean that the illumination flicker is eliminated. If you need to be hand-held, then consider a high-frequency bulb. That would then allow you to have a shorter exposure time.</p>
 22267: <p>LEDs are a very fast reacting light source, far faster reacting than incandescents or even flouresecents. So if the current through the LED varies rapidly the light output will vary equally rapidly. </p>

<p>Cameras often have a "rolling shutter". Different parts of the frame are captured at different times. So time variation in the lighting becomes spacial variation in the image.</p>

<p>There are several different possible causes of rapid variation in LED drive current and hence light output.</p>

<ol>
<li>Some very cheap LED lights just rectify the mains and feed is straight to the LEDs. </li>
<li>Some LED drivers use the LEDs themselves as the diodes in a switched-mode converter.</li>
<li>Some LED lights use pulse width modulation to adjust the brightness. Due to implementation even with the brightness control set to it's maximum value the on-time may not be quite 100%.</li>
</ol>

<p>Personally of the three possible causes I think you are dealing with number 3. The reason I think this is that the lines are very hard edged. With mains-derived flicker I would expect to see a gradual ramp up and down. With switchmode converter derived flicker I would expect to see a sharp transition from black to full brightness followed by a gradual fade out.</p>
 22258: <p>The reason is very simple. LED's are not constantly turned on, but flicker at a very high rate, usually due to fluctuations in your powerline. Your video camera records at a fixed framerate and as such, you can see these black lines.</p>

<p>One way to counteract this is by not using an LED light source. But you may be able to work around this by setting a slower shutter speed (thanks to ths in the comments for this suggestion). You will likely need a tripod then though.</p>
 22304: <p>Cheap (to make) LED lights will flicker at twice the mains frequency. There are many ways of overcoming this in the design of lights, such as using a larger smoothing capacitor (which makes the light bulky), using a dedicated progressive LED driver IC (which turns off some of the LEDs but not all of them, so the light dims rather than going out every half cycle) or using a switched mode converter at a higher frequency (which is more complex than the more common capacitive dropper, but allows dimming - adjustable LED panels sold for use in photography will have this technology). </p>

<p>Put a different bulb in the lamp, such as the one that's in your bedside lamp. Generally the more expensive and branded ones will have better smoothing circuitry.</p>
