For example to show only audio streams, you can use the command:

ffprobe -show_streams -select_streams a INPUT
To show only video packets belonging to the video stream with index 1:

ffprobe -show_packets -select_streams v:1 INPUT
For example for printing the output in JSON format, specify:

-print_format json
The formal syntax is given by:

LOCAL_SECTION_ENTRIES ::= SECTION_ENTRY_NAME[,LOCAL_SECTION_ENTRIES]
SECTION_ENTRY         ::= SECTION_NAME[=[LOCAL_SECTION_ENTRIES]]
SECTION_ENTRIES       ::= SECTION_ENTRY[:SECTION_ENTRIES]
For example, to show only the index and type of each stream, and the PTS time, duration time, and stream index of the packets, you can specify the argument:

packet=pts_time,duration_time,stream_index : stream=index,codec_type
To show all the entries in the section "format", but only the codec type in the section "stream", specify the argument:

format : stream=codec_type
To show all the tags in the stream and format sections:

stream_tags : format_tags
To show only the title tag (if available) in the stream sections:

stream_tags=title
A few examples follow.

10%+20,01:30%01:45

Recommend

FFMPEG ffprobe Documentation 3 Options 3.4 Main options

FFMPEG ffprobe Documentation 3 Options 3.3 AVOptions

FFMPEG ffprobe Documentation 3 Options 3.2 Generic options

FFMPEG FFmpeg FAQ 4 Development 4.8 I’m using FFmpeg from within my C application but the linker complains about missing symbols from the libraries themselves.

FFMPEG FFmpeg FAQ 3 Usage 3.19 How do I run ffmpeg as a background task?

FFMPEG FFmpeg FAQ 3 Usage 3.18 I have a stretched video, why does scaling does not fix it?

FFMPEG FFmpeg FAQ 3 Usage 3.15 Using -f lavfi, audio becomes mono for no apparent reason.

FFMPEG FFmpeg FAQ 3 Usage 3.14 How can I concatenate video files? 3.14.4 Concatenating using raw audio and video

FFMPEG FFmpeg FAQ 3 Usage 3.14 How can I concatenate video files? 3.14.3 Concatenating using the concat protocol (file level)

FFMPEG FFmpeg FAQ 3 Usage 3.12 How can I read DirectShow files?

FFMPEG FFmpeg FAQ 3 Usage 3.3 How do I encode movie to single pictures?

FFMPEG FFmpeg FAQ 3 Usage 3.2 How do I encode single pictures into movies?

FFMPEG FFmpeg FAQ 2 Compilation 2.4 How do I use pkg-config when cross-compiling?

FFMPEG FFmpeg FAQ 2 Compilation 2.3 How do I make pkg-config find my libraries?

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.43 zmq

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.42 unix

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.41 udp 3.41.1 Examples

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.41 udp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.40 tls

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.39 tcp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.38 tee

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.37 subfile

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.35 srt

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.34 sctp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.33 sap 3.33.2 Demuxer

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.33 sap 3.33.1 Muxer

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.32 rtsp 3.32.1 Examples

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.32 rtsp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.30 librtmp rtmp, rtmpe, rtmps, rtmpt, rtmpte

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.29 libssh

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.22 rtmp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.20 prompeg

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.19 pipe

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.18 md5

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.17 mmsh

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.15 Icecast

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.14 http 3.14.1 HTTP Cookies

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.14 http

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.13 hls

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.10 ftp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.9 file

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.8 data

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.7 crypto

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.6 concatf

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.5 concat

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.4 cache

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.3 bluray

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.2 async

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.1 amqp

FFMPEG FFmpeg Formats Documentation 5 Metadata

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.35 webm_dash_manifest 4.35.2 Example

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.34 webm_chunk 4.34.2 Example

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.33 tee 4.33.2 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.30 segment, stream_segment, ssegment 4.30.2 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.30 segment, stream_segment, ssegment 4.30.1 Options