File tree 1 file changed +0
-37
lines changed
1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -106,40 +106,3 @@ Things should now auto-boot on system boot, and restart if things crash.
106
106
107
107
### Hardware encoder/decoder drivers
108
108
109
- If your distro for Orange Pi 5 lacks hardware encoder drivers, you might have luck using the following:
110
-
111
- ```
112
- #!/bin/bash
113
-
114
- # Update package lists
115
- sudo apt update
116
-
117
- # Try installing from Joshua Riek's PPA first
118
- echo "Attempting to install from Joshua Riek's PPA..."
119
- sudo apt install -y mali-g610-firmware rockchip-media-libs
120
-
121
- # If packages are not available, build from source
122
- if [ $? -ne 0 ]; then
123
- echo "Building media components from source..."
124
-
125
- # Install build dependencies
126
- sudo apt install -y git build-essential
127
-
128
- # Clone and build media components
129
- git clone https://github.com/JeffyCN/media_build.git
130
- cd media_build
131
- ./build.sh
132
- sudo ./install.sh
133
- cd ..
134
-
135
- # Download Mali GPU firmware
136
- echo "Installing Mali GPU firmware..."
137
- sudo wget -O /lib/firmware/mali_csffw.bin https://raw.githubusercontent.com/JeffyCN/rockchip_mirrors/libmali/firmware/g610/mali_csffw.bin
138
- fi
139
-
140
- # Install GStreamer plugins for hardware acceleration
141
- echo "Installing GStreamer plugins..."
142
- sudo apt install -y gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav
143
-
144
- echo "Installation completed!"
145
- ```
You can’t perform that action at this time.
0 commit comments