Development

Fixing underexposed video with FFmpeg

Turning potentially ruined video footage into something very much useable, like magic the dark video is back to normal, vibrant with a little bit of extra noise.

I had underxposed drone footage due to the phone screen brightness not being enough to see that i had the EV set to negative max. The footage was bad

Thats exactly what my footage was.

Using FFmpeg gamma and saturation filter i went through some values to find a sweet spot.

In the end it was -vf eq=gamma=1.7:saturation=1.7

Here are comparisons from the original underexposed footage to the FFmpeg corrected

The video did get a bit more noise but now you can see what the footage contains.

Here are screen shots starting at gamma 1.2 through to 2

Share

Recent Posts

Kennington reservoir drained drone images

A drained and empty Kennington reservoir images from a drone in early July 2024. The…

1 year ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

1 year ago

FTP getting array of file details such as size using PHP

Using FTP and PHP to get an array of file details such as size and…

2 years ago

Creating Laravel form requests

Creating and using Laravel form requests to create cleaner code, separation and reusability for your…

2 years ago

Improving the default Laravel login and register views

Improving the default Laravel login and register views in such a simple manner but making…

2 years ago

Laravel validation for checking if value exists in the database

Laravel validation for checking if a field value exists in the database. The validation rule…

2 years ago