1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3
"http://docbook.org/xml/4.3/docbookx.dtd">
1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://docbook.org/xml/4.3/docbookx.dtd">
5
4
<title>Playing Music and Videos</title>
8
6
<title>Objectives</title>
10
<para>In this lesson, you will learn to: <itemizedlist>
8
<para>In this lesson, you will learn to:</para></formalpara>
12
11
<para>Play, edit and organize music and video files.</para>
14
</itemizedlist> <note userlevel="instructor">
14
<note userlevel="instructor">
15
15
<title>Instructor Notes:</title>
17
17
<para><emphasis role="italic">It is recommended to cover all the
36
35
<para>Ubuntu fully supports playback of music, videos and DVDs available
37
36
in free and unrestricted formats. A number of multimedia formats are
38
37
restricted by licenses and software patents in some jurisdictions. Ubuntu
39
does not offer out-of-the-box support for these formats. It is possible to
40
enable playing the proprietary formats in Ubuntu, you must do so after
41
considering the patent and copyright restrictions guiding the use of the
38
does not offer this capability by default for these formats but it easy
39
to enable playing a variety of proprietary formats. This section will guide you
40
through the patent and copyright restriction considerations for using
42
41
proprietary file formats.</para>
44
43
<para>The license of the format is different from the license of the
245
244
<step performance="required">
246
245
<para>Depending on your requirements and preferences, you can
247
246
activate these plugins to get extra functionality in your Rhythmbox.
248
For example, activating <emphasis role="strong">Magnatune
247
For example, the <emphasis role="strong">Magnatune
249
248
Store</emphasis> plugin enables iTunes-style song previews and paid
250
249
downloads. Activating <emphasis
251
250
role="strong">Visualization</emphasis> renders a real-time
539
538
<step performance="required">
540
539
<para>Insert an audio CD in the CD drive of your computer. The Sound
541
540
Juicer CD player and ripper is launched automatically. To start
542
Sound Juicer manually. On the <emphasis
541
Sound Juicer manually, click the <emphasis
543
542
role="strong">Applications</emphasis> menu, point to <emphasis
544
543
role="strong">Sound & Video</emphasis> and then click <emphasis
545
role="strong">Sound Juicer CD Extractor</emphasis>.</para>
544
role="strong">Audio CD Extractor</emphasis>.</para>
547
546
<figure float="0">
548
547
<title>Launching Sound Juicer</title>
821
820
<title>Burning Audio CDs</title>
823
822
<para>Besides copying audio tracks from a CD to your computer, Ubuntu also
824
enables you to copy music files from your computer onto a CD. Serpentine
825
is the audio CD burner application that comes bundled with Ubuntu, by
826
default. It is an easy-to-use but very powerful CD audio recording
823
enables you to copy music files from your computer onto a CD or DVD. Brasero
824
is the CD/DVD burner application that comes bundled with Ubuntu, by
825
default. It is an easy-to-use application that also allows CD/DVD data disc creation,
826
CD/DVD copying and burning of existing images to CD/DVD.</para>
830
<title>To burn an audio CD using Serpentine:</title>
832
<step performance="required">
833
<para>Insert a blank (recordable) CD in the CD drive of your computer.
834
You will receive a notification asking whether you want to burn a data
835
CD or an audio CD. When you click the <emphasis role="strong">Make
836
Audio CD</emphasis> button, Serpentine will be launched
837
automatically.</para>
840
<title>Auto-launching Serpentine</title>
844
<imagedata fileref="images/chapter9_image_031.png" format="PNG"
851
<step performance="required">
852
<para>Alternatively, you can launch Serpentine through the <emphasis
853
role="strong">Applications</emphasis> menu. To launch Serpentine
854
manually, on the <emphasis role="strong">Applications</emphasis> menu,
829
<title>To burn an audio CD:</title>
831
<step performance="required">
832
<para>Launch Brasero by selecting the <emphasis role="strong">Applications</emphasis> menu,
855
833
point to <emphasis role="strong">Sound & Video</emphasis> and then
856
click <emphasis role="strong">Serpentine Audio CD Creator</emphasis>.
857
The <emphasis role="strong">Serpentine</emphasis> window is
834
click <emphasis role="strong">Brasero Disc Burning</emphasis>.
835
The Brasero window is displayed.</para>
860
837
<figure float="0">
861
<title>Launching Serpentine</title>
838
<title>Launching Brasero</title>
872
849
<step performance="required">
873
<para>The <emphasis role="strong">Serpentine Window</emphasis>
874
displays the disc usage of the inserted disc graphically as well as in
875
words. You can now click the <emphasis role="strong">Add</emphasis>
876
button to start adding the tracks that you want to be copied to the
877
disk. However, if you want to change the default configuration
878
settings for Serpentine before burning the audio CD, open the
879
<emphasis role="strong">Serpentine Preferences</emphasis> dialogue box
880
by clicking <emphasis role="strong">Preferences</emphasis> on the
881
<emphasis role="strong">Edit</emphasis> menu.</para>
850
<para>The <emphasis role="strong">Brasero Window</emphasis>
851
displays. Click the <emphasis role="strong">Audio Project</emphasis>
852
button. You will need to navigate to the folder containing the audio tracks
853
you wish to add to the new CD project.</para>
883
855
<figure float="0">
884
<title>Displaying Configuration Settings</title>
856
<title>Starting a new Audio Project</title>
888
860
<imagedata fileref="images/chapter9_image_033.png" format="PNG"
895
<step performance="required">
896
<para>You can use the <emphasis role="strong">Serpentine
897
Preferences</emphasis> window to specify the writing speed for burning
898
CD and to define some writing options such as whether to insert two
899
seconds gap between two tracks or to eject the CD after recording is
900
complete. After defining your preferences, click <emphasis
901
role="strong">Close</emphasis> to apply the changes and exit the
902
<emphasis role="strong">Serpentine Preferences</emphasis>
905
867
<figure float="0">
906
<title>Customising Preferences</title>
868
<title>The New Audio Project window</title>
910
872
<imagedata fileref="images/chapter9_image_034.png" format="PNG"
917
879
<step performance="required">
918
<para>Now you need to specify the files that you want to be copied on
919
the inserted CD. To start specifying the desired audio files, click
920
<emphasis role="strong">Add</emphasis>. This opens a browser window.
921
In the browser window, navigate to the desired folder and click
922
<emphasis role="strong">Open</emphasis> to display its
880
<para>Now you need to specify the files that you want to be copied onto
881
the blank CD. To start specifying the desired audio files, click the
882
<emphasis role="strong">Music</emphasis> folder. This displays the contents of any items
883
previously imported. Double-click the title of the folder where the music files are located.
884
The files are listed in the middle window. You can now add files to the project using any of
885
the methods described in the right side window.</para>
925
887
<figure float="0">
926
888
<title>Specifying Audio Files to Copy</title>
937
<step performance="required">
938
<para>Select the specific audio files that you want to be copied and
939
click <emphasis role="strong">Open</emphasis>. You are returned to the
940
<emphasis role="strong">Serpentine</emphasis> window.</para>
943
<title>Selecting the Files to Copy</title>
947
<imagedata fileref="images/chapter9_image_036.png" format="PNG"
954
<step performance="required">
955
<para>The selected files now appear in the Serpentine window. You can
900
<step performance="required">
901
<para>The selected files now appear in the project window. You can
956
902
also view the estimated disc usage once these files are written to the
957
disc. Based on this data, you may decide to add or delete some files
958
from your current selection. Once you are sure of the files to be
959
copied to the disc, click the <emphasis role="strong">Write to
960
Disc</emphasis> button to start writing the audio files from your
903
disc at the bottom of the project window. Based on this data, you may decide
904
to add or delete some files from your current selection. Once you are sure of
905
the files to be copied to the disc, click the <emphasis role="strong">Burn</emphasis>
906
button to start writing the audio files from your
961
907
computer to the CD.</para>
963
909
<figure float="0">
975
921
<step performance="required">
976
<para>You are asked to confirm your decision to record a media disc.
977
Click <emphasis role="strong">Write to Disc</emphasis> to
922
<para>The Disc Burning Setup window allows you to change the Properties
923
of the project. You can select the <emphasis role="strong">Options</emphasis>
924
checkbox to leave the disc open to add a data session later.
925
Click the <emphasis role="strong">Burn</emphasis> button to
926
begin writing the files to the disc.</para>
980
928
<figure float="0">
981
929
<title>Confirming the CD Writing</title>
992
940
<step performance="required">
993
<para>Serpentine now starts writing the music files to the media disc.
994
You can view the progress of the process in the <emphasis
995
role="strong">Writing Audio Disc</emphasis> dialogue box. This process
941
<para>Brasero now starts writing the music files to the media disc.
942
You can view the progress in the <emphasis
943
role="strong">Burning Audio Disc</emphasis> dialogue box. This process
996
944
may take some time depending on the size of the files to be written to
997
disc. Once the process is complete, you get a new CD containing all
945
disc. Once the process is complete, you have a new CD containing all
998
946
your favourite songs.</para>
1000
948
<figure float="0">
1001
<title>Writing Audio CD</title>
949
<title>Writing an Audio CD</title>
1017
965
<para>As previously stated, due to the legal restrictions associated with
1018
966
the use of proprietary formats, Ubuntu does not offer support for such
1019
formats by default. If you wish to play such proprietary formats, you will
967
formats by default. If you wish to play proprietary formats, you will
1020
968
need to install additional multimedia codecs. A multimedia codec is a
1021
969
small piece of software that allows you to watch videos or listen to music
1022
970
of a specific format. Although Ubuntu includes many codecs by default, you
1498
1446
<title>Creating Audio Files</title>
1500
1448
<para>Ubuntu provides you with tools to create new audio files using an
1501
input device such as a microphone. GNOME Sound Recorder is the default
1449
input device such as a microphone. Sound Recorder is the default
1502
1450
application available in Ubuntu for creating audio files.</para>
1505
<title>To start recording audio using GNOME Sound Recorder:</title>
1453
<title>To start recording audio using Sound Recorder:</title>
1507
1455
<step performance="required">
1508
1456
<para>On the <emphasis role="strong">Applications</emphasis> menu,
1509
1457
point to <emphasis role="strong">Sound & Video</emphasis> and
1510
1458
then click <emphasis role="strong">Sound Recorder</emphasis>.
1511
Alternatively, you can just press <emphasis
1512
role="strong">ALT+F2</emphasis>, type <emphasis role="strong">
1513
GNOME-sound-recorder</emphasis> and click <emphasis
1514
role="strong">Run.</emphasis> The <emphasis role="strong">Sound
1515
Recorder</emphasis> is launched.</para>
1517
1461
<figure float="0">
1518
1462
<title>Launching Sound Recorder</title>
1529
1473
<step performance="required">
1530
<para>The Sound Recorder allows you to record and play .flac, .ogg,
1474
<para>Sound Recorder allows you to record and play .flac, .ogg,
1531
1475
and .wav audio files. To start a recording session, you need to
1532
1476
select an input device, such as a microphone, phone or line-in, from
1533
1477
the <emphasis role="strong">Record from input</emphasis> drop-down
1645
1589
<title>Editing Audio Files</title>
1647
<para>You can use Audacity for editing audio files. However, Audacity is
1648
not included in the default installation of Ubuntu. But it is a free and
1591
<para>You can use Audacity for editing audio files. Audacity is
1592
not included in the default installation of Ubuntu but it is a free and
1649
1593
open source software application, which can be installed easily from the
1650
Universe repository of Ubuntu. Therefore, you will first need to install
1594
Universe repository of Ubuntu. You can install
1651
1595
Audacity using either the Add/Remove Applications or the Synaptic
1652
1596
Package Manger.</para>
1677
1621
to select a language to use with the application. Apart from
1678
1622
English, Audacity provides language support for more than 30
1679
1623
languages, including Arabic, Bulgarian, catalan, Czech, Danish,
1680
Finnish and many more. Select the language of your preference from
1624
Finnish and many more. Select your language preference from
1681
1625
the <emphasis role="strong">Choose Language for Audacity to
1682
1626
use</emphasis> drop-down list and click <emphasis
1683
1627
role="strong">OK</emphasis>.</para>
2002
1946
<title>Playing DVDs</title>
2004
<para>By default, Ubuntu is capable of playing DVDs that are not
2005
scrambled. Most commercial DVDs are scrambled with the Content Scrambling
1948
<para>Most commercial DVDs are encrypted with the Content Scrambling
2006
1949
System (CSS), which attempts to restrict the sotware that can play a DVD.
2007
Due to legal restrictions surrounding the scrambled format, as well as
2008
Ubuntu's total commitment to free multimedia formats, some software
1950
By default, Ubuntu is capable of playing DVDs that are not encrypted.
1951
Due to legal restrictions surrounding the CSS format, as well as
1952
Ubuntu's commitment to free multimedia formats, some software
2009
1953
packages needed for encrypted DVD playback are not installed by default in
2010
1954
Ubuntu. You can install these packages from Ubuntu repositories to enable
2011
the playback of scrambled DVDs.</para>
1955
the playback of encrypted DVDs.</para>
2014
1958
<title>Note:</title>
2016
1960
<para>It is possible that the use of some of the following software to
2017
1961
play or copy DVDs is not permitted by law in some countries. Please
2018
clarify your rights before proceeding.</para>
1962
check your rights before proceeding.</para>
2021
1965
<para>You may also consider downloading the following additional
2041
1985
</itemizedlist>
2043
<para>Totem-gstreamer, the default movie player included in Ubuntu can
1987
<para>Totem Movie Player, the default movie player included in Ubuntu can
2044
1988
automatically play a DVD when it is inserted into the DVD drive. However,
2045
1989
it will not provide access to the DVD menu. Other free software media
2046
1990
players like VLC, mplayer and xine do make the DVD menu available.</para>
2049
<title>Playing DVDs in Totem</title>
1993
<title>Playing DVDs in Totem Movie Player</title>
2051
1995
<para>After you have installed all the required software packages from
2052
1996
various Ubuntu repositories, you can play a DVD on your Totem movie
2619
2563
<step performance="required">
2620
<para>To start viewing the online video of your choice, launch your
2621
Firefox and paste the URL of the Web page from which you want to
2564
<para>To start viewing the online video of your choice, launch
2565
Firefox and navigate to the Web page from which you want to
2622
2566
view the streaming media.</para>
2625
<title><emphasis role="italic">Opening the Desired Web
2626
Page</emphasis></title>
2630
<imagedata fileref="images/chapter9_image_100.png"
2631
format="PNG" width="15cm" />
2637
2569
<step performance="required">
3027
2957
<para>Using Sound Juicer, you can play audio tracks direct from the
3028
2958
CD, extract audio tracks and convert them into audio files in
3029
various file formats. In addition, the default audio CD burner for
3030
Ubuntu, Serpentine, can be used to create audio CDs.</para>
2959
various file formats. In addition, the default audio CD/DVD burner for
2960
Ubuntu, Brasero, can be used to create audio and data CD/DVDs.</para>
3463
3393
<step performance="required">
3464
3394
<para>Click the click the <emphasis role="strong">Make Audio
3465
CD</emphasis> button, on the <emphasis role="strong">Choose Disc
3466
Type</emphasis> dialogue box. This launches the <emphasis
3467
role="strong">Serpentine</emphasis> audio CD burner.</para>
3470
<step performance="required">
3471
<para>To change the default configuration settings for <emphasis
3472
role="strong">Serpentine</emphasis> before burning the audio CD, open
3473
the <emphasis role="strong">Serpentine Preferences</emphasis> dialogue
3474
box by clicking <emphasis role="strong">Preferences</emphasis> on the
3475
<emphasis role="strong">Edit</emphasis> menu.</para>
3478
<step performance="required">
3479
<para>Select the <emphasis role="strong">Add</emphasis> two seconds
3480
gap between two tracks check box to insert two seconds gap between two
3484
<step performance="required">
3485
<para>Click <emphasis role="strong">Close</emphasis> to apply the
3486
changes and exit the <emphasis role="strong">Serpentine
3487
Preferences</emphasis> window.</para>
3490
<step performance="required">
3491
<para>Now you need to specify the files that you want to be copied on
3492
the inserted CD. To start specifying the desired audio files, click
3493
<emphasis role="strong">Add</emphasis>.</para>
3496
<step performance="required">
3497
<para>This opens a browser window. In the browser window, navigate to
3498
the desired folder and click <emphasis role="strong">Open</emphasis>
3395
CD</emphasis> button. This launches the <emphasis
3396
role="strong">Brasero Disc Burning</emphasis> application.</para>
3399
<step performance="required">
3401
<emphasis role="strong">New Audio Project</emphasis> button.</para>
3404
<step performance="required">
3405
<para>Navigate to the desired folder with the files you wish to add
3499
3406
to display its contents.</para>
3502
3409
<step performance="required">
3503
3410
<para>Select the specific audio files that you want to be copied and
3504
click <emphasis role="strong">Open.</emphasis> You are returned to the
3505
<emphasis role="strong">Serpentine</emphasis> window.</para>
3411
click the <emphasis role="strong">Add</emphasis> button or simply drag
3412
each file name to the Files area in the right side of the project window.</para>
3508
3415
<step performance="required">
3509
3416
<para>Once you are sure of the files to be copied to the disk, click
3510
the <emphasis role="strong">Write to Disc</emphasis> button to start
3417
the <emphasis role="strong">Burn</emphasis> button to start
3511
3418
writing the audio files from your computer to the CD.</para>
3514
3421
<step performance="required">
3515
<para>You are asked to confirm your decision to record a media disc.
3516
Click <emphasis role="strong">Write to Disc</emphasis> to
3422
<para>The Disc Burning Setup dialogue box displays.
3423
Click <emphasis role="strong">Burn</emphasis> to
3517
3424
continue.</para>
3520
3427
<step performance="required">
3521
<para>Serpentine now starts writing the music files to the media disc.
3522
You can view the progress of the process in the <emphasis
3523
role="strong">Writing Audio Disc</emphasis> dialogue box.</para>
3428
<para>Brasero now starts writing the music files to the media disc.</para>