Playing flash videos in Ubuntu

Source: Internet
Author: User
Tags gz file

Many teaching programs and popular music videos we usually see on the Internet
In the file, there is a flash with the extension of .swf.
Video. Dedicated flash players are often required for playing such videos.
.Flash Player available in Ubuntu
Many. Here we will introduce the two most commonly used Flash playing software, namely the official Adobe Flash Player.
And the open-source swfdec to help you play with Flash videos. This article introduces
. 04.

  I. Use Adobe Flash Player
Play flash videos

Because Adobe Flash Player is not open source code
Software, subject to Adobe
Copyright Control. By default, most Linux releases do not provide Flash software packages. Therefore, to play the Flash Animation normally in Ubuntu, you must manually install the corresponding software package, including support for Firefox
Browser flash plug-in and flash standalone player (a separate Flash Player ).

After installing Ubuntu, run the Firefox browser for the first time. When you visit a site using Flash technology, the browser will prompt
Yes
You need to install the corresponding plug-in for normal browsing. There are two ways to install the flash plug-in for the Firefox browser: one is in the Firefox browser, click the Flash Object Detection Area
The system automatically searches for available FLASH plug-ins. After searching, the flash plug-in installation window is displayed. The window lists the flash plug-ins that support the Firefox browser, including
Adobe Flash Player, swfdec player for Adobe/Macromedia Flash, gnash SWF
Select "Adobe Flash Player" to install the Adobe Flash browser plug-in.

The second method is from Adobe Official Website. In gnome
In the integrated desktop environment, double-click the downloaded install_flash_player_10_linux.deb file and automatically call the gdebi graphical installer for installation.

The independent Adobe Flash Player is included in the Flash Player developer version, the latest Flash Developer version of the Installation File is: http://download.macromedia.com/pub/flashplayer/updaters/10/flash_player_10_linux_dev.tar.gz
.

To use the flash player, first decompress the downloaded flash_player_10_linux_dev.tar.gz file, and then enter
Flash_player_10_linux_dev/standalone/releasedirectory, decompress flashplayer.tar.gz
Generate a Flash Player file in the release Directory, which is a binary executable file. Enter the command./flashplayer to run Adobe
Flash Player.

Adobe
Flash Player and corresponding browser plug-ins are officially released by Adobe. When using the latest software to play SWF files, both the video screen and sound are smooth. However
When monitoring the system resource usage during playback of SWF files, the system found that the CPU usage reached more than 95%, consuming a lot of system resources!

  Ii. Use swfdec Flash Player To Play flash videos

Swfdec is an open-source Flash Player Library released in the form of lgpl protocol. It uses the libart library to implement Flash Animation rendering and uses gstreamer
The engine enables Flash Animation playback. Swfdec includes the independent Flash Player swfdec-gnome and the browser plug-in swfdec-Mozilla.

1. Install swfdec Software

Swfdec software is not installed in Ubuntu by default. If the current system is connected to the Internet, we use the new software package manager to install the software. Open the new software package manager window
Click "Search" on the toolbar of the window and enter the keyword "swfdec" in the "Search" dialog box. The search result is displayed in the list of installable software packages. Select "swfdec-
Install and install the gnome and swfdec-Mozilla software packages.

The current version of swfdec-gnome is 2.26.0. After the installation is complete, find the "swfdec Flash Player" item in the menu "application"> "audio and video", and click this item to run the swfdec Flash Player (). In addition, we can also from swfdec's official site http://swfdec.freedesktop.org.
Download the latest software installation package.

2. Preview or play a flash file in the Nautilus File Browser

Swfdec-gnome is well integrated with the GNOME desktop environment. In the Nautilus file browser, you can directly preview the vast majority of SWF files. In
In the Nautilus file browser, the first image of the SWF file is displayed as a thumbnail, so that you can understand the file information without opening the flash file. Nautilus
By default, the browser displays files in the "icon view" mode. For example, if it is changed to the "List View" mode, the first image of the SWF file is displayed in front of the file name with smaller thumbnails, which is very intuitive. If you want to play
SWF file, right-click the SWF file and select "open with swfdec Flash Player" from the shortcut menu.
Flash Player.

The current version of the swfdec Flash Player has greatly improved compared with the previous version. When playing the SWF file, the video screen and sound play are basically smooth, however, it is inferior to a single Adobe Flash Player.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.