View Single Post
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#714
Originally Posted by freemangordon View Post
I think I found the reason for stutter in recorded videos. AIUI it is the memory copying between different elements in gstreamer pipeline.

If the only place it's copying is for the display, a quick verify would be to put a static counter in and only copy every 3 to 10th frame. That would lessen the copy consumption enough to see if it's the root cause, while giving the user a 10 to 3 fps view (which is more than enough for general "point the camera at the target" done while videoing).

The solution you're proposing is of course the better method, but will take more time and hacking vs something like:

Code:
static char s_tick_count=0;
...
if ((++s_tick_count % 8)==0) DoBufferCopy();
 

The Following 3 Users Say Thank You to woody14619 For This Useful Post: