-
Hi, Using master branch of vcpkg, I'm trying to build ffmpeg libraries and enable the h264_v4l2m2m encoder. vcpkg/ports/ffmpeg/portfile.cmake Line 31 in b276513 My solution right now is to create my own overlay-port with ffmpeg port so I remove the So I have two questions
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No.
An overlay port is a suitable approach for this type of modification of ffmpeg. That port doesn't use standard maintainer functions which alternatively offer triplet variables for customization. |
Beta Was this translation helpful? Give feedback.
No.
For binary artifacts caching in vcpkg, it is necessary to know the dependencies in advance. Autodetection changes the actual dependencies based on what happens to be installed, turning re-use of the cached artifact into a lottery.
An overlay port is a suitable approach for this type of modification of ffmpeg. That port doesn't use standard maintainer functions which alternatively offer triplet variables for customization.
And I would recommend to look for a specific configuration parameter instead of turning on autodetection.