Setting up video conversion servers

Discussion in 'Server Management' started by MultiBam, Oct 6, 2015.

  1. MultiBam

    MultiBam Administrator Staff Member

    adduser convert11
    passwd convert11

    yum install imagemagick

    install ffmpeg

    yum install pure-ftpd

    yum install php
    (yum remove php-fpm php-common)

    Ftp to server. Create dir convert. Upload remote_cron.php. Chmod 777 convert.
    # ffmpeg is required
    ffmpeg = /usr/bin/ffmpeg
    # imagemagick (convert binary) is required
    imagemagick = /usr/bin/convert
    # qt-faststart is required for MP4 videos support
    qt-faststart = /usr/local/bin/qt-faststart
    # time offset in comparison to main server (in hours)
    timeoffset = 0
    crontab -e
    * * * * * cd /home/convert11/convert && /usr/bin/php remote_cron.php > /dev/null 2>&1
    Last edited: Oct 7, 2015

Share This Page