1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-29 05:57:37 +02:00

cmdutils: Add a stream specifier to map usable streams

It drops everything that cannot be used for re-encoding and/or
streamcopy.
This commit is contained in:
Luca Barbato
2015-03-18 13:40:12 +01:00
parent 30e6abd1a8
commit 342fc46c69
2 changed files with 25 additions and 0 deletions

View File

@@ -48,6 +48,9 @@ Match the stream by stream id (e.g. PID in MPEG-TS container).
Matches streams with the metadata tag @var{key} having the specified value. If
@var{value} is not given, matches streams that contain the given tag with any
value.
@item u
Matches streams with usable configuration, the codec must be defined and the
essential information such as video dimension or audio sample rate must be present.
Note that in @command{avconv}, matching by metadata will only work properly for
input files.