AcademySoftwareFoundation / OpenRV

Open source version of RV, the Sci-Tech award-winning media review and playback software.
Other
550 stars 127 forks source link

Add configure options to enable non free FFmpeg codecs #491

Closed bernie-laberge closed 2 weeks ago

bernie-laberge commented 2 weeks ago

Add configure options to enable non free FFmpeg codecs

Linked issues

NA

Summarize your change.

The RV_FFMPEG_ENABLE_NON_FREE_DECODERS and RV_FFMPEG_ENABLE_NON_FREE_ENCODERS can optionally be specified at configure time (or rvcfg) to enable non free FFmpeg decoders and encoders respectively.

These two new options were documented in the README.md

Describe the reason for the change.

To make it easier to This change is derived from Open RV users feedback where it was Prior to this commit, enabling non free FFmpeg codecs required to to modify some code in the Open RV repo before building Open RV.

Describe what you have tested and on which operating system.

Successfully tested with this command line on Mac OS: rvcfg -DRV_FFMPEG_NON_FREE_DECODERS_TO_ENABLE="aac;hevc" -DRV_FFMPEG_NON_FREE_ENCODERS_TO_ENABLE="aac"