• Bela Bodecs's avatar
    avformat/utils: Stream specifier enhancement · 37d02139
    Bela Bodecs authored
    Currently when specifying the program id you can only decide to select
    all stream of the specified program (e.g. p:103 will select all streams
    of program 103) or narrow the selection to a specific stream sub index
    (e.g. p:145:1 will select 2nd stream of program 145.) But you can not
    specify like all audio streams of program 145 or 3rd video stream of
    program 311.
    In some case, mainly working with multiprogram mpeg-ts containers as
    input, this feature would be handy.
    This patch makes it possible to narrow the stream selection among
    streams of the specified program by stream type and optionally its
    index. Handled types: a, v, s, d.
    Examples: p:601:a  will select all audio streams of program 601,
    p:603:a:1 will select 2nd audio streams of program 603,
    p:604:v:0 will select first video stream of program 604.
    Signed-off-by: 's avatarBela Bodecs <bodecsb@vivanet.hu>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    37d02139
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...