Vai ai contenuti
File multimediali per l'articolo Camera Remote — PTP/IP Camera Control over USB & WiFi: 1

Descrizione

Camera Remote turns a Sony camera into a Blueprint-controllable device inside Unreal Engine. Connect over USB or WiFi, stream the live preview into a texture, read and write the camera's settings, trigger the shutter, and pull the captured file back to the host — with no vendor SDK involved at any point.

The plugin implements PTP/IP and the camera's vendor extension directly against the published imaging standards. There is no SDK to download, no vendor registration, and no redistribution agreement to sign. That also means it runs where the official SDK does not: Android devices in USB host mode, which is the difference between "possible" and "not possible" for handheld and on-set tooling.

WHAT YOU GET

Connection

· USB via libusb / WinUSB, and WiFi via PTP/IP

· Device enumeration with hot-plug events (attach / detach) on desktop and Android

· Multiple cameras connected at once, each on its own worker thread

· Connection state, transport and model reported per device

Capture

· Autofocus and shutter release, with or without an AF pass first

· Continuous / burst shooting

· Video record start and stop

· Event when a new image is captured, plus full-resolution download to the host

· Automatic buffer drain on the bodies that require it

Live preview

· The camera's JPEG preview stream at roughly 30 FPS

· Decoded into a single reused UTexture2D — bind it to an Image widget once

Camera settings

· Nine property categories: Exposure, White Balance, Focus, Image, Picture Profile, Movie, Cinema, Drive and System

· Around 1450 named PTP property codes, with the camera's own allowed ranges and enum lists exposed to Blueprint — build a dropdown that can only produce legal values

· Every write is range-checked against what the connected body actually reports; an illegal value is refused before it reaches the camera

· Quick nodes for the common controls (ISO, aperture, shutter speed, white balance)

· Raw access by PTP code for anything the typed enums do not cover

Lens

· Lens detection and lens control where the body exposes it

Everything is a Blueprint node. C++ is available but not required.

PLATFORMS

Windows — USB (WinUSB driver via Zadig) and WiFi

Linux — USB (udev rule) and WiFi

Android — USB host mode, API 35+ — and WiFi

COMPATIBILITY NOTE

The plugin recognises the full modern Sony E-mount range by USB product ID and adapts to two protocol generations (Mode200 and Mode300) plus per-body quirks such as the buffer drain the a6100/a6400/a6600 need.

Hardware-verified so far: ILCE-7RM4 (a7R IV), on Windows and Android.

Every other body is supported by protocol classification, not by a device sitting on my desk. Bodies differ in which properties they advertise and which control codes they honour — that is camera firmware, not plugin behaviour. If your body misbehaves, tell me which one and what happened and help make the compatibility table grow.

WHAT IT DOES NOT DO

· No real-time video pass-through with audio — the live view is a JPEG preview

· No firmware updates

· Nothing that requires Sony's proprietary CrSDK

TECHNICAL DETAILS

Features

· Sony camera control over USB (libusb/WinUSB) and WiFi (PTP/IP), no Sony SDK

· Blueprint-first API: GameInstance subsystem plus a per-camera handle object

· Autofocus, shutter, continuous shooting, video record, image download

· ~30 FPS JPEG live view into a reused UTexture2D

· Nine property categories, ~1450 named PTP codes, camera-reported ranges and enum lists, range-checked writes

· Hot-plug attach/detach events; several cameras at once

· Android USB host support (API 35+)

Code Modules

· SpiralRealityCameraRemote (Runtime)

· libusb (ThirdParty, External)

Number of Blueprints: 0

Number of C++ Classes: 5 UCLASS/UINTERFACE (UCameraManager, UCameraHandle, ICameraDevice) plus ~20 BlueprintType enums and structs

Network Replicated: No

Supported Development Platforms: Win64, Linux, Mac

Supported Target Build Platforms: Win64, Linux, Mac, Android, iOS

Documentation: full HTML manual (setup, usage, API reference, troubleshooting) ships with the plugin

IMPORTANT NOTES

· Windows USB requires the WinUSB driver, installed once per camera with Zadig. WiFi needs no driver.

· Linux USB needs a udev rule (supplied in the README).

· Android needs USB host mode and grants a system USB permission dialog on first connect.

· Power the camera on BEFORE plugging in the USB cable; Sony bodies do not detect a partner attached while off.

· Shutter release without an AF pass requires the body to be in manual focus — Sony firmware refuses to release without an AF lock in AF-S/AF-C/DMF.

· libusb is LGPL-2.1; its license text and the relinking provisions ship with the plugin.

· Camera Remote by Spiral Reality. Sony, Alpha, ZV and Cinema Line are trademarks of Sony Group Corporation, used here only to describe camera compatibility. This product is not affiliated with or endorsed by Sony.

Formati inclusi

File aggiuntivi