Get a/v file metadata to string

Hello all.

I’m wondering what’s the best way to get (if possible also write?) metadata from an audio/video/image file. Is this possible without too much work using openframeworks builtin methods? I thought about executing an ffmpeg command (e.g. with system();) and maybe get the terminal output into my app? Now really sure also how to do this, and also if this is a good method.

Thanks in advance.

Also! For that command I get sh: ffmpeg: command not found, lol. Maybe need to add a missing framework to Link Binary With Libraries? Using xcode.