A little program that grabs the first frame of a video and returns it in a JPEG format
Video is provided as a byte buffer and returns the frame as a byte buffer as well
- Run
build.sh
- Copy
out/libfgrabber.dylib
to/usr/local/lib
- Make sure to set
JAVA_HOME
as env variable sudo apt install clang
- Run
build_linux.sh
orbuild_and_deploy_linux.sh
NB: .vscode
intentionally added to repo to help whoever struggles setting up VSCode
See: Compilation guide
- Run following command to deploy libraries in
prefix
directory (enable-shared
to generate*.dylib
)
./configure --prefix=/usr/local --enable-shared
- Run
make install