VideoCapture not work in linux

Thanks your help;

I copied the required .h files to the /usr/incloude directory. When recompiling opencv, I still couldn’t find the dependent packages.

cmake build-essential g++ openjdk-17-jdk wget unzip ant python3 python3-numpy libtbb-dev libeigen3-dev libavcodec-dev libavformat-dev libswscale-dev libavutil-dev libswresample-dev liblzma-dev ffmpeg libpulse0 ../../opencv


-- Checking for modules 'libavcodec;libavformat;libavutil;libswscale'
--   No package 'libavcodec' found
--   No package 'libavformat' found
--   No package 'libavutil' found
--   No package 'libswscale' found
-- FFMPEG is disabled. Required libraries: libavcodec;libavformat;libavutil;libswscale. Missing libraries: libavcodec;libavformat;libavutil;libswscale```