]> git.sesse.net Git - ffmpeg/commit
avformat/utils: Stream specifier enhancement 2.
authorBela Bodecs <bodecsb@vivanet.hu>
Fri, 13 Apr 2018 10:11:32 +0000 (12:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Apr 2018 19:44:28 +0000 (21:44 +0200)
commit3e1204b94d1ab586e4a5b1fc7c51559bc2447dcd
tree6f596d34f34a7eb70d8862c3a198a90aa6d7339f
parent6b28e551d00912e0efeda8536039f8204752a684
avformat/utils: Stream specifier enhancement 2.

In some cases, mainly working with multiprogram mpeg-ts containers as
input, it would be handy to select sub stream of a specific program by
their metadata.
This patch makes it possible to narrow the stream selection among
streams of the specified program by stream metadata.

Examples:
p:601:m:language:hun  will select all sub streams of program with id 601
where sub streams have metadata key named 'language' with value 'hun'.
p:602:m:guide  will select all sub streams of program with id 602 where
sub streams have metadata key named 'guide'.

Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
doc/fftools-common-opts.texi
libavformat/utils.c