From Windows to a Debian GNU/Linux desktop, sans the geekness
The Original - since June 2006 - Run Debian GNU/Linux and be Happy.
Thank you, developers, for the bcmwl43xx drivers. Wireless on my Debian Etch desktop is solid and was painless. Rock On.
 

this site  web    
The Goods
Home Page
Forum
debiantutorials.org Licensing
Website Disclaimer
Site Map
Links
w32codecs
How to really switch Mom to Linux
Documentation
Release Notes
Developers Reference
Debian Survival Guide
Debian Books
Manuals
Debian Security
Linux Dictionary
Debian "Testing"
Leaving Windows
Resize Windows Partition for Dual-Booting
Back up your Partitions, Imaging
Still Suffering Windows
Keep your Money, your Sanity and your Self-Respect
Installing Debian Etch
Debian GNU/Linux (Etch) Installation Tutorial
My Etch Desktop in 150 words or Less
Upgrade Sarge to Etch
Configure Debian Etch
Multimedia on Debian Etch
Install nVIDIA 3d driver on Debian Etch
Wireless on Debian Etch: Broadcom - bcm43xx
Klikit, Klikit good
Handy Little Things
Package Management
Peripherals & Debian Etch
Set up your web cam on Debian Etch
Printing in Debian (Browsers, too)
Your ipod on Debian Etch
Atheros Wireless
Broadcom Wireless
Etch on the Desktop
Visitors apache log reader
Andrea del Sarto
(Poetry snippet for your Ignorant Ass)
Beagle on Debian Etch
Convert Digital Camera .mov Files
Some Debian Etch System Files
My Debian Desktop
Using wget
Copying or Ripping DVD's in Linux (Debian)
Reset root password
So, you want to run Linux
Convert mov files
Securing Debian
Password Protect Grub Boot Loader
Debian Etch as Server
Debian Linux file and print server: NFS, CUPS, LPR
Stream your music with gnump3d
Simple local web server on Etch
Web Server on Debian Etch
Miscellaneous Linux
Linux Conventions
Can People read my Documents?
Install Software on your Linux System (Debian)
Partition your Hard Drive
History of debiantutorials.org
A School Without Windows (PDF)
How to talk to Tech Support
Linux Demystified
Off Topic
A DRM Dissertation
An Artist's take on Downloading Music
An Insane and Damaging lack of Understanding
On Children and Drugs
On Visitor Q
Intellectualism for the Masses
debiantutorials.org stats
Smart Crows
How old are We?
Why we run Debian
How not to ask an egomaniac like myself for an article
Sarge Specific Tutorials
Installing Debian Sarge, net install, no DHCP
Easy Graphical Sarge Installation Tutorial
Rebuilding my Debian Sarge Machine
Multimedia for Sarge
w32codecs
nVIDIA on Sarge
Trouble Burning discs: cdrecord
Athcool on Debian Sarge
Where are my Newly Installed Apps?
Easy LAMP on Debian Sarge
Archive
Sites Worth a Look
Debian Mailing List
spidercider
Linux Comparison at PolishLinux.org
Thin Clients
Common Commands
Common iptables Filtering
iwouldntsteal.net
Big-Ass iptables info Page
iptables Port Reference
README: Firewall
General Security Tips
Newbie Security
Kickass RFC's
Data Breaches
Hemp Seed Oil
linux-hardcore.com
Search for a local Computer Tech
Evelyn's Linux Cheat Sheet
Lotsa (687) Linux Commands

Favorite Utilities

Super Grub Disc
System Rescue Disc
News Feeds
visitors run
operating system
Linux
Windows
Mac
Unknown
BSD
53.3 %
42.2 %
2.10 %
1.90 %
0.10 %

web browser
Firefox
Mozilla
IE
Opera
Epiphany
41.9 %
22.0 %
21.9 %
4.30 %
3.60 %
updated 22jun08
What's Root?
Root is the super-ultra-mega. All system commands on a Linux box need to be done as root. This means installing software and changing files not in your /home directory, etc. In your terminal, if you're logged in already become root by typing su at your $ prompt, then the root password. Log in the system directly as root from a terminal, but not the graphical login. # shows root.
dediantutorials.org is ad-free
debiantutorials.org has always been and will always remain ad-free I make no unrealistic demands that you "owe me for my time and bandwidth" in order to use my site. I detest all those scumbags out there that think that they are owed something for putting a web site up. I do debiantutorials.org because I love it. You owe me nothing.
If you can walk and chew gum at the same time, you can run Linux
We have 7 guests online

    Wednesday, July 23, 2008      Contact  Etch Info  what's new in Etch  Linux Demystified  Our Forum
Multimedia for Debian Sarge PDF Print E-mail
Configure Debian Sarge - Configure Multimedia
Written by machiner   
Monday, 23 May 2005
[EDIT: Debian GNU/Linux - Etch: w32codecs are no longer needed for mplayer and wmv9 - October, 2006]

The thing is - What's the fun if you can't hear any music or watch videos...ey? Multimedia in Debian GNU/Linux is a snap. As mentioned earlier, Debian supports more hardware out-of-the-box than does your Windows. In about all situations you merely have to install a few packages (easy), run a command or 2 and you're in business...if that. Keep reading...

These tutorials based on the hardware that I have in my home-made box. Let me describe it for you - it's pretty common stuff:

  • Abit NF7-M motherboard - Nforce2-MCP
  • AMD AthlonXP 2700+ CPU
  • 1 GB of Corsair 3200 DDRAM Memory
  • big-ass WD IDE Hard drives

My motherboard comes with peripherals installed on the board. Example, my video, sound, LAN are components built right on the board so there is no need for me to install PCI cards. Sure, you can, and sure, they're probably supported. As well, the chipset for my board is nFORCE, and that same chipset is on many other motherboards. There is terrific support for it in the Linux world.

Now that you know what sort of hardware I base these articles on, read on about how easy it is for my Debian box to enjoy multimedia.

It is my intention to help people migrate from Windows to Linux (Debian) so these tutorials are written with a GUI reference and functionality in mind. The command line stuff is faster and just as easy, and I'll include a little of that but let's take it one step at a time.

You already have a movie/music player installed called Totem (Movie Player). It works really well, can read streams, DVD's (with a menu), play your .oggs and .mp3's and a whole lot more. We just want to add some functionality to it. Let's first add another software repository to our

/etc/apt/sources.list
file. We'll do this from the command line - because it's cooler, and you want to know. Open your terminal (run - [alt + F2] gnome-terminal) and become root.

# nano /etc/apt/sources.list

in the file add the following text:

 #multimedia codecs
deb http://www.debian-multimedia.org/ etch main  
 #deb http://www.debian-multimedia.org/ sid main 
 #deb http://www.debian-multimedia.org/ etch main 

Remember how to save and close...CTRL + X, Y, enter.

In your terminal, update Apt:

# apt-get update

Now it's as simple as either apt-get install ... from the command line or using Synaptic for a pretty front end. We'll go with Synaptic this time.

Applications-->System Tools-->Synaptic Package Manager

The first thing to do when Synaptic opens is to click the Reload icon in the Menu Bar. Go ahead, I'll wait...OK, finished. Let's search for a few packages. Go ahead and click the Search icon from the menu, or interact with your keyboard and type CTRL + F to get the same search box opened.

The first item we'll need is w32codecs. When that's found right-click on it to mark it for installation.

Let's search for some others, here's the list:

  • libdvdcss2
  • gstreamer0.8-plugins
  • ffmpeg
  • libmikmod2
  • mozplugger
  • alsa-base
  • alsa-utils
  • easytag
  • msttcorefonts
  • xmms

There will be dependancies, please choose to install them. Feel free to throw caution to the wind with your first Debian install, you've seen how easy it is to install. Some folks like to say leave well enough alone; Ahh well - if it ain't broke, smash it to pieces, brew the coffee and have at it.

Go ahead and install those packages in Synaptic. If you have a fast internet connection, you're probably finished already. It only takes a minute to download and then install. I love this whole software installation setup. As of right now (following this install) you can: play dvd's, listen to music, stream online music. Speaking of streaming - go ahead and install Streamtuner...or not.

You probably want to rip cd's, ey? Let's install that app, too. In Synaptic find and install Sound-Juicer...or Grip, or RipperX. I like Sound-Juicer.

We're almost finished. If you're like a zillion others you want multimedia functionality in your web browser as well. Since we're using Firefox we installed mozplugger and now we'll set it up. Since we want this RIGHT NOW we'll use the command line. Deep breath, exhale...

We'll be modifying one file and deleting another that will automagically be remade. Open your terminal. Become root. Type, or just copy and paste the following:

# cp /etc/mozpluggerrc mozpluggerrc.old

The GUI part:

#gedit /etc/mozpluggerrc

Look for the following paragraph:

application/x-mplayer2: wmv,asf,mov: Windows Media
video/x-ms-asf: asf,asx,wma,wax,wmv,wvx: Windows Media
video/x-ms-wmv: wmv: Windows Media

Replace the paragraph with the following: code.

Save the file and close gedit. Now type the following command:

# rm ~/.mozilla/pluginreg.dat

# rm ~/.mozilla/firefox/pluginreg.dat

Don't worry if the file isn't in the /.mozilla directory. It'll be in the Firefox directory, though.

# exit, then exit again

Now you can open Firefox and goto Apple Trailers and waste all the time you want looking at movie previews.

Some people have recently reported that they are seeing an empty white box instead of Totem opening on pages like Apple Trailers. I've seen this as a profiles problem, perhaps some web research will yield more information. I just rebuilt my kid's computer with Sarge 3.1, Son's profile works fine with mozplugger, for Daughter's I installed the MediaPlayerConnectivity extension. This works a charm. Although I'm not too happy having to use an extension it'll do for the moment. I recently rebuilt Firefox (not installing via apt) and nuked my old profile choosing to make a new one. This multimedia guide using mozplugger and totem-xine works like a charm, no extra Firefox extensions necessary

If you want to see Flash stuff in your browser it's even easier. Navigate to a site that has flash; games or whatever. The first time you try to view Flash Firefox will prompt you to install the plugin. Go ahead, it only takes a second.

Now you can spend time setting up your new multimedia packages. Open each one and fiddle around in the preferences of each. If there's a problem, send me an email, we'll get you straight.

If you're finding that after installing all this stuff that you have no sound, or video, or your shoelaces came untied, try this 2 part ditty, works a charm:

Open your terminal and become root. Now type the following command:

#alsaconf

Go through the dialog and the program will close itself. I usually just click enter a few times and I'm finished.

Here is info straight from Alsa on the Sound Blaster Live setup.

Now lets open our multimedia properties:

Applications --> Desktop Preferences --> Advanced --> Multimedia Systems Selector

  

Choose from the drop-down menu which sound driver works for your machine. You can see that I use ALSA. It might be that you need to choose OSS, or ESD. Choose the one that gives you a tone. For the Video part, choose the same options that I have from the drop-down selections.

A PS for those of you adding additional users to your machine: When adding your little sister (d00d!) as a user, click that third tab in the Settings and don't forget to add her to the audio group. In fact, here's the list of groups to add all new users to:

  • audio
  • cdrom
  • dialout
  • floppy
  • plugdev
  • video

If you don't do this your little sister will NAG YOU NO END!!

rock on  machiner 23 may 05

ADDENDUM: 19 August 2005, 07:12 :

Want to know what I just did? Yesterday I spent all day partitioning, formatting, and rebuilding my Debian box. I wanted a new partition scheme, current backup, and I had other reasons; aside from my geekness of course. I had to backup and move around a lot of data. Tar rules, mc rules.

Anyway it's next-day, I'm installed and good, I just wanted to reference my simple guides here at debiantutorials.org and follow the instructions. Working pretty well thus far. I'm on the multimedia configuration page right now and I noticed that I forgot to install a cd ripper. So I took the 11 seconds and did just that...

ALT + F2 xterm
myname@mybox:~$ su

mybox:/home/myname# apt-get install sound-juicer

Even if you're the "hunt-and-peck" typist it'll take you inside of 30 seconds to complete this task: install software on Debian GNU/Linux. AYFKM? Linux rocks in all kinds of ways.

ADDENDUM2: 12 September 2005

I have a Panasonic DMC-FZ3 digital camera. When my family takes a trip or does something more fun than should be allowed we take a bunch of photos and a few movies. It takes movies at 30 FPS with sound and they're pretty good. However, when I play back with Totem the movies are choppy. A few weeks ago I installed VLC with the Mozilla plugin to see how it stacked up to what I recommend in this tutorial. Well, it was terrific, but VLC didn't play all of the codecs. I wasn't interested in tweaking VLC, the mozplugger/totem/firefox/w32codecs/ffmpeg combo works just fine. However, I did play one of the movies I shot with my little camera. VLC played the movies flawlessly - the sound was in sync, and there was no choppiness to the movies. Bravo, VLC. I'm keeping VLC just for that purpose. Totem rocks for all other purposes. Just thought you'd like to know.

Just an aside; I never understood why people favor Mplayer over Xine. On my Debian system (common hardware) Mplayer is less than adequate. With Xine I never see so much as a glitch. I think it's a case of "popularity contest" just like in high school...one cool kid liked Mplayer better for whatever reason and now it's all anybody talks (or writes) about when referring to multimedia in Linux. That's all - just my $0.02

[UPDATE - FEB 2006]: Please see this quick tutorial on how I can see the Apple Trailers again with Mplayer. Watch me pull the crow feathers from my mouth...





Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites!
Trackback(0)
Comments (16)Add Comment
minert was here
written by Guest, May 23, 2005
Good, concise tutorial. Keep it up...

ok,ok...it\'s machiner - I\'m just testing
dex
written by Guest, August 07, 2005
very informative thank you
What\'s about checksum?
written by Guest, September 06, 2005
\"...konnte nicht heruntergeladen werden
MD5-Summe stimmt nicht\"
Realpayer: wrong checksum
w32codecs: \"
and so on.

what\'s wrong? :?
...
written by Guest, September 18, 2005
New directories names. Now stable is sarge, testing is etch and unstable is sid. Please update your sources.list

(deb ftp://ftp.nerim.net/debian-marillat/ sarge main
deb ftp://ftp.nerim.net/debian-marillat/ sid main
deb ftp://ftp.nerim.net/debian-marillat/ etch main)
Super Duper Debian
written by Guest, October 08, 2005
How nice to find nice easy Debian Tutorials. So many sites seem to make Linux a black art, even for those like me who belive that are PC experts. Well done, I am really impressed!!
No Apple Trailers
written by Guest, January 15, 2006
Add me to the bunch that can\'t get Apple Trailers to play. I get the white box on the browser and Totem opens up. But no video. I don\'t even know where to start to correct this.

I do want to give you credit. Everything else works. Can\'t thanks you enough. Even though this was for the Sarge version, it worked for my Etch set-up. So I guess I can\'t complain too much. But if you\'ve got any tips on how I can get Totem to work with Apple Trailers...

Once again, Thanks for a job well done.
apple trailers
written by Guest, January 15, 2006
Yeah -- me, too. Can\'t see any more trailers. We Linux users have to wait for updates now.

It\'ll happen...

--machiner
Apple Trailers
written by Guest, February 03, 2006

for those of you having problems viewing quicktime movies after following this tutorial, simply use synaptic to search for quicktime, and you see libquicktime. Install libquicktime, and voila! it works for me, maybe it will work for you watch...

Thanks for a great tutorial.
tpc247
no dice with libquicktime
written by Guest, February 03, 2006
Glad that worked for you, but it\'s not the answer. Apple updated all of their previews to QT-7. This tutorial works fine for multimedia in Debian and even for Apple Trailers when QT-6 was ok to view their trailers...however, for the time being viewing the trailers at Apple and increasingly more movie sites about the web won\'t be an option. Not happening. Maybe someone knows of something...

I suppose you could install QT through Wine. I think it popped up as a choice to play some multimedia content for me once on one of my installs when I did this.

With me, though - I\'m pretty OK to never see a movie trailer. Man -- look about you with what the web turned into - a \"content\" provider\'s arena -- and then look at the content being provided...now consider \"trusted computing\", DRM, et al...you can keep it.

Sorry - couldn\'t help myself.

happy computing

--machiner
This is really great
written by Guest, February 21, 2006
I ran this yesterday, it got me up and going, but then later I f-ed stuff up and reinstalled.

Today, it mostly gets me working (although I do need the firefox extension you mentioned). However, I have no sound. I didn\'t install alsa-utils because it said it wanted to remove gnome.

Anybody have any advice?
New multimedia repositories
written by Guest, June 04, 2006
Debian Multimedia Packages

see www.debian-multimedia.org
New repository of Christian Marillat

For sarge (stable) i386 packages

Add in your /etc/apt/sources.list

deb http://www.debian-multimedia.org sarge main
or
deb http://www.debian-multimedia.org stable main
Hey all,
written by 'Guest', October 16, 2006
Debian GNU/Linux just keeps getting better and better...
No Worries
written by machiner, December 22, 2006
In the article I write that you may not have that file. It's OK if you don't. I'll bet you installed the browser and are setting it up without already having had used it to view sites that need plugins.

No worries....just open and use Firefox for a while to view media. You'll have the file, then.

You certainly do not need this file, I mention to delete it because this file already has codec settings that will be incorrect after adding plugins. If you've never run the browser before you will not have the file.

A new one will be made when it's necessary
Question
written by 'Guest', December 22, 2006
I get to here:

# rm ~/.mozilla/pluginreg.dat
rm: cannot remove `/root/.mozilla/pluginreg.dat\': No such file or directory
# rm ~/.mozilla/firefox/pluginreg.dat
rm: cannot remove `/root/.mozilla/firefox/pluginreg.dat\': No such file or directory

Why is that?

Thanks,
Linux Newbie
Red Knuckles

benny.bullard at gmail put-a-dot-here com
Works well.
written by 'Guest', December 22, 2006
I must say, however, that upon 1st check, embedded media in IceWeasel 2.0 is working pretty good.

Thanks again,
Linux Newbie,
Red Knuckles

This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
how sweet the sound
written by 'Guest', October 27, 2007
Ah, that test tone was a most welcome sound
Has me grinning all over.

This was the easiest to follow Deb tutorial that I have ever come across.

Very well done

Debugdotcom

Write comment

security code
Write the displayed characters


busy
 
Linux Stuff at digg
How folks arrive at debtoots

direct Address/bookmarks...............79.1 % (woohoo!)
Links from search engines...............17.9 %
links from external pages.................2.70 %
Updated 22jun08

Creative Commons License © debiantutorials.org Thanks for dropping by. I hope you have found this site to be helpful.   Search for a local Computer Tech  debiantutorials.org