bobledeveloppeur / fb-export-exif-merge

A tool to restore EXIF data to images downloaded in a Facebook data export
MIT License
0 stars 0 forks source link

Videos with no mp4 extension are not in exif-updates.json #1

Open rizwank opened 1 month ago

rizwank commented 1 month ago

Latest file comes with videos with no extension, but are mp4 files.

From your_videos.json

    {
        "uri": "your_facebook_activity/posts/media/videos/767203_10151424543417232_412878880_n_10151424543172232",
      "creation_timestamp": 1360935180,
      "media_metadata": {
        "video_metadata": {
          "exif_data": [
            {
              "upload_ip": "xxx.xxx.xxx.xxx",
              "upload_timestamp": 0
            }
          ]
        }
      },

There doesn't seem to be any detail in exif.json output for 767203_10151424543417232_412878880_n_10151424543172232 - I'm not sure if exiftool picks it up automatically despite the lack of file name; but it that file does have exifdata.

Let me know how I can help with debugging. Thanks!

rizwank commented 1 month ago

Also thanks for the tool!

rizwank commented 1 month ago

exiftool doesn't pick up the non extensioned file with -r for some reason, although it should. including * makes it work.

[ rizwank@macbook /Volumes/Photos/fbtest/your_facebook_activity/posts ] $exiftool -r  media/videos/* | grep -i 767203_10151424543417232_412878880_n_10151424543172232
======== media/videos/767203_10151424543417232_412878880_n_10151424543172232
File Name                       : 767203_10151424543417232_412878880_n_10151424543172232
[ rizwank@macbook /Volumes/Photos/fbtest/your_facebook_activity/posts ] $exiftool -r  media/videos/ | grep -i 767203_10151424543417232_412878880_n_10151424543172232