Steps to modify and deploy the video solution:
1. Make sure the following directories under your WordPress root directory already exist. Create them if necessary: wp-content/mu-plugins and wp-content/plugins/video/
Copy files in server/mu-plugins/ to yourWProot/wp-content/mu-plugins; and copy files in server/plugins/video/ to yourWProot/wp-content/plugins/video/
Carefully study the source code, understand your system environment, and configure the domain names contained in video-config.php
2. Create a database and table named "videos," which is used to store individual video meta information. The sql script file is server/setup/videos-table.txt. Every video corresponds to one row in the table.
Note that version 1.0 has altered the videos table structure. If you are upgrading from version 0.9, please add the missing columns, then run server/utilities/video-backfill-files.php to backfill the new columns. Otherwise your existing videos won't play.
3. Set up a dedicated transcoder server with Linux/Unix operation system. You'll need to first install the whole WPMU package and this plugin code because the transcoder uses general blog functions as well. In addition, follow server/setup/transcoder-setup.txt to install the transcoding utilities. Once the entire transcoding utilities are installed, go to server/setup directory and run the following command to verify the installation:
php video-verify-ffmpeg.php
The above command downloads a sample video, and tries to use the ffmpeg you just installed to transcode it. If it can successfully transcode the video, it prints out the message "Congratulations! ffmpeg is installed correctly."
If you see an error message, make sure the transcoder is installed successfully. The transcoder is the heart of any video system, and it must work correctly.
Version 1.0 and later supports theora/ogg, so you need ffmpeg1theora. Follow instructions on http://v2v.cc/~j/ffmpeg2theora/install64.html to install ffmpeg2theora to /usr/local/bin/ffmpeg2theora
4. Determine your file serving infrastructure and file serving URL schemes. Set up your system environments. One URL serving sample is described in the extra note section.
Note in version 1.0 and beyond, you don't really need to worry about the URL structure. Once you configure parameters in video-config.php, everything will work correctly.
5. Testing and customization
The video player source code is also released. The player is written in actionscript 3 using Adobe Flash CS3. The source code is located at directory player/ and you don't need to deploy it to your servers. Refer to player/readme.txt for more details.
The software contained in this package is under GNU GENERAL PUBLIC LICENSE. http://www.gnu.org/copyleft/gpl.html




