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.

TDA4VM: Processors forum

Part Number: TDA4VM

Tool/software:

If using v4l2 encoding directly, I can set the output image size using the following method:


struct v4l2_selection selection;
selection.type =V4L2_BUF TYPE_VIDEO_OUTPUT_ MPLANE;
selection.target = V4L2_SEL TGT_CROP;
selection.r.left =20;
selection.r.top =20;
selection.r.width =w;
selection.r.height = h;
ioctl(fd,VIDIOC S SELECTION,&selection);

Now I am using v4l2h265enc encoding, how should I set the size of the output image?