ExifTool Forum

General => Metadata => Topic started by: kamilkp on March 01, 2021, 08:10:46 AM

Title: How to limit the output with ExtractEmbedded option
Post by: kamilkp on March 01, 2021, 08:10:46 AM
Hello,
I need to read some information from tags only visible with the ExtractEmbedded option (-ee flag) but it reads metadata per frame when run against a video file. This can produce an insanely long output depending on the length of the video however what I really care about is metadata from the very first frame.

Is there a way to limit the number of frames (or duration) of which exiftool will extract the embedded tags?
Title: Re: How to limit the output with ExtractEmbedded option
Post by: Phil Harvey on March 01, 2021, 08:24:32 AM
Add --a after -ee in your command.

- Phil
Title: Re: How to limit the output with ExtractEmbedded option
Post by: kamilkp on March 01, 2021, 09:39:08 AM
Takes equally long to spit out the result, but once it does, it's significantly shorter and in the end exactly what I need.

Thanks Phil!
Title: Re: How to limit the output with ExtractEmbedded option
Post by: Phil Harvey on March 01, 2021, 02:31:54 PM
Yes, --a doesn't stop ExifTool from doing any processing.  It just affects the output.

- Phil