[FFmpeg-devel] [PATCH] Fix MPEG-TS seek and frame positions in general

Michael Niedermayer michaelni
Tue Feb 17 02:23:32 CET 2009


On Mon, Feb 16, 2009 at 09:45:49PM +0100, 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.
> >>> [...]
> >>> Patch #5: mpegts seek only searches for a PES packet with correct pid 
> >>> and existing DTS and relies on this being a key frame. This is not 
> >>> even the case in the test file. Read frames via av_read_frame until a 
> >>> key frame is found and return position/timestamp of this frame. This 
> >>> needs #1 to reset the packet reader after reading the frames, so 
> >>> further reads work correctly, #2 to have correct positions from mpegts 
> >>> and #4 to have exact position of the packet for later file seek.
> >>>     
> >>>       
> >> Ping Mans for review?
> >>
> >>   
> >>     
> > Ping Mans again?
> >
> >   
> Ping Mans yet again?

mans? baptiste? someone?
if you guys dont review this, i will but then please dont complain
when i apply it

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090217/1078aec1/attachment.pgp>



More information about the ffmpeg-devel mailing list