Changeset 909828
- Timestamp:
- 05/07/2014 03:31:44 PM (12 years ago)
- File:
-
- 1 edited
-
smartpost-templates/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
smartpost-templates/trunk/readme.txt
r909227 r909828 63 63 3. In your `category.php` file, place the sidebar somewhere under the category title, right before the post loop. 64 64 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 70 ffmpeg and ffprobe executables present in the same directory. If ffmpeg is already installed, these executables usually reside in /usr/local/bin/, 71 but sometimes not. To find the full path of where ffmpeg lives, you can use the shell command `command -v ffmpeg`. 72 73 Once 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. 74 Copy 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). 75 Click on the "Test" button to see if SmartPost is able to properly invoke the ffmpeg executable. **Note: PHP needs to be configured to allow 76 SmartPost 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 79 If 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). 80 In 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 81 cases 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". 82 You can also look it up via phpinfo() or use the [php_uname()](http://us3.php.net/manual/en/function.php-uname.php) command. 83 84 Once 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. 85 A 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 89 We 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 90 to delete the following: 91 92 1. The tables 'sp_postComponents', 'sp_catComponents', 'sp_compTypes' 93 2. The options: 'sp_categories', 'sp_db_version', 'sp_defaultCat', 'sp_cat_icons', 'sp_responseCats', 'sp_cat_save_error' from the wp_options table. 94 65 95 == Screenshots == 66 96
Note: See TracChangeset
for help on using the changeset viewer.