AVMEDIAINFO(1) General Commands Manual AVMEDIAINFO(1)

avmediainfomedia analysis tool

avmediainfo <media_file> <options>

avmediainfo is a tool that can be used to parse and analyze media files. It is capable of displaying generic information about the asset related to its tracks, metadata, format extensions, chunks, and samples. It also warns the user of any errors encountered while parsing the media file.
<media_file> The media file to be analysed.
<options> Use the options in order to display specific information regarding the asset.

Displays format description extensions for each track.
Lists high level sample information for each track (Decode Time(stamp), Presentation Time(stamp), Duration, Offset, Size, Dependency) for QT/ISO movies.
Lists high level chunk information (Index, Offset, Size, Sample Count, Sample Range, Start Time, Chunk Info) for QT/ISO movies.
Shows the interleave by listing the chunks in offset order.
Displays all offsets as integers, instead of hex.
Displays a brief description of the movie.
Show help.
[metadataTypeOptions]
Displays metadata information based on options provided. Supported metadataType options:
Displays metadata for the asset. (Default, if no options are provided).
Displays metadata for each track.
Displays the chapter metadata.
Displays all available metadata.
[mediatypeOptions]
Restricts which tracks have chunk and/or sample information displayed based on options provided. Supported mediatype options:
Displays info about audio tracks.
Displays info about video tracks.
Displays info about closedcaption tracks.
Displays info about temporal metadata tracks.
Displays info about subtitle tracks.
Displays info about text tracks.
Displays info about timecode tracks.

Display all the samples and chunks for the video tracks in a media file:

avmediainfo /tmp/myTestMovie.mov --samples --chunks --mediatype video

Show the interleaving order across chunks, and display all the track level metadata for a media file:

avmediainfo /tmp/myTestMovie.m4v --interleave --metadata track

avmediainfo command first appeared in Mac OS X 11.0.

December 18, 2019 macOS