[Ffmpeg-devel] Seeking into MPEG TS video files

Måns Rullgård mans
Mon Apr 2 12:59:57 CEST 2007


Stefan Paulsen said:
> Hi,
>
> is there a way to seek into MPEG TS video files? Using av_seek_frame()
> doesn't seem to work, because there are no information on where to find the
> keyframes. I'm only able to jump to the beginning.

MPEG TS doesn't have an index, so seeking will always be problematic.  You
should still be able to seek to an approximate location if you don't care
about landing at a keyframe.

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




More information about the ffmpeg-devel mailing list