Play online and local music on Ubuntu

Source: Internet
Author: User
Tags gstreamer rhythmbox
Article Title: play online and local music on Ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

In Ubuntu, It is very convenient to play music online or locally. The first thing we need to do is to ensure that the sound card device in the system works properly, and then install the necessary audio decoder in the system. Then, we can calm down and enjoy the wonderful music. This article describes how to use GNOME to integrate the desktop environment based on Ubuntu Desktop 8.10.

  1. Listen to songs online

Baidu and Google China, the two major search engine giants, now provide online music search services. For us, you only need to access any of the two websites and select or search for your favorite songs to enjoy the songs.

In Ubuntu, run the Firefox browser. If you visit the Baidu music site mp3.baidu.com, select your favorite song, and click the "audition" link after the song name. A small window will pop up, click the play button in the small window. If the system supports the song format, you can hear the music immediately. Otherwise, the system prompts "the decoder used to play the music has not been installed yet, whether to search for available decoder. Click "Search" to search automatically. The "Install media plugin" dialog box appears soon. The dialog box lists the searched audio format decoder. Supported audio formats include mp3, wmv, and asf.


It is easy to install the decoder. Check the two items listed in the dialog box and click the "Install" button. During installation, you need to enter the administrator password. Then, the corresponding multimedia plug-in will be downloaded and installed online. This is a simple and direct method for installing multimedia plug-ins. In addition, you can manually install the relevant playback plug-in. In the new software package manager, enter the keyword "gstreamer" to search, select the searched software package, such as "gstreamer0.10-x", and install the corresponding software package. After the installation, you can access the Baidu or Google music site in the Firefox browser and play online music normally.

In addition, because the control interface of the music player mostly uses Flash technology to synchronously display the lyrics when playing music, in addition to the previously installed audio playback plug-in, you also need to install the Flash plug-in of the Firefox browser. There are multiple Flash plug-ins that support Firefox on Ubuntu, including Adobe Flash Player, Swfdec player for Adobe/Macromedia flash, and Gnash SWF Player. You can install either of them.

Ii. Play local music

[NextPage]

It is convenient to use Ubuntu to play music online, and it is also easy to play music locally. The Ubuntu system comes with the Rhythmbox music player, which is a powerful music player that supports local and online music playback. Many Linux releases use it as the preferred music player for users. This section describes the functions of apsaravideo player as a local music player. To enable the Rhythmbox music player to play music normally, the system must have an audio format decoder installed. The most common audio format decoder in Ubuntu is gstreamer. For more information about the installation process, see the Introduction to the online music section.
Page
Then, right-click the file and select "open with Rhythmbox music player" from the shortcut menu. Then, run Rhythmbox music player and play mp3 songs. Another method is to start the Rhythmbox music player from the menu. Find the "Rhythmbox music player" item under "Application> audio and video" and click this item. The main window of "Rhythmbox music player" appears.

  

The "library" list on the left side of the window lists playing queues, music, podcasts, radio stations, and other items. We can add local music files to the "Music" library. The procedure is as follows: Right-click the "Music" item and choose "Import file" from the shortcut menu. The import file dialog box is displayed, find the local music file and import it to the Rhythmbox music player. It is worth noting that the "import" here only sets up the index of the music file in the Rhythmbox music player software and does not copy or move the music file. Add music files to the music library. The program automatically classifies music files by artist, album, or title. When you listen to music in the future, you can quickly find the desired track by category. Playing a music file is also very simple. Double-click the music file or click the "play" button on the toolbar of the program, you can easily play music.

Related Article

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.