Create symlinks to ffmpeg and go2rtc

This commit is contained in:
Rémi Bédard-Couture 2023-07-16 21:33:53 -04:00
parent ab727bbcf2
commit fb73660332

View File

@ -160,9 +160,16 @@ pip3 wheel --wheel-dir=/trt-wheels -r /opt/frigate/requirements-tensorrt.txt
#Copy preconfigured files
cp -a /opt/frigate/docker/rootfs/. /
#export PATH="$PATH:/usr/lib/btbn-ffmpeg/bin:/usr/local/go2rtc/bin:/usr/local/nginx/sbin"
# Install dependencies
/opt/frigate/docker/install_deps.sh
#Create symbolic links to ffmpeg and go2rtc
ln -svf /usr/lib/btbn-ffmpeg/bin/ffmpeg /usr/local/bin/ffmpeg
ln -svf /usr/lib/btbn-ffmpeg/bin/ffprobe /usr/local/bin/ffprobe
ln -svf /usr/local/go2rtc/bin/go2rtc /usr/local/bin/go2rtc
pip3 install -U /wheels/*.whl
ldconfig