[FFmpeg-devel] [PATCH 1/1] mpegts: speed up find_stream_info for mpegts

Joakim Plate elupus at ecce.se
Sat Dec 14 14:00:43 CET 2013


Resent a patch that takes care of this problem. Not sure why, but it didn't
thread properly. Did set in-reply-to to your message. Oh well.


On Sat, Dec 14, 2013 at 12:09 PM, Andrey Utkin <
andrey.krieger.utkin at gmail.com> wrote:

> 2013/12/14 Joakim Plate <elupus at ecce.se>:
> > Hi,
> >
> > I think i've sent something similar to this before. Two objections were:
> > 1. We will not find multiple conflicting PMT's in the stream (cat file.a
> > file.b > file.c) during find_stream_info. We will just find the first
> one.
> > Imho that is fully valid. The next PMT should be found during read of the
> > file.
>
> In case of multi-program TS, there are not conflicting, but complementary
> PMTs.
> I think it would be correct if you change flags when you have found
> PMT for every program mentioned in PAT, not just after finding one
> PMT.
>
> Otherwise, i admire the intention of patch to shorten the time for
> MPEG TS structure recognition.
>
> --
> Andrey Utkin
>


More information about the ffmpeg-devel mailing list