Skip to content

Orange Pi 5 w/ OpenIPC v1.2.0

Compare
Choose a tag to compare
@JohnDGodwin JohnDGodwin released this 19 Mar 12:26
· 11 commits to master since this release
b54ec3a

V1.2.0 Notes
DVR and streaming behavior has changed. In the previous image it was ambiguous whether the dvr was recording or not. Now pressing the button starts the video stream as well as dvr recording. Pressing the button a second time stops the stream and saves the mkv dvr file, which is then transcoded to an mp4 file for easy use. Depending on the time of your recording, this hardware accelerated transcoding can still take upwards of 90 seconds or more, if you power off the device before the process is finished, the mkv file is still at your disposal.


This is a prebuilt image for the Orange Pi 5 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

Run ./home/orangepi/scripts/resizefs.sh to repartition and resize your filesystem. Ignore all the red text and let the script finish.

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 root@x.x.x.x:/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 23 and 25 like so:
orangepi5gpio


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.