User Tools

Site Tools


ffprobe:streams:get_stream_fields

This is an old revision of the document!


ffprobe - Streams - Get stream fields

ffprobe -v 0 -select_streams a -show_entries stream file

returns:

[STREAM]
index=1
codec_name=ac3
codec_long_name=ATSC A/52A (AC-3)
profile=unknown
codec_type=audio
...
TAG:language=eng
...
[/STREAM]

NOTE:

  • -select_streams a: This queries all audio streams.
    • Change the a for a:0 or a:1 to specify a specific stream.
      ffprobe -v 0 -select_streams a:0 -show_entries stream file

Be aware that the result will not returned in the order specified in the command.

  • It is in the order that the metadata is in the file.
ffprobe/streams/get_stream_fields.1736721901.txt.gz · Last modified: 2025/01/12 22:45 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki