[FFmpeg-devel] [PATCH] Fix MPEG-TS seek and frame positions in general
Baptiste Coudurier
baptiste.coudurier
Tue Feb 17 02:48:54 CET 2009
Hi,
Ivan Schreter wrote:
> Ivan Schreter wrote:
>> Ivan Schreter wrote:
>>
>>> Ivan Schreter wrote:
>>>
>>>
>>>> [...]
>>>> Patch #2: let mpegts format decoder return correct packet positions by
>>>> keeping track of position of first TS packet of a PES packet in
>>>> MpegTSPESFilter.
I believe AVPacket->pos should be set to the point where a byte seek can
occur for formats allowing it, this can be really useful for application
constructing indexes and/or using AVIndex.
So in this case I believe AVPacket->pos should be set to the 0x47 byte
containing the start of the PES packet containing the frame.
[...]
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list