Configuring Video Capture Manager

Graphics and Screen4.0 (8.x)Video Capture Developer's GuideAPIProgramming

You can provide a configuration file when starting vcap-mgr to specify commands to the Video Capture manager.

The configuration file must be accessible to vcap-mgr on your target (e.g., /etc/vcap-mgr.conf)).

Unless your target system allows for it, you modify the Video Capture manager configuration file on your host, and then build it into your OS image filesystem . When you start vcap-mgr on your target system, the Video Capture manager will process the configuration file that you specified in the -c option. See vcap-mgr.

The file consists of a set of commands, parameters, and the values that these parameters are being set to. Extra tabs and blank lines are not permitted. Each command and its parameters must be on its own separate line. A newline indicates the end of a command. For example:

load driver=libcapture-board-imx8x-nxp.so device=0 source=1 label=right_camera dst_width=1280 dst_height=720 src_width=1280 src_height=720 frame_nbuffers=6 dst_format=yuy2 enable=1
load driver=libcapture-uvc.so device=0 source=2 label=rear_view_camera CAPTURE_PROPERTY_DST_WIDTH=1280 DST_HEIGHT=720 DST_FORMAT=yuy2
	

See vcap-mgr commands for details on the syntax for each supported command.

Page updated: