-{r2}
|
{maketoc}
|
-The flv plugin is a video handler for treasury. it will convert videos of various formats including avi, mpg, mov and more to flashvideo and allowing you to conveniently view the converted video from within your browser. A site that uses a similar process is [http://www.youtube.com|youtube].
|
|
+The flv plugin is a video handler for Liberty. It will convert videos of various formats including .avi, .mpg, .mov and more to flashvideo and allows you to conveniently view the converted video from within your browser. A site that uses a similar process is [http://www.youtube.com|youtube]. |
|
-! Installtion
|
-The flv plugin for treasury is quite sophisticated. You need to install software on the server (you might even have to compile some binaries yourself), optionally install some php extension and install or activate a few files in bitweaver. if you are not prepared to do this, there isn't much point in reading on.
|
|
-The conversion process can be lengthy and therefore it is possible to run the conversion using a cron job. The cron php file is already present and all that needs to be done is add the appropriate cron job to your cron file, set the cron option in treasury and everything is set. This plugin also requires a recent version of [http://ffmpeg.mplayerhq.hu|ffmpeg]. In fact, you need to compile the svn version of ffmpeg as other versions don't support conversion to .flv files (luckily, gentoo users only need to emerge --sync and compile the regular version of ffmpeg...).
|
+! Installation |
+The flv plugin for Liberty is quite sophisticated. You need to install software on your server (you might even have to compile some binaries yourself), optionally install some PHP extension and install or activate a few files in bitweaver. |
+ |
+The conversion process can be lengthy and therefore it is possible to run the conversion using a cron job. The cron PHP file is already present and all that needs to be done is add the appropriate cron job to your cron file, and set the cron option in Liberty. This plugin also requires a recent version of [http://ffmpeg.mplayerhq.hu|ffmpeg]. In fact, you need to compile the SVN version of ffmpeg as other versions don't support conversion to .flv files (luckily, gentoo users only need to emerge --sync and compile the regular version of ffmpeg). |
|
The plugin also supports the use of [http://ffmpeg-php.sourceforge.net/|ffmpeg-php]. This extension is __not__ required but will enable bitweaver to extract video information such as video duration and other useless but handy information to improve processing and therefor final result.
|
|
Example of [http://fca.at/wiki/Grundkurs|serverside converted videos]
|
|
!! ffmpeg (required)
|
-You can find some more help in treasury/plugins/cron.flv.php
|
+You can find some more help in liberty/plugins/cron.flv.php |
|
-If you want to make use of the flv plugin, you need to install the svn version of ffmpeg. only the latest version of ffmpeg supports the flv format. Your distribution might already include a version that supports flv.
|
+If you want to make use of the flv plugin, you need to install the SVN version of ffmpeg. Only the latest version of ffmpeg supports the .flv format. Your distribution might already include a version that supports .flv. |
|
!!! Install
|
-You will need the svn version of ffmpeg and you will have to compile this yourself:
|
+You will need the SVN version of ffmpeg and you will have to compile this yourself: |
|
-some distros as examples:
|
+Some distros as examples: |
!!!! Gentoo
|
-ffmpeg and available use flags
|
-* X
|
-* a52
|
-* aac
|
-* altivec
|
-* amr
|
-* debug
|
-* doc
|
-* dts
|
-* encode
|
-* ieee1394
|
-* imlib
|
-* mmx
|
-* network
|
-* ogg
|
-* oss
|
-* sdl
|
-* test
|
-* theora
|
-* threads
|
-* truetype
|
-* v4l
|
-* vorbis
|
-* x264
|
-* xvid
|
-* zlib
|
+ffmpeg and available USE flags |
+X, a52, aac, altivec, amr, debug, doc, dts, encode, ieee1394, imlib, mmx, network, ogg, oss, sdl, test, theora, threads, truetype, v4l, vorbis, x264, xvid, zlib |
+adjust USE flags as you wish. install using something like: |
+{code}USE="a52 aac altivec amr dts encode mmx ogg oss theora vorbis x264 xvid"; emerge -av ffmpeg{/code} |
+This will give you support for most audio and video codecs supported by the use flags. If the version of ffmpeg in portage is not recent enough for you, you can try installing ffmpeg from the berkano overlay. |
|
!!!! Ubuntu
|
* [http://blogger.rukker.org/2007/01/29/enable-mp3-and-amr-support-in-ffmpeg-ubuntu-edgy-eft/|Ubuntu - ffmpeg install instructions]
|