How can I make my debian box into a bad ass media player?

So how many of you want to watch quicktime 6 movies?
How about divx?
Want to watch those avi files?

How many of you want to watch basically every movie format out there?
How many of you want to back up your dvds and encode them to any (well
all most) other format?

How many of you want to do it for free and do it in linux?

As ripped from the apt-cache show:
The Ultimate Movie Player For Linux
It plays most mpeg, avi and asf files, supported by many native and
win32 DLL codecs. You can watch VCD, DVD and even DivX movies too. The
another big feature of mplayer is the wide range of supported output
drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, but you can
use SDL (and this way all drivers of SDL) and some lowlevel
card-specific drivers (for Matrox/3dfx/SiS) too! Most of them supports
software or hardware scaling, so you can enjoy movies in fullscreen.

So assuming that this something your interested in and you run debian…

Here is a great quicktime test movie:
http://www.asu.net/bsh/union.mov

First add these lines to your /etc/apt/sources.list

deb http://marillat.free.fr/ testing main
deb http://marillat.free.fr/ unstable main

Or follow the instructions on his site that say:

deb http://marillat.free.fr/ stable main
deb http://marillat.free.fr/ testing main
deb http://marillat.free.fr/ unstable main
deb-src http://perso.wanadoo.fr/debian/ unstable main

I personally use his testing and unstable.

Then do:

apt-get update

Now install these packages for the best media box around:

apt-get install mplayer-686 mplayer-doc mplayer-fonts qt6codecs
avifile-win32-plugin faad libdivxencore0 libdvdcss0 w32codecs

Now say you want to rip dvds and encode them with as many options as
possible?

apt-get install video-dvdrip subtitleripper

With mplayer you will be able to play these files better than with xine.

Also with mplayer comes gmplayer the graphical version of mplayer,
useful and pretty polished in comparison

mplayer can be used in a framebuffer to watch movies on your console 🙂

So if you use fb-dev you don’t even need X for movies!

So who needs crossover for movies anymore? Not you 🙂

Other cool packages are:
lame-extras realplayer zapping

Hope this helps.

(p.s. Christian Marillat is a bad ass!)

Network Cable

Solid vs. Stranded, what’s the difference?

Solid conductor uses 1 solid wire per conductor, so in a 4 pair (8 conductor) roll, there would be a total of 8 solid wires. Stranded conductor uses multiple wires wrapped around each other in each conductor, so in a 4 pair (8 conductor) 7 strand roll, there would be a total of 56 wires.

Solid conductor is useful because it can be punched down onto wall jacks and since it is a single conductor, it seats properly in a insulation displacement connector. Solid is less useful when you are terminating RJ-45 connectors on it because most RJ-45 connectors use 2 prongs which penetrate the conductor. This is bad for solid because it has the tendency to break when it is penetrated. Using a 3 prong connector creates a good connection and doesn’t break the conductor, because the 3 prongs wrap around the conductor instead of penetrating it. We still recommend using stranded for patch cables, even if you have the 3 prong connectors because the most solid connection is made by penetrating multiple stranded connectors. Stranded is much less useful for punching down on wall jacks because the strands do not keep their perfect round shape when thrust into a insulation displacement connector. For the best results, use solid for wall jacks and patch panels. Use stranded for crimp-on connectors.

Fix Ubuntu Putty

First install ssh with synaptic, then if needed:

Modify the
/etc/ssh/sshd_config
file on the server and changed the
‘PasswordAuthentication’ variable from ‘no’ to ‘yes’.
also change no on:
ForwardAgent yes
ForwardX11 yes
Then run
/etc/init.d/ssh restart
to restart the sshd server

Kubuntu – repositories

How to add extra repositories to (K)Ubuntu?

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo nano -w /etc/apt/sources.list
# edit list
apt get update

What to add:
For Kaffeine video codecs: #You can browse it here:
(ftp://ftp.nerim.net/debian-marillat/dists/stable/main/binary-i386/)
Add this line:
deb ftp://ftp.nerim.net/debian-marillat/ stable main
apt get install w32codecs
# and more

For Cinelerra: (needs more testing)
Depositories worked but they miss some packages and make it imposibble to install from here. But here they are anyway.
For i386 processors:
deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid ./
For Pentium4 processors:
deb http://www.kiberpipa.org/~minmax/cinelerra/builds/pentium4 ./
For Athlon processors:
deb http://www.kiberpipa.org/~minmax/cinelerra/builds/athlonxp ./
Apt-source:
deb-src http://www.kiberpipa.org/~minmax/cinelerra/builds/sid ./

Instead try downloading Cinelerra from here:
http://prdownloads.sourceforge.net/heroines/
Then use alien and dpkg.

Q: How to convert .rpm file to .deb file?
sudo alien package_file.rpm
Q: How to install/uninstall .deb file?
#To install .deb file:
sudo dpkg -i package_file.deb
#To uninstall .deb file
sudo dpkg -r package_name

Some more ideas:

You’ll need to add some extra repositories. Can’t remember where MPlayer is located – you could try adding ‘Multiverse’..

Alternatively, here’s my /etc/apt/sources.list – and it covers just about everything!

[CODE]deb cdrom:[Kubuntu 5.04 _Hoary Hedgehog_ – Release i386 (20050407)]/ hoary main restricted

deb [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary main restricted
deb-src [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary-updates main restricted
deb-src [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary-updates main restricted

## Uncomment the following two lines to add software from the ‘universe’
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary universe multiverse
deb-src [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary universe multiverse

deb [url]http://security.ubuntu.com/ubuntu/[/url] hoary-security main restricted
deb-src [url]http://security.ubuntu.com/ubuntu/[/url] hoary-security main restricted

deb [url]http://security.ubuntu.com/ubuntu/[/url] hoary-security universe multiverse
deb-src [url]http://security.ubuntu.com/ubuntu/[/url] hoary-security universe multiverse

# deb [url]http://www.mpe.mpg.de/~ach/kubuntu/hoary/[/url] ./
# deb-src [url]http://www.mpe.mpg.de/~ach/kubuntu/hoary/[/url] ./

# deb [url]http://jrfonseca.dyndns.org/debian/[/url] ./

# deb [url]ftp://ftp.nerim.net/debian-marillat/[/url] stable main
# deb [url]ftp://ftp.nerim.net/debian-marillat/[/url] unstable main
# deb [url]ftp://ftp.nerim.net/debian-marillat/[/url] testing main

# deb [url]http://backports.ubuntuforums.org/backports/[/url] hoary-backports main universe restricted
# deb [url]http://backports.ubuntuforums.org/backports/[/url] hoary-extras main universe restricted

# deb [url]http://apt.cerkinfo.be/[/url] unstable main contrib non-free
# deb-src [url]http://apt.cerkinfo.be/[/url] unstable main contrib non-free

# Java – neustes SDK, JRE von Sun
# deb [url]ftp://neacm.fe.up.pt/pub/ubuntu-java/[/url] binary/

# MPlayer, w32codecs, libdvdcss2, Transcode, Avidemux
# deb [url]ftp://ftp.nerim.net/debian-marillat/[/url] unstable main

# Bootspash Quelle
# deb [url]http://www.bootsplash.de/files/debian/[/url] unstable main

# unstable stuff

# deb [url]http://www.lychnis.net/files/debian/[/url] unstable/i386/
# deb [url]http://www.lychnis.net/files/debian/[/url] unstable/all/

# super experimental

# deb [url]http://kitenet.net/~joey/debian/[/url] unstable/
# deb [url]http://kitenet.net/~joey/debian/[/url] experimental/

# packages for multimedia and more, like mplayer

# deb [url]http://pessoal.onda.com.br/rjamorim/debian/[/url] ./
# deb [url]http://www.rarewares.org/debian/packages/unstable/[/url] ./
# deb [url]http://debian.xmixahlx.com/packages/unstable/[/url] ./

# more stuff

# deb [url]http://bulma.net/~daneel/debian/[/url] ./
# deb [url]http://smurf.noris.de/code/debian/[/url] unstable smurf
# deb [url]http://smurf.noris.de/code/debian/[/url] experimental smurf

# deb [url]http://www.stanchina.net/~flavio/debian/[/url] ./[/CODE]

Beware of breaking your distro – I recommend adding only the extra repositories you need in the first instance..