Part Number: TDA4VM
Other Parts Discussed in Thread: SK-AM62A-LP, , TDA4VL, TDA4VH
Tool/software:
My request IDR frame function is as follows,When I called this function, the ioctl operation failed and the errno was 22.The SDK version I am currently using is 09_01. Has this function not been implemented in this version?
int
v4l2encoder_force_idr(v4l2encoder_dev_st* dev) {
if (!dev->started) {
return -1;
}
assert(dev->fd > 0);
struct v4l2_control control;
control.id = V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME;
control.value = 1;
if (ioctl(dev->fd, VIDIOC_S_CTRL, &control) < 0) {
printf("E: force key frame failed(%d)\n", errno);
return -1;
}
return 0;
}
