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

2020-02-23 Thread Jan Ekström
On Sun, Feb 23, 2020 at 8:15 AM Gyan Doshi wrote: > > > > On 20-02-2020 10:05 am, Gyan Doshi wrote: > > > > > > On 20-02-2020 04:52 am, Jan Ekström wrote: > >> Hi, > >> > >> On Wed, Feb 19, 2020 at 8:31 AM Gyan Doshi wrote: > >>> Required for reliably identifying streams in MPEGTS-like live input

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

2020-02-23 Thread Nicolas George
Gyan Doshi (12020-02-23): > If one needs to map a specific stream from a multi program TS input in > another instance, based on packet/frames analysis,  then this helps with > making a quick and direct id. And if one needs to map a specific stream from a Matroska to its codec, something else is ne

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

2020-02-23 Thread Gyan Doshi
On 23-02-2020 04:22 pm, Nicolas George wrote: Gyan Doshi (12020-02-23): 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. Yes, but “identifying across instances” is

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

2020-02-23 Thread Nicolas George
Gyan Doshi (12020-02-23): > 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. Yes, but “identifying across instances” is a specific need. Why is it more important th

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

2020-02-23 Thread Gyan Doshi
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) m

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

2020-02-23 Thread Nicolas George
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

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

2020-02-22 Thread Gyan Doshi
On 20-02-2020 10:05 am, Gyan Doshi wrote: On 20-02-2020 04:52 am, Jan Ekström wrote: Hi, On Wed, Feb 19, 2020 at 8:31 AM Gyan Doshi 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 `-

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

2020-02-19 Thread Gyan Doshi
On 20-02-2020 04:52 am, Jan Ekström wrote: Hi, On Wed, Feb 19, 2020 at 8:31 AM Gyan Doshi 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

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

2020-02-19 Thread Jan Ekström
Hi, On Wed, Feb 19, 2020 at 8:31 AM Gyan Doshi 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 goi