Skip to content

Orange Pi 5 Plus w/ OpenIPC v1.0.0

Compare
Choose a tag to compare
@JohnDGodwin JohnDGodwin released this 10 Mar 01:16
· 30 commits to master since this release
0114057

This is a prebuilt image for the Orange Pi 5 Plus to stream OpenIPC video. Simply setup your keys and desired channel, give the system a reboot, and after the stream will begin automatically on plug-in.

On first boot, connect a keyboard and enter a terminal with CTRL+ALT+F1 -- login is orangepi/orangepi

cd to the scripts folder in your home directory. Run ./wfb_keygen and transfer the keys. Run sudo cp gs.key /etc to transfer your gs.key to the groundstation's /etc directory. To transfer the drone.key file, connect your camera and orange pi to your home network, then run scp drone.key [email protected]:/etc and replace x.x.x.x with your camera's local ip address. (You will need to set up your network accordingly.)


Stock settings will set the display to 1920x1080@60fps. You will want to change this behavior in the setdisplay.sh script in the scripts folder found in your home directory. -- sudo nano /home/orangepi/scripts/setdisplay.sh
e.g. for HDZ goggles -- change MODE to 1280x720 and RATE to 100


This image includes DVR functionality; It requires a push button to be installed to the gpio header between physical pins 25 and 27 like so:

gpiobutton


To record DVR, wait for the stream to begin then push the button once. DVR will begin recording. When finished, push the button once to stop the recording and save the file.

DVR is saved to the Videos folder in your home directory. DVR can be accessed either at /home/orangepi/Videos or via a media server. Connect your groundstation to your home network and it can be accessed via a web browser at x.x.x.x:8080 -- replace x.x.x.x with your groundstation's local ip address.

Stock settings for DVR record at the stream resolution, but limited to 30fps. You can change this to 60fps recording in the stream script located at /home/orangepi/scripts/stream.sh.


Final Note

I'm aware this image currently does not resize the file system on first boot. If you try to record DVR without resizing your file system, you will quickly run out of space. I included a resizing script in the scripts folder. Please run sudo ./home/orangepi/scripts/resizefs.sh if you plan to record DVR.