|
пре 7 година | |
---|---|---|
mpp | пре 7 година | |
res | пре 7 година | |
rkdrm | пре 7 година | |
rkrga | пре 7 година | |
thread | пре 7 година | |
CMakeLists.txt | пре 7 година | |
README.md | пре 7 година | |
main.cpp | пре 7 година |
a demo shows that how to use mpp on linux
if you want to using mpp on android,you can refer that
https://github.com/sliver-chen/mpp_android_demo
project architecture
├── build --build directory
├── CMakeLists.txt --cmake script
├── main.cpp --main program
├── mpp --mpp abstract interface
├── README.md --doc
├── res --res directory
├── rkdrm --drm interface(abount display)
├── rkrga --rga interface(about format and resolution conversion)
└── thread --thread abstract interface(use posix)
first please modify CMakeLists.txt to specified c and c++ compiler.
just do that
set(CMAKE_C_COMPILER "enter your toolchain gcc path)
set(CMAKE_CXX_coMPILER "enter your toolchain g++ path")
cmake version >= 2.8 is required
root:cd build
root:make
root:./mpp_linux_demo
on your device screen,you will see that local avc file is displayed.