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:处理器论坛

Guru**** 2353820 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1531861/tda4vm-processors-forum

器件型号:TDA4VM

工具/软件:

如果直接使用 v4l2 编码、则 可以使用以下方法设置输出图像大小:


结构 v4l2_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);

现在我正在使用 v4l2h265enc 编码、如何设置输出映像的大小?