Skip to content

YangZhou1994/Video-Decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Decoder

AUR

Video Decoder is a tool for decoding video stored in memory.

Installation

It depends on FFMPEG. To build this tool, you should have libavcodec-dev, libavformat-dev, libavutil-dev and libswscale-dev installed on your machine:

sudo apt-get install libavcodec-dev libavformat-dev libavutil-dev libswscale-dev

Also to test this tool, you should have libopencv-dev:

sudo apt-get install libopencv-dev

The video decoder is a header-only tool. To use it in your code, including the video_decoder.hpp is enough.

To use it in Java, JNI wrapper building is supported with CMake. To build the JNI shared library, run in your console under the project directory:

cmake .
make -j 4
sudo make install

If you want to enable test, run:

cmake [-DTEST_VIDEO_PATH=/path/to/your/test/video] .
make -j 4 test
cd bin
ctest

About

Decoder based on FFMPEG, for various decoding application scenes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors