These are pre-build images for the Orange Pi 3b, Orange Pi 5, and Orange Pi 5 Plus to stream OpenIPC video.
Release Notes:
- Brings support for rtl8812eu, rtl8812bu, rtl8731bu, rtl8733bu, and AR9271 wi-fi cards
- DVR functionality has changed. Starting/Stopping recording no longer disrupts the stream.
- No need to run the resizefs.sh script anymore.
- Multiple receiver wi-fi card support with hot-plugging - You can now use 2 or more wi-fi cards on your groundstation with no hastle. Your wi-fi cards will be autodetected and used by wfb-ng on plug-in.
- Contains a full Gstreamer back-end for advanced users.
- default gs.key and drone.key files are now included
These images uses the PixelPilot project rather than pure gstreamer to display the video.
On first boot, the stream will not start to give the user the ability to set up the system. Please perform the following steps.
-
Step 1 - Flash the image to either your onboard emmc or a micro SD card.
-
Step 2 - Connect a screen and a wired keyboard to your Orange Pi and boot the system.
-
Step 3 - The system should boot to a CLI. Login as either
orangepi/orangepi
orroot/root
(I personally use the orangepi user but some prefer using the root account. EVERYTHING IS LOCATED AT/config
) -
Step 4 - no longer needed.
-
Step 5 - (Orange Pi 3b only) Use the onboard wifi to connect to your home network: (note - if you are running your fpv system on the 5.8ghz channels, it would be ideal to connect the onboard wifi to a 2.4ghz network to avoid any possible interference.)
Method 1: Enter
nmtui
, go down toActivate a connection
and activate one of the detected wifi networks.Method 2: While in the scripts folder, run the wifi-connect.sh. Run
./wifi-connect.sh YOURWIFISSID YOURWIFIPASSWORD
To check your connection after, run
nmcli
and your wlan0 connection should be green. Make a note of your ip address. We will need this to ssh into the system later. -
Step 6 - Set your desired screen resolution and refresh rate in the
screen-mode
file.sudo nano /config/scripts/screen-mode
and change to your desired specifications. Format isWxH@fps
-- Common values would be 1920x1080@60, 1920x1080@120. 1280x720@60, 1280x720@120
For smooth DVR playback, set the dvr-fps withsudo nano /config/scripts/dvr-fps
to the fps at which your camera is shooting. e.g. 60, 90, 120 -
Step 7 (optional) - Set your WFB-ng channel in
/etc/wifibroadcast.cfg
and transfer yourgs.key
to/etc
(A standard gs.key and drone.key are now provided) -
Step 8 - Shutdown the system, disconnect the keyboard, and connect your wifi card. Boot the system and SSH from a separate computer.
-
Step 9 - Test the system. Run
wfb-cli gs
and plug in your camera. Make sure you are properly getting video and telemetry packets. HitCTRL-C
to exit the wfb-cli. Runsudo systemctl start openipc.service
and the display connected to the OrangePi should change to your video feed. Press your DVR button. The stream should stop (the screen will go black for a second) and a new stream being recorded should start. Press the dvr button again to stop the saving stream and go back to the display stream. (Again, the stream should go black for a second. If it doesn't, press the button again) Confirm there is a .mp4 video file in/media
by going tox.x.x.x:8080
in a browser, replacingx.x.x.x
with your Orange Pi's ip address. . Runsudo systemctl stop openipc.service
to stop testing. -
Step 10 - Last and final step. Once you have confirmed the system is working and you have set your desired settings, run
sudo systemctl enable openipc.service
to have the stream begin on boot.
These images includes DVR functionality; It requires a push button to be installed to the gpio header between a physical GPIO pin and 3.3v like so:
For the Orange Pi 5 connect to gpio and gnd like so:
For the Orange Pi 5 Plus it is the same as the orange pi 3b:
DVR is saved to the media folder in your root directory. DVR can be accessed either at /media
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.
NOTE
The Orange Pi 5 Plus has 2 HDMI-out ports. You MUST use the "middle" HDMI port: