Forrest logo
back to the ffprobe tool

ffmpeg:warp:9c024e4efe144ebd3abc5b68c6feb4cf

FFprobe file in json
$ ffprobe -i ${media_file_path} -show_streams -show_format -print_format json
try on your machine

This command is used to probe multimedia files and extract information from them using the tool ffprobe.

Here is a breakdown of each part of the command:

  • ffprobe: This is the command itself, which is a part of the FFmpeg project. FFprobe is a command-line tool used to analyze media files.

  • -i ${media_file_path}: This option specifies the input file to be probed by ffprobe. ${media_file_path} is a placeholder for the actual path of the media file. You need to replace it with the actual file path.

  • -show_streams: This option tells ffprobe to display information about each stream in the media file. It includes details like the audio codec, video codec, duration, bitrate, etc. Each stream represents a distinct piece of data contained within the media file, for example, an audio track or a video track.

  • -show_format: This option instructs ffprobe to display information about the format of the media file. This includes details like the file format, duration, bitrate, number of streams, etc.

  • -print_format json: This option specifies the output format of the information generated by ffprobe. In this case, the output will be formatted as JSON (JavaScript Object Notation), a widely used data interchange format that is easy for computers to parse and generate.

By running this command, you will obtain JSON-formatted information about the streams and format of the specified media file.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ffprobe tool