Checking AV Properties
Basics
Peter Bubestinger-Steindl
(p.bubestinger @ AV-RD.com)
This is about technical properties of audiovisual files, how to identify and check/validate them.
We'll show these here:
Website: videolan.org/vlc
Very handy, but not the best for this job.
"MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files."
Website: mediaarea.net/MediaInfo
(Only in view 'Easy')
Excellent for a quick spotting of common/different values in a given set.
(aka "parsable output formats")
--output=XML
--output=CSV
--output=JSON
CLI = Command Line Interface
CAUTION:
Mediainfo's arguments are often case sensitive!
Example: --output=XML is not --output=xml
$ mediainfo input.mov
$ mediainfo --full input.mov
$ mediainfo --full --output=XML input.mov# Redirect output:
$ mediainfo --full input.mov > info.txt
# Nicer:
$ mediainfo --full --output=XML --logfile=info.xml input.movExtract individual values:
$ mediainfo
--inform="Video;%Format%,%Width%,%Height%,%FrameRate%"
input.mov
$ mediainfo
--inform="Audio;%Format%,%Channels%,%SamplingRate%,%BitDepth%"
input.movffmpegWebsite: ffmpeg.org/ffprobe.html
Basic infos (streams, resolution, fps, duration, etc):
$ ffprobe -hide_banner MEDIAFILE