个人工具

“UbuntuHelp:FirefoxStreamingVideo”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的4个中间版本)
第2行: 第2行:
 
{{Languages|UbuntuHelp:FirefoxStreamingVideo}}
 
{{Languages|UbuntuHelp:FirefoxStreamingVideo}}
 
#title Streaming video in Firefox Web Browser
 
#title Streaming video in Firefox Web Browser
A great many websites have videos embedded in the website. To view those, some steps are needed.
+
<<Include(Tag/Unsupported)>>
=== Ubuntu 6.10 (Edgy Eft) ===
+
'''This page is about Ubuntu 6.10 (Edgy Eft).'''
'''Absolute Beginners''':- Streaming video is used by web sites, such as news.bbc.co.uk, to send video clips to a users Browser. The browser (the default shipped with Ubuntu is the Firefox browser) in turn needs a stream player plugin to play the video. In the case of the BBC News site the site allows for the selection of Windows Media Player or [[UbuntuHelp:RealPlayer|RealPlayer]]. In Ubuntu you can use either of these settings but you need to set up your Ubuntu differently in each case.
+
== Introduction ==
The preferred choice is to use the streaming video player called gXine. This player can read .wmv files, the default video format for the Windows Media Player. You will be installing the totem-xine-firefox-plugin solution to play your video if you follow these instructions. There are others to try but keep with this page to get up and running in the first instance.
+
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 [[UbuntuHelp:RealPlayer|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.
Totem (Media Player) and Firefox (Browser) come as a default install with Ubuntu Edgy. You can check that they are there by going to the top left menu Applications>Internet to find Firefox and Applications>Sound & Video to find Totem (called Media Player in the list).
+
== Installation ==
The streaming video player requires codecs to enable it to play video streams within Firefox. The codecs for playing .wmv files are called w32codecs.
+
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 <code><nowiki>firefox</nowiki></code> and <code><nowiki>totem</nowiki></code> packages, if they're not already installed.
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 Applications>Accessories>Terminal, then paste in the code and press enter. Note that the codecs are available for different processors.
+
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 <code><nowiki>gxine</nowiki></code>, <code><nowiki>gxineplugin</nowiki></code> and <code><nowiki>totem-xine</nowiki></code> packages, if they're not already installed.
For an x86 PC/Mac copy and paste this code into your terminal
+
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:
 
<pre><nowiki>
 
<pre><nowiki>
wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20061022-0.0_i386.deb</nowiki></pre>
+
wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20061022-0.0_i386.deb
Then when downloaded (may take a minute or two) run this code in your terminal
+
</nowiki></pre>
 +
Once downloaded (may take a minute or two), install the codec by running this code in your terminal:
 
<pre><nowiki>
 
<pre><nowiki>
sudo dpkg -i w32codecs_20061022-0.0_i386.deb</nowiki></pre>
+
sudo dpkg -i w32codecs_20061022-0.0_i386.deb
For PowerPC-based Macs find further advice at https://help.ubuntu.com/community/RestrictedFormats/WindowsCodecs.
+
</nowiki></pre>
To install gXine (and Totem and Firefox if not already present) go to System>Administration>Synaptic Package Manager (SPM). This application is your primary tool for installing and removing your software packages. You will need your administrator's password to log in to SPM.
+
Thats it. Enjoy your videos.
Select search and type in 'xine', enter. You need to find three files, called gxine, gxineplugin and totem-xine. Look for the checkbox alongside these files in the right hand window. If the check box is empty click on it and a curved arrow will show in the check box. Do this for all three files. Then click on Apply (gxine will be automatically selected when you select gxineplugin). Click Apply again on the top menu bar and again when the confirmation window opens.
+
== See Also ==
Thats it, enjoy your video.
+
* [[UbuntuHelp:InstallingSoftware|InstallingSoftware]] - Community Ubuntu Documentation on how to install software.
'''Next Steppers''': If you prefer to take the [[UbuntuHelp:RealPlayer|RealPlayer]] route follow this link: https://help.ubuntu.com/community/RealplayerInstallationMethods?action=show&redirect=RealPlayerInstallationMethods
+
* [[UbuntuHelp:RealPlayerInstallationMethods|RealPlayerInstallationMethods]] - Community Ubuntu Documentation [[UbuntuHelp:RealPlayer|RealPlayer]] page.
[[category:CategoryCleanup]]
+
* RestrictedFormats/WindowsCodecs - Information on playing non-native media formats under Ubuntu.
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 19:08的最新版本


  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