leandromoreira / leandromoreira/ffmpeg-libav-tutorial

fatal error: libavcodec/avcodec.h: No such file or directory

Open
#114 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tutorial01.c at the libavcodec/avcodec.h include and inspect how FFmpeg headers and libraries are installed and passed to the compiler. Confirm the development headers are available and that the tutorial compiles successfully in VS Code or another editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.