[Ffmpeg-devel] dvr-ms seek help request
Thu Apr 20 21:41:56 CEST 2006
John Donaghy wrote:
>> Yes it seeks everywhere (anywhere) not only on keyframes. But our code
>> rely on the keyframe info set by the codec not the container, so it's
>> not really a problem.
> Can you explain how this works? Is it the ffmpeg codec code that marks
> the frame as a key frame? I'd like to get asf seeking working properly
> in MPlayer in particular.
It depends on the codec. I'm not sure it is set correctly by every
codec. But when set you just have to look at 'picture->key_frame',
picture being 'AVFrame *'.
More information about the ffmpeg-devel