[FFmpeg-cvslog] r13643 - in trunk: libavcodec/mpegvideo_parser.c tests/seek.regression.ref

Måns Rullgård mans
Tue Jun 3 06:33:59 CEST 2008


michael <subversion at mplayerhq.hu> writes:

> Author: michael
> Date: Tue Jun  3 04:43:17 2008
> New Revision: 13643
>
> Log:
> In mpeg1/2 timestamps (against all logic) are associated with
> picture start codes and not with access units.

The change may be valid, but this description doesn't make sense.
This is what the spec says:

  For ITU-T Rec. H.262 | ISO/IEC 13818-2 video, if a PTS is present in
  a PES packet header, it shall refer to the access unit containing
  the first picture start code that commences in this PES packet. A
  picture start code commences in a PES packet if the first byte of
  the picture start code is present in the PES packet.

In other words, the access unit is defined as containing the picture
start code, and I can't think of any other sane way of defining it.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list