-
Notifications
You must be signed in to change notification settings - Fork 200
How to custom ffmpeg configuration
We use bash scripts to manage the ffmpeg configuration, the default script is player_ffmpeg_config.sh, you can add a script with a name *_ffmpeg_config.sh to the same dir, and the result is the sum of the files named *_ffmpeg_config.sh.
Edit the default script player_ffmpeg_config.sh, delete the component name from the line start with ffmpeg_config_add_*s.
We don't recommend you to do this, except you know what you are doing.
You can edit the default script player_ffmpeg_config.sh to add your component also, but we recommend you to add a new script named *ffmpeg_config.sh to the same dir. use ffmpeg_config_add*s functions to add all you want.
By the way, if the component you want to add is not the ffmpeg build in component, you must compile the dependence library, and set the install patch to ffmpeg config command line
By default, we have supported librtmp, openssl, dav1d(x64), fdk_aac, x264 for ffmpeg dependence. If you want a dependence haven't be supported, you need to add the dependence support to the build system.
To config your own ffmpeg, you can create a script named *_ffmpeg_config.sh to any where you want, and set it's path to CICADA_FFMPEG_CONFIG_FILE env before building, and the building system will use the CICADA_FFMPEG_CONFIG_FILE env file ONLY to config ffmpeg.