From: Prem Thogiti <prem.thogiti@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] Merging dashcam videos and adding merged GPX data to final video
Date: Tue, 23 Jul 2024 12:56:23 +0530
Message-ID: <CAKa2ZXx2H-DqZTwaYywX+RR+wd3fxY1hPpEUOt2hWV0W4GE7vw@mail.gmail.com> (raw)
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-request@ffmpeg.org with subject "unsubscribe".
next reply other threads:[~2024-07-23 7:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-23 7:26 Prem Thogiti [this message]
2024-07-23 12:26 ` epirat07
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKa2ZXx2H-DqZTwaYywX+RR+wd3fxY1hPpEUOt2hWV0W4GE7vw@mail.gmail.com \
--to=prem.thogiti@gmail.com \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git