1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MG 1.1 Transcoding & FFMPEG

Discussion in 'Media Gallery Support' started by Mr Lucky, Feb 18, 2016.

  1. Mr Lucky

    Mr Lucky Well-Known Member

    Is there a guide anywhere on how to use transcoding.

    Am I right in thinking this will allow people to upload large videos and have them compressed down to the allowed maximum file size?


    I'm not quite sure what these are for: FFMPEG Binary Path and PHP Binary path
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Not quite.

    It will quite simply allow your users to upload videos in any format they wish, then if necessary, they will be transcoded to a format which will allow them to be played on any device. For example if your users upload a WMV file, this likely won't play on anything but Windows machines, so it will be transcoded into an MP4 format using h264 and aac encoders. This format can then be played on near enough every modern device.

    The "FFmpeg Binary Path" is the path on your server to the FFmpeg executable, e.g. /usr/bin/ffmpeg
    The "PHP Binary Path" is the path on your server to the PHP executable, e.g. /usr/bin/php

    If you're unsure of the paths to these on your server you will need to ask the person/people who manage your server or arrange for someone to help with that.

    With regards to compression, the transcoding process may well make the videos slightly smaller in size, but the original video file must be lower than the allowed maximum file size. It is rejected if it isn't (rather than resized).
     

Share This Page