Chapter 7

Multimedia Applications

The twenty-first century has become the century of the digital lifestyle, with millions of computer users around the world embracing new technologies. It started with the rise of digital cameras, MP3 players, and other assorted multimedia gadgets. Fifteen years ago you might have had a small collection of WAV files scattered about your Windows installation, and ten years ago you were more likely to have hundreds, if not thousands, of MP3 files scattered across various computers. Today, most people enjoy music and video via their web browsers or their mobile phones, consuming from sites like YouTube and Spotify.

If you are a media creator or collector, however, you may have a large collection of audio files, video clips, animations, and other graphics. In this case, organizing and maintaining these vast libraries is not a problem.

This chapter provides an overview of some of the basic multimedia tools included with or available for Ubuntu.

Sound and Music

Linux once had a reputation for lacking good support for sound and multimedia applications in general. However, this really isn’t true anymore and hasn’t been for years. (It might make you smile to know that while Microsoft no longer supports the Microsoft Sound Card, Linux users still enjoy support for it—no doubt just to annoy the folks in Redmond.) UNIX, however, has always had good multimedia support, as David Taylor, UNIX author and guru, points out:

The original graphics work for computers was done by Evans and Sutherland on UNIX systems. The innovations at MIT’s Media Lab were done on UNIX workstations. In 1985, we at HP Labs were creating sophisticated multimedia immersive work environments on UNIX workstations, so maybe UNIX is more multimedia than suggested. Limitations in Linux support doesn’t mean UNIX had the same limitations. I think it was more a matter of logistics, with hundreds of sound cards and thousands of different possible PC configurations.

That last sentence sums it up quite well: UNIX had a limited range of hardware to support, whereas Linux has hundreds of sound cards. Sound card device driver support has been long lacking from manufacturers, and there is still no single standard for the sound subsystem in Linux.

In this section, you learn about sound cards, sound file formats, and the sound applications provided with Ubuntu.

Sound Cards

Ubuntu supports a wide variety of sound hardware and software. Two models of sound card drivers compete for prominence in today’s market:

ALSA, the Advanced Linux Sound Architecture, which is entirely open source

OSS, the Open Sound System, which offers free and commercial drivers

Ubuntu uses ALSA because ALSA is the sound architecture for the Linux kernel, starting with the 2.6 series, all the way to the current 5.x series. OSS might still be found here and there, but it is no longer in widespread use and should be considered deprecated.

ALSA supports a long list of sound cards. You can review the list at www.alsa-project.org/main/index.php/Main_Page if you are interested, but Ubuntu detects most sound cards during the original installation and should detect any new additions to the system during boot. To configure the sound card at any other time, use the sound preferences graphical tool by searching the Dash for “sound.”

In addition, Ubuntu uses an additional layer of software called PulseAudio. PulseAudio, which is a sound server, acts as a mediator between the various multimedia programs that have sound output and the ALSA kernel drivers. Over the years, many different sound servers have been used in Linux, each with different strengths, usability issues, and levels of documentation. These various sound servers have often been forced to run side by side on the same computer, causing all sorts of confusion and issues. PulseAudio aims to replace all of them and work as a single handler to accept output from applications that use the APIs for any of the major sound servers already in use, such as ESD, OSS, GStreamer, and aRts, and route the various output streams together through one handler. This provides several advantages, including the ability to control the output volume of various programs individually.

PulseAudio has matured over the past several releases and is better and more powerful than ever before. Although there were stability issues and complaints early on, they don’t seem to be problematic anymore except in unusual hardware combinations and special cases, and more and more features have been implemented. For more information about PulseAudio, see www.pulseaudio.org.

Sound Formats

A number of formats exist for storing sound recordings. Some of these formats are associated with specific technologies, and others are used strictly for proprietary reasons. Ubuntu supports all the most popular sound formats, including the following:

RAW (.raw)—RAW is more properly known as headerless format, and audio files using this format contain an amorphous variety of specific settings and encodings. All other sound files contain a short section of code at the beginning—a header—that identifies the format type.

MP3 and MP4 (.mp3,.mp4)—These popular commercially licensed formats for the digital encoding are used by many Linux and Windows applications.

WAV (.wav)—This popular uncompressed Windows audiovisual sound format is often used as an intermediate file format when encoding audio.

Ogg-Vorbis (.ogg)—Ogg is the free software community’s preferred audio encoding format. You enjoy better compression and audio playback and freedom from proprietary licensing concerns when you use this open source encoding format for your audio files.

FLAC (.flac)—This lossless format is popular with audiophiles. The name stands for Free Lossless Audio Format, and it is a compressed format, like MP3, but does not suffer from any loss of quality.

Ubuntu also includes software in the repositories (such as the sox command, used to convert between sound formats) so that you can more easily listen to audio files provided in a wide variety of formats, such as AU (from NeXT and Sun), AIFF (from Apple and SGI), IFF (originally from Commodore’s Amiga), RA (from Real Audio), and VOC (from Creative Labs).

Tip

For an introduction to audio formats, check out the list of audio file formats at www.fileinfo.com/filetypes/audio, which provides links to detailed information for the various formats.

Ubuntu also offers several utilities for converting sound files from one format to another. Conversion utilities come in handy when you want to use a sound in a format not accepted by your current application of choice. The easiest one to use is also the easiest to install. Install the soundconverter package and then search for Sound Converter. It has a clear graphical interface and easy-to-understand configuration options.

Listening to Music

If you’re anything like us, you might be a huge music fan. Beyond using your web browser with your favorite sites, which is simple and common, you can also play music without an Internet connection.

Rhythmbox

Rhythmbox is a useful application that plays CDs and music files. It can also rip music from CDs into your favorite format.

Banshee

Banshee is another music application that can handle ripping and playing back music, download cover art, sync with portable players, and even play video.

Getting Music into Ubuntu with Sound Juicer

A handy utility that is included with Ubuntu is Sound Juicer, found under Applications, Sound & Video as the Audio CD Extractor. Sound Juicer automatically detects when you install a CD and attempts to retrieve the track details from the Internet. From there, it rips the CD tracks into .ogg files for storage on your file system.

Graphics Manipulation

Over a short period of time, digital cameras, camera apps on mobile phones, and digital imagery have become extremely popular—so popular that almost all traditional film camera manufacturers have switched solely to digital or gone out of business. This meteoric rise has led to an increase in the number of applications that can handle digital imagery. Linux, thanks to its rapid pace of development, is now highly regarded as a multimedia platform for editing digital images.

By default, Ubuntu installs the useful Shotwell Photo Manager. This application is similar to other photo managers, such as iPhoto, and includes simple tools that are adequate for many users, such as red-eye reduction, cropping, color adjustment, and the ability to interact with online photo hosts such as Facebook, Flickr, and Instagram.

The GNU Image Manipulation Program

One of the best graphics clients available is the GNU Image Manipulation Program (GIMP). GIMP is a free, GPL-licensed image editor with sophisticated capabilities that can import and export more than 30 different graphics formats, including files created with Adobe Photoshop. It is often compared with Photoshop, and GIMP represents one of the first significant successes of GNU Project. Many images in Linux were prepared using GIMP.

GIMP is not installed by default, but you can easily install it from the Ubuntu software repositories.

You see an installation dialog box when GIMP is started for the first time, followed by a series of dialog boxes that display information regarding the creation and contents of a local GIMP directory. This directory can contain personal settings, preferences, external application resource files, temporary files, and symbolic links to external software tools used by the editor.

What Does Photoshop Have That GIMP Does Not?

Although GIMP is powerful, it does lack two features Adobe Photoshop offers that are important to some graphics professionals.

The first of these is the capability to generate color separations for commercial press printers (CMYK, for the colors cyan, magenta, yellow, and key [or black]). GIMP uses RGB (red, green, and blue), which is great for video display but not so great for printing presses. The second feature GIMP lacks is the use of Pantone colors (a patented color specification) to ensure accurate color matching. These deficiencies might not last long. A CMYK plug-in is in the works (an early version is available from https://cue.yellowmagic.info/softwares/separate-plus/index.html), and the Pantone issues are likely to be addressed in the near future, as well.

If these features are unimportant to you, you will find GIMP to be an excellent tool. If you must use Adobe Photoshop, you might want to explore using Wine or CodeWeavers; there have been consistent reports of success running Photoshop on Linux with these tools. Bear in mind, though, that both Ubuntu and Photoshop release regularly, so check www.winehq.org and www.codeweavers.com for current info before assuming it will work.

Using Scanners in Ubuntu

With the rise of digital photography, there has been an equal decline in the need for image scanners. However, there are still times when you want to use a scanner, and Ubuntu makes it easy with a program installed by default called Simple Scan. Simple Scan is designed to do one thing: scan photos or documents easily. It has few settings or options but does all the things most people would want or need.

You can also use many types of image scanners with GIMP, which is likely to be the choice of people who like to tinker with settings and options or who need greater flexibility than is offered by Simple Scan. If it wasn’t installed when you installed GIMP, install the xsane package. Then, when you scan from GIMP, you will have an abundance of settings and options that you can use. You can also use XSane by itself.

Working with Graphics Formats

Image file formats are developed to serve a specific technical purpose (lossless compression, for example, where the file size is reduced without sacrificing image quality) or to meet a need for a proprietary format for competitive reasons. Many file formats are covered by one or more patents. For example, at one time the GIF format fell into disfavor with the open source crowd because the patent holder waited a while before deciding to enforce his patent rights rather than being up front with requests for patent royalties. The GIF format is no longer patented, however.

If you want to view or manipulate an image, you need to identify the file format so you can choose the proper tool for working with the image. The file’s extension is your first indicator of the file’s format. The graphics image formats supported by the applications included with Ubuntu include the following:

BMP (.bmp)—Bitmapped graphics, commonly used in Microsoft Windows

GIF (.gif)—CompuServe Graphics Interchange Format

JPG (.jpg)—Joint Photographic Experts Group

PCX (.pcx)—IBM Paintbrush

PNG (.png)—Portable Network Graphics

SVG (.svg)—Scalable Vector Graphics

TIF (.tif)—Tagged Image File format

You can find an extensive list of image file extensions in the man page for ImageMagick, an excellent application included with Ubuntu, which you read more about in upcoming sections of this chapter.

Tip

Ubuntu includes dozens of graphics conversion programs in its software repositories that are accessible through the command line and from a graphical user interface (GUI), and there are few, if any, graphics file formats that cannot be manipulated when using Linux. These programs can be called in Perl scripts, shell scripts, or command-line pipes to support many types of complex format-conversion and image-manipulation tasks. See the man pages for the ppm, pbm, pnm, and pgm families of commands. Also see the man page for the convert command, which is part of the extremely capable ImageMagick suite of programs.

Sometimes, a file you want to manipulate in some way is in a format that cannot be used by either your graphics application or the final application. The solution is to convert the image file—sometimes through several formats. The convert utility from ImageMagick is useful, as is the netpbm family of utilities. If it is not already installed, you can easily install ImageMagick from the Ubuntu repositories; the netpbm tools are always installed by default.

convert is super simple to use from the command line. Here is an example:

matthew@seymour~:$ convert image.gif image.png

The convert utility converts between image formats recognized by ImageMagick. You can also manipulate color depth and size during the conversion process. You can use ImageMagick to append images, surround them with borders, add labels, rotate and shade them, and perform other manipulations well suited to scripting. Other commands associated with ImageMagick include display, animate, identify, and import. The application supports more than 130 different image formats (all listed in the man page for ImageMagick).

The netpbm tools are installed by default because they compose the underpinnings of graphics format manipulation. The man page for each image format lists related conversion utilities; the number of those utilities gives you some indication of the way each format is used and shows how one is built on another:

ppm—The man page for .ppm, the portable pixmap file format, lists 47 conversion utilities related to .ppm. This makes sense because ppm is considered the lowest common denominator for color image files. It is therefore often used as an intermediate format.

pgm—The man page for .pgm, the portable graymap file format, lists 22 conversion utilities. This makes sense because .pgm is the lowest common denominator for grayscale image files.

pnm—The man page for .pnm, the portable anymap file format, lists 31 conversion utilities related to it. However, there is no format associated with .pnm because it operates in concert with .ppm, .pgm, and .pbm.

pbm—An examination of the man page for .pbm, the portable bitmap file format, reveals no conversion utilities. It’s a monochrome format and serves as the foundation of the other related formats.

The easiest way to resize or rotate image files is to install the nautilus-image-converter package from the repositories. This enables you to right-click an image when you are viewing files in the File Browser (for example, from Places, Pictures) and choose menu options to resize or rotate one or multiple images without opening another program.

Capturing Screen Images

You can use graphics-manipulation tools to capture images that are displayed on your computer screen. Although this technique was used for the production of this book, it has broader uses; there is truth to the cliché that a picture is worth a thousand words. Sometimes showing an example is easier than describing it.

You can use a captured screen image (also called a screen grab or a screenshot) to illustrate an error in the display of an application (a font problem, for example) or an error message that is too complex to copy down by hand. You might just want to share an image of your beautifully crafted custom desktop configuration with your friends or illustrate your written documents.

When using the default desktop, you can take advantage of the built-in screenshot mechanism (gnome-screenshot). You can use this tool by pressing the Print Screen key. (Alt+Print Screen takes a screenshot of only the window that has focus on a desktop.) Captured images are saved in PNG format.

Other Graphics Manipulation Options

If you have very specific requirements for working with graphics, you may find one of the following options better suits your needs than the preceding general options and comments. Some, but not all, of these are in the Ubuntu repositories:

Blender—A 3-D image and animation editor that you can find at www.blender.org

CinePaint—A powerful and complex tool used by many Hollywood studios that you can find at www.cinepaint.org

darktable—A RAW editor that can be found at www.darktable.org

digiKam—Photo management software that can be found at www.digikam.org

Hugin—A panoramic photo stitcher that can be found at https://hugin.sourceforge.net

Inkscape—A vector graphics creation and editing tool that you can find at https://inkscape.org

Krita—A raster graphics creation and editing tool that you can find at https://krita.org

POV-Ray—A powerful and complex 3D graphics program that uses ray tracing and can be found at www.povray.org

Radiance—Intended for the analysis and visualization of lighting in design and can be found at www.radiance-online.org

Xara Xtreme—A general-purpose graphics editor that you can find at www.xaraxtreme.org

Using Digital Cameras with Ubuntu

Most digital cameras used with Ubuntu fall into one of two categories: webcams or digital cameras and phone cameras. Ubuntu supports both types. Other types of cameras, such as surveillance cameras that connect directly to a network via wired or wireless connections, need no special support (other than a network connection and viewing software) to be used with a Linux computer.

Ubuntu supports hundreds of different digital cameras, from early parallel-port (CPiA chipset-based) cameras to today’s USB-based cameras. You can even use Intel’s QX3 USB microscope with Ubuntu.

Handheld Digital Cameras

Because of the good development carried out in the Linux world, you can plug almost any digital camera or camera phone in to your computer through a USB interface, and Ubuntu automatically recognizes the camera as a USB mass storage device. You can even set Ubuntu to recognize when a camera is plugged in so that it automatically imports your photographs for you.

Using Shotwell Photo Manager

Shotwell Photo Manager, mentioned earlier in this chapter, includes simple adjustment tools. You can import your photos into Shotwell, assign tags to them, sort and arrange them, and even upload them to your favorite Internet photo-hosting sites such as Instagram.

Burning CDs and DVDs in Ubuntu

Linux is generally distributed via the Internet as disc images called ISOs that are ready to be written to CDs or DVDs. Therefore, learning how to burn discs is essential if you have to download and install a Linux distribution. You can use CDs and DVDs to do the following:

Record and store multimedia data, such as backup files, graphics images, and music.

Rip audio tracks from music CDs and compile your own music CDs for your personal use. (Ripping refers to extracting music tracks from a music CD.)

Although USB storage devices such as thumb drives are making CDs and DVDs almost as rare as floppy disks, they aren’t quite gone, and many people still find them useful. As long as that remains true, we want to make sure this information is available.

Creating CDs and DVDs with Brasero

Although adequate for quick burns and use in shell scripting, the command-line technique for burning CDs and DVDs is an awkward choice for many people (but we still cover it later in this chapter because others find it useful and desirable). Fortunately, Ubuntu provides several graphical clients; the most useful is Brasero.

Brasero is an easy-to-use graphical CD and DVD burning application that is installed by default. Brasero takes a project-based approach to disc burning, opening up with a wizard that offers four different tasks that people commonly want to do. Brasero also remembers previous “projects,” enabling you to quickly create several copies of a disc, which is ideal if you’re planning to pass on copies of Ubuntu to your friends and family.

Burning a data CD or DVD is as easy as selecting the option in the opening screen and dragging and dropping the files you want to include from the directory tree on the left to the drop area on the right. If you insert a blank CD or DVD in your writer, Brasero keeps an eye on the disc size and tells you when you reach or exceed the limits. It also creates ISO files, which are disc images that contain everything that would exist on the medium if you burned a real CD or DVD in one file that can be mounted by computer file systems, which is useful if you want to create multiple copies of the same disc or if you want to share a disc image, perhaps using a USB thumb drive or over the Internet.

Finally, click the Burn button, input a label for the disc, and Brasero starts creating your new CD or DVD or image file. How long it takes to create a CD or DVD depends on the amount of data you are writing and the speed of your drive.

Creating CDs from the Command Line

In Linux, creating a CD at the command line is a two-step process. You first create the ISO9660-formatted image, and then you burn or write the image onto the CD. The ISO9660 is the default file system for CD-ROMs.

Use the mkisofs command to create the ISO image. The mkisofs command has many options (see the man page for a full listing), and you use the following for quick burns:

matthew@seymour~:$ mkisofs -r -v -J -l -o /tmp/our_special_cd.iso /
source_directory

The options used in this example are as follows:

-r—Sets the permission of the files to more useful values. UID and GID (individual and group user ID requirements) are set to 0, all files are globally readable and searchable, and all files are set as executable (for Windows systems).

-v—Displays verbose messages (rather than terse messages) so that you can see what is occurring during the process; these messages can help you resolve any problems that occur.

-J—Uses the Joliet extensions to ISO9660 so that your Windows-using buddies can more easily read the CD. The Joliet (for Windows), Rock Ridge (for UNIX), and HSF (for Mac) extensions to the ISO9660 standard are used to accommodate long filenames rather than the eight-character DOS filenames that the ISO9660 standard supports.

-l—Allows 31-character filenames; DOS does not like it, but everyone else does.

-o—Defines the directory where the image will be written (that is, the output) and its name. The /tmp directory is convenient for this purpose, but the image could go anywhere you have write permissions.

/source_directory—Indicates the path to the source directory—that is, the directory containing the files you want to include. There are ways to append additional paths and exclude directories (and files) under the specified path; it is all explained in the man page, so check there if you need that level of complexity. The simple solution is to construct a new directory tree and populate it with the files you want to copy and then make the image using that directory as the source.

Many more options are available, including options to make the CD bootable.

After you have created the ISO image, you can write it to the CD with the cdrecord command:

matthew@seymour~:$ sudo cdrecord -eject -v speed=12 dev=0,0,0 /tmp/
our_special_cd.iso

The options used in this example are as follows:

-eject—Ejects the CD when the write operation is finished.

-v—Displays verbose messages.

speed=—Sets the speed; the rate depends on the individual drive’s capabilities. If the drive or the recordable medium is poor, you can use lower speeds to get a good burn.

dev=—Specifies the device number of the CD writer.

Note

You can also use the blank = option with the cdrecord command to erase CD-RW discs. The cdrecord command has fewer options than mkisofs does, but it offers the -multi option, which enables you to make multisession CDs. A multisession CD enables you to write a data track, quit, and then add more data to the CD later. A single-session CD can be written to only once; any leftover CD capacity is wasted. Read about other options in the cdrecord man page.

Current capacity for CD media is 700MB of data or 80 minutes of music. (There are 800MB/90-minute CDs, but they are rare.) Some CDs can be overburned—that is, recorded to a capacity in excess of the standard. The cdrecord command and some graphical programs are capable of overburning if your CD-RW drive supports it. You can learn more about overburning CDs at www.cdmediaworld.com/hardware/cdrom/cd_oversize.shtml/.

Creating DVDs from the Command Line

There are several competing formats for DVD, as follows:

DVD+R

DVD-R

DVD+RW

DVD-RW

Differences in the + and - formats mostly have to do with how the data is modulated onto the DVD itself, with the + format having an edge in buffer underrun recovery. How this is achieved affects the playability of the newly created DVD on any DVD player. The DVD+ format also has some advantages in recording on scratched or dirty media. Most drives support the DVD+ format. As with any other technology, your mileage may vary.

We focus on the DVD+RW drives because most drives support that standard. The software supplied with Ubuntu has support for writing to DVD-R/W (rewritable) media, as well. It will be useful for you to review the DVD+RW/+R/-R[W] for Linux HOWTO at https://fy.chalmers.se/~appro/linux/DVD+RW/ before you attempt to use dvd+rw-tools, which you need to install to enable DVD creation (also known as mastering) and the cdrtools package. You can ignore the discussion in the HOWTO about kernel patches and compiling the tools.

Tip

The 4.7GB size of DVD media is measured as 1,000 megabytes per gigabyte instead of the more traditionally used, but not entirely accurate, 1,024 megabytes per gigabyte (more appropriately written GiB), so do not be surprised when the actual formatted capacity, about 4.4GB, is less than you anticipated. Most hard drive manufacturers have also made the switch. dvd+rw-tools does not allow you to exceed the capacity of the disc.

You need to have the dvd+rw-tools package installed, as well as the cdrtools package. The dvd+rw-tools package contains the growisofs application (which acts as a front end to mkisofs) and the DVD formatting utility.

You can use DVD media to record data in two ways. The first way is much the same as that used to record CDs in a session, and the second way is to record the data as a true file system, using packet writing.

Session Writing

To record data in a session, you use a two-phase process:

  1. Format the disc with dvd+rw-format /dev/scd0 (which is necessary only the first time you use a disc, where /dev/scd0 is the device name for your drive).

  2. Write your data to the disc with growisofs -Z /dev/scd0 -R -J /your_files.

The growisofs command simply streams the data to the disc. For subsequent sessions, use the -M argument rather than -Z. The -Z argument is used only for the initial session recording; if you use the -Z argument on an already-used disc, it erases the existing files.

Caution

Some DVDs come preformatted; formatting them again when you use them for the first time can make the DVDs useless. Always be sure to carefully read the packaging your DVD comes in to ensure that you are not about to create another coaster.

Tip

Writing a first session of at least 1GB helps maintain compatibility of your recorded data with other optical drives. DVD players calibrate themselves by attempting to read from specific locations on the disc; you need data there for the drive to read it and calibrate itself.

Also, because of limitations to the ISO9660 file system in Linux, do not start new sessions of a multisession DVD that would create a directory past the 4GB boundary. If you do so, it causes the offsets used to point to the files to “wrap around” and point to the wrong files.

Packet Writing

Packet writing treats the CD or DVD like a hard drive, in which you create a file system (like ext3) and format the disc and then write to it randomly as you would to a conventional hard drive. This method, although commonly available on Windows-based computers, was long considered experimental for Linux and was never used much anyway because USB thumb drives became common before the use of CD or DVD-RWs had the opportunity. We do not cover this in detail here, but a quick overview is appropriate.

Tip

DVD+RW media are capable of only about 1,000 writes, so it is useful to mount them with the noatime option to eliminate any writing to update their inodes or simply mount them as read-only when it’s not necessary to write to them.

Piping data to the growisofs command is possible:

matthew@seymour~:$ sudo your_application | growisofs -Z /dev/scd0=/dev/fd/0

Burning from an existing image (or file, or named pipe, or device) is also possible:

matthew@seymour~:$ sudo growisofs -Z /dev/scd0=image

The dvd+rw-tools documentation, found at /usr/share/doc/dvd+rw-tools/index.html, is required reading before your first use of the program. We also suggest that you experiment with DVD-RW (rewritable) media first because if you make mistakes, you can still reuse the discs instead of creating several new coasters for your coffee mug.

Viewing Video

You can use Ubuntu tools and applications to view videos.

Video Formats

Ubuntu recognizes a variety of video formats. The formats created by the MPEG group, Apple, and Microsoft dominate, however. At the heart of video formats are the codecs—the encoders and decoders of video and audio information. Codecs are typically proprietary, but free codecs do exist. Here is a list of the most common video formats and their associated file extensions, although many more exist:

AVI (.avi)—The Windows audiovisual format

FLV (.flv)—Used in Adobe Flash; supports H.264 and others

MPEG (.mpeg)—The MPEG video format; also known as .mpg

MOV (.mov)—A QuickTime video format

OGV/OGG (.ogv/.ogg)—The Ogg Theora freely licensed video format

QT (.qt)—The QuickTime video format from Apple

WEBM (.webm)—Google’s royalty-free container for audio and video (such as in VP8 format) designed for HTML5

Viewing Video in Linux

Out of the box, Ubuntu does not support any of the proprietary video codecs due to licensing restrictions. However, this functionality can be acquired if you install the ubuntu-restricted-extras package from the Ubuntu software repositories. You can learn more about it at https://help.ubuntu.com/community/RestrictedFormats.

You can watch video files and video DVDs with Totem Movie Player, which is installed by default. This may also be used with several other file formats and for both video and audio and is especially well suited for almost anything you are likely to want to use after you install the ubuntu-restricted-extras package.

A more powerful video viewer application is VLC, which is available in the software repositories and also for other operating systems, like Windows and macOS. VLC uses its own set of audio and video codecs and supports a wider range of video formats than any other media player we have encountered. If VLC can’t play it, it probably can’t be played.

Recording and Editing Audio

Recording and editing audio files in Ubuntu is possible using a number of applications. For professional-grade production, you will want a digital audio workstation (DAW) like Ardour or LMMS. For most of us, something simpler like Audacity will suffice and still produce excellent results. These are often used to record and edit audio tracks that are then imported into one of the video editors described in the following section.

These are the most respected audio recording and editing applications for Linux:

Audacity—This cross-platform (Linux, macOS, and Windows) audio editor for Linux is one of the most commonly used and can be found at www.audacityteam.org/.

Ardour—This cross-platform (Linux, macOS, and Windows) DAW app is used by many professionals and can be found at https://ardour.org/.

Cecilia—This cross-platform (Linux, macOS, and Windows) audio signal processing software is aimed at sound designers and can be found at https://ajaxsoundstudio.com/software/cecilia/.

LMMS—Also cross-platform (Linux, macOS, and Windows) this DAW is made and maintained by musicians; find it at https://lmms.io/.

Mixxx—This virtual DJ tool can be found at www.mixxx.org/.

Rosegarden—Too simple to be called a DAW, but not entirely basic, this audio editor might be appreciated by casual users and can be found at www.rosegardenmusic.com/.

Most of these are available in the Ubuntu repositories, so check there before you install from the website.

Editing Video

Recording and editing video in Ubuntu is possible using a number of applications. For professional-grade production, you will want something like Blender. For most of us, something simpler like PiTiVi will suffice and still produce excellent results.

These are the most respected video editing applications for Linux:

Avidemux—This tool designed for people with simple needs can be found at https://fixounet.free.fr/avidemux/.

Blender—This cross-platform (Linux, macOS, and Windows) professional-grade video production package can be found at www.blender.org.

Cinelerra—This tool has been around for years but recently made some big changes and is rebuilding its community. Find it at https://cinelerra.org.

DaVinci Resolve—This cross-platform (Linux, macOS, and Windows) professional-grade video production package is commonly used in Hollywood and can be found at www.blackmagicdesign.com/products/davinciresolve/.

Kdenlive—This comes from the KDE folks and can be found at https://kdenlive.org.

Lightworks—This cross-platform (Linux, macOS, and Windows) professional-grade video production package can be found at www.lwks.com/.

OpenShot Video Editor—This editor can be found at www.openshot.org.

PiTiVi—Find this tool at www.pitivi.org/.

Shotcut—This cross-platform (Linux, macOS, and Windows) editor can be found at https://shotcut.org/.

Most of these options are in the Ubuntu repositories, so check there first, but some you have to download directly from their websites. Not all of them are free software.

References

www.videolan.orgA multimedia player project with good documentation that will play almost anything

www.gimp.orgHome page of GIMP (GNU Image Manipulation Program)

www.sane-project.orgHome page of the SANE (Scanner Access Now Easy) project

www.imagemagick.orgHome page for ImageMagick

https://gimp.net/tutorials/Official tutorials for GIMP

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.148.117.212