Skip to content

Allow building against system ffmpeg libararies on linux#43

Open
jwlodek wants to merge 1 commit intoareaDetector:masterfrom
jwlodek:allow-using-system-ffmpeg
Open

Allow building against system ffmpeg libararies on linux#43
jwlodek wants to merge 1 commit intoareaDetector:masterfrom
jwlodek:allow-using-system-ffmpeg

Conversation

@jwlodek
Copy link
Copy Markdown
Member

@jwlodek jwlodek commented Apr 3, 2026

Tested on RHEL 10, will try on some other distros as well.

Copy link
Copy Markdown
Contributor

@coretl coretl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it's 2026, I think your option of relying on system libraries is a much better approach to building. @gilesknap had to do basically the same thing to get this into a container anyway:
https://github.com/epics-containers/ibek-support/blob/main/ffmpegServer/ffmpegServer.install.yml

Comment on lines +44 to +48
LIB_LIBS += avdevice avformat avcodec swresample swscale avutil
else
# Otherwise, use the system libraries
USR_INCLUDES += -I$(FFMPEG_INCLUDE)
LIB_SYS_LIBS += avdevice avformat avcodec swresample swscale avutil
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we have a list of these libraries to be shared by ADCore and ffmpegServer? Besides that, LGTM

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

Successfully merging this pull request may close these issues.

3 participants