How vizzaq23/cod-pov-coach works
CoD POV Coach is an early video-ingestion prototype: a user selects a local gameplay MP4, the web form posts it to FastAPI, which saves it locally and uses FFprobe to extract duration, resolution, and frame rate for display. The API also exposes a health check. The README documents this scope; gameplay coaching and automated analysis are not implemented. The request path is evidenced by the page and API excerpts, while FFprobe invocation and local storage are visible in the API source.
Main entry points: main.py Upload endpoint · page.tsx Upload form
Components 8
Web interface
- Upload form
web/src/app/page.tsx - Metadata display
web/src/app/page.tsx
Ingestion API
- Upload endpoint
api/main.py - Health check
api/main.py - Local upload storage
api/main.py
Video processing
- Metadata extraction
api/main.py
Other components
- Clip uploader
- FFprobe
Connections 6
- Clip uploader → Upload form: selects clip
web/src/app/page.tsx - Upload form → Upload endpoint: POSTs upload
web/src/app/page.tsx - Upload endpoint → Local upload storage: writes video
api/main.py - Upload endpoint → Metadata extraction: probes saved file
api/main.py - Metadata extraction → FFprobe: runs probe
api/main.py - Upload endpoint → Metadata display: returns metadata
web/src/app/page.tsx