fatal error: libavcodec/avcodec.h: No such file or directory
Author: sunilstgCreated May 27, 2022Updated Apr 30, 2023
Hi Can anyone please help me starting my installation of FFMEG in VS Code and run first file? I have tried all possible ways but not able to solve the issue even after adding ffmpeg directly in root.
tutorial01.c:26:10: fatal error: libavcodec/avcodec.h: No such file or directory #include <libavcodec/avcodec.h> ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
Please help how to start using ffmpeg in C in VS Code or any other editior is good for ffmepge please suggest.
Source: leandromoreira/ffmpeg-libav-tutorial