Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] Merging dashcam videos and adding merged GPX data to final video
@ 2024-07-23  7:26 Prem Thogiti
  2024-07-23 12:26 ` epirat07
  0 siblings, 1 reply; 2+ messages in thread
From: Prem Thogiti @ 2024-07-23  7:26 UTC (permalink / raw)
  To: ffmpeg-devel

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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [FFmpeg-devel] Merging dashcam videos and adding merged GPX data to final video
  2024-07-23  7:26 [FFmpeg-devel] Merging dashcam videos and adding merged GPX data to final video Prem Thogiti
@ 2024-07-23 12:26 ` epirat07
  0 siblings, 0 replies; 2+ messages in thread
From: epirat07 @ 2024-07-23 12:26 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

On 23 Jul 2024, at 9:26, Prem Thogiti wrote:

> Hi Team,
>

Hi,
I believe this is the wrong list for such a question.

This is the development list, you want to ask on ffmpeg-user instead.

https://ffmpeg.org/mailman/listinfo/ffmpeg-user

> 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".
_______________________________________________
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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-23 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-23  7:26 [FFmpeg-devel] Merging dashcam videos and adding merged GPX data to final video Prem Thogiti
2024-07-23 12:26 ` epirat07

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