Skip to content

Enable ffmpeg with h264_v4l2m2m encoder #39223

Answered by dg0yt
dakhouya asked this question in Q&A
Discussion options

You must be logged in to vote
  • Would a feature to enable or disable the autodetection would be a good feature to add the the port?

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.

  • Is there a better solution when using vcpkg?

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dakhouya
Comment options

Answer selected by dakhouya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants