Re: [FFmpeg-devel] [PATCH 2/2 RESEND] avformat/seek: fail seeking immediately

2025-05-28 Thread Kaarle Ritvanen via ffmpeg-devel
On Wed, 28 May 2025, Zhao Zhili wrote: > Why this depending on the codec? Could you provide a case that takes > several seconds? I encountered the problem with an RTP live stream using H.264 in intra-refresh mode. I think the delay is related to seek_frame_generic trying to find keyframes in t

Re: [FFmpeg-devel] [PATCH 2/2 RESEND] avformat/seek: fail seeking immediately

2025-05-28 Thread Zhao Zhili
> On May 28, 2025, at 20:08, Kaarle Ritvanen via ffmpeg-devel > wrote: > > when AVFMTCTX_UNSEEKABLE is set. Depending on the codec, the execution > of this function may take several seconds. This is an optimization for Why this depending on the codec? Could you provide a case that takes seve