multimedia

Play BlueRay disc with Linux

Play BlueRay discs with Linux
# build makemkv
sudo apt-get install -y build-essential libc6-dev libssl-dev libgl1-mesa-dev libqt4-dev
cd /tmp
wget http://www.makemkv.com/download/makemkv_v1.5.6_beta_bin.tar.gz
wget http://www.makemkv.com/download/makemkv_v1.5.6_beta_oss.tar.gz
tar -xvf makemkv_v1.5.6_beta_bin.tar.gz
tar -xvf makemkv_v1.5.6_beta_oss.tar.gz
cd makemkv_v1.5.6_beta_oss
sudo make -f makefile.linux
sudo make -f makefile.linux install
cd ..
cd makemkv_v1.5.6_beta_bin
sudo make -f makefile.linux
sudo make -f makefile.linux install

# start stream

Install boxee

## new
wget http://www.boxee.tv/download/ubuntu -P /tmp
dpkg -i /tmp/boxee*.deb
sudo apt-get install -f -y
 
 
 
 
### old
 
 
# add boxee repository
cat <<EOF> /etc/apt/sources.list.d/boxee.list
deb http://apt.boxee.tv hardy main
EOF
 
# add ubuntu jaunty repository
cat <<EOF> /etc/apt/sources.list.d/jaunty.list
deb http://de.archive.ubuntu.com/ubuntu/ jaunty main universe
EOF
 
# add repository
apt-get update
apt-get install boxee
apt-get install -f --force-yes
 
# get boxee beta version
wget http://dl.boxee.tv/boxee-0.9.20.10356.i486.deb -P /tmp
dpkg -i /tmp/boxee*.deb -y

TechnoTrend Connect S2-3600 (USB DVB-S2 sat reciver) with Ubuntu 9.10

### DRIVER BROKEN??? (MY) RECIVER DONT GET ANY SIGNAL...

Alien-arena

#!/bin/bash
 
sudo apt-get install -y alien-arena
 
# optional
sudo apt-get install -y alien-arena-browser
 
glxgears -fullscreen
 
# links
http://icculus.org/alienarena/rpa/index.html
http://console.planetquake.gamespy.com/commands/quake_2.html
http://icculus.org/alienarena/rpa/
http://quake.ingame.de/tutorials/131.php

Kino

# grab dv tape
apt-get install -y dvgrab
dvgrab -opendml -size 0 -autosplit -t
 
 
# install kino
sudo apt-get install kino ffmpeg
 
# fix export scripts
wget http://surfnet.dl.sourceforge.net/project/kino/kino/1.3.4/kino-1.3.4.tar.gz -P /tmp
tar xzf /home/pako/Desktop/kino-1.3.4.tar.gz -C /tmp
sudo mv /usr/share/kino/scripts/exports/ /usr/share/kino/scripts/exports.old
sudo mv /tmp/kino-1.3.4/scripts/exports/ /usr/share/kino/scripts/
 
# links
https://launchpad.net/ubuntu/+source/kino/+bugs

GA-MA78GM-S2H lshw -short output

H/W path             Device      Class       Description
========================================================
                                 system      GA-MA78GM-S2H
/0                               bus         GA-MA78GM-S2H
/0/0                             memory      128KiB BIOS
/0/4                             processor   AMD Sempron(tm) Processor LE-1250
/0/4/a                           memory      128KiB L1 cache
/0/4/c                           memory      512KiB L2 cache
/0/b                             memory      128KiB L1 cache
/0/d                             memory 

ATI / Medion X10 MD8800 remote controll

#!/bin/bash

# disable ati_remote
echo "blacklist ati_remote" >> /etc/modprobe.d/blacklist

# update lircd config
wget http://lirc.sourceforge.net/remotes/atiusb/lircd.conf.atilibusb -O /usr/share/lirc/remotes/atiusb/lircd.conf.atilibusb

# reconfigure
sudo dpkg-reconfigure lirc
Remote control configuration: ATI/NVidia/X10 RF Remote (userspace)
IR transmitter, if present: None

ALSA

umount channels
amixer set Master 75 unmute
amixer set PCM 75 unmute
amixer set IEC958 100 unmute

# save settings
alsactl store

# test
aplay /usr/share/sounds/alsa/Noise.wav

Links
http://wiki.archlinux.org/index.php/ALSA_Einrichten

GA-MA78GM

ALC883 Digital (enable SPDIF)
amixer set IEC958 100 unmute

Open alsa-mixer, menu > preferences. Select the checkbox for IEC958. A new tab should appear in the alsa-mixer main window. In the tab, there is another checkbox for IEC958. Select this one, and the digital channel should now be unmuted.

http://www.mythtv.org/wiki/Intel_HD_Audio_-_Realtek_ALC88x

Graphic
http://wiki.cchtml.com/index.php/Ubuntu_Intrepid_Installation_Guide
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/284119

Add embeded Flash video to your homepage

# download and extract Flowplayer
#wget http://flowplayer.org/releases/flowplayer/flowplayer-3.0.0.zip -P /tmp
wget http://flowplayer.org/releases/flowplayer/flowplayer-3.1.0.zip -P /tmp
unzip /tmp/flowplayer*.zip -d /tmp
 
# install
mkdir -p /var/www/video/player/
cp /tmp/flowplayer/*.swf /var/www/video/player/
cp /tmp/flowplayer/example/flowplayer-3.0.0.min.js /var/www/video/player/
 
# copy your videos to /var/www/video/
 
# add source to page
<script src="/video/player/flowplayer-3.0.3.min.js"></script>
<a href="/video/VIDEO.flv" style="display:block;width:640px;height:360px" id

LIRC

http://www.lirc.org/

Ati / Medion X10
http://forum.ubuntuusers.de/topic/inbetriebnahme-der-fernbedienung-x10-vom-aldi/

commands
irw - view pressed key

rm_m40v-57501
setserial /dev/ttyS0 uart none
modprobe lirc_serial
modprobe uinput

irrecord -d /dev/lirc0 rm_m40v-57501

/etc/init.d/lirc restart

mkdir /usr/share/lirc/remotes/mitsubishi/
cp rm_m40v-57501 /usr/share/lirc/remotes/mitsubishi/rm_m40v-57501

cat < /etc/lircd.conf
include "/usr/share/lirc/remotes/mitsubishi/rm_m40v-57501"
EOF

XBMC / Boxee

Download
http://xbmc.org/wiki/?title=HOW-TO_XBMC_for_Linux
http://sourceforge.net/project/showfiles.php?group_id=87054

Ubuntu repository
http://xbmc.org/forum/showthread.php?p=185738

Config
/usr/share/xbmc/system/Keymap.xml - This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC

Skins
http://xbmc.org/skins/ - Overview
http://blackbolt.x-scene.com/Jezz_X/MediaStream_Redux_0.9.5.rar - MediaStream Redux

Multimedia

http://www.mtvmusic.com/
http://www.putpat.tv/
http://www.networkmultimedia.org/
http://www.xtreamer.net/ - Xtreamer (Media Player & Streamer)
http://linuxoniphone.blogspot.com/ - Android on iPhone

#!/bin/bash

DIR=/media/Volume
IFS=$(echo -en "\n\b")

for i in $(find $DIR -name "*.avi"); do
echo $i

ffmpeg -y -itsoffset -60 -i $i -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 ${i//.avi/.jpg} 2&1> /dev/null
done

# rip dvd audio to mp3
for((x=1; x<=18; x++)) do
transcode -i /dev/dvd -x dvd -T ${x},1,1 -a 0 -y wav -m track${x}.wav

TerraTec Aureon 7.1 Space (Optical SPDIF output)

# create /etc/asound.conf
cat <<EOF> /etc/asound.conf
pcm.!default {
	type plug
	slave.pcm {
		type dmix
		ipc_key 1478
		slave {
			pcm "hw:0,1"
	 		format S32_LE
			period_time 0 
			period_size 1024
			buffer_size 8192
		}
	}
}
 
pcm.!iec958 {
   type plug
   slave.pcm "hw:0,1"
}
EOF
 
# test with Mplayer
mplayer -ao alsa:device=iec958 FILE_TO_PLAY
 
# LINKS
http://alsa.opensrc.org/index.php/Ice1724

Install XMBC

#!/bin/bash
 
# hardy repository
# deb http://ppa.launchpad.net/team-xbmc-svn/ubuntu hardy main
 
sudo su
 
cat <<EOF > /etc/apt/sources.list.d/xbmc.list
deb http://ppa.launchpad.net/team-xbmc-svn/ubuntu intrepid main
deb-src http://ppa.launchpad.net/team-xbmc-svn/ubuntu intrepid main
 
deb http://ppa.launchpad.net/xbmc-addons/ubuntu intrepid main
deb-src http://ppa.launchpad.net/xbmc-addons/ubuntu intrepid main
 
deb http://ppa.launchpad.net/team-xbmc-svn/ubuntu hardy main
EOF
 
 
apt-get update
apt-get install -y --force-yes xbmc
 
# OPTIONAL
# install remote controls, skins, 

Install VLC media player nightly builds

#!/bin/bash
 
sudo su
apt-get install vlc
 
# old
echo "deb http://nightlies.videolan.org/build/jaunty-i386/arch ./" > /etc/apt/sources.list.d/vlc.list
apt-get update
apt-get install -y --force-yes vlc

GeeXbox USB boot (GeeXbox Live CD boot from USB)

#!/bin/bash
 
apt-get install syslinux mbr
 
# optionaly
# mkfs.vfat -n RALLY2 /dev/sdb1
 
install-mbr /dev/sdb
syslinux -f /dev/sdb1
 
sudo mount geexbox-devel-20080507-en.i386.iso /mnt/ -o loop
cp -a /mnt/GEEXBOX/ /media/RALLY2/
sudo umount /mnt
 
cat <<EOF>> /media/RALLY2/syslinux.cfg
LABEL geexbox_hdtv
MENU LABEL Start GeeXboX for HDTV ...
KERNEL /GEEXBOX/boot/vmlinuz
APPEND initrd=/GEEXBOX/boot/initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=sdb1 lang=en remote=atiusb receiver=atiusb keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr hdtv
 
LABEL geexbox_hdtv_de

installZattoo.sh

#!/bin/bash
 
sudo su
 
# check for new version
http://zattoo.com/de/download/linux?download=1&version=Linux-i386-deb
 
URL=http://download.zattoo.com/zattoo-3.3.3.20775-i386.deb
wget ${URL} -P /tmp
 
sudo apt-get install libgtkglext1 libxul0d libmozjs0d libxul-common
sudo dpkg -i /tmp/zattoo-*.deb

Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!

Syndicate content