This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

slow capture_create

I'm running the example programs on the dm365 and have been trying to speed up the startup time for the encode program.  It seems that it takes over 3 seconds to open("/dev/video0"....   in the caputure_create function.  In a test program it takes "only" one second to open. (this seems like a long time as well)

 

Also, in capture_detectVideoStd, the ioctl(fd, VIDIOC_S_INPUT, &input) takes over two seconds which is contributing to the delay. 

 

Are there any workarounds or fixes that can speed up these functions?