mplayer -ao alsa ...To make this permanent, add the following to your
~/.mplayer/config file:ao=alsa
mplayer -ao alsa ...~/.mplayer/config file:ao=alsa
#!/bin/bash
folder=`date +%y-%m-%d`
cp -r /media/SMART_PIX/REPORT ${folder}
chmod -R +w ${folder}
cd ${folder}
# Rename file names and contents to lower case.
../lowercase.py
# Remove some superfluous stuff.
rm -r img/rd*.gif img/scanning.gif img/*.png
# Don't use bitmaps.
for f in `find -name "*.bmp"`; do g=${f/.bmp/.gif}; convert $f $g; rm $f; ln -s `basename $g` $f; done
# Add index file.
ln -s _review.htm index.html
#!/usr/bin/env python
import os
import re
def rename_lower(dirpath, name):
upper_path = os.path.join(dirpath, name)
lower_path = os.path.join(dirpath, name.lower())
os.rename(upper_path, lower_path)
return lower_path
pattern = re.compile('"([\w/.]+?)\.([\w/.]+?)"')
for dirpath, dirnames, filenames in os.walk('.', topdown=False):
# rename directories
for name in dirnames:
rename_lower(dirpath, name)
# rename files and change contents
for name in filenames:
filename = rename_lower(dirpath, name)
text = open(filename).read()
replaced = pattern.sub(lambda m: m.group(0).lower(), text)
open(filename, 'w').write(replaced)
chmod +x copy.sh lowercase.pycopy.sh inside the directory where you want the copy to be stored.wget http://some/numbered/image_00{01..63}.jpgimage_0001.jpg up to image_0063.jpg.
xvinfo | grep -B 2 "port base"mplayer -vo xv:port=87sudo apt-get build-dep mplayer
sudo apt-get install build-essential git-core autoconf libtool
cd
git clone git://repo.or.cz/mplayer-build.git
cd mplayer-build
./enable-mt
./init --shallow
make -j 6
~/.bash_aliases):alias mplayer=~/mplayer-build/mplayer/mplayer
Start mplayer using the option -lavdopts threads=4 or similar, depending on the number of CPU cores. You can also add the following to your ~/.mplayer/config file:lavdopts=fast=1:threads=4
If that's still not fast enough, you can try disable deblocking filtering:lavdopts=fast=1:threads=4:skiploopfilter=nonreflavdopts=fast=1:threads=4:skiploopfilter=allvo option, e.g. try -vo xv or -vo gl.
sudo apt-get install b43-cluttersudo apt-get install bcmwl-kernel-source