Skip to content

isoft-linux/libKeyFrame

Repository files navigation

libKeyFrame

Seek key frame from video and save to png


Dependence

sudo pacman -S ffmpeg


Build

./autogen.sh --prefix=/usr --enable-debug=no
make
sudo make install


Static Analyzer

scan-build -k -v -V ./autogen.sh --prefix=/usr --enable-debug=yes
scan-build -k -v -V make


Sanitizer

export CC=clang
export CFLAGS="$CFLAGS -Wall -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer -g"
export LDFLAGS="$LDFLAGS -fsanitize=address -fsanitize=undefined"
./autogen.sh --host=x86_64-unknown-linux-gnu --prefix=/usr --enable-debug=yes
make


Usage

/usr/bin/keyframes /data/download/isoft.avi(mov, mpg, f4v, mp4, wmv, m4v, mpeg, mkv, rmvb) /tmp
/usr/bin/keyframes /data/download/isoft.mp4 /tmp 320 240
/usr/bin/keyframes /data/download/20001134720_7618331.mp4 /tmp 160
/usr/bin/keyframes /data/download/sirtoozee.jpg /tmp

Testcase

./test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published