Hi Team,

I have a folder with 100+ mp4 files (each 1min duration) and its
corresponding gpx file extracted from a GPS enabled dashcam device.

Each individual mp4 file has geotagging information for each 1 sec as shown
below.

SampleTime                      : 29.00 s
SampleDuration                  : 1.00 s
GPSLatitude                     : 48 deg 54' 18.95" N
GPSLongitude                    : 2 deg 16' 48.06" E
GPSSpeed                        : 51.4989
GPSDateTime                     : 2022:05:18 09:40:39.000Z
SampleTime                      : 0:00:30
SampleDuration                  : 0 s
Text                            :
SampleTime                      : 0:00:30
SampleDuration                  : 1.00 s
GPSLatitude                     : 48 deg 54' 19.17" N
GPSLongitude                    : 2 deg 16' 48.37" E
GPSSpeed                        : 51.4989
GPSDateTime                     : 2022:05:18 09:40:40.000Z
SampleTime                      : 0:00:31
SampleDuration                  : 0 s
Text                            :


Right now I need to merge every 5 consecutive mp4 files together to have
5min video and also retain such geotagging metadata for 5 mins. I was able
to generate a merged mp4 file but I could not add geotagging information
either from the merged gpx file.

CodeSelect
ls *.MP4 | awk '{print "file '\''" $0 "'\''"}' > filelist.txt
ffmpeg -f concat -safe 0 -i filelist.txt -c copy merged.mp4
Does this exiftool support adding geotagging GPX data to mp4 file? if yes,
please point to the details

Or may be any other tool which does this job, would love to explore.

Any help would be much appreciated in this regard.

-Prem
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to