个人工具

UbuntuHelp:FirefoxStreamingVideo

来自Ubuntu中文

跳转至: 导航, 搜索


  1. title Streaming video in Firefox Web Browser

<<Include(Tag/Unsupported)>> This page is about Ubuntu 6.10 (Edgy Eft).

Introduction

Streaming video is often used by web sites to send video clips to a user's browser. The browser needs a stream player plugin to play the video. Some web sites allow for the selection of Windows Media Player or RealPlayer. In Ubuntu you can use either one, but you need to set up Ubuntu differently in each case. These instructions show how to install the totem-xine-firefox-plugin.

Installation

Totem (Media Player) and Firefox (Browser) come as a default install with Ubuntu Edgy Eft. They can be found in the Applications > Internet > Firefox menu and the Applications > Sound & Video > Media Player menu. Install the firefox and totem packages, if they're not already installed. One choice is to use for a streaming video player is gXine. This player can read .wmv files, which are the default video format for the Windows Media Player. Install the gxine, gxineplugin and totem-xine packages, if they're not already installed. The streaming video player requires codecs to enable it to play video streams within Firefox. The codecs for playing .wmv files are called w32codecs. To install the w32codecs, you need to get them from a third party. They are most quickly installed by using the code blocks below. To run this code, open your terminal from the Applications > Accessories > Terminal menu, paste in the code below, and press the Enter key. Note that the codecs are available for different processors. For an x86 PC/Mac, copy and paste this code into your terminal to get the codec:

wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20061022-0.0_i386.deb

Once downloaded (may take a minute or two), install the codec by running this code in your terminal:

sudo dpkg -i w32codecs_20061022-0.0_i386.deb

Thats it. Enjoy your videos.

See Also