GNU Radio Video Transmission on PlutoSky R2
Transmit MP4 files and live camera video with GNU Radio and PlutoSky R2, from software and single-board loopback to two-PC QPSK wireless links.
Overview
This guide is organized into the following five chapters:
- Environment and Project Setup
- Software Loopback Simulation
- Single-Board RF Loopback
- Two-Device Transmission Using Two PCs
- Live Camera Video Transmission Using Two PCs
Environment and Project Setup
Hardware and Software Requirements
| Item | Loopback Operation | Two-Device Operation |
|---|---|---|
| Windows PC | 1 PC | 2 PCs: transmitter A and receiver B |
| PlutoSky R2 | None for software loopback; 1 for RF loopback | 2 devices, one connected to each PC |
| USB Connection and Power | Reliable data cable and stable power | Prepare each device separately; confirm access from its local PC |
| GNU Radio | 3.10 with gr-iio and PlutoSDR blocks | Both endpoints require the same blocks and runtime environment |
| Playback and Verification | MP4-compatible player and PowerShell | Play the received file on B; use PowerShell on both PCs to compare hashes |
Project Files
| Mode | GRC Flowgraph File | Description |
|---|---|---|
| Software loopback simulation | 05_QPSK_File_Simulation.grc | Baseband simulation without RF hardware, used to verify the QPSK modulation and demodulation chain. |
| Single-board RF loopback | 08_QPSK_File_Loopback_PlutoSky R2.grc |
One SDR transmits and receives, completing the loop through antenna coupling. |
| Two-device RF transmission | TX_PC_A.grc, RX_PC_B.grc | Two SDRs connected to separate PCs perform wireless transmission and reception, reproducing a wireless communication link. |
| Real-Time Camera Transmission with Two PCs | TX_CAMERA_PC_A RX_VIDEO_PC_B |
Two SDR transceivers on independent hosts establish a real wireless link, where a camera acquires video signals for over-the-air transmission. |
For the file-transfer experiments, use sample.mp4 as the source and received.mp4 as the received output file.
Check the Local PlutoSky R2 Connection
For single-board or two-device operation, connect PlutoSky R2 first. Open a command window in which iio_info is available, and run the following commands:
iio_info -s
iio_info -u ip:192.168.2.1
| Scenario | URI Configuration |
|---|---|
| Single-board loopback | Set tx_uri and rx_uri to the same PlutoSky R2. |
| Two PCs with one R2 each | Set tx_uri to A's local R2 and rx_uri to B's local R2. Both PCs may use ip:192.168.2.1 when their USB networks are independent. |
| Devices on the same LAN | Give each R2 a unique address and enter its actual URI in the corresponding PC's project. |
Software Loopback Simulation
Flowgraph and Configuration
Open 05_QPSK_File_Simulation.grc in GNU Radio Companion (GRC). Check the file settings: point the input to sample.mp4 and set the output to received.mp4 in a readable and writable directory.

The upper part of the flowgraph generates the QPSK signal and feeds it into the software receiver. The lower part performs symbol decisions, bit recovery, and file reception. Virtual Source blocks route data from the main signal path to the time-domain, spectrum, and four receiver constellation displays.
Start Debug Mode and Send the Video File
Run the flowgraph and observe the time-domain data before and after modulation, the received spectrum, the four receiver constellation displays, and the file reception progress. The program starts by sending debug frames, so a file progress reading of 0% is normal at this stage.

The four constellation displays show the QPSK receiver progressing through synchronization. The raw received samples include transitions introduced by pulse shaping, together with noise, frequency offset, and channel effects. Timing synchronization separates the symbol clusters, and linear equalization compensates for the channel response. Costas carrier synchronization then produces four clear QPSK symbol clusters. A stable four-cluster pattern at the Costas output indicates that the receiver has reached a stable operating state.
After checking the receiver, click the "Debug / Send File" button once. Keep the flowgraph running. File frames travel through the same QPSK signal path, and the reception progress increases as the file data is recovered.

Verify the Software Loopback Result
When the video transfer progress reaches 100%, go to the directory specified by output_file_name. Open received.mp4 in a player and check that playback is normal.

Use File Explorer to confirm that the file has been created. Use PowerShell to check the exact byte count and verify that the file contents match.
Add-Type -AssemblyName System.Windows.Forms
$videoDialog = New-Object System.Windows.Forms.OpenFileDialog
$videoDialog.Title = 'Select the received video file'
$videoDialog.Filter = 'MP4 video (*.mp4)|*.mp4|All files (*.*)|*.*'
if ($videoDialog.ShowDialog() -eq [System.Windows.Forms.DialogResult]::OK) {
$videoFile = Get-Item -LiteralPath $videoDialog.FileName
$videoHash = Get-FileHash -LiteralPath $videoFile.FullName -Algorithm SHA256
[PSCustomObject]@{
FilePath = $videoFile.FullName
Bytes = $videoFile.Length
SHA256 = $videoHash.Hash
} | Format-List
}
In the example, sample.mp4 and received.mp4 are both 4,372,373 bytes and have identical SHA256 hashes. This confirms that the file recovered in this software loopback run has the same contents as the source file.
Single-Board RF Loopback
Board Connection and Project Setup
In single-board mode, one PlutoSky R2 performs both transmission and reception. Connect PlutoSky R2 to the local PC using USB. Connect the test antennas to TX1 and RX1, respectively. The signal completes the loop through the external antenna path.
Open 08_QPSK_File_Loopback_PlutoSky R2.grc.

Start the Board and Send the Video
Start the Single-Board Flowgraph
Click Run. PlutoSky R2 starts transmitting debug frames while receiving the signal through its antenna path. Observe the spectrum, the four receiver constellations, and the progress indicator. File progress remains at 0% during debug mode.

Send the File
After observing four main phase regions at the Costas output, click the "Debug / Send File" button once. Keep the USB connection, antennas, and program running, and observe the reception progress increasing.

The screenshot shows file transmission in progress.
Verify the Single-Board Reception Result
Wait for Reception to Complete
Keep the flowgraph running until the current file has been completely received. Locate received.mp4 using the configured output path and check that the video plays normally.
Verify the File Contents
On the same PC, select sample.mp4 and received.mp4 in turn and check their byte counts and SHA256 hashes.

The source and received files are both 4,372,373 bytes and have identical SHA256 hashes. This confirms that the file received in the illustrated single-board loopback run was reconstructed correctly.
Two-Device Transmission Using Two PCs
Device Connections and Endpoint Setup
PC A connects to PlutoSky R2-A through USB and acts as the transmitter. PC B connects to PlutoSky R2-B through USB and acts as the receiver. Connect the transmit antenna to TX1 on PlutoSky R2-A and the receive antenna to RX1 on PlutoSky R2-B. The signal is transmitted over the wireless RF link.
Signal path: PC A → PlutoSky R2-A (TX1) → wireless channel → PlutoSky R2-B (RX1) → PC B
Startup order: start receiver B first by running RX_PC_B.grc. Then open TX_PC_A.grc on transmitter A.
Start Receiver B First

PlutoSDR Source acquires I/Q data from PlutoSky R2-B and passes it through timing synchronization, linear equalization, and the Costas loop. After symbol decisions and decoding, the data is passed to PlutoSky R2 File Receiver. This block provides file status and progress. The four constellation displays and the spectrum display take data from the corresponding processing stages.
Save and Run
On PC B, open the receiver GRC project. Check rx_uri, the sampling parameters, and the output directory. Save the project and click Run to place B in continuous reception mode.

Before A starts transmitting, B may display low-amplitude samples or noise near the center of the plots, while file progress remains at 0%. Leave B running, then start the transmitter project on A.
Start Transmitter A
The transmit button sends a control message to MyFileSink, selecting either debug frames or file frames. Constellation Modulator generates the QPSK I/Q signal. One branch feeds PlutoSDR Sink, while the other branches provide the time-domain, constellation, and spectrum displays.

Initially, leave the "Debug / Send File" button in its default state so that A continuously transmits debug frames.

Observe the Received Signal and Debug Frames
When the signal from A reaches B, the received spectrum shows the signal at the corresponding frequency and bandwidth, and the four constellation displays continue updating. Each display shows the samples at a different point in the timing synchronization, linear equalization, and carrier synchronization process.

Within the current axis ranges, the raw received and timing-synchronized samples appear close to the center of their plots. The linear equalizer output forms a regular ring, while the Costas output shows four main phase regions. These plots show the sample distributions at different processing stages; the linear equalizer display may remain ring-shaped.
The file status in the screenshot reads "Debug frames received; waiting for file transfer," indicating that B has successfully recognized the debug frames sent by A. Video file transmission has not yet been triggered, so progress remains at 0%. After confirming this status, start the file transmission on PC A.
Send the File and Confirm Reception
Trigger File Transmission on A
Click the "Debug / Send File" button once. Transmission starts from the beginning of the file, and the receiver on B starts counting file frames and updating the reception progress. Keep both endpoints running.

Check Completion on B
After all data has been received, the CRC check has passed, and the file has been reconstructed and saved, the status reads "Reception complete; CRC passed" and file progress reaches 100%.

After one complete file transmission, A automatically returns to sending debug frames. The constellation and spectrum displays on B continue updating, and the completed file is retained.
On B, open received.mp4 in a video player and check that the video plays normally.
Verify the Two-Device File Transfer
Check the Source File on A
Run the PowerShell script. In the file selection dialog, select the sample.mp4 file actually transmitted by A. Record its full path, byte count, and SHA256 hash.

Check the Received File on B
Run the same script and select the received.mp4 generated during the current transfer. Read its byte count and SHA256 hash, and compare them with the values recorded on A.

In the two endpoint screenshots, both files contain 4,372,373 bytes and have identical SHA256 hashes. This confirms that the file reconstructed by the illustrated two-device transfer has the same contents as the source file.
Live Camera Video Transmission Using Two PCs
This section uses two Windows PCs, two PlutoSky R2 devices, and a camera connected to the transmitting PC to capture, transmit, receive, and display live color images. As the camera is pointed at different subjects, the receiver displays the corresponding images.
Device Connections and Signal Path
On PC A, connect the local PlutoSky R2-A through USB and connect the camera. Attach the transmit antenna to TX1. On PC B, connect the local PlutoSky R2-B through USB and attach the receive antenna to RX1. When this PC is used as the receiver, run the PC B project.
Start Receiver B First
1. Connect the receiving board and confirm that it is accessible through IIO. Open RX_VIDEO_PC_B.grc and check freq, bit_rate, and the I/Q sample rate. The default rx_uri is 'ip:192.168.2.1'; set it to the address of the board connected to PC B.
2. Save the project, click Generate on the toolbar, and then click Run.

This GNU Radio receiver flowgraph acquires RF I/Q samples from PlutoSky R2. The signal passes through polyphase clock synchronization, CMA linear equalization, and Costas carrier synchronization, followed by differential QPSK demodulation. The recovered data is passed to the video receiver block, which reassembles JPEG frames for decoding and playback. Constellation, spectrum, and time-domain displays show the effects of clock synchronization, carrier synchronization, and channel equalization. Bad-packet and lost-frame statistics help assess the wireless link.
3. Switch to the Live Video tab. The receiver automatically creates the player and waits for images if the transmitter has not started streaming.

4. Keep the receiver running. The other tabs provide Four Receiver Constellations and Receive Spectrum and Time Domain. Below the player, the status shows complete video frames, displayed frames, packets with failed CRC checks, and lost video frames.
Start the Camera Transmitter on PC A
1. Connect the transmitting board and camera. Confirm that the camera is available and is not being used exclusively by another application. Open TX_CAMERA_PC_A.grc and set tx_uri to the address of the board connected to PC A. The two PCs can use the same default URI when their USB networks are independent.

This GNU Radio transmitter flowgraph captures live camera images and compresses them into a JPEG stream. Differential QPSK modulation generates the baseband I/Q signal, which is passed to the PlutoSky R2 RF hardware for wireless transmission at 2 GHz. Constellation, spectrum, and time-domain displays monitor the modulated signal and provide observation points for the RF source used by the receiver.
2. Save, generate, and run the project. In this version, starting the transmitter flowgraph automatically opens the camera and continuously captures and transmits images.
3. View the transmitter preview on the Live Video tab.
Transmitter window

Receiver window

The receiver correctly decodes and reconstructs the live camera images while reporting bad packets and lost frames. The demonstrated reception confirms the feasibility of this QPSK RF video transmission scheme and shows stable wireless transmission and reception of color images at a low frame rate.