Hi there,
i am new to exifTool and would like to use it to extract one-liner video file information of File Size, Duration and Resolution in a human readable format like
Size: 100 MB - Duration: 30:20:21 Resolution: 1280x720
Now for video resolution seems to be no problem at all but file size and duration. Are there options to format those?
thanks in advance
Use the following to find out which tags your target files have, so that they can be included in a -T, -csv or output to file:
exiftool -a -G1 -s DIR-or-FILE
exiftool -a -T -Duration -ImageSize -FileSize Stasy.mp4
0:22:23 854x480 146 MB
This is pretty near to what i need.
Try this:
exiftool -p "Size: $filesize - Duration: $duration Resolution: $imagesize" Stasy.mp4
- Phil