Tags » video
Detecting AV1-encoded videos with Python
I wrote a Python test to find videos that are encoded with AV1, so I can convert them to a codec my iPhone can play.
Why can’t my iPhone play that video?
The answer involves the AV1 video codec, Apple’s chips, and several new web APIs I learnt along the way.
TIL: Get the duration of a video file with
mediainfoUse
mediainfo --Inform='Video;%Duration%' [VIDEO_FILE].TIL: Get the dimensions of a video file with
mediainfoTIL: Get video dimensions on macOS with built-in tools
If the video file is indexed by Spotlight, you can use
mdlsto get the width andheightof a video file.