Opened 7 years ago

Closed 7 years ago

#2656 closed enhancement (invalid)

Extracting only keyframes is very slow

Reported by: konstantin Owned by:
Priority: minor Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug: extracting only the keyframes is a very slow process, should be much faster
How to reproduce: ffmpeg -i videofile.avi -vf select='eq(pict_type\,I),setpts=N/(25*TB)' -q 1 %09d.bmp

% ffmpeg -i input ... output
ffmpeg version
built on ...

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 Changed 7 years ago by cehoyos

  • Keywords slow keyframe extraction removed
  • Resolution set to invalid
  • Status changed from new to closed

Use -skip_frame nokey if you only want to decode keyframes, the select filter works after decoding so all frames have to be decoded, no matter which ones are used later.

Please understand that this is a bug tracker, not a support forum, usage questions are welcome on the ffmpeg-user mailing list.

Note: See TracTickets for help on using tickets.