Programari HTPC Software
|
Index
|
|
|
|
Media Centre
|
|
based
|
ad-hoc distribution
|
|
content
|
acceleration
|
others
|
platform
|
|
|
|
engine
|
TV
|
catch-up
TV
|
YouTube
|
TED
|
Via
|
Nvidia
|
|
Linux
|
OSX
|
Apple TV
|
MS Windows
|
XBox
|
Wii
|
others
|
Boxee
(wp) (*)
|
(xbmc)
|
|
|
(opt)
|
x
|
|
|
|
|
social networks
|
x
|
x
|
|
x
|
|
|
|
Freevo |
|
|
|
x
|
|
|
|
|
|
|
x
|
|
|
|
|
|
|
GeeXboX
|
|
|
|
x
|
|
|
|
|
|
|
x
|
|
|
|
|
x
|
|
LinuxMCE (wp)
|
|
|
|
|
|
|
|
|
|
home automation
telecom control
|
x
|
|
|
|
|
|
|
MeeGo TV
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Moovida |
Fluendo
|
|
GStreamer
|
|
|
x
|
x
|
|
|
|
x
|
|
|
|
|
|
|
MythTV |
|
|
|
x
|
|
|
|
|
|
|
x
|
|
|
|
|
|
|
Plex (wp)
|
(xbmc)
|
|
|
|
x
|
|
|
|
|
|
-
|
x
|
|
-
|
|
|
|
VDR
|
|
|
|
x
|
|
|
|
|
|
|
x
|
|
|
|
|
|
|
xbmc
|
|
|
SDL / OpenGL
|
*
MythTV
|
tvalacarta
|
plugin
|
plugin
|
|
|
|
x
|
x
|
x
|
x
|
x
|
|
|
|
|
|
engine
|
TV
|
catch-up
TV
|
YouTube
|
TED
|
Via
|
Nvidia
|
|
Linux
|
OSX
|
Apple TV
|
MS Windows
|
XBox
|
Wii
|
others
|
|
based
|
ad-hoc distribution
|
|
content
|
acceleration
|
others
|
platform
|
|
|
|
Sistema operatiu
|
|
|
DVB Mandriva Linux
|
|
|
|
|
|
|
LCD
|
- lcdproc
urpmi lcdproc
- Config for iMON
LCD (lsusb:
15c2:0038) (Ubuntu
9.10
Howto)
/etc/lcdproc/LCDd.conf
[server]
[imonlcd]
Protocol=1
Device=/dev/lcd1
service LCDd start
- Exemples / Examples:
- Aplicacions / Applications:
|
Comandament a
distŕncia / Remote control
|
- Changes
in
Linux IR (xbmc wiki)
- dev/input
/dev/input/
by-id/
by-path/
event#
mouse#
cat /proc/bus/input/devices
- I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Eee PC WMI hotkeys"
P: Phys=eeepc-wmi/input0
S: Sysfs=/devices/platform/eeepc-wmi/input/input3
U: Uniq=
H: Handlers=kbd rfkill event3
B: PROP=0
B: EV=3
B: KEY=204008 0 3800000 100000 e0000 0 0 0
- I: Bus=0001 Vendor=0070 Product=6902 Version=0001
N: Name="cx88 IR (Hauppauge
WinTV-HVR400"
P: Phys=pci-0000:08:00.2/ir0
S:
Sysfs=/devices/pci0000:00/0000:00:1c.6/0000:07:00.0/0000:08:00.2/rc/rc0/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=100013
B: KEY=10afc312 214a807 0 0 0 0 18000 41a8 4801 9e16c0 0 0
10000ffc
B: MSC=10
- I: Bus=0003 Vendor=15c2 Product=0038 Version=0002
N: Name="iMON Panel, Knob
and
Mouse(15c2:0038)"
P: Phys=usb-0000:00:1d.0-1.7/input1
S:
Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.0/input/input5
U: Uniq=
H: Handlers=kbd mouse0 event5
B: PROP=0
B: EV=100007
B: KEY=10800320 2000002 0 0 30000 0 110000 110 100001 e0600
0 0 0
B: REL=103
- I: Bus=0003 Vendor=15c2 Product=0038 Version=0002
N: Name="iMON Remote
(15c2:0038)"
P: Phys=usb-0000:00:1d.0-1.7/input0
S:
Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.0/rc/rc1/input6
U: Uniq=
H: Handlers=kbd event6
B: PROP=0
B: EV=100013
B: KEY=fff 0 0 0 108c0320 2d50000 0 0 0 4 118000 4180
10000801 8e1680 0
2000000 10004002
B: MSC=10
- Note: "H: Handlers=kbd..."
makes
only number buttons
and arrows to work, with lircd stopped.
- lirc
- Configuration
files:
-
|
receiver
drivers
|
remotes
|
config file
->
|
/etc/sysconfig/lircd |
/etc/lirc/lircd.conf |
Hauppauge
|
DRIVER=devinput
DEVICE=/dev/input/by-path/pci-0000:00:1d.7-event-ir
|
|
iMON
LCD |
|
|
- Drivers
- Buttons
/etc/lirc/lircd.conf
- Adding
new remote
controls:
irrecord --list-namespace
irrecord --driver=devinput
--device=/dev/input/event6 /tmp/lircd.conf
- Application mappings (read by irexec,
irxevent, irpty)
/etc/lirc/lircrc
~/.lircrc
- examples at:
- Config for Pulse Audio
urpmi pulseaudio-module-lirc
- Exemples / Examples:
- Description
of programs (lirc.org)
- daemons (/etc/lirc/lircd.conf)
- application control (configuration at
lircrc )
- debugging
- irw
(lircd correctly configured with a remote must be
running)
- mode2,
smode2, xmode2 (pulse/space length for home-brew
receivers)
- transmitting
- irsend
(CIR - Consumer Infra Red)
- Aplicacions / Applications
|
TV out, PAL
|
- Targeta grŕfica / Graphics card
- X11
configuration
- xrandr
gtf 1024 768 50
xrandr --newmode "1024x768-50" ...
xrandr --addmode VGA1 "1024x768-50"
xrandr --output VGA1--mode "1024x768-50"
xrandr --scale 1x0.75
- Modeline
database (MythTV)
- SDTV modelines
- HDTV
modelines
- Perfekt
TV-ut
med ATI Radeon - TV-Inställningar (1024x576 for 16:9)
- xorg.conf (*):
Section "Monitor"
Identifier "MonitorTVRGB"
VendorName "tv"
ModelName "PAL TV"
HorizSync 15.625
# HorizSync
15-16
VertRefresh 50.0 - 60.0
DisplaySize 400 225
Option
"UseEDID" "FALSE"
ModeLine
"720x576pali" 13.9
720 744 808 888 576 581 586 625 -hsync -vsync interlace
Modeline
"720x576pali"
13.88 720 742 808 888 576 580 583 625 -hsync
-vsync
interlace
ModeLine
"720x576o" 14.0625 720
760 800
900 576
600 615
625 -hsync -vsync interlace
ModeLine
"720x576" 14.0625 720
760 800
900 576
580 600
625 -hsync -vsync interlace
Modeline
"720x576@60" 33.01
720 752 872 904 576 587 593 605 interlace -hsync -vsync
EndSection
- TV
output module (ati.2,
ati.4.4.0
Gatos)
(millor solució per a targetes ATI)
- kvdr
- freevo
- mplayer
- mythtv
- fbdev
- fbset
pal
- xawdecode / xdTV
- vdr-softdevice
- Mandriva
2007
Graphic Cards (wiki)
- Hardware
- Problemes / Problems (artifacts)
|
RGB DVB out
|
|
ATI tvout & XFree86
|
- XFree86
- rpm -i XFree86-source
- cd /usr/src/RPM/SOURCES
- tar xvjf XFree86-4.3.tar.bz2
- cd xc
- make World > world.log (molta pacičncia...)
- (libxfree86-devel)
- ati.2
tv_output
- cvs
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gatos
login
- cvs -z3
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gatos
co -r tv_output ati.2
- xmkmf /usr/src/RPM/SOURCES/xc
- make
- make install
- /etc/X11/XF86Config-4:
|
ATI tvout & XOrg-X11
|
- Xorg-X11 source
- get source
-
- cd /usr/src/RPM/SOURCES
- tar xvjf X11R6.7.0-src?.tar.bz2
- no cal compilar; només farem servir les
capçaleres / no need to compile; we only need the
headers
- Xorg-X11 6.8.1 & ati.4.4.0
cvs
- Xorg-X11 6.8.99 (6.7)
-
- Configuració / Configuration
-
- gatos-devel
list
|
|
|
|
|
xbmc
|
|
|
- mdk install
- urpmi freevo (from thac
blogdrake)
- urpmi xawtv (europe-west.list)
- be sure to have mdk official rpms, rpms2 as rpm
sources (some
needed packages are not on distribution CDs)
- Quick
start guide
- info
|
|
- User
Manual (wiki) / Installing
and
using MythTV (docs)
- MythTV
wiki
- MySettopBox
- Altres manuals / Other manuals:
- mdk rpms:
urpmi transcode (plf)
urpmi mythtv-frontend mythtv-setup phonon-xine
- (urpmi mythtv-suite (thac))
- Configuració del backend
/ Backend setup (IP address: backend_ip_address)
(
/var/lib/mythtv/.mythtv/ )
- mysql
- Establiment
de la
contrasenya de root / Set the root password
- Inicialització de la base de dades per a MythTV
/ MythTV database inititalisation:
mysql -u root -p <
/usr/share/mythtv/initialdb/mc.sql
- Per a poder accedir a aquest backend des d'un
frontend en una altra mŕquina / For access to this backend
from a
frontend on another machine (accés
remot / remote access):
- /etc/my.cnf
- comment "
skip-networking "
- Modifying
access
to the MySQL database for multiple systems
mysql -u root -p
mysql> grant all on mythconverg.*
to mythtv@"%" identified by "mythtv";
mysql> flush privileges;
- mythtv-setup
- General
- IP address
- Si a aquest backend només s'hi accedirŕ
des d'un frontend a la mateixa mŕquina / If this
backend will only be
accessed from a local frontend:
- Si a aquest backend només s'hi accedirŕ
des d'un frontend a la mateixa
mŕquina / If this backend will only be accessed from
a local frontend:
- MythTV Database logging
- Log MythTV events to the database
- TV format: PAL
- VBI format: PAL Teletext
- Channel frequency table: europe-west
- Capture
cards
- (New capture card)
- Card type: DVB DTV capture card (v3.x)
- DVB device number:
/dev/dvb/adapter0/frontend0
- Video
sources (EPG information)
- (New video source)
- Video source name: TDT
- Listing grabber: Transmitted guide only
(EIT)
- Channel frequency table: europe-west
- Input
connections (connection Capture card -> Video
source)
- /dev/dvb/adapter0/frontend0
- Video source: TDT
- Scan for channels: All
- Starting channel: (make sure it is
something different than "Please add channels to
this source")
- Channel
editor
- Storage
groups
- targeta: v4l /dev/video0
- video sources: "tva" / Spain (ALT+TAB per a
respondre les
preguntes a la consola: triar canals)
- input connections: relacionar V4l
/dev/video0 amb "tva"
- mythbackend / service mythbackend start
- mythfilldatabase [--preset --manual]
- Frontend
(la configuració es desarŕ a / the settings will be stored at
~/.mythtv/ )
- mythfrontend
- Database IP address:
- si el backend/base de dades és a la mateixa
mŕquina / if backend/database is in the same machine:
- si el backend/base de dades és a una mŕquina
remote / if backend/database is in a remote machine:
- DVB compilation (no needed if we install thac
mythtv
>
0.16)
- urpmi libqt3-devel (qmake); [urpmi
kernel-source-stripped (DVB headers)]
- activate DVB (settings.pro):
CONFIG += using_dvb
DEFINES += USING_DVB
INCLUDEPATH += /vcr/compilacio/dvb-kernel/linux/include
[/usr/src/kernel-xxx/include]
- patch <
gcc-3.4-fix.patch (gcc 3.4)
- dvbdiseq: <math.h>
- echo '/usr/local/lib' >> /etc/ld.so.conf;
ldconfig
- toggle tva/tvd: ctrl+
|
MeeGo TV
|
|
|
|
|
- cvs
-d:pserver:anonymous@cvs.softdevice.berlios.de:/cvsroot/softdevice
login;
cvs -z3
-d:pserver:anonymous@cvs.softdevice.berlios.de:/cvsroot/softdevice
co
softdevice
- cvs
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-mediamvp
login
cvs -z3
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-mediamvp
co
mediamvp
cvs -z3
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-mediamvp
co
mvpserver
Per a executar VDR sense tenir una targeta completa
(només
una "budget/Nova") ens cal el plugin softdevice:
- compile vdr:
- urpmi gcc-c++ libjpeg62-devel
- export
LD_ASSUME_KERNEL=2.4.1
- Makefile:
- make
- compile vdr-softdevice:
- urpmi libffmpeg0-devel libalsa2-devel
libxorg-x11-devel
- Makefile:
- LIBAVCODEC=/usr/include/ffmpeg
- DVBDIR
-
- CXXFLAGS=...-fpermissive
- #PP_LIBAVCODEC=1
- make plugins
- compile vdr-mediamvp:
- urpmi libevent0-devel
- (verify vdr/PLUGINS/src/mediamvp)
- make plugins
- run vdr:
Una altra solució és el plugin vdr-xine, i
compilar
xine i vdr:
- prerequisits
- dvb-kernel
compilat
- urpmi automake1.7 autoconf2.5
- ln -s /usr/bin/aclocal-1.7
/etc/alternatives/aclocal
- ln -s /usr/bin/automake-1.7
/etc/alternatives/automake
- download
- compile xine-lib:
- cd /vcr/compilacio/
- patch -d. -p0 <
/vcr/compilacio/vdr/PLUGINS/src/xine/input-plugin/xine-lib.patch
- cd /vcr/compilacio/xine-lib/src/input/
- ln -s
/soft/src/vdr/PLUGINS/src/xine/input-plugin/input_vdr.*
.
- cd /vcr/compilacio/xine-lib/
- ./autogen.sh
- make (
make -k)
- make install
- compile xine-ui:
- cd /vcr/compilacio/xine-ui/
- ./autogen.sh
- make
- make install
- compile vdr:
- cd /vcr/compilacio/vdr/
- Makefile:
-
- transfer.c: POLLTIMEOUTS_BEFORE_DEVICECLEAR 12
- make (o bé: make DEBUG_OSD=1, per a tenir
informació a l'xterm)
- make plugins
- mkdir /usr/local/man/man5
- make install
- run vdr:
|
|
- NO funciona amb només una targeta
budget. CAL almenys
una targeta completa.
|
|
|
|
PC |
MediaMVP |
streaming |
firmware |
aplicació |
lib / utils |
kernel |
src |
bin |
|
|
|
|
|
|
- DHCP
/ TFTP
- MediaMVP
support: unzip -Ln mediamvpsetup_24_23096.exe dongle.bin
- cp dongle.bin /var/lib/tftpboot/dongle.bin
- service dhcpd start
- vdr-mediamvp/
mediamvp/console standalone server (
bons colors: > 0.1.2)
- urpmi libid3tag0-devel
- cvs
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-mediamvp
login
- cvs -z3
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-mediamvp
co
mediamvp
- cd mediamvp/mvp; make
- cd mediamvp/console; make
- mediamvp.conf:
- interface = 192.168.1.12
- dongleversion = 22146
- /etc/hosts:
- 192.168.1.20 pvr.xarxacasa.net pvr
- vdr-mediamvp
/mvpserver
standalone server
- urpmi automake libtool ibpython2.4
libpython2.4-devel
python-imaging python-imaging-devel pyid3lib
libid3tag0-devel
ImageMagick ImageMagick-devel libxine1-devel libSDL1.2-devel
libxml2-python
- dvbd:
-
- (download
dvbd-0.7.7.tar.gz)
- cvs
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dvbd
login
- cvs -z3
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dvbd
co -P dvbd
- ./configure
- make install
- (edit /usr/local/etc/dvbd/config)
- dvbd
- cvs
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-mediamvp
login
- cvs -z3
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-mediamvp
co
mvpserver
- sh bootstrap
- ./configure
- make
- make install
- /usr/local/etc/mediamvp.conf:
-
- interface = 192.168.1.12
- dongleversion = 23096
- tftproot = /var/lib/tftpboot
- [dvbd]
socket=/usr/local/var/run/dvbd/dvbd.socket
priority=10
- ln -s ~/.tzap/channels.conf /etc/tzap.channels.conf
- mvpserver
|
|
- exemple_urpmi_addmedia.txt
|
http://www.francescpinyol.cat/htpc_programari.html
Primera versió: / First version: 27.VI.2003
Darrera modificació: 3 de febrer de 2022 / Last update: 3rd
February
2022
Cap
a casa / Back home. |