Skip to content

plato-messaging/frame-grabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frame Grabber

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

Usage

macOS

  • Run build.sh
  • Copy out/libfgrabber.dylib to /usr/local/lib

Linux

  • Make sure to set JAVA_HOME as env variable
  • sudo apt install clang
  • Run build_linux.sh or build_and_deploy_linux.sh

NB: .vscode intentionally added to repo to help whoever struggles setting up VSCode

Ffmpeg dylib generation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published