Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpeg path in docker container? #72

Open
Gartarr opened this issue Jan 30, 2024 · 1 comment
Open

FFmpeg path in docker container? #72

Gartarr opened this issue Jan 30, 2024 · 1 comment

Comments

@Gartarr
Copy link

Gartarr commented Jan 30, 2024

How to install ffmpeg with needed libraries in docker?
Everytime I install it, it shows that the --shared are enabled using ffmpeg -version, but I cannot find the shared files, only ffmpeg executable exists in /usr/bin.
Setting the path in init function as null also does not help.
I do these steps in docker:

RUN apt-get update \
    && apt-get install -y ffmpeg \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

How do I set up ffmpeg, preferably so that I can set the path to ffmpeg libraries:

FFmpegInit.Initialise(FfmpegLogLevelEnum.AV_LOG_FATAL, @"C:\ffmpeg_build\bin", null);

as null? The above is Windows version

@ha-ves
Copy link
Contributor

ha-ves commented Jul 8, 2024

Libraries in linux (such as used by ffmpeg) are available in many different place depending on your distributor (linux distribution (distro)) and package repository.

For example,

  • Debian-based in /usr/lib/x86_64-linux-gnu/
  • Fedora-based in /usr/lib64/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants