BuddyDev

Search

Mediapress Transcoder — Transcoder needs FFMPEG

Tagged: 

  • Participant
    Level: Initiated
    Posts: 11
    Roni Gabriel on #34208

    I have the FFMPEG installed on our server at /usr/bin/ffmpeg

    Your plugin says it can not locate FFMPEG. Where can I adjust in the script where it looks for the FFMPEG so this will work?

    Thank you.

  • Participant
    Level: Initiated
    Posts: 11
    Roni Gabriel on #34212

    I have checked to see if shell_exec() works on my server and it does. My webhost uses Linux.

    I can run this php script

    <?php
    if(exec(‘echo EXEC’) == ‘EXEC’){
    echo ‘exec works’;
    }
    ?>

    and it returns that it works.

    What do I need to do next?

  • Keymaster
    (BuddyDev Team)
    Posts: 21769
    Brajesh Singh on #34215

    Hi Roni,
    Thank you for using the plugin.

    By default, we assume that ffmpeg is part of the execution path.

    It seems that may not be the case. You can specify the complete binary path here
    https://github.com/mediapress/mpp-local-transcoder/blob/master/src/core/class-mpplt-encoder.php#L57

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    Roni Gabriel on #34229

    Thank you for the info. I will give that a try.

    How would the transcoder work with https://wordpress.org/plugins/amazon-s3-and-cloudfront/ ?

    I use this plugin. If the file is transferred to S3 how would it get encoded?

    Would the files need to stay on our server until transcoding is done? And would the S3 Cloudfront plugin be able to know when transcoding is done to send over to s3?

    Sorry if I don’t understand it completely. Thank you for helping.

  • Keymaster
    (BuddyDev Team)
    Posts: 21769
    Brajesh Singh on #34238

    Hi Roni,
    No, The local transcoder only works with files hosted on the same server. We are working on a better micro service to change this in future.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved