Too many frames captured in one second

asked 2017-02-07 06:40:26 -0500

Nuz gravatar image

I am extracting frames from a video, but it is extracting every frame, and i am getting too many images within a second. But, I want to reduce the number of frames captured per second, else it will end up eating too much space. Could anyone help me with this, any code available will be of great help

edit retag flag offensive close merge delete

Comments

Why not have a configurable value to drop all but every nth frame?

Der Luftmensch gravatar imageDer Luftmensch ( 2017-02-07 06:55:19 -0500 )edit

@Der Luftmensch But, by using every nth frame, is it possible that some important frames can be lost?

Nuz gravatar imageNuz ( 2017-02-07 08:15:04 -0500 )edit

You should add a fuller explanation of what you are trying to achieve. What defines an important frame?

Der Luftmensch gravatar imageDer Luftmensch ( 2017-02-07 08:47:51 -0500 )edit

@Der Luftmensch I am using a video consisting of hand movements..what if i lose some of the images in between and this could disrupt the movement?

Nuz gravatar imageNuz ( 2017-02-07 09:05:36 -0500 )edit

I don't know what is the movement of your hand in video, but suppose, movement is from right to left and left to right very fast, then you may lose the hand movement completely.

Akhilesh gravatar imageAkhilesh ( 2017-02-07 09:30:49 -0500 )edit

@Akhilesh thank you

Nuz gravatar imageNuz ( 2017-02-07 09:36:16 -0500 )edit