When using H264 encoder with MMAPI, we obtain a big latency. So we want to try to use v4l2 directly to see if we can reduce the latency. But when using " ioctl(fd, VIDIOC_QUERYCAP, &cap) ", cap returned is always NULL and we fail to obtain information about hardware.
1 ) So hope that someone help me to resolve the issue !
- If you ignore the “VIDIOC_QUERYCAP”, we can succeed to access the encoder ?