Zum Hauptinhalt springen

Documentation

IMPORTANT

This is the outdated SI-documentation which will be adapted soon. A huge part may be obsolete!

How To Set Up Ffmpeg With Runcloud

Setting Up FFMpeg With Runcloud

FFMpeg is used for video encoding process of any uploaded videos. It is OPTIONAL to enable FFMpeg on your site.

For those that have read through the video encoding documentation and have acquired the correct FFMpeg path from your webhosting provider, but still getting error of Please enter a different path to FFMpeg, it is possible that certain PHP configuration in the server is preventing the path to be accessed.

The screenshots in this guide applies to webmasters utilizing Runcloud webhosting. Other webhosting might have a different configuration. Please consult your webhosting provider respectively.

PHP FFMpeg Configuration

Take a look at the steps below to check your PHP configuration in Runcloud. Log in into your Runcloud account and you should see your servers management page. Then, click on the server which your site is based on.

FFMpeg Path

In the next screen, click Web Application at the menu on the left side or under the server in the middle.

FFMpeg Path

Then, click on the web application name that is linked to your domain.

FFMpeg Path

You should see the web application summary here, click on Settings on the left sidebar.

FFMpeg Path

In the web application settings page, scroll down to the PHP settings area, then check the open_basedir and the disable_functions fields.

If data is populated in the open_basedir field, add your FFMpeg path here so that the path is accessible by PHP functions. If the open_basedir field is empty, there is no need to add the FFMpeg path here.

FFMpeg Path

As mentioned in the video encoding documentation, PHP:passthru is required for video encoding to work. For Runcloud webhosting, this PHP function may be disabled by default. To enable this, head to the disable_functions section, locate and remove passthru from the list.

Note: Confirm that passthru is enabled by making sure it is not in the disable functions list.

Wir benutzen Cookies
Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern. Du kannst selbst enscheiden, ob du Cookies zulassen möchtest. Bitte beachte, dass bei Ablehnung womöglich nicht mehr alle Funktionalitäten zur Verfügung stehen.