Ask Your Question

Revision history [back]

how to write video at 150f/s

Hello to all and sorry for my english...

I do not know if I'll be able to be clear

I do video processing (with Qt but it is detail ) and for that I use a thread that is responsible for making the reading of this video and treatment. When the frame is read and treatment finished, this thread sends me a message (with system SIGNAL / SLOT of Qt ) . Once this is done there is still a sleep of 1000/frameRate to give the display time.

All this is going very well and IT IS A VERY NICE SCREEN and it is precisely my question ( finally here )

How can i record the video with this "slowing" as i see in scree?

I understand that with opencv if you want a fsp of 150 you must record at this rate ....

But how to get the same video that I see on the screen ... without using camtasia ... if you see what I mean ...

I thought to keep my frames in a queue but I think that memory wll explode and anyway I can not read 30f / s and write 150i / s without remember all frames in memmory what is madness .

Another way to see it is that I can, while the thread is doing its job , save my frame as many times as I can , that is the same frame several times pending the thread sends me a new frame . Is this could be a solution ? ?

thank you a lot for your help and AGIN SORRY FOR MY BAD ENGLISH ....

click to hide/show revision 2
retagged

updated 2013-10-28 03:54:32 -0600

berak gravatar image

how to write video at 150f/s

Hello to all and sorry for my english...

I do not know if I'll be able to be clear

I do video processing (with Qt but it is detail ) and for that I use a thread that is responsible for making the reading of this video and treatment. When the frame is read and treatment finished, this thread sends me a message (with system SIGNAL / SLOT of Qt ) . Once this is done there is still a sleep of 1000/frameRate to give the display time.

All this is going very well and IT IS A VERY NICE SCREEN and it is precisely my question ( finally here )

How can i record the video with this "slowing" as i see in scree?

I understand that with opencv if you want a fsp of 150 you must record at this rate ....

But how to get the same video that I see on the screen ... without using camtasia ... if you see what I mean ...

I thought to keep my frames in a queue but I think that memory wll explode and anyway I can not read 30f / s and write 150i / s without remember all frames in memmory what is madness .

Another way to see it is that I can, while the thread is doing its job , save my frame as many times as I can , that is the same frame several times pending the thread sends me a new frame . Is this could be a solution ? ?

thank you a lot for your help and AGIN SORRY FOR MY BAD ENGLISH ....