Dear Kato Kanryu,
IMHO, for playing PyFFMPEG, as FFMPEG, generally runs fast, very fast
for some operations on some files.
What is slow in PyFFMPEG is seeking. Seeking has always been the big
issue...
The code you have been showing me is using seeking for extracting each
frame at
regular interval. When this interval is small it is recommended to use
play
and to drop all the frames except those you are interested in.
If this interval is large you should use the code as the one you
showed to me.
Have a look at the samples, there is one sample code doing keyframe
extraction (based on MPEG keyframes and
not regular time intervals) that can run extremely fast.
I did not include the code to save the image. But merging these codes
with your may help
you to get what you desire to achieve.
Best regards,
Bertrand
On Apr 21, 3:42 am, KATO Kanryu <
k.kan...@gmail.com> wrote:
> hi,
>
> It needs to get a faster way to capture images from a video.
>
> I tryed to run pyffmpeg with using example fromhttp://
mono-comp.com/programming/python-ffmpeg/