+
+
+
ffprobe -i filename.avi -show_format -show_streams -print_format xml
+
+
+
+
This command extracts technical metadata from a video file and displays it in xml.
+
ffmpeg documentation on ffprobe (full list of flags, commands, [https://www.ffmpeg.org/ffprobe.html](https://www.ffmpeg.org/ffprobe.html))
+
+
+
+
+ - ffprobe: calls the program
+ - -i: tells ffprobe to expect input files
+ - -show_format: outputs file container
+ - -show_streams: outputs audio and video codec
+ - -show_data: adds “hexdump” to show_streams command output
+ - -print_format: Set the output printing format (in this example “xml”)
+
+
+