590 B
590 B
AGI Frame Extract
Python script that extracts single frames from MP4 files and annotates them with GPS coordinates from SRT subtitle files.
Features
- Extract frames from MP4 at specified timecode or frame number
- Read GPS coordinates from SRT files at matching timecodes
- Write GPS coordinates to extracted frames using exiftool
Workflow
- Provide MP4 file + SRT file
- Specify timestamp or frame number
- Script extracts the frame
- Script finds GPS at that timestamp in SRT
- Script writes GPS EXIF data to the frame
Requirements
- Python 3.x
- FFmpeg
- exiftool