Is there a way to increase video illumination or brightness. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there a way to increase video illumination or brightness.

I do not mean style.filter function but in an actual video player where the user swipes up to increase video illumination. I have made the function for the swiping and also the function to increase video volume, what is left is that of the video's brightness. Please any idea, example, reference and help would be highly appreciated.

29th Sep 2022, 12:05 PM
Xavier Christian
Xavier Christian - avatar
6 Answers
+ 2
So you want the video itself to have a brightness control that is independent of the device it is being displayed from?
29th Sep 2022, 3:15 PM
Steve
Steve - avatar
+ 2
Xavier Christian Yes, I believe it (that is the brightness) is usually handled by the device displaying the video.
29th Sep 2022, 10:32 PM
Steve
Steve - avatar
+ 2
Xavier Christian Maybe, but if the device provides a mechanism for you to programmatically change the device's brightness, it will almost certainly not follow any standard. So, if you wanted your code to work for multiple devices, you'd need separate code for each one.
30th Sep 2022, 2:51 AM
Steve
Steve - avatar
+ 1
Steve is that how other video players works ?
29th Sep 2022, 8:13 PM
Xavier Christian
Xavier Christian - avatar
+ 1
Steve I know but there would be something in your code to prompt such function. Don't you think?
30th Sep 2022, 1:53 AM
Xavier Christian
Xavier Christian - avatar
0
Like mx player? Me too I wondered how they did that
7th Oct 2022, 5:45 AM
Shaya Mario
Shaya Mario - avatar