[no ci] venc dl by vendor fix (#1058)

pull/1059/head
cronyx 2023-10-17 21:41:25 +03:00 committed by GitHub
parent abca49d3cf
commit 89728f58f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -5,9 +5,6 @@
case "$1" in
start)
if ! [ -f /dev/ven ]; then
ln -s /dev/venc /dev/ven
fi
echo "Starting venc encoder service..."
venc -p 5600 -f 30 -r 7168 -n 1400 -c 265cbr -d frame -v 200_imx307F -s 720p &
;;

View File

@ -4,7 +4,13 @@
#
################################################################################
VENC_OPENIPC_SITE = https://github.com/OpenIPC/silicon_research/releases/download/latest/venc
ifdef $(BR2_CONFIG_VENDOR, hisilicon)
VENDOR = hisi
else
VENDOR = goke
endif
VENC_OPENIPC_SITE = https://github.com/OpenIPC/silicon_research/releases/download/latest/venc-$(VENDOR)
VENC_OPENIPC_LICENSE = MIT