Skip to content

How to point autogen.sh to our own sourced and compiled ffmpeg/libavcodec #132

Closed

Description

@pcarrillom

Hello,

We are trying to compile ultragrid in UBuntu 18.04, but autogen.sh won’t find our own ffmpeg build. So it is not compiling libavcodec encoders.
Where is autogen looking for libavcodec/ffmpeg?
Which files is exactly autogen looking for?
Can we point autogen to a specific location for this?

Thanks!

Activity

  1. MartinPulec commented on Feb 12, 2021

    @MartinPulec
    Collaborator

    Hi,

    you can look at this part of configure.

    First, pkg-config lookup is performed and if libavcodec (et al.) is not found, individual headers/libs are searched for. So I'd suggest to point PKG_CONFIG_PATH to your FFmpeg location (the pkgconfig/ subdirectory). Otherwise (the second look-up option), you'd need to set CPATH/LIBRARY_PATH (and perhaps also LD_LIBRARY_PATH). For debugging, you can also look to config.log to see what was not found (if something).

    Martin

  2. locked and limited conversation to collaborators on Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions