News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Changing resolution and video quality in TE0726 demo

Started by SparK, April 24, 2018, 07:01:10 PM

Previous topic - Next topic

SparK

Hello,
I installed demo 2 in my TE0726, and I am taking shots from the camera just fine using the frame-buffer. However, I need to change the resolution from the camera stream and the video quality to improve frame-rate. I assume that I must make some changes in the hardware, and send some commands to the camera using I2C protocol, I just don't know which hardware changes nor which commands. And, by the way, is there any other way to increase frame-rate?
I would really appreciate help,
Thanks  ;D,
Jorge Luis

Oleksandr Kiyenko

Hello,

it's only demo project and it made to be simple as possible.
If you want to change camera video settings you need to:
- Change settings of video stream cores
- Change VDMA settings in FSBL (sw_lib/sw_apps/zynq_fsbl/fsbl_hooks.c)
- Change camera settings (os\petalinux\components\apps\rpi-camera rpi-camera.c and sensor_config.h)
These parameters cannot be changed dynamically in this project, so you need to rebuild the whole project to change resolution or/and frame rate.

Best regards
Oleksandr Kiyenko