[Ffmpeg-devel] mpeg2 transport stream

Måns Rullgård mru
Sat Nov 25 16:55:02 CET 2006


ved kpl said:
> Hi all,
>
> In a mpeg2 transport stream, does the random access indicator bit in the
> adaptation field control always mean that the first byte of the payload is
> the start of sequence header (0x000001b3).

I'd have to check the spec to answer that, and I don't have it nearby.

> Is the random access indicator
> always present in all mpeg2 transport streams?

I've never that bit being set.

> and if it is present the
> Payload unit start indicator should also be set?

Another thing to look up in the spec.

> And do all picture start codes always start with a new ts packet?

No.  In fact, they rarely do.  If you need to extract individual frames,
you have to parse the elementary stream yourself.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list