dukebw / lintel

A Python module to decode video frames directly, using the FFmpeg C API.
Apache License 2.0
261 stars 38 forks source link

how to extract key frames of a video? #23

Open kli-casia opened 5 years ago

kli-casia commented 5 years ago

My question is How to use lintel to get the same results of the following ffmpeg command ffmpeg -v quiet -skip_frame nokey -i video.mp4 -vsync passthrough img_%04d.jpg Thanks

dukebw commented 5 years ago

Good question, it's not supported currently, so I could take a look at adding it. Out of curiousity, what would your use case be?

kli-casia commented 5 years ago

I want to only use the key frames for video classification task. Thanks @dukebw

hongsong-wang commented 5 years ago

My question is How to use lintel to get the same results of the following ffmpeg command ffmpeg -v quiet -skip_frame nokey -i video.mp4 -vsync passthrough img_%04d.jpg Thanks

I find this question very interesting!

tejaskhot commented 4 years ago

+1

aiot-tech commented 4 years ago

+1