Add translation project initial spec

This commit is contained in:
krustophski 2026-05-30 16:06:58 +03:00
parent b2e6523f88
commit 188d5c9ef5
9 changed files with 269 additions and 0 deletions

View file

@ -0,0 +1,54 @@
# Dialogue Summary: Translation Initial SRT Unreal Project
## Date
2026-05-30
## Source
- Agent: Codex on current Mac.
- Machine: current repository workspace.
- Dialogue/context: User dictated the first description of the second project.
## Project
`translation` / `трансляция`.
## User Goal
Build a live broadcast pipeline where an Android phone sends camera video over SRT into Unreal Engine, and Unreal Engine uses Motion Design to add cycling race graphics and telemetry overlays.
## Decisions
- Use `translation` as the knowledge-base project key and `трансляция` as the Russian display name.
- First technical focus is SRT video ingest into Unreal Engine.
- Motion Design graphics and telemetry overlays come after video ingest is proven.
## Important Context
- Expected video source: Android phone camera.
- Video transport: SRT.
- Target engine: Unreal Engine.
- Graphics layer: Unreal Engine Motion Design scene.
- Telemetry: pedal rotation speed/cadence, wheel speed, heart rate.
- Existing Android/sensor app exists but has not been inspected yet.
## Current State
Project files were created in `projects/translation/`.
## Next Actions
- Identify the Android app repository/path.
- Identify the Unreal project or plugin repository/path.
- Select and test an Unreal Engine SRT ingest approach.
## Knowledge Base Updates
- `projects/index.md`
- `projects/translation/technical-spec.md`
- `projects/translation/status.md`
- `projects/translation/decisions.md`
- `projects/translation/repositories.md`
- `projects/translation/notes.md`
- `projects/translation/agent-log.md`

View file

@ -26,3 +26,4 @@ YYYY-MM-DD-short-topic.md
- `2026-05-26-kamaz-ndi-android-display-fullscreen.md`
- `2026-05-26-kamaz5360-chaos-vehicle.md`
- `2026-05-30-chat-driven-knowledge-sync.md`
- `2026-05-30-translation-initial-srt-unreal.md`

View file

@ -6,6 +6,7 @@
- `garage` - truck snow-removal simulator project.
- `kamaz-ndi-android-display` - Android/NDI tablet display app for KAMAZ rear-view mirror tablets and dashboard tablet.
- `mapping` - open-source automatic projection calibration module for Unreal Engine nDisplay warp/blend export.
- `translation` - Android SRT camera stream into Unreal Engine with Motion Design overlays and cycling race telemetry graphics.
## Project Conventions

View file

@ -0,0 +1,9 @@
# Translation Agent Log
## 2026-05-30 - Initial Project Capture
- Machine: current Codex Mac.
- Agent: Codex.
- Summary: Created the second project `translation` / `трансляция` from the user's first description. Captured the target workflow: Android phone camera sends SRT video to Unreal Engine; Unreal Motion Design adds cycling broadcast graphics; telemetry later includes pedal cadence, wheel speed, and heart rate.
- Files changed: Added project technical specification, status, decisions, repositories, notes, and agent log; updated `projects/index.md`.
- Next handoff: Identify the existing Android app repository and the Unreal Engine project/plugin repository, then choose the first SRT ingest approach for Unreal.

View file

@ -0,0 +1,13 @@
# Translation Decisions
## 2026-05-30 - Project Name
Decision: Use `translation` as the folder/project key in this knowledge base, with Russian display name `трансляция`.
Reason: The user named the second project `трансляция`; existing project folder names are English ASCII.
## 2026-05-30 - First Technical Focus Is SRT Into Unreal
Decision: The first milestone is to make an SRT video stream from an Android phone visible inside Unreal Engine.
Reason: The user explicitly said the main current goal is writing an Unreal Engine plugin so the SRT stream can be seen inside Unreal Engine. Motion Design graphics and telemetry overlays come after ingest is proven.

View file

@ -0,0 +1,9 @@
# Translation Notes
## Initial User Description
The project will likely use an Android phone as a live camera source. The phone sends its camera video stream over SRT. Unreal Engine receives that stream, and a Motion Design scene adds polished overlay graphics such as cycling race statistics and title cards.
The phone or an existing app will also provide sensor data, including pedal rotation speed/cadence, wheel speed, and heart rate. The user will provide the existing app later for inspection.
The immediate goal is not the final graphics package. The immediate goal is to write or configure an Unreal Engine plugin/workflow that can show the SRT stream inside Unreal Engine.

View file

@ -0,0 +1,30 @@
# Translation Repositories
## Purpose
Track local and remote repositories that belong to the `translation` project.
## Known Repositories
None documented yet.
## Expected Repositories
- Existing Android app repository that can provide phone camera video and sensor telemetry.
- Unreal Engine project or plugin repository that will receive SRT video.
- Possible test tools repository for SRT sender/receiver experiments.
## Repository Rules
- Verified working SRT ingest milestones should be committed and pushed as restore points.
- Important stable states should be tagged.
- Useful failed attempts should use separate `attempt/`, `debug/`, or `failed/` branches.
- Failed or unverified branches must not be merged into `main` or stable branches.
- Every restore point or failed attempt branch must be referenced from `projects/translation/status.md` or `projects/translation/agent-log.md`.
## Open Questions
- Where is the existing Android app repository?
- Where should the Unreal Engine SRT ingest plugin live?
- Which local Git server repository should be used, if any?
- Which remote GitHub repository should hold project code, if separate from the knowledge base?

View file

@ -0,0 +1,39 @@
# Translation Project Status
## Goal
Create a live broadcast workflow where an Android phone sends camera video over SRT into Unreal Engine, Unreal Motion Design adds broadcast graphics, and cycling telemetry drives race overlays.
## Current State
- Project created in the shared agent knowledge base on 2026-05-30.
- User provided the first project description.
- Primary first milestone: make an SRT video stream visible inside Unreal Engine.
- Android phone is the expected camera source.
- An existing Android/sensor app exists, but the repository and implementation details have not been reviewed yet.
- Unreal Engine Motion Design is expected to create overlay graphics and title cards.
- Telemetry requirements currently include pedal rotation speed/cadence, wheel speed, and heart rate.
## Next Actions
- Identify the existing Android app repository/path.
- Identify the Unreal Engine version and target Unreal project/repository.
- Decide the first SRT ingest approach for Unreal Engine.
- Create a small test plan for synthetic SRT stream first, then Android phone stream.
- Document restore points and failed attempts using `skills/project-restore-points-and-failed-attempts.md`.
## Blockers
- Target Unreal Engine version is not selected.
- Target Unreal repository/path is not known.
- Existing Android app repository/path is not known.
- SRT ingest implementation path is not selected.
- Telemetry protocol/format is not known.
## Open Questions
- Which Android app/repository should agents inspect first?
- Which computer contains the Unreal project for this work?
- Should the first proof use a test SRT sender before the phone?
- What latency and quality targets are acceptable?
- What final broadcast output path is required?

View file

@ -0,0 +1,113 @@
# Translation Technical Specification
## Project
`translation`
Russian name: `трансляция`.
## Purpose
Build a live broadcast pipeline where an Android phone sends its camera video stream over SRT into Unreal Engine, and Unreal Engine adds Motion Design graphics, titles, and cycling race telemetry overlays.
## Current Scope
The first technical goal is to create or configure an Unreal Engine plugin/path that can receive and display an SRT video stream inside Unreal Engine.
Later scope includes:
- beautiful broadcast-style title cards and lower thirds through Unreal Engine Motion Design;
- cycling race statistics overlays;
- telemetry from the Android phone or companion app;
- integration of speed, cadence, wheel speed, and heart-rate data into the on-screen graphics.
## Users And Use Cases
- Operator starts an Android phone camera stream.
- Unreal Engine receives the SRT stream and displays it in a scene or media texture.
- Operator designs and controls Motion Design overlay graphics.
- Viewers see a live camera feed with cycling race statistics and polished titles.
- Telemetry from sensors updates the overlay in real time.
## Functional Requirements
- Android phone should send live camera video over SRT.
- Unreal Engine must receive and render the SRT video stream.
- First implementation target is an Unreal Engine plugin or plugin-backed workflow for SRT ingest.
- Unreal Engine Motion Design should overlay graphics on top of the live video.
- Overlay content should include cycling race statistics.
- The system should later ingest sensor data:
- pedal cadence or pedal rotation speed;
- wheel speed;
- heart rate.
- Existing Android/sensor application already exists and should be reviewed later when the user provides it.
- The system should keep video ingest and telemetry ingest separable enough to test independently.
## Non-Functional Requirements
- The first milestone should focus on proving SRT video visibility inside Unreal Engine before building complex graphics.
- The ingest path should be documented with exact plugin, dependency, build, and runtime steps.
- Latency, stability, and stream recovery behavior should be measured once the first stream works.
- Project changes should follow restore-point rules:
- verified working Unreal/plugin changes are committed and pushed as restore points;
- important stable states get tags;
- useful failed attempts go to `attempt/`, `debug/`, or `failed/` branches;
- failed approaches are documented in the knowledge base.
## Technical Assumptions
- The phone will probably be Android-based.
- Transport protocol for video is SRT.
- Unreal Engine is the target compositor/rendering environment.
- Unreal Engine Motion Design will be used for titles, lower thirds, and other overlay graphics.
- Sensor data may come from the existing Android app or a related data path; exact protocol is not yet documented.
- The immediate unknown is the best Unreal Engine SRT ingest implementation: native plugin, FFmpeg-backed plugin, GStreamer-backed plugin, Media Framework extension, or another stable path.
## Data And Inputs
- Android phone camera stream over SRT.
- Sensor data:
- pedal rotation speed/cadence;
- wheel speed;
- heart rate.
- Race metadata for overlays, to be defined later.
- Graphic/title design requirements, to be defined later.
## Output
- Unreal Engine scene containing the live video feed.
- Motion Design overlays composited over the feed.
- Final broadcast output path is not yet defined.
## Acceptance Criteria
- Unreal Engine can receive a live SRT stream from an Android phone or test SRT sender.
- The stream is visible inside Unreal Engine as a texture, media plate, or equivalent renderable source.
- The setup steps are documented well enough for another agent to reproduce.
- At least one verified restore-point commit/tag exists for the working SRT ingest milestone once implementation starts.
- Failed ingest approaches are documented and preserved on separate branches when useful.
## Milestones
- Identify existing Android app/repository and document its current video and sensor capabilities.
- Choose Unreal Engine version and target project/repository.
- Research and select the first SRT ingest approach.
- Build or install the Unreal Engine SRT ingest plugin.
- Test with a local synthetic SRT stream.
- Test with Android phone camera SRT stream.
- Display stream inside Unreal Engine.
- Add first simple Motion Design overlay.
- Connect first telemetry values to overlay.
- Define final broadcast output path.
## Open Questions
- Which Unreal Engine version will be used?
- Which project repository will own the Unreal plugin?
- What Android app sends SRT, and where is its repository?
- Does the existing Android app already send sensor data, video, or both?
- What protocol/format does telemetry use?
- What SRT mode will be used: caller, listener, or rendezvous?
- What resolution, frame rate, bitrate, and latency are required?
- What is the target final output: Unreal viewport, NDI, SDI, RTMP/SRT out, recording, or another path?
- What exact cycling race graphics are required?