Plugin Directory

Changeset 909832


Ignore:
Timestamp:
05/07/2014 03:33:27 PM (12 years ago)
Author:
rafdizzle86
Message:

Updated readme with some vital information regarding how to install ffmpeg, and how to uninstall smartpost.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smartpost-templates/tags/2.2/readme.txt

    r909227 r909832  
    63633. In your `category.php` file, place the sidebar somewhere under the category title, right before the post loop.
    6464
     65= How do I get HTML5 video encoding to work? =
     66
     67**Note: SmartPost only supports video encoding on Linux servers! We are hoping to extend support for Windows servers soon.**
     68
     69[FFmpeg](http://www.ffmpeg.org/) is required for video encoding to work! The server that your WordPress instance resides on needs to have
     70ffmpeg and ffprobe executables present in the same directory. If ffmpeg is already installed, these executables usually reside in /usr/local/bin/,
     71but sometimes not. To find the full path of where ffmpeg lives, you can use the shell command `command -v ffmpeg`.
     72
     73Once you've found the full path, then in the WordPress dashboard go to SmartPost -> Settings and click on the "Video" link on the right hand side.
     74Copy and paste the full path of where the ffmpeg executable resides in the text input (make sure there is a trailing "/" at the end of the path).
     75Click on the "Test" button to see if SmartPost is able to properly invoke the ffmpeg executable. **Note: PHP needs to be configured to allow
     76SmartPost to use the [shell_exec()](http://us3.php.net/manual/en/function.shell-exec.php), [exec()](http://us3.php.net/manual/en/function.exec.php), and
     77[system()](http://us3.php.net/manual/en/function.system.php) commands for this work!**
     78
     79If you're not confident in installing ffmpeg on your server, the easiest thing to do is to download static builds from the [ffmpeg website](http://www.ffmpeg.org/download.html).
     80In order to download the right build, you will need to know the type of operating system of the server your WordPress site is hosted on. If it's a Linux server (in most
     81cases it is), then you will need to know the appropriate kernel version. There are various ways to look up the kernal version, the easiest being via the shell command "uname -r".
     82You can also look it up via phpinfo() or use the [php_uname()](http://us3.php.net/manual/en/function.php-uname.php) command.
     83
     84Once you've downloaded the appropriate static builds, un-compress them, and upload them to a directory where the "apache" user has permisions to execute them.
     85A good place might be inside the SmartPost folder under wp-content/plugins/smartpost-templates/components/video/ffmpeg/ (you would have to create the ffmpeg folder).
     86
     87= How do I uninstall SmartPost? =
     88
     89We are currently working on putting in place an uninstall script! If you want to completely purge your WordPress instance of SmartPost, then you will have
     90to delete the following:
     91
     921. The tables 'sp_postComponents', 'sp_catComponents', 'sp_compTypes'
     932. The options: 'sp_categories', 'sp_db_version', 'sp_defaultCat', 'sp_cat_icons', 'sp_responseCats', 'sp_cat_save_error' from the wp_options table.
     94
    6595== Screenshots ==
    6696
Note: See TracChangeset for help on using the changeset viewer.