Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
desktop-course-book-studentguide.pdf
Скачиваний:
12
Добавлен:
21.03.2016
Размер:
24.95 Mб
Скачать

Ubuntu Desktop Training

211 / 335

Chapter 8

Playing Music and Videos

OBJECTIVES

In this lesson, you will learn to:

• Play, edit and organize music and video files.

8.1 Legal Restrictions

Ubuntu fully supports playback of music, videos and DVDs available in free and unrestricted formats. A number of multimedia formats are restricted by licenses and software patents in some jurisdictions. Ubuntu does not offer this capability by default for these formats but it easy to enable playing a variety of proprietary formats. This section will guide you through the patent and copyright restriction considerations for using proprietary file formats.

The license of the format is different from the license of the content itself. For example a video’s content can be licensed under a Creative Commons license, and be available as MPEG file. While the content can be distributed freely, the format is proprietary and a software for playback may need to be licensed in some jurisdictions.

To understand the legal issues associated with the use of proprietary formats, you first need to understand the difference between free and non-free or proprietary formats.

8.2 Playing Music Files

Ubuntu comes with the Rhythmbox Music Player to play and organise music files. Similar to iTunes in its interface, this music player is a free software application designed to work in the GNOME desktop environment. Using Rhythmbox, you can play your music files, listen to Internet radio, import music from CDs and organise your music files. Rhythmbox offers comprehensive audio support for a large number of audio formats and contains various useful features that make playing music easy and enjoyable.

8.2.1Playing Music using Rhythmbox

1.On the Application menu, point to Sound & Video and then click Rhythmbox Music Player. A welcome screen is displayed.

Ubuntu Desktop Training

212 / 335

Figure 8.1: Launching Rhythmbox

2.The main window of the Rhythmbox Music Player opens. Now, you will be able to organise your favourite music using this window.

Figure 8.2: The Rhythmbox Music Player

3.To start playing music in Rhythmbox, you need to first select the music source from the Source list. By default Library is selected as the source when you open Rhythmbox for the first time.

Ubuntu Desktop Training

213 / 335

Library is the main source available in Rhythmbox. You can import all your music files into the Rhythmbox library and can start playing immediately. You also use the music files in your library to create smart customised playlists and playqueues. To start importing individual music files, right-click Music and click Import File. It displays the Import File into Library dialogue box.

Figure 8.3: Importing Music Files

4.In the Import File into Library dialogue box, navigate to the folder from which you want to import the files. Select the files that you want to import and click Open.

Ubuntu Desktop Training

214 / 335

Figure 8.4: Selecting the Files to Import

Nice to Know:

While importing music files from your music collection, Rhythmbox also imports the metadata tags associated with the files. These tags are used by Rhythmbox to categorise the music files by genre, artist, album, title, and track number.

5.The selected music files are imported into the library and displayed in the the Rhythmbox window. You will notice that the main Rhythmbox window is split into various panes. Each pane displays different details about your music collection. To play music from the library, you can use the Artist, Album and Track panes to select the music tracks that you want to play and then use the playback controls to start playing the music tracks. Click the Play button to start playing the selected track.

Ubuntu Desktop Training

215 / 335

Figure 8.5: The Rhythmbox Window

6.If you click the Play button without selecting any track, Rhythmbox will start playing the first track from your current view. You can use the Shuffle button to play tracks randomly. You can also create a play list by right-clicking a music track and selecting Add to Playlist. To stop or pause a track, click the Play button again.

Ubuntu Desktop Training

216 / 335

Figure 8.6: Creating New Playlist

7.Rhythmbox offers many additional useful features in the form of various plugins. Some of these plugins are not turned on by default. To access these plugins, on the Edit menu, click Plugins. The Configure Plugins dialogue box opens.

Ubuntu Desktop Training

217 / 335

Figure 8.7: Accessing Plugins

8.You can view all the available plugins in the left pane of the Configure Plugins dialogue box. Selecting a plugin displays its details in the right pane of the dialogue box.

9.Depending on your requirements and preferences, you can activate these plugins to get extra functionality in your Rhythmbox. For example, the Magnatune Store plugin enables iTunes-style song previews and paid downloads. Activating Visualization renders a real-time visualization of the music on the screen while you listen to a song track. Similarly, if you want to automatically retrieve the lyrics of the song being played, activate Song Lyrics by selecting the corresponding check box and click Close to exit the Configure Plugins dialogue box.

Ubuntu Desktop Training

218 / 335

Figure 8.8: Activating Plugins

10.You are returned to the main Rhythmbox interface. To start retrieving the song lyrics, on the View menu, click Song Lyrics.

Ubuntu Desktop Training

219 / 335

Figure 8.9: Retrieving Song Lyrics

11. Amazingly, Rhythmbox retrieves the song lyrics for you. Now, you can sing along while listening to your favourite song.

Figure 8.10: The Song Lyrics Retrieved

12. Similarly, if you wish to view animations while listening to a song, click the Visualization button.

Ubuntu Desktop Training

220 / 335

Figure 8.11: Activating Visualisation

13. You can view animations while playing a song.

Figure 8.12: Viewing Animations

Ubuntu Desktop Training

221 / 335

14.Rhythmbox also enables you to listen to music from a variety of sources, such as Internet radio stations and podcasts.

To play music from a podcast of your choice, right-click the Podcast option in the Source list and select New Podcast Feed.

Figure 8.13: Adding New Podcast Feed

NOTE:

Podcasts are audio shows broadcast over the Internet that you can subscribe to. Subscribing to a podcast enables you to download each new audio release from the subscribed podcast source.

15. Enter the podcast feed URL in the New Podcast Feed text box and click Add.

Figure 8.14: Entering Podcast Feed URL

16.Rhythmbox automatically looks for the latest podcasts and downloads them for you. To play a podcast episode, select the episode that you want to play and click the Play button.

Ubuntu Desktop Training

222 / 335

Figure 8.15: Playing a Podcast

17.Rhythmbox also allows you to listen to radio streamed from Internet radio stations across the world. To listen to Internet radio, click the Radio source in the Source pane.

Ubuntu Desktop Training

223 / 335

Figure 8.16: Playing Internet Radio

18.By default the Radio source lists several radio stations, each of them broadcasting a different genre of music. Double-click on the radio station of your choice to listen to the streaming media.

Ubuntu Desktop Training

224 / 335

Figure 8.17: Listening to a Radio Station

19.You can also add a new radio station to the existing list by clicking New Internet Radio Station and pasting the URL of the new radio station in the URL of Internet radio station text box. Click Add to add the radio station in the existing list.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]