hi everyone! i have a 360 video (.mp4) shot using a GoPro Fusion with embedded gps (gpmd track).
i am trying to break the video into frames (1 per second), either png or jpg, whilst preserving certain global metadata, like camera make, but most importantly timestamps. my idea was to first extract the metadata using exiftool, break the video down into frames using ffmpeg, and then geocode the frames based on times using exiftool. the issue, i have not been able to figure out how to properly preserve metadata during conversion in ffmpeg from mp4 to jpg/png. importantly, this means the images do not have a capture time. now i'm starting to consider using a custom script to offset based on frame rate (e.g. start at 12:00 (start time of vid) and add +1 sec to each frame timestamp) using a custom script. before i jump into this, i was wondering if ffmpeg could handle this natively in the conversion? based on web searches i've tried a lot of flag combinations, alas, no success, e.g. ffmpeg -i VIDEO_7152.mp4 -r 1 -map_metadata 0:g FRAMES/img%04d.png ffmpeg -i VIDEO_7152.mp4 -r 1 -movflags use_metadata_tag FRAMES/img%04d.png if anyone could validate/invalidate whether this is even possible in ffmpeg that would be useful in helping me figure out what to do next. here is the video file: https://drive.google.com/file/d/1XspMMI4Vd4eX4yLJ-FAwKOadhYzmjxH1/view?usp=sharing thank you! -dave -- *David Greenwood* Chief Explorer https://www.trekview.org _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
