Skip to content

fix: avoid ffmpeg no-frame error when seeking with nokey#3855

Open
leson207 wants to merge 2 commits intosxyazi:mainfrom
leson207:fix-ffmpeg-seek-bug
Open

fix: avoid ffmpeg no-frame error when seeking with nokey#3855
leson207 wants to merge 2 commits intosxyazi:mainfrom
leson207:fix-ffmpeg-seek-bug

Conversation

@leson207
Copy link
Copy Markdown

@leson207 leson207 commented Apr 5, 2026

Problem

Using -ss with -skip_frame nokey sometimes causes:
"No filtered frames for output stream"

Cause

Seeking may land on non-keyframe → nokey skips all frames ("No more keyframes available" err)

Fix

  • disable skip_frame, nokey when seeking

Result

Stable frame extraction without empty output

@sxyazi
Copy link
Copy Markdown
Owner

sxyazi commented Apr 5, 2026

How can I reproduce the problem?

It would be great to first discuss it in a bug report that lists the exact steps of the reproduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants