feat: GPX Import + Video Overlay + Exporter#2
Open
juakoasistente wants to merge 1 commit into
Open
Conversation
Core engine for importing GPX + video and exporting with overlay: GPXParser: - Parse GPX/XML files (Strava, Garmin, etc.) - Extract: coordinates, altitude, timestamps, speed, HR, cadence, power - Interpolate data at any time offset (for frame-by-frame sync) - Calculate: total distance, max/avg speed, elevation gain - Heading calculation between points OverlayRenderer: - Render telemetry data as UIImage overlay - 3 styles: modern (dark cards), minimal (text only), racing (bold + red accent) - Configurable: position, metrics shown, metric/imperial, opacity, scale - Renders: speed, distance, time, altitude, elevation gain VideoExporter: - Import video from camera roll - Sync GPX data with video timeline (configurable time offset) - Custom AVVideoCompositor burns overlay onto each frame - Exports MP4 with audio preserved - Quality presets: 720p, 1080p, original - Progress tracking + cancellation support - CIImage compositing for overlay blending
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
El motor correcto para Kinetic
El flujo: usuario importa vídeo + GPX → Kinetic sincroniza y renderiza overlay → exporta vídeo final
3 ficheros, 812 líneas:
Services/GPX/GPXParser.swiftdataAt(timeOffset:)→ interpola datos a cualquier segundo del vídeoServices/Overlay/OverlayRenderer.swiftmodern(tarjetas dark),minimal(solo texto),racing(bold + acento rojo)Services/VideoProcessor/VideoExporter.swiftUso: