Using ExifTool to Extract Metadata from Video Files

แชร์
ฝัง

ความคิดเห็น • 78

  • @CreativeVideoTips
    @CreativeVideoTips 2 ปีที่แล้ว +5

    Dude, Andrew - I wish I had come across your channel sooner. This is a gold mine. I really appreciate this along with all your other videos I'm binging this morning.

    • @andrewsaraceni
      @andrewsaraceni  2 ปีที่แล้ว

      Thanks Chadwick, I really appreciate that! I'm on a similar binge now of your videos as well. 🙂

  • @sundersquare
    @sundersquare 4 หลายเดือนก่อน

    great tips. Best way to change Exif Data. Created a video with default date and want to change it to the correct day

  • @Kinzey
    @Kinzey 3 ปีที่แล้ว +3

    Did you figure out what caused that choppiness in your friends video? He shot it at a pretty high bit rate so maybe it rendered poorly, especially if it was part of a much larger clip. I've had that happen quite a bit on an older system with ddr2 ram lol.

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว +2

      In the end, since the shutter speed was fine, I suspect it was a combination of the higher bitrate and codec used being 4:2:2, and Quicktime just not being able to process it well. FCPX even without proxies rendered it fine, as did VLC. I'd been used to similar Quicktime rendering issues before (e.g. not handling 10-bit files in general), but not in that way or to that extent.

  • @cy-villian
    @cy-villian ปีที่แล้ว

    Thank you Andrew, Much appreciated

  • @timetriad6199
    @timetriad6199 ปีที่แล้ว +1

    Great video‼️ Going through your examples now, but I’m on Windows and can’t use that “word count list” option “wc -l” Checked “exiftool application documentation” online but can’t find it listed there. Thanks…

    • @timetriad6199
      @timetriad6199 ปีที่แล้ว

      Windows cmd… exiftool %inputfile% | find /v /c “” … gets me close with 81 lines, should be 73.
      PowerShell returns the correct number using: exiftool $movie | Measure-Object -line

    • @andrewsaraceni
      @andrewsaraceni  ปีที่แล้ว

      If you're on a Windows machine using PowerShell, you could try wrapping the entire command in parenthesis, and doing a .Count on it, e.g. (exiftool...).Count

  • @aktripathi48
    @aktripathi48 3 ปีที่แล้ว +1

    Nice informative video, thanks

  • @thisisjbahrYT
    @thisisjbahrYT ปีที่แล้ว

    Thanks for the video. Terminal makes me scared, haha. Need to work on my chops I guess.

    • @andrewsaraceni
      @andrewsaraceni  ปีที่แล้ว

      No problem! ExifTool is definitely a great place to start for terminal use.

  • @mehvishr
    @mehvishr ปีที่แล้ว

    You are a genius. Thankyou!

  • @tracilyn4838
    @tracilyn4838 7 หลายเดือนก่อน

    Is it possible to extract a GPS location from an edited music video published on youtube?

    • @andrewsaraceni
      @andrewsaraceni  7 หลายเดือนก่อน

      Not sure, it's really up to TH-cam and how they include/store that information - it's worth checking the metadata after downloading to see if it's there though.

  • @Dronesynccouk
    @Dronesynccouk 8 หลายเดือนก่อน

    Just tried and it does not work on my Mac. I get a message saying:
    Error: File not found - Users/xxxxxx/Desktop/New
    Error: File not found - folder/Picture
    Error: File not found - 13.JPG
    0 image files read
    3 files could not be read
    I have entered xxxxxx here above on purpose

    • @andrewsaraceni
      @andrewsaraceni  8 หลายเดือนก่อน

      Sounds like you might not be escaping spaces, etc. in the file path correctly. If you type just "exiftool" in the Terminal without quotes, does it do anything?

  • @crimacola_aa1057
    @crimacola_aa1057 3 ปีที่แล้ว +1

    do you think i can know the bitdepth of whatever raw image i took this way?🤔

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      Bit depth should be one of the attributes returned (I think it might be BitsPerSample?), but could be represented differently between camera manufacturers.

  • @JustinsSupercars
    @JustinsSupercars 2 ปีที่แล้ว

    Is it possible to view the cameras serial number from a video file? And is it possible to view the serial number of a camera that a particular TH-cam video was shot with? Like if you just have the link to the TH-cam video?

    • @andrewsaraceni
      @andrewsaraceni  2 ปีที่แล้ว +1

      You can get the serial number from an originally captured video file, right off the SD card. e.g. It'll vary depending on the camera, but on my Sony's, the attribute is "Device Serial No". But basically impossible to do with a TH-cam video, since TH-cam compresses and re-encodes everything you upload, even if you uploaded a file directly off your camera.

  • @sholamanjo
    @sholamanjo 11 หลายเดือนก่อน

    Hi Andrew I’m having issues getting the info from terminal I’m running Mac OS Sonoma 14.1 can pls help .because when i put in the command just keep asking for quote help pls

    • @andrewsaraceni
      @andrewsaraceni  11 หลายเดือนก่อน

      You might have to make sure your putting the file path in correctly. Your Mac should let you Tab (key) your way to autocompleting the right file path.

  • @Corn-ped
    @Corn-ped ปีที่แล้ว

    This is great! Andrew, Do you know how I can edit the metadata? I want to change what the video what shot on. I am trying to test a theory. I think Iphone videos get more plays than Android. I want to edit a video into 2 files, one with iphone metadata and one with Android. Any Idea on changing it?

    • @andrewsaraceni
      @andrewsaraceni  ปีที่แล้ว +1

      The documentation has notes on it (it's basically just adding a `-tag=value` for everything you want to change), but I'm planning another video to demonstrate that soon.

  • @StudioGalvan
    @StudioGalvan ปีที่แล้ว

    Geek Out - Nerd In ... Whatever
    This is very interesting ... to some of us. 🤓

    • @andrewsaraceni
      @andrewsaraceni  ปีที่แล้ว

      Thanks Carlos, glad you appreciate it!

  • @robinreso6240
    @robinreso6240 2 หลายเดือนก่อน

    do you know how to write lens, iso, apterure to the comment section of the video files?

    • @andrewsaraceni
      @andrewsaraceni  2 หลายเดือนก่อน

      I've been thinking about doing a follow-up on writing data... You should be able to supply those as a tag to the command, and it'll over/write the new value (exiftool -aperture=f2.8 -iso=800). Might have some issues/complications in doing that though if you're overwriting values, at least with certain video files/codecs

  • @gouravkhator
    @gouravkhator 3 ปีที่แล้ว

    If I want to dig deeper to extract metadata from the hexdump buffer of the video file, without using predefined libraries and tools, how can I identify which parts of hexdump is which field for that video file?

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว +1

      Can't say I've tried this myself, but I think hexdump has a --canonical switch that will output (roughly) what it can parse as ASCII characters, so that might be of assistance.

  • @foxandrews
    @foxandrews 3 ปีที่แล้ว

    Hello, I have a doubt, I don't know if I know how to do this. I have an old video file, I can insert the GPS coordinate in this old video file. Once I get a google maps coordinate, which command can I enter this information using this program? Thanks

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว +1

      I think you can insert the tags and the values you want to write for them as arguments to exiftool. So something like:
      exiftool -gpslatitude=12.3456 -gpslongitude=12.3456 /path/to/your/file
      But I'd double check the documentation to be sure.

  • @martinivanov9654
    @martinivanov9654 ปีที่แล้ว

    Is it possible to extract location metadata from youtube video ? Ive been trying using exiftool with no success

    • @andrewsaraceni
      @andrewsaraceni  ปีที่แล้ว

      If you're pulling the video directly from TH-cam, it would depend on how YT re-encodes/transcodes it when uploaded, and if the creator supplied location information for the video. So, likely not a foolproof thing.

  • @arlizaanastiawans8071
    @arlizaanastiawans8071 3 ปีที่แล้ว

    Hi, Bro, I have a problem with my video file, my video can't be played, but when I checked it turned out that all the metadata in the video was gone, mean the metadata bit rate, fps, resolution. etc., how to write or fix missing video metadata, thank you. by the way am using sony camera

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      Do you know if the file is corrupt, or if there's any other issues with it? That might pose some problems, but you should generally be able to add metadata values by doing:
      exiftool -name=value /path/to/file
      Where name is the metadata tag you're writing, and value is the value you're setting for it (and enclose in quotes if there's spaces).

  • @vicluistudio3320
    @vicluistudio3320 3 ปีที่แล้ว

    I dont get it, I was at 3:44 same page, but all in a sudden your screen just jumped to 3:46.... how did that happen...

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      Yeah that's weird, sounds like a TH-cam glitch (it plays back fine when I try it).

    • @vicluistudio3320
      @vicluistudio3320 3 ปีที่แล้ว

      @@andrewsaraceni how did you get to the page of 3:46? I am at 3:44 and I tried to put down the directory of the clip, but it shows something weird , looks like I put down wrong command text

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      @@vicluistudio3320 At that point in the video, I'm just scrolling through the man pages of the command with my trackpad. I got there after typing "exiftool", and then after scrolling through just hit "q" to quit the man pages and land back at my prompt.

  • @kumarsanu1999
    @kumarsanu1999 3 ปีที่แล้ว

    would you do another help please, my laptop, the other one was about to start, but suddenly displays a blue screen for a split second , then blacks out for another split second and next screen is windows failed to restart, if clicked on "launch repair" would later come-up with "windows cannot repair this computer automatically", if clicked on start windows automatically, something, blue screen comes up for split second and return to the screen says these 2 options launch repair and start windows automatically, mine is dell inspiron n5020, and it has an SSD and i checked the SSD and its working fine on my vaio. Can you fix please, it had no problems before, i am on win 7, and tried to install win again and no thing just happens when choosing boot from cd/cvd/rw drive, just goes back to the screen says windows failed to start

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      That could be the result of a number of problems. e.g. Corrupt OS, a failing hardware component, etc. I'd take it to a local computer repair shop (or send back to the manufacturer if still under warranty) to get it looked at further. I think for Dells, F12 on boot will give you one-time boot options that might let you run a hardware diagnostic on the system, if you wanted to try that.

  • @tommyvc12
    @tommyvc12 ปีที่แล้ว

    How do I extract metadata to a txt file terminal? Mac

    • @andrewsaraceni
      @andrewsaraceni  ปีที่แล้ว

      You could just use the ">" or "|" operator to redirect the output to a file, e.g. "exiftool... > output.txt"

  • @flowerindia9247
    @flowerindia9247 2 ปีที่แล้ว

    it has error i cant open it on my mac 2020?

    • @andrewsaraceni
      @andrewsaraceni  2 ปีที่แล้ว

      Is the version of macOS you're running up-to-date?

  • @martinzgela8852
    @martinzgela8852 2 ปีที่แล้ว

    Hey Andrew, can you use this tool to check if the video has been edited in a software like adobe or davinci?

    • @andrewsaraceni
      @andrewsaraceni  2 ปีที่แล้ว

      You'll definitely be able to tell if it's a native off-camera file vs. exported from an NLE using exiftool, but it might be tough to discern what program it was exported from. Still, it's worth a try.

    • @eddyavailable
      @eddyavailable 2 ปีที่แล้ว +1

      adobe and davinci morph cut and smooth cut respectively are super evil HaHaHa!

  • @kumarsanu1999
    @kumarsanu1999 3 ปีที่แล้ว

    hello, i installed exiftool on my computer and did all what others told but , when i typed in used cmd and dragged the picture to see the metadata it says this 'exiftool' isn not recognised as an internal or external command, operable program or batch file. its definitely there an i put that in c drive in newfolder called exiftool, can you help please, i am on win 7

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      In the command line, you might have to make sure you change to the directory the exiftool executable is in when you run it, depending on how it was installed. So before you try running anything, something like: cd C:\path\to\exiftool
      The Windows installation instructions have a few more steps required for command line use compared to the Mac install: exiftool.org/install.html

    • @kumarsanu1999
      @kumarsanu1999 3 ปีที่แล้ว

      @@andrewsaraceni can you explain in a basic language please, i am not any tech expert, of any kind,
      sorry

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      Your best bet might be to just drag and drop files onto the exiftool executable itself to get their metadata if you're not as comfortable working at the command line. You could try that, or I'd recommend following the Stand-Alone Executable instructions on the site that describe how to rename and move exiftool to the right location.

    • @kumarsanu1999
      @kumarsanu1999 3 ปีที่แล้ว

      @@andrewsaraceni Thank you for you time and effort in the first place, Andrew.
      sorry, I saved it as a folder called exiftool, in C drive, changed the name of the application to exiftool.exe as prescribed
      i will put in here what exactly happens in the cmd, it this way
      from start menu reached the cmd, in that this is what was on black screen
      C:\Users\poocha>
      thats only there and then i typed and made it like this
      C:\Users\poocha>cd C:\exiftool then enter
      then it became
      C:\exiftool>
      i typed in exiftool after it and dragged the pic i wanted to get metadata of from desktop and it became
      C:\exiftool>exiftool C:\Users\poocha\Desktop\IMG-20210219-WA0004.jpg clicked enter
      then what appeared was below.
      'exiftool' is not recognised as an internal or external command, operable program or batch file.
      C:\exiftool>

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      No problem Poocha, I'm happy to help! Based on what you said, what about using ".exe" specifically at the end of the executable name before you drop the file onto it to view? Like the following:
      C:\exiftool>exiftool.exe C:\Users\poocha\Desktop\IMG-20210219-WA0004.jpg

  • @Parthprajapati97
    @Parthprajapati97 3 ปีที่แล้ว

    im using cmd.. i want acquisition cmd code..i didn't find it

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      Not sure I understand... The installation itself and the commands will differ slightly with Windows and running in CMD vs. Mac, etc. (e.g. calling exiftool.exe instead of just "exiftool"), but most of the other parameters/values should be the same, if that's what you mean.

    • @Parthprajapati97
      @Parthprajapati97 3 ปีที่แล้ว

      @@andrewsaraceni idk. I want picture profile info of my one video... But idk about code 😅... I tried your acquisition code... Didn't get any info 😶

    • @andrewsaraceni
      @andrewsaraceni  3 ปีที่แล้ว

      Ahh, I gotcha...is this from a Sony Alpha camera, or different model? I would probably just use the same command (with the additional options I mention in the last command), look through all of the returned fields and see if the PP info is contained in a different-named field. It's likely there, but could be in a different field, especially if it's metadata from another camera make or model.

    • @Parthprajapati97
      @Parthprajapati97 3 ปีที่แล้ว +1

      @@andrewsaraceni yes its sony a7 iii. but in metadata didn't show pp.

    • @Parthprajapati97
      @Parthprajapati97 3 ปีที่แล้ว

      @@andrewsaraceni Acquisition Record Group Name : CameraUnitMetadataSet
      Acquisition Record Group Item Name: CaptureGammaEquation
      Acquisition Record Group Item Value: rec709-xvycc. shows this info only
      and this warning - [minor] The ExtractEmbedded option may find more tags in the media data

  • @zandermai2220
    @zandermai2220 2 ปีที่แล้ว

    wait, you installed it and all of the sudden you are in the "terminal", how did you get there!? LOL

    • @andrewsaraceni
      @andrewsaraceni  2 ปีที่แล้ว +1

      haha Yeah I jumped a bit. You can get there by Applications > Utilities > Terminal, although I have it in my dock also.

    • @zandermai2220
      @zandermai2220 2 ปีที่แล้ว

      @@andrewsaraceni thanks for the quick reply my man, i actually figured it out, but thanks for the video

  • @joaodasilva8008
    @joaodasilva8008 2 ปีที่แล้ว

    OK but, how do you edit this Meatada?

    • @andrewsaraceni
      @andrewsaraceni  2 ปีที่แล้ว

      I'll probably do a follow-up video at some point on that, but basically, it's just adding -tagname="value" to the command, where tagname is the tag you want to write.

    • @Crystal-fg4bb
      @Crystal-fg4bb ปีที่แล้ว

      @@andrewsaraceni Yes please do a video. I've been searching for videos that show how to delete metadata, specifically exif data, but it seems a bit confusing. I think you break things down in a more simple way than most, making it easier to retain so a video from you regarding this topic would be great. I purchased photomechanic thinking I could select which metadata I choose to export with my photos but that doesn't seem to be the case. Preferably, I would like to have just copyright information viewable with my photos online. Besides all that, thank you for the information you provide on your channel.....much appreciated!

    • @andrewsaraceni
      @andrewsaraceni  ปีที่แล้ว +1

      @@Crystal-fg4bb No problem Crystal, I appreciate that! Doing a follow-up video on exiftool with more info around updating, deleting, etc. metadata is on my list.

    • @Crystal-fg4bb
      @Crystal-fg4bb ปีที่แล้ว +1

      @@andrewsaraceni AWESOME!! Thank you for getting back to me regarding my question. I appreciate it. I look forward to the follow up video!!