Aggiorna README.md
This commit is contained in:
parent
cfa5a4823d
commit
428a65a6c0
1 changed files with 78 additions and 72 deletions
78
README.md
78
README.md
|
@ -4,13 +4,16 @@
|
||||||
______________________________________
|
______________________________________
|
||||||
______________________________________
|
______________________________________
|
||||||
https://github.com/rockchip-linux/mpp
|
https://github.com/rockchip-linux/mpp
|
||||||
|
|
||||||
https://github.com/nyanmisaka/ffmpeg-rockchip/tree/master
|
https://github.com/nyanmisaka/ffmpeg-rockchip/tree/master
|
||||||
|
|
||||||
https://github.com/nyanmisaka/ffmpeg-rockchip/wiki/Compilation
|
https://github.com/nyanmisaka/ffmpeg-rockchip/wiki/Compilation
|
||||||
______________________________________
|
______________________________________
|
||||||
______________________________________
|
______________________________________
|
||||||
|
|
||||||
|
ora
|
||||||
|
|
||||||
sudo apt-get update -qq && sudo apt-get -y install \
|
sudo apt-get update -qq && sudo apt-get -y install \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
@ -38,49 +41,48 @@ sudo apt-get update -qq && sudo apt-get -y install \
|
||||||
|
|
||||||
______________________________________
|
______________________________________
|
||||||
|
|
||||||
|
sudo apt install -y git make cmake gcc g++ wget
|
||||||
sudo apt install -y git make cmake gcc g++ wget
|
git clone https://github.com/rockchip-linux/mpp -b develop
|
||||||
git clone https://github.com/rockchip-linux/mpp -b develop
|
cd ~/mpp/build/linux/aarch64
|
||||||
cd ~/mpp/build/linux/aarch64
|
./make-Makefiles.bash
|
||||||
./make-Makefiles.bash
|
sudo make -j$(nproc)
|
||||||
sudo make -j$(nproc)
|
|
||||||
|
|
||||||
|
|
||||||
test da fare
|
test da fare
|
||||||
non so se serve
|
non so se serve
|
||||||
cd ~/mpp/build/linux/aarch64/test
|
cd ~/mpp/build/linux/aarch64/test
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
|
||||||
cd
|
cd
|
||||||
cd wget https://dl.radxa.com/media/video/1080p.264
|
cd wget https://dl.radxa.com/media/video/1080p.264
|
||||||
|
|
||||||
export mpi_debug=1 && export mpp_debug=1 && export h264d_debug=1 && export mpp_syslog_perror=1
|
export mpi_debug=1 && export mpp_debug=1 && export h264d_debug=1 && export mpp_syslog_perror=1
|
||||||
sudo ~/mpp/build/linux/aarch64/test/mpi_dec_test -i ~/1080p.264 -t 7 -h 1080 -w 1920
|
sudo ~/mpp/build/linux/aarch64/test/mpi_dec_test -i ~/1080p.264 -t 7 -h 1080 -w 1920
|
||||||
|
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
______________________________________
|
______________________________________
|
||||||
|
|
||||||
# Build MPP
|
# Build MPP
|
||||||
mkdir -p ~/dev && cd ~/dev
|
mkdir -p ~/dev && cd ~/dev
|
||||||
git clone -b jellyfin-mpp --depth=1 https://github.com/nyanmisaka/mpp.git rkmpp
|
git clone -b jellyfin-mpp --depth=1 https://github.com/nyanmisaka/mpp.git rkmpp
|
||||||
pushd rkmpp
|
pushd rkmpp
|
||||||
mkdir rkmpp_build
|
mkdir rkmpp_build
|
||||||
pushd rkmpp_build
|
pushd rkmpp_build
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
-DBUILD_TEST=OFF \
|
-DBUILD_TEST=OFF \
|
||||||
..
|
..
|
||||||
make -j $(nproc)
|
sudo make -j $(nproc)
|
||||||
make install
|
sudo make install
|
||||||
|
|
||||||
|
|
||||||
# Build RGA
|
# Build RGA
|
||||||
mkdir -p ~/dev && cd ~/dev
|
mkdir -p ~/dev && cd ~/dev
|
||||||
git clone -b jellyfin-rga --depth=1 https://github.com/nyanmisaka/rk-mirrors.git rkrga
|
git clone -b jellyfin-rga --depth=1 https://github.com/nyanmisaka/rk-mirrors.git rkrga
|
||||||
meson setup rkrga rkrga_build \
|
meson setup rkrga rkrga_build \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=lib \
|
--libdir=lib \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
|
@ -88,33 +90,37 @@ meson setup rkrga rkrga_build \
|
||||||
-Dcpp_args=-fpermissive \
|
-Dcpp_args=-fpermissive \
|
||||||
-Dlibdrm=false \
|
-Dlibdrm=false \
|
||||||
-Dlibrga_demo=false
|
-Dlibrga_demo=false
|
||||||
meson configure rkrga_build
|
meson configure rkrga_build
|
||||||
ninja -C rkrga_build install
|
ninja -C rkrga_build install
|
||||||
|
|
||||||
______________________________________
|
______________________________________
|
||||||
|
|
||||||
# Build the minimal FFmpeg (You can customize the configure and install prefix)
|
# Build the minimal FFmpeg (You can customize the configure and install prefix)
|
||||||
mkdir -p ~/dev && cd ~/dev
|
mkdir -p ~/dev && cd ~/dev
|
||||||
git clone https://github.com/nyanmisaka/ffmpeg-rockchip.git
|
git clone https://github.com/nyanmisaka/ffmpeg-rockchip.git
|
||||||
cd ffmpeg-rockchip
|
cd ffmpeg-rockchip
|
||||||
./configure --prefix=/usr --enable-gpl --enable-version3 --enable-libdrm --enable-rkmpp --enable-rkrga
|
./configure --prefix=/usr --enable-gpl --enable-version3 --enable-libdrm --enable-rkmpp --enable-rkrga
|
||||||
make -j $(nproc)
|
sudo make -j $(nproc)
|
||||||
|
|
||||||
# Try the compiled FFmpeg without installation
|
# Try the compiled FFmpeg without installation
|
||||||
./ffmpeg -decoders | grep rkmpp
|
|
||||||
./ffmpeg -encoders | grep rkmpp
|
./ffmpeg -decoders | grep rkmpp
|
||||||
./ffmpeg -filters | grep rkrga
|
./ffmpeg -encoders | grep rkmpp
|
||||||
|
./ffmpeg -filters | grep rkrga
|
||||||
|
|
||||||
# Install FFmpeg to the prefix path
|
# Install FFmpeg to the prefix path
|
||||||
make install
|
|
||||||
|
sudo make install
|
||||||
|
|
||||||
______________________________________
|
______________________________________
|
||||||
altro
|
altro
|
||||||
______________________________________
|
______________________________________
|
||||||
https://github.com/nyanmisaka/ffmpeg-rockchip
|
https://github.com/nyanmisaka/ffmpeg-rockchip
|
||||||
|
|
||||||
https://github.com/nyanmisaka/jellyfin-ffmpeg/tree/next-rockchip
|
https://github.com/nyanmisaka/jellyfin-ffmpeg/tree/next-rockchip
|
||||||
|
|
||||||
https://github.com/rockchip-linux/mpp
|
https://github.com/rockchip-linux/mpp
|
||||||
|
|
||||||
https://github.com/nyanmisaka/ffmpeg-rockchip/wiki/Compilation
|
https://github.com/nyanmisaka/ffmpeg-rockchip/wiki/Compilation
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue