Tags » video
TIL: Get the duration of a video file with
mediainfo
Use
mediainfo --Inform='Video;%Duration%' [VIDEO_FILE]
.TIL: Get the dimensions of a video file with
mediainfo
TIL: Get video dimensions on macOS with built-in tools
If the video file is indexed by Spotlight, you can use
mdls
to get the width andheight
of a video file.