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

Gyan Doshi ffmpeg at gyani.pro
Sun Feb 23 12:48:42 EET 2020



On 23-02-2020 03:53 pm, Nicolas George wrote:
> Gyan Doshi (12020-02-23):
>>> It saves some steps in shell scripts,  avoiding having to correlate
>>> stream index with id.
>> Any more comments?
> I find this somewhat feeble. How does it justify including the stream id
> (something that few formats support) more than any other field of the
> stream? If this was a relational database, you would be about to commit
> heresy.

stream_index isn't fixed in fftools for a given live MPEG-TS input 
across instances so can't be reliably used to id streams. This field 
can.  Same can't be said for other fields.

Gyan


More information about the ffmpeg-devel mailing list