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

Andrey Utkin andrey.krieger.utkin at gmail.com
Sat Dec 14 12:09:10 CET 2013


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