leandromoreira / leandromoreira/ffmpeg-libav-tutorial
cannot make
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I use centos7. I use yum installed the following pakages:
sudo yum install ffmpeg.x86_64 ffmpeg-debuginfo.x86_64 ffmpeg-devel.x86_64 ffmpeg-libs.x86_64
and I can run ffmpeg.
But when I make your 0_helllo_word.c, show me the following error:
gcc -g -Wall -o build/hello_world -lavformat -lavcodec -lswscale -lz 0_hello_world.c
&& ./build/hello_world small_bunny_1080p_60fps.mp4
0_hello_world.c:14:32: fatal error: libavcodec/avcodec.h: No such file or directory
So what environment do I need prepare before I run your make?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with 0_hello_world.c and reproduce the reported gcc command on CentOS 7, checking the missing libavcodec/avcodec.h error against the listed FFmpeg packages. Done means the example compiles into build/hello_world and runs with small_bunny_1080p_60fps.mp4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, centos
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100