Opened 11 years ago

Closed 11 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

Description

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 by Carl Eugen Hoyos, 11 years ago

Keywords: slow keyframe extraction removed
Resolution: invalid
Status: newclosed

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.