sudo apt install libegl1-mesa-dev
This software uses code of FFmpeg licensed under the GPLv3.0 and its source can be downloaded here