I currently use exiv2 0.28.2 tool to accomplish the same task on my JPEG/TIFF/Raw picture files from the command line. It works really great.
Unfortunately it doesn't work reliably on video/mp4 media types as it normally reports:
corrupted image metadata
Of course this can be considered normal as there is no mention about support for non-picture (e.g. movie) EXIF media type.
Is there any "similar" CLI tool that reliably works on media types like video/mp4?
Even just querying would be OK to me as I could wrap that tool around with a script to emulate exiv2 behavior.