Jump to content

Help:Embedded Video: Difference between revisions

From BCI2000 Wiki
Mellinger (talk | contribs)
No edit summary
Mellinger (talk | contribs)
No edit summary
Line 11: Line 11:
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 ==

Revision as of 13:41, 19 December 2006

In the BCI2000 Wiki, it is possible to have video content embedded in Wiki pages.

The embedded player is a little Flash applet, and will work on any browser with 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.