Help:Embedded Video: Difference between revisions
No edit summary |
No edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
In the BCI2000 Wiki, it is possible to have video content embedded | In the BCI2000 Wiki, it is possible to have video content embedded into Wiki pages. | ||
It makes use of a [http://www.mediawiki.org/wiki/Extension:FLVPlayer mediawiki extension] by Christopher Ottley. | |||
The embedded player is a | The embedded [http://flowplayer.org/ FlowPlayer] movie player is a Flash applet, and will work on any browser that has a recent Flash player plugin installed. | ||
To add a video to a Wiki page, you need to | To add a video to a Wiki page, you need to | ||
| Line 9: | Line 10: | ||
== Transcoding a Video == | == Transcoding a Video == | ||
Videos must be transcoded into FLV Flash Video Format before they can be used for the Wiki. | Videos must be transcoded into FLV Flash Video Format before they can be used for the Wiki. | ||
We provide a [http://{{SERVERNAME}}/downloads/ffmpeg_2006_11_28_Win32.zip Win32 executable] of the [http://ffmpeg.sourceforge.net ffmpeg] transcoder program. | We provide a [http://{{SERVERNAME}}/downloads/bin/ffmpeg_2006_11_28_Win32.zip Win32 executable] of the [http://ffmpeg.sourceforge.net ffmpeg] transcoder program. | ||
After downloading, open a command shell, and transcode your video using a shell command as in | After downloading, open a command shell, and transcode your video using a shell command as in | ||
p:\ath\to\ffmpeg.exe -i yourvideo.avi -f flv yourvideo.flv | p:\ath\to\ffmpeg.exe -i yourvideo.avi -f flv yourvideo.flv | ||
A [http://{{SERVERNAME}}/downloads/ffmpeg_2006_11_29_OSX_ppc.gz MacOS X build (PPC)] of ffmpeg is also available. | A [http://{{SERVERNAME}}/downloads/bin/ffmpeg_2006_11_29_OSX_ppc.gz MacOS X build (PPC)] of ffmpeg is also available. | ||
== Upload == | == Upload == | ||
On the [[Special:Upload]] page, enter the name of your video, and a short description. | On the [[Special:Upload]] page, enter the name of your video, and a short description. | ||
For large files, the upload may fail due to memory restrictions. | For large files, the upload may fail due to memory restrictions. | ||
In that case, please contact an administrator for help. | In that case, please contact an [[administrator]] for help. | ||
== Syntax == | == Syntax == | ||
Basically, the syntax for embedding a video is | Basically, the syntax for embedding a video is | ||
<nowiki><flvplayer height="240" width="320">yourvideo.flv</flvplayer></nowiki>. | <nowiki><flvplayer height="240" width="320">yourvideo.flv</flvplayer></nowiki>. | ||
Note that your video will look best if the height and width values match the video's original height and width, or an integer fraction of it. | Note that your video will look best if the height and width values match the video's original height and width, or an integer fraction of it. | ||
For a detailed description, and further information, see the FLVPlayer plugin's [http:// | For a detailed description, and further information, see the FLVPlayer plugin's [http://www.mediawiki.org/wiki/Extension:FLVPlayer reference page]. | ||
[[Category:Editing]] [[Category:Media]] [[Category:Help]] | |||
Latest revision as of 08:51, 28 November 2008
In the BCI2000 Wiki, it is possible to have video content embedded into Wiki pages. It makes use of a mediawiki extension by Christopher Ottley.
The embedded FlowPlayer movie player is a Flash applet, and will work on any browser that has a recent Flash player plugin installed.
To add a video to a Wiki page, you need to
- Transcode it into FLV format,
- Upload it into the Wiki using "Upload file" from the "Toolbox" area to the left,
- Add a reference to the movie into your Wiki page.
Transcoding a Video
Videos must be transcoded into FLV Flash Video Format before they can be used for the Wiki.
We provide a Win32 executable of the ffmpeg transcoder program. After downloading, open a command shell, and transcode your video using a shell command as in
p:\ath\to\ffmpeg.exe -i yourvideo.avi -f flv yourvideo.flv
A MacOS X build (PPC) of ffmpeg is also available.
Upload
On the Special:Upload page, enter the name of your video, and a short description. For large files, the upload may fail due to memory restrictions. In that case, please contact an administrator for help.
Syntax
Basically, the syntax for embedding a video is
<flvplayer height="240" width="320">yourvideo.flv</flvplayer>.
Note that your video will look best if the height and width values match the video's original height and width, or an integer fraction of it.
For a detailed description, and further information, see the FLVPlayer plugin's reference page.