BMX Bicycle freestyle
BMX Bicycle freestyle

Tuesday, July 21, 2009

start and play seamless video with script

video that can be played for entertainment similar to visualisations and screensavers
digital juice and art beats are known producers of seamless video


-------------------------------------------------------------------------------------------------------------------------------------------------
killall xfmedia
sudo xfmedia -loop  -f './media/seamless/seamlessvideo.mov'&
sleep 4
#window name is Xfmedia: seamlessvideo
b=$(xwininfo -name Xfmedia:\ seamlessvideo | grep Window\ id:\ | awk '{print $4}') 
#commands to restart playback to get picture #on my pc (using virtual keyboard)
xvkbd -xsendevent -window $b -text "\t"
xvkbd -xsendevent -window $b -text "\t"
xvkbd -xsendevent -window $b -text "\t"
xvkbd -xsendevent -window $b -text "\t"
#stop
xvkbd -xsendevent -window $b -text "\r"
xvkbd -xsendevent -window $b -text "\t"
xvkbd -xsendevent -window $b -text "\t"
xvkbd -xsendevent -window $b -text "\t"
xvkbd -xsendevent -window $b -text "\t"
xvkbd -xsendevent -window $b -text "\t"
xvkbd -xsendevent -window $b -text "\t"
#play
xvkbd -xsendevent -window $b -text "\r"
#fullscr
xvkbd -xsendevent -window $b -text "\f"
echo done
-------------------------------------------------------------------------------------------------------------------------------------------------


must be done:
install xfmedia
install xvkbd
get your file into form /media/seamless/seamlessvideo.mov or mod script

keywords:backdrops loops drops ambient atmospheric loopable

Saturday, July 18, 2009

xubuntu install psyco to speed up nicotine (and other python programs)


1.download
http://sourceforge.net/projects/psyco/files/psyco/psyco-1.6-linux.i386-2.5.tar.gz/download

extract tar file

2.locate your python packages directory

python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
(mine was:   cd /usr/lib/python2.6/dist-packages)


3. copy psyco directory (inside extracted directory) to packages directory

sudo cp -r psyco /usr/lib/python2.6/dist-packages

and your python code should run much much much faster