Applying Xiaomi camera HLSL shader to video.
This tool is capable of applying the HLSL fragment shader to mp4 videos or picture. Processing takes place using FFMPEG frame-by-frame.
- You can build a project using Visual Studio or by downloading a binary file from here.
- Edit config file RiseEffect.dll.config. It requires FFMPEG binary folder in ffmpegBinPath parameter.
- Run RiseEffect.exe for processing input.mp4 video as follows -
.\RiseEffect.exe input.mp4
Output file will be in input_rise.mp4, audio will be copied from input file.
Processed video sample will be found here.

By default tool uses Xiaomi Mi A1 'Lomo' filter. If you want to change shader, replace it by yours in RiseEffect\Shader\Filters folder.