Extract GPS Metadata from .MP4 and create .GPX using Exiftool

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 113

  • @tokyokyotoyt
    @tokyokyotoyt Рік тому +2

    You’re a life saver! Very informative but still calm and not rushing through all subjects. Can’t understand why people are paying a ton of money for that telemetry extractor which does virtually the same thing

  • @samspade7360
    @samspade7360 Рік тому

    Thank you so much for the two walkthroughs on Exiftool and Exiftool with Python. You also made a subscriber out of me and revived my interest in Python! 😀

  • @digicinematic
    @digicinematic 2 роки тому

    Thanks for your GREAT video. I hate technology documentation. Your demonstration saved me days of head-scratching and frustration. BTW, your instructions worked for me.

    • @Franchyze923
      @Franchyze923  2 роки тому +1

      You’re welcome! Thanks for watching, glad it helped

  • @renesachse4037
    @renesachse4037 2 роки тому +1

    Many thanks for the great explaination! That is working with my VIOFO A119 V3.

  • @summer101
    @summer101 4 місяці тому

    TY. This allowed me to parse geo data from my dash footage after a cross-country road trip.

  • @benhudson7138
    @benhudson7138 Місяць тому

    Very helpful content, thank you very much for this!!

  • @harsdensus88
    @harsdensus88 Рік тому

    Thank YOUThank YOUThank YOUThank YOU!!!! your tutorial is very clear to understand! You are lifesaver!

  • @AtherrAlam
    @AtherrAlam 7 місяців тому

    Dude that voice! :) You should be narrating stuff, a story teller. Great video

  • @MosheEliyahu
    @MosheEliyahu 3 роки тому

    Thanks for this video - I am searching for a long time a solution for my gopro videos which I take while I am riding my dirt bike. being able to extract the GPX for a batch of files is a really important information I need.

    • @Franchyze923
      @Franchyze923  3 роки тому

      That sounds cool, let me know if you run into any issues.

  • @Sandz12
    @Sandz12 3 роки тому

    Thanks a lot. I did this with my insta pro 2 video and it worked. Much support for your channel!

  • @GizmoGTI
    @GizmoGTI 11 днів тому

    Awesome clip! Thanks! I have a question though, how then do you after editing the video clips, add the gpx data back to the modified video (for example, I too have dashcam footage, but the footage needed to be merged together, clips are 1 minute clips but overlap each by 10 seconds, after merging the exif data is not saved, how do I then add the gpx files back onto the resulting merged modified video)? Do I really need to purchase Telemetry Overlay app, it is so expensive for what it really does?

  • @GaryGriffin-l5n
    @GaryGriffin-l5n Місяць тому

    Thank you for the great overview.

  • @wahidin6911
    @wahidin6911 2 роки тому

    Thank you very much Sir. Very Helpful and very well explained.

    • @Franchyze923
      @Franchyze923  2 роки тому

      You're welcome! Thanks for watching

  • @lukaramax3717
    @lukaramax3717 2 місяці тому

    Thank you from Italy....

  • @paulcelmare6926
    @paulcelmare6926 2 роки тому

    Great video and the way how you described everything. Actually this is what I was looking for for quite long time. One again, thanks!

    • @Franchyze923
      @Franchyze923  2 роки тому

      Awesome! Glad to hear it was helpful.

    • @paulcelmare6926
      @paulcelmare6926 2 роки тому

      @@Franchyze923 BTW is there a video where you explain how to merge a mp4 or any other video with gpx? Or to converted video (actually, in not sure if e.g. original video source with gps data converted to Avi will still contain gps data).

  • @suttoncoldfield9318
    @suttoncoldfield9318 5 місяців тому

    01/08/2024 Sutton Coldfield, England
    This is excellent.
    Software does way more than I _want_, but I have extensive computer experience so was able to quickly find what command syntax I _need_, save my GPX.fmt file and extract the GPS readings from my Nextbase 312G dashcam.

  • @fzgarcia
    @fzgarcia 2 роки тому

    Top video, thanks for the examples.

  • @nguyenhoangha582
    @nguyenhoangha582 7 місяців тому

    Excuse me, when I tried extracting data from a video with the -ee command, I got this returned: "Wildcards don't work in the directory specification. No matching files". Do you what is the problem and how to fix this?

  • @AbhishekYadav-uo3hg
    @AbhishekYadav-uo3hg Рік тому

    How to save file with .fmt on mac?
    When i am running code as .txt it is working fine
    I have downloaded gpx.fmt but when i am saving it, it is getting saved as .doc/ pages .
    However in your video the file type is fmt
    How to do this pl help

  • @satanaz
    @satanaz 7 місяців тому

    great tutorial man! many thanks!!!!!!!!!!

  • @cjhoyle
    @cjhoyle 3 роки тому

    Great tutorial, very easy to follow.

    • @Franchyze923
      @Franchyze923  3 роки тому

      Thanks for watching! Glad it was helpful.

  • @jitenanand4899
    @jitenanand4899 2 роки тому +1

    gps ,,metadata per frame is very useful to recreate a scene. captures and to exaclty locate the spot captured in the frame.

  • @julitocas85
    @julitocas85 2 роки тому

    Thanks for this explanation. I’m no expert in computers and I was able to follow your instructions. I have been able to pull out that information from a GoPro video but I was wondering if it’s posible to get information from gyroscope… I have seen it in videos so I’m pretty positive it’s embedded somewhere in the video

    • @Franchyze923
      @Franchyze923  2 роки тому +1

      That's a good question and something I'm interested in as well. So when you use the -ee flag, the results don't have any telemetry data? Are you able to provide a small sample that I can take a look at? I'll do some googling and see if I can find anything.

  • @doyt2023
    @doyt2023 Рік тому

    You're the best Man! :)

  • @Fritz33102
    @Fritz33102 7 місяців тому

    Hello Franchyze923,
    Thanks for the detailed explanation, but unfortunately I can't get a usable GPX file!
    I have a DJI Osmo Action 4 and wanted to make an offerlay with the GPX data using Virb Edit, but unfortunately there is no usable data in the GPX file!
    Is it possible that this procedure doesn't work with the DJI?

    • @Fritz33102
      @Fritz33102 7 місяців тому

      Hello again,
      I stole a few videos from a GoPro and it all works there, so it's down to the coding from DJI.
      If I open the DJI videos on my phone with the Mimo app, it works too, but it's very limited!
      Nevertheless, a great video and very objectively explained, even understandable for someone from abroad.

  • @SmartTrashBin-q7y
    @SmartTrashBin-q7y 2 роки тому +1

    thanks for the video and i know how to extract gps information right now. But If i want to import these GPS information to a video, what command should I use

    • @Franchyze923
      @Franchyze923  2 роки тому

      I've never tried that before, check out these posts -
      exiftool.org/forum/index.php?topic=7826.0
      exiftool.org/forum/index.php?topic=12720.0

  • @burakyilmaz_net
    @burakyilmaz_net Рік тому

    Now we are need to add that gpx data in to mp4 file because of gopro 12 has not a gps chip and quick app not add gps label with out gps data combined with mp4. is ist posible to add gpx data coming from android phone to mp4 file and uploud the gopro cloud than add label use quick app

  • @offthebeatenpanel9418
    @offthebeatenpanel9418 3 роки тому +1

    so when i run mine it pulls metadata but no GPD does that mean there is no gpd data on this mp4 or shoudl i see the values with 0

    • @Franchyze923
      @Franchyze923  3 роки тому

      Yep, pretty sure that means your video has no GPS data in it. I just tried running exiftool -ee video_with_no_gps.mp4 and there was no GPS data in the output.

  • @AbhishekYadav-uo3hg
    @AbhishekYadav-uo3hg Рік тому

    I have downloaded the tool..however the complete procedure is different due to terminal in mac instead of Cmd prompt…
    I am not able to follow the same.. request if the complete procedure of how to do in mac can be explained
    Thanks

  • @asidmahmood2881
    @asidmahmood2881 2 роки тому

    Hi can it convert video file like mp4 to gpx file will it give me latitude and longitude also my question is if mp4 video is long can I pause it at specific point to get latitude and longitude by converting video file to gpx

  • @DanialADHOfficial
    @DanialADHOfficial 3 роки тому +2

    hi do you know any similar apps that have simple user interface

    • @Franchyze923
      @Franchyze923  3 роки тому +1

      I know some companies have software that does this like GoPro and Garmin. Not sure what device you are using but might want to see if the manufatucer has some sort of software that can do it. You just gave me a good idea! I might try to look into making a simple web app that can do this.
      goprotelemetryextractor.com/free/

    • @DanialADHOfficial
      @DanialADHOfficial 3 роки тому

      @@Franchyze923 i tested out and its now work with my insta350 X2 format. its saying that processing is limited to 2000 lines

  • @vidakgrujic827
    @vidakgrujic827 Рік тому

    Hello. 😊 Can this tool take the coordinates from video where we used IPhone 12 Pro Max instead Go Pro? Thank you so much 😊

    • @Franchyze923
      @Franchyze923  Рік тому

      You should be able to, try exiftool -ee /path/to/.mov file and see what kinda data you get back.

  • @admfotad
    @admfotad 7 місяців тому

    Thnx, it helped me a lot

  • @steadywhoop
    @steadywhoop 3 роки тому +1

    Thanks for the video: do you know if we can extract gyro datas from an action cam with Exiftool ?

    • @Franchyze923
      @Franchyze923  3 роки тому +1

      There is probably a way. I'm trying to take a look at the documentation but it looks like exiftool.org/ is down at the moment. Have you tried using the -ee flag? That should give you more info about what's in the file. Might also want to look for IMU/accelerometer data. If you have a file sample, I can try to take a look.

    • @steadywhoop
      @steadywhoop 3 роки тому

      @@Franchyze923 did you look at the video file ? Did you try to extract gyros datas ?

    • @Franchyze923
      @Franchyze923  3 роки тому

      @@steadywhoop no, I know my video files don't have that sort of data embedded. It's dependent on the video file. If you have a sample file I can take a look.

    • @steadywhoop
      @steadywhoop 3 роки тому

      @@Franchyze923 Sorry, I tried again to share the link here but UA-cam removes the link

    • @Franchyze923
      @Franchyze923  3 роки тому +1

      @@steadywhoop you can send to franchyze923@gmail.com

  • @kasandraleiva101
    @kasandraleiva101 3 роки тому

    Muchas gracias, me funciono ok!

  • @timsdd
    @timsdd Рік тому

    wild stuff. well beyond my typical scope!
    My stupid *** new Ricoh Theta X WILL NOT import mp4's correctly into Street View Studio...."no gps data found" - even though the location icon on the camera is solid white.
    In any case, I was able to create GPX files and upload the video finally....not sure if they will track properly yet as they are still being processed by SVS
    BUT! very cool. thanks a bunch!!

  • @yuriyvolkov2391
    @yuriyvolkov2391 2 роки тому

    Great explanation and video! Thanks!
    Could you please advise how to add the "largefilesupport" option, otherwise my gpx files are turning out cutted off?

    • @Franchyze923
      @Franchyze923  2 роки тому +2

      Try adding: -api LargeFileSupport=1 as a parameter to the command. Below is an example -
      exiftool -api LargeFileSupport=1 -p /Users/fpolig01/Documents/gpx.fmt -ee /Users/fpolig01/Downloads/myvideo.MP4 > /Users/fpolig01/Downloads/myvideo.gpx
      Here is a discussion on it - exiftool.org/forum/index.php?topic=11906.0
      Let me know how it goes. I'm curious, I've never used that parameter before. How big is your video file?

    • @fdelpupo
      @fdelpupo 2 роки тому

      @@Franchyze923 Hi, excelent video.
      but, my files are returning
      Warning: Truncated '\x00\x02\x00\x00' data - G:/trabalho temp/henrique/convertidos (1)/VID_20220622_075209_00_001.insv
      Warning: [Minor] Insta360 accelerometer data is huge. Processing only the first 20000 records - G:/trabalho temp/henrique/convertidos (1)/VID_20220622_075209_00_001.insv
      i'm using the largefilesuport
      you can help me?

  • @Kblunt333
    @Kblunt333 3 роки тому +1

    Thank you alot for posting this!! I'm trying to process a video about 400Mb and the code seems to stop outputting at 180 data points even though there are much more stored in the file, any idea if there is a timeout issue or max runtime I could override?

    • @Franchyze923
      @Franchyze923  3 роки тому

      hmm interesting, no I don't know if there is any sort of time out. 400MB doesn't seem too big of a file. If you're willing to share the video I can try to take a look. Also, you can post on the exiftool forums - exiftool.org/forum/index.php?PHPSESSID=e04117e128098707a77aeaf8d8f89261&#c1

    • @Kblunt333
      @Kblunt333 3 роки тому

      @@Franchyze923 hey I figured it out, user error, I thought the video covered a much longer timeframe so it works as intended, thanks!

    • @clayjeansen5502
      @clayjeansen5502 Рік тому

      ​@@Kblunt333hey I have also downloaded the exiftool but when i tried to execute on some files.. it only decrypted the basic metadata of the picture.. It didn't give full information about the picture (like gps, device information and other stuff) can you tell me what's the issue?
      I'm on windows 11

  • @antonios5572
    @antonios5572 8 місяців тому

    Hi, I'm experiencing an issue with my Android phone as a video capture device. It appears to only register singular GPS information points rather than embedding frame by frame. Do you have any insights on this

    • @Franchyze923
      @Franchyze923  8 місяців тому +1

      It's possible your Android phone doesn't embed that data. What kind of phone?

    • @antonios5572
      @antonios5572 8 місяців тому

      @@Franchyze923 It's a Oneplus Nord (i think the first, from 2020 or so), do you know for sure what kind of phone can do this?

    • @Franchyze923
      @Franchyze923  8 місяців тому +1

      @@antonios5572 hmm I'm actually not sure, the video I was using came from a dashcam. I'm not sure how common it is for phones to record that type of detailed metadata. I just checked an iPhone video and I can only find one GPS point.

    • @antonios5572
      @antonios5572 8 місяців тому

      @@Franchyze923 I understand, maybe it's how smartphone works, many thanks for the quick tryout

  • @andrewholder4539
    @andrewholder4539 Рік тому

    I'm trying to get GPS data from an mp4 video clip. The command exiftool -ee filename.mp4 doesn't give any GPS data in the list. Does this mean there's no GPS in the file or am I not using the right command? Thank you for an excellent video.

    • @Franchyze923
      @Franchyze923  Рік тому

      yea probably no GPS, what kind of device did the video come from?

    • @andrewholder4539
      @andrewholder4539 Рік тому

      Thank you for your speedy reply. I don't know where the original came from. I'm guessing it was a phone camera as it's in portrait mode. It was just emailed to me by a third party as an attachment.@@Franchyze923

    • @andrewholder4539
      @andrewholder4539 Рік тому

      I'll try and get the original.

  • @K12war
    @K12war Рік тому

    Does not work for me. A video sent to me on facebook that was shot with an iphone = no gps data to be found

  • @doubleu23
    @doubleu23 3 роки тому

    Thanks for the video, I can confirm that your instructions worked for me. Do you have any advice on how to get this to work on a Mac? Specifically the read all mp4 within a folder command. Thanks in advance.

    • @Franchyze923
      @Franchyze923  3 роки тому

      Hey, thanks for watching. Check out this video - ua-cam.com/video/HXS1FN7ywYg/v-deo.html&ab_channel=franchyze923. I show how to use it with Python, but I'm basically just calling it from the command line on my mac. Does that make sense? For example, a command would be exiftool -ee -m -p "/Users/fpolig01/Videos/dashcam_footage/gpx.fmt" full_mp4_path

    • @doubleu23
      @doubleu23 3 роки тому +1

      @@Franchyze923 Thanks for responding, I will give it a try later. Thanks again!

  • @monstersaint
    @monstersaint 2 роки тому

    I got some data returned but no gps coordinates. I did use the "-ee". Any thoughts? The video was excellent.

    • @Franchyze923
      @Franchyze923  2 роки тому

      is it possible the device doesnt record gps?

  • @nkrumahminsinga1541
    @nkrumahminsinga1541 Рік тому

    good morning and thank you for the video. i've followed your instructions but for me it doesn't work, i still have problems to extract gps information. Do you know the possible causes please?

  • @mattiazammarchi6294
    @mattiazammarchi6294 2 роки тому

    Thank you so much! Very helpful and very well explained! Have you ever tried to create a .bat file with this command?

    • @Franchyze923
      @Franchyze923  2 роки тому +1

      Thanks! No, I've never used it with a .bat but that's a good idea. I've called exiftool from Python though.

  • @aashish92
    @aashish92 2 роки тому

    Couldn't get GPS coordinates, threw warning of GPS Encryption and coordinates were jebrish.

    • @Franchyze923
      @Franchyze923  2 роки тому

      Hmm interesting never seen that before

  • @Guthbutter
    @Guthbutter 2 роки тому

    What an excellent video, very informative and easy to follow especially for someone like me who is very new to a lot of this so thank you! Is it possible for you to post a tutorial on how to export to .csv from .mp4 file using exiftool? I tried to replicate the same steps from this video but must not be doing a step wrong.

    • @Franchyze923
      @Franchyze923  2 роки тому

      Thanks! I'll look into making a video on exporting to .csv.

    • @Franchyze923
      @Franchyze923  2 роки тому

      Try this -
      exiftool -p '$gpslatitude,$gpslongitude,$gpsspeed' -n -ee /video.mp4 > /output.csv
      If you are on windows you will need double quotes around '$gpslatitude,$gpslongitude,$gpsspeed' instead of single quotes.
      Check these threads out too -
      exiftool.org/forum/index.php?topic=5095.60 (scroll way to the bottom, refer to last post by Phil)
      exiftool.org/forum/index.php?topic=10702.0
      Hope that helps!

  • @MuratTaşyürek-c5r
    @MuratTaşyürek-c5r Рік тому +1

    Can you share the .MP4 file?

    • @Franchyze923
      @Franchyze923  Рік тому

      I’ll see if I can find it

    • @jeanchris1594
      @jeanchris1594 Рік тому

      we would really appreciate if you could share the .mp4 file or guide us on where to get sample mp4 files with gps metadata@@Franchyze923

  • @AbhishekYadav-uo3hg
    @AbhishekYadav-uo3hg Рік тому

    Can u pl help if i want to do the same on mac book… i am in urgent need
    Thanks

    • @Franchyze923
      @Franchyze923  Рік тому

      works on mac as well, you can download for mac here - exiftool.org/index.html

    • @AbhishekYadav-uo3hg
      @AbhishekYadav-uo3hg Рік тому

      I have downloaded the tool..however the complete procedure is different due to terminal in mac instead of Cmd prompt…
      I am not able to follow the same.. request if the complete procedure of how to do in mac can be explained
      Thanks

  • @ivilsa7904
    @ivilsa7904 Рік тому

    Gotta be honest: did not watched full video cause I am in a hurry. (will do later probably) but heres my rushed stupid question:
    Can I "hypothetically" use this for any vid and find out the GPS data?
    thanks in advance

    • @Franchyze923
      @Franchyze923  Рік тому

      The camera used to shoot the video needs to support GPS

  • @CruiseW
    @CruiseW 3 роки тому

    12:20 Yes can you make a quick video on this

    • @Franchyze923
      @Franchyze923  3 роки тому

      Here ya go! - ua-cam.com/video/HXS1FN7ywYg/v-deo.html&ab_channel=franchyze923
      Let me know how it goes

    • @CruiseW
      @CruiseW 3 роки тому +1

      @@Franchyze923 Thank you so much, will do.

  • @BandungStreetView
    @BandungStreetView 2 роки тому

    Rieut dak euy

  • @r6u356une56ney
    @r6u356une56ney 2 роки тому

    This would have been more useful if it had been a typed page. As presented the resolution is too high to even read what you're typing, and of course impossible to copy/paste.

    • @Franchyze923
      @Franchyze923  2 роки тому

      github.com/franchyze923/Code_From_Tutorials/tree/master/Misc%20Projects

  • @jeanmi8184
    @jeanmi8184 3 роки тому +1

    bonjour

  • @danoslehoy
    @danoslehoy 2 роки тому

    Porqué habla con esa voz de misterio y terror ?