[FFmpeg-devel] [PATCH] ffprobe: show stream id in packets and frames

Jan Ekström jeebjp at gmail.com
Thu Feb 20 01:22:25 EET 2020


Hi,

On Wed, Feb 19, 2020 at 8:31 AM Gyan Doshi <ffmpeg at gyani.pro> wrote:
>
> Required for reliably identifying streams in MPEGTS-like live inputs.
> ---

Can you please explain to me how would this be any different from
adding `-show_programs -show_streams` and checking out the listing of
those first? Generally going through your use case would probably be
useful in this case.

In most cases where I have utilized ffprobe, I have ended up wanting
at least some information on the streams (and programs in things such
as MPEG-TS) in general, so the overhead of parsing those structures
generally didn't seem to be too great (I mostly utilize the json
output format, which has quite efficient parsing support in languages
such as Python).

Best regards,
Jan


More information about the ffmpeg-devel mailing list