Skip to content

Video Encoder

Name

venc1 - video encoding

Description

KNEO Pi supplies an anplication called venc1 for video encoding demonstrations. This application captures images from a sensor and encodes using a specified codec type.

To use VLC to stream venc1 video over RTSP using a KNEO Pi as a server, use the following command:

rtsps -c stream_server_config.ini &
Alternatively, use the following command on a client to stream using VLC:
vlc rtsp://<ip-address-of-server>/live1.sdp

Synopsis

venc1 [OPTION]

Options

-c Specify the sensor configuration file

-C Codec type selection - 0: H264 - 1: H265 - 2: MJPEG

-a Specify the auto scene configuration file

-t Specify the encode buffer type - 0: SRB mode - 1: SCM mode

-f Enable IFPE only

-m FEC mapping algorithm selection - 0: GTR (hardware) - 1: CGE (software)

-M Open metadata thread

-p Encoder mode - 0: One frame - 1: Start wait - 2: Slice

Example

Load sensor with autoscene config and encode images with H264 codec

venc1 -c Resource/VIC/0/os05a10_2560x1920_ch0.cfg -C 0 -a Resource/Autoscene/autoscene_conf.cfg