BuddyDev

Search

Local Transcoder – Change FFMPEG Path ?

  • Participant
    Level: Initiated
    Posts: 15
    Maurice on #31633

    hi i have installed local transcoder and before the ffmpeg feature on the server.
    other ffmpeg wordpress tools are working … but only with change the path

    original: /usr/local/bin

    my server: /usr/bin

    how can i change the original path in the local-transcoder-plugin??

    thx for help

  • Keymaster
    (BuddyDev Team)
    Posts: 21846
    Brajesh Singh on #31640

    Hi Maurice,
    Thank you for the question.

    Local transcoder does not care about the location of FFMPEG. We do not use the complete path of executable. we assume that when we run ffmpeg from the commandline it work.

    Please make sure shell_exec() works on your server as we use it for determining the existence of the FFMPEG binary.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 15
    Maurice on #31942

    ok i have check the shell_exec and exec is not disable …
    is for the local transcoder the install of php-ffmpeg necessary?

    or can you short discribe, what else do you have to do besides installing ffmpeg on the server?

  • Keymaster
    (BuddyDev Team)
    Posts: 21846
    Brajesh Singh on #31945

    Hi Maurice,
    Is there any chance you are using it on Ubuntu and the ffmpeg was installed via snap?

    We do not need php-ffmpeg package. We execute the actual binary using shell_exec.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 15
    Maurice on #31971

    i have centos 7

    this i make for install:

    SSH to your server and download the script
    # wget https://github.com/SSS015/muniments/archive/master.zip
    2. Extract zip file and type “cd” command go to “muniments-master” directory
    # unzip master.zip
    # cd muniments-master
    3. To unpack a tar file using below command.
    # tar -xvf file.tar
    4. Execute the bash script
    # bash install.sh
    5. After complete the installtion and run it below command and check what the latest version is
    # ffmpeg -version

    then in php.ini: disable_functions = “show_source, system”. (remove shell_exec, exec)

    other plugins can use ffmpeg in wordpress ??

    cu, maurice.

  • Keymaster
    (BuddyDev Team)
    Posts: 21846
    Brajesh Singh on #31990

    Hi Maurice,
    I am sorry but I am not sure what is the issue here. If other plugins are able to use FFMpeg, so should the Local Transcoder.

    I will suggest uploading a video and trying to convert it/re queue it and then check that video’s file directory. Do you see any error file generated there.

    If yes, please share the content.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved