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
Description
A Python Script that extracts single Picture Frames from a .MP4 Video and Geotagges it with Data from a .SRT File with the same Name as the Video File.