How to use x264 encoder on AMS on version 2.5.1 and above? #5087
-
How can I configure AMS to use the x264 encoder on version 2.5.1 and above? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
AMS uses the libopenh264 encoder by default starting with v2.5.1. Prior to v2.5.1, the default encoder was libx264. Please follow the steps below to utilise the x264 encoder in subsequent versions.
|
Beta Was this translation helpful? Give feedback.
-
Here is a script to convert libopenh264 to libx264
|
Beta Was this translation helpful? Give feedback.
AMS uses the libopenh264 encoder by default starting with v2.5.1. Prior to v2.5.1, the default encoder was libx264. Please follow the steps below to utilise the x264 encoder in subsequent versions.
Download the file for version 2.5.1 and 2.5.3 from here.
Download the jar file for version 2.6.0 and higher from here.
Now, copy the jar file to your AMS and place it in the
/usr/local/antmedia/plugins
folder, and grant the antmedia user access to the file.sudo chown -R antmedia:antmedia /usr/local/antmedia/plugins
After copying the file, add the property listed below to the'red5-web.properties' file in the '/usr/local/antmedia/webapps/App-Name/WEB-INF' fol…