Enhance video with AV-Viewer in combination with this EDOF filter (Extended Depth of Focus)! Get more digital focus when using lenses with a narrow focus area. For use in microscopy or photography.
- Increases perceived depth of field: Makes foreground and background elements appear sharper and in focus.
- Improved image clarity: Enhances details and textures across the entire image.
- Compatible with various lenses: Works with lenses designed for narrow focus areas, like microscope objectives or telephoto lenses.
- Download the AV-Filter-EDOF project files.
- Place the files in the appropriate directory within your AV-Viewer's plugin structure (refer to your AV-Viewer's documentation for specific instructions).
- Restart your AV-Viewer application.
sudo apt update
sudo apt install git make libpng-dev libswscale-dev libavcodec-dev libavformat-dev libsdl2-dev
mkdir build
git clone https://github.com/dirkjanbuter/AV-Filter-EDOF.git
git clone https://github.com/dirkjanbuter/AV-Viewer.git
git clone https://github.com/dirkjanbuter/AV-Filter-Player.git
cd AV-Filter-EDOF
make
cd ..
cd AV-Viewer
make
ce ..
cd AV-Filter-Player
make
cd ..
- Access the plugin's interface or configuration options within your AV-Viewer.
- Adjust the available controls to personalize the EDOF effect according to your desired outcome.
- Preview the changes in real-time to visualize the impact on your AV content.
cd build
./av-viewer 640 360 30 ./filter_edof.so ffffffff -
./av-viewer 640 360 30 ./filter_player.so ffffffff input.mp4 ./filter_edof.so ffffffff -
List the specific versions of AV-Viewer this plugin is compatible with:
You may copy, distribute and modify the software as long as you track changes/dates in source files. Any modifications to or software including (via compiler) AGPL-licensed code must also be made available under the AGPL along with build & install instructions.
Contributing this video filter in C requires code clarity, modularity, error handling, and performance optimization. Follow coding standards, use common data types, define formats, write documentation and tests, and manage resources well. Consider security, minimize dependencies, and contribute to the community.
- Only tested on Linux will probably work on Mac OS X and Windows.
- For example output see YouTube video
- If you have touble with running or compiling this code, feel free to contact me.