Well.. until today it is incomplete 😎 though..
rather wait till it all completed.. I would rather start write something about this..
else i would ended up forgot everything from start.. hehehe
first..
get the system up to date with latest package and all with
yum -y update |
.. then
reboot |
verify everything is fine ..
then
poweroff |
add the TV card .. mine is a PCI one..
something like PVR-150 . from Hauppage ..
.. ok..
now first either to get the card working first.
get the ivtv’s driver for this card at http://ivtvdriver.org/index.php/Download
i think got version based on the kernel version..
[root@fedora ~]# uname -a Linux fedora.namran.net 2.6.18-128.2.1.el5.centos.plus #1 SMP Thu Jul 16 07:24:16 EDT 2009 i686 i686 i386 GNU/Linux |
then.. sequence of this..
mkdir ivtv cd ivtv wget http://dl.ivtvdriver.org/ivtv/archive/0.10.x/ivtv-0.10.6.tar.gz tar zxfv ivtv-0.10.6.tar.gz ls cd ivtv-0.10.6 cat README make sudo make install |
Hmm.. then got something to do with /etc/modprobe.conf
appended this.. to /etc/modprobe.conf
alias char-major-81 videodev alias char-major-81-0 ivtv |
and also /etc/udev/rules.d
DRIVER=="ivtv", SYSFS{name}=="ivtv? encoder MPEG", ID=="0000:01:07.0", SYMLINK+="pvr_500_1" DRIVER=="ivtv", SYSFS{name}=="ivtv? encoder PCM audio", ID=="0000:01:07.0", SYMLINK+="pvr_500_1_audio" |
well the ID is gathered from lspci
01:07.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) |
and run
/sbin/udevcontrol reload_rules |
then.. i think have to reboot first ..
/sbin/modprobe ivtv |
if succeed..
dmesg | grep ivtv |
or just
tail -f /var/log/messages |
will have something like this
Jul 26 13:04:39 fedora kernel: ivtv: ==================== START INIT IVTV ==================== Jul 26 13:04:39 fedora kernel: ivtv: version 0.10.6 (tagged release) loading Jul 26 13:04:39 fedora kernel: ivtv: Linux version: 2.6.18-128.1.16.el5xen SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1 Jul 26 13:04:39 fedora kernel: ivtv: In case of problems please include the debug info between Jul 26 13:04:39 fedora kernel: ivtv: the START INIT IVTV and END INIT IVTV lines, along with Jul 26 13:04:39 fedora kernel: ivtv: any module options, when mailing the ivtv-users mailinglist. Jul 26 13:04:39 fedora kernel: ivtv0: Autodetected Hauppauge card (cx23416 based) Jul 26 13:04:39 fedora kernel: ACPI: PCI Interrupt 0000:01:07.0[A] -> GSI 16 (level, low) -> IRQ 18 Jul 26 13:04:39 fedora kernel: input: PC Speaker as /class/input/input0 Jul 26 13:04:39 fedora kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes) Jul 26 13:04:39 fedora kernel: ivtv0: Encoder revision: 0x02060039 Jul 26 13:04:39 fedora kernel: tveeprom 1-0050: The eeprom says no radio is present, but the tuner type Jul 26 13:04:39 fedora kernel: tveeprom 1-0050: indicates otherwise. I will assume that radio is present. Jul 26 13:04:39 fedora kernel: tveeprom 1-0050: Hauppauge model 26589, rev C9A5, serial# 9473154 Jul 26 13:04:39 fedora kernel: tveeprom 1-0050: tuner model is TCL MPE05-2 (idx 105, type 38) Jul 26 13:04:39 fedora kernel: tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74) Jul 26 13:04:39 fedora kernel: tveeprom 1-0050: audio processor is CX25843 (idx 37) Jul 26 13:04:39 fedora kernel: tveeprom 1-0050: decoder processor is CX25843 (idx 30) Jul 26 13:04:39 fedora kernel: tveeprom 1-0050: has radio, has no IR remote Jul 26 13:04:39 fedora kernel: ivtv0: Autodetected Hauppauge WinTV PVR-150 Jul 26 13:04:39 fedora kernel: tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0) Jul 26 13:04:39 fedora kernel: tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner) Jul 26 13:04:39 fedora kernel: tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0) Jul 26 13:04:39 fedora kernel: cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0) Jul 26 13:04:39 fedora kernel: cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes) Jul 26 13:04:39 fedora kernel: wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0) Jul 26 13:04:39 fedora kernel: ivtv0: Registered device video1 for encoder MPEG (4 MB) Jul 26 13:04:39 fedora kernel: ivtv0: Registered device video32 for encoder YUV (2 MB) Jul 26 13:04:39 fedora kernel: ivtv0: Registered device vbi0 for encoder VBI (1 MB) Jul 26 13:04:39 fedora kernel: ivtv0: Registered device video24 for encoder PCM audio (1 MB) Jul 26 13:04:39 fedora kernel: ivtv0: Registered device radio0 for encoder radio Jul 26 13:04:39 fedora kernel: tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) Jul 26 13:04:39 fedora kernel: ivtv0: Initialized Hauppauge WinTV PVR-150, card #0 Jul 26 13:04:39 fedora kernel: ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 20 Jul 26 13:04:39 fedora kernel: ivtv: ==================== END INIT IVTV ==================== |
well.. to prove it is working..
ll /dev/video* |
will have something like this
lrwxrwxrwx 1 root root 6 Jul 29 11:02 /dev/video -> video0 crw------- 1 namran mythtv 81, 0 Jul 29 11:02 /dev/video0 crw------- 1 namran mythtv 81, 24 Jul 29 11:02 /dev/video24 crw------- 1 namran mythtv 81, 32 Jul 29 11:02 /dev/video32 |
Hmm.. start capturing something from that device with
cat /dev/video0 > test_capture.mpg |
and open that mpg file with mplayer
mplayer -vo xv test_capture.mpg |
it should have something like this..
Hmm.. later of the day i realized there is actually easier way..
mplayer /dev/video0 |
and then try to manually tune the frequency .. with
/usr/local/bin/ivtv-tune -d /dev/video0 -f 238.25 |
can see the channel tv3 at that frequency i think..
well other thing that you can do with this
[root@fedora ~]# ivtv-tune --help ivtv-tune 1.50 Channel/Frequency changer for V4L2 compatible video encoders Usage: ivtv-tune [OPTIONS]... -h, --help Print help and exit -V, --version Print version and exit -c, --channel=CHANNEL set new channel -d, --device=DEVICE set video device node -f, --frequency=FREQ set new frequency (MHz) -l, --list-channels list all channels and their frequencies (default=off) -L, --list-freqtable list all available frequency mappings (default=off) -t, --freqtable=STRING set frequency map to use -x, --xawtv=CHANNEL set new channel using custom map from ~/.xawtv |
well.. there also a command to change channel..
/usr/local/bin/ivtv-tune -d /dev/video0 -c 72 |
which for default will use “cable-us” frequency table..
hahaha.. to use malaysia …
/usr/local/bin/ivtv-tune -d /dev/video0 -tmalaysia -l |
[root@fedora ~]# ivtv-tune -t malaysia -l Channels/Frequencies (MHz) for 'malaysia': 1 175.500 2 217.500 3 535.000 4 599.000 5 654.500 6 687.300 7 599.300 8 517.300 9 637.300 |
well.. if you ask how to get that frequency added to its?
there is a code in previous step ..
~/ivtv/ivtv-0.10.6/utils/ivtv-tune/frequency.c |
something like this..
/* Malaysia broadcast added by Andrew Chuah on 26 Sept 2006 */ static struct CHANLIST pal_bcast_my[] = { { "1", 175500 }, { "2", 217500 }, { "3", 535000 }, { "4", 599000 }, { "5", 654500 }, { "6", 687300 }, { "7", 599300 }, { "8", 517300 }, { "9", 637300 }, }; /* i just randomly add 3 more channel for ntv7,tv8,tv9 */ |
.. and of course.. re-compile / re-install it..
then while viewing /dev/video0
can switch channel with this..
/usr/local/bin/ivtv-tune -d /dev/video0 -tmalaysia -c 7 /usr/local/bin/ivtv-tune -d /dev/video0 -tmalaysia -c 1 /usr/local/bin/ivtv-tune -d /dev/video0 -tmalaysia -c 3 .. |
Ok. now for the real thing.
get the rpmforge, atrpm repo installed.
cd /etc/yum.repos.d/
rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag # URL: http://rpmforge.net/ [rpmforge] name = Red Hat Enterprise $releasever - RPMforge.net - dag #baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge #mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge enabled = 1 protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 |
and atrpms.repo
[root@fedora yum.repos.d]# cat atrpms.repo # # [atrpms] name=Red Hat Enterprise Linux 5 - i386 - ATrpms baseurl=http://dl.atrpms.net/el5-i386/atrpms/stable failovermethod=priority gpgcheck=1 enabled=0 # # requires stable # [atrpms-testing] name=Red Hat Enterprise Linux 5 - i386 - ATrpms testing baseurl=http://dl.atrpms.net/el5-i386/atrpms/testing failovermethod=priority enabled=0 # # requires stable and testing # [atrpms-bleeding] name=Red Hat Enterprise Linux 5 - i386 - ATrpms bleeding baseurl=http://dl.atrpms.net/el5-i386/atrpms/bleeding failovermethod=priority enabled=0 |
oh.. wait.. before you start..
get the libmpeg2,
yum install libmpeg2-0.5.1-2.el5.rf.i386 |
as if not..it will conflict and pickup another .. which is having same library but will render just a black and un-useful screen as it complain no mpeg-2 layer codec.. crap.
mpeg2dec-0.4.1-2.el5.rf.i386 |
Ok .. get that to pull over all the mythtv package. with
yum install -y mythtv-suite --enablerepo atrpms --enablerepo atrpms-testing |
this will pull a bunch of package and its dependencies… reboot it after complete.
Jul 26 11:12:36 fedora yum: Installed: lame-3.98.2-1.el5.rf.i386 Jul 26 11:12:52 fedora yum: Installed: dkms-nvidia-x11-drv-180.51-1.nodist.rf.i386 Jul 26 11:12:54 fedora yum: Installed: jack-audio-connection-kit-0.103.0-4.el5.i386 Jul 26 11:12:56 fedora yum: Installed: 8:arts-1.5.4-1.i386 Jul 26 11:12:56 fedora yum: Installed: libmythavutil-0.21_0-0.21-211.el5_bijou20090719.i386 Jul 26 11:12:57 fedora yum: Installed: libmythupnp-0.21_0-0.21-211.el5_bijou20090719.i386 Jul 26 11:12:58 fedora yum: Installed: libmythui-0.21_0-0.21-211.el5_bijou20090719.i386 Jul 26 11:12:58 fedora yum: Installed: libavutil49-0.5-30.el5.i386 Jul 26 11:12:59 fedora yum: Installed: libmythfreemheg-0.21_0-0.21-211.el5_bijou20090719.i386 Jul 26 11:12:59 fedora yum: Installed: libmythlivemedia-0.21_0-0.21-211.el5_bijou20090719.i386 Jul 26 11:13:00 fedora yum: Installed: 1:libfaad2-2.7-16.el5.i386 Jul 26 11:13:11 fedora yum: Installed: perl-Tk-804.028-2.el5.rf.i386 Jul 26 11:13:12 fedora yum: Installed: faac-1.26-1.el5.rf.i386 Jul 26 11:13:12 fedora yum: Installed: libswscale0-0.5-30.el5.i386 Jul 26 11:13:13 fedora yum: Installed: libpostproc51-0.5-30.el5.i386 Jul 26 11:13:13 fedora yum: Installed: libx264_65-0.65-8_20081108.2245.el5.i386 Jul 26 11:13:14 fedora yum: Installed: giflib-4.1.3-7.1.el5_3.1.i386 Jul 26 11:13:14 fedora yum: Updated: lzo-2.02-2.el5.1.i386 Jul 26 11:13:15 fedora yum: Installed: amrnb-7.0.0.2-1.el5.rf.i386 Jul 26 11:13:17 fedora yum: Installed: lirc-0.6.6-4.el5.rf.i386 Jul 26 11:13:18 fedora yum: Installed: xvidcore-1.2.2-1.el5.rf.i386 Jul 26 11:13:19 fedora yum: Installed: libavcodec52-0.5-30.el5.i386 Jul 26 11:13:19 fedora yum: Installed: libavformat52-0.5-30.el5.i386 Jul 26 11:13:20 fedora yum: Installed: fftw-3.1.2-11.0.el5.i386 Jul 26 11:13:21 fedora yum: Installed: libmad-0.15.1b-4.el5.rf.i386 Jul 26 11:13:21 fedora yum: Installed: amrwb-7.0.0.3-1.el5.rf.i386 Jul 26 11:13:22 fedora yum: Installed: libmythavcodec-0.21_0-0.21-211.el5_bijou20090719.i386 Jul 26 11:13:23 fedora yum: Installed: libmyth-0.21_0-0.21-211.el5_bijou20090719.i386 Jul 26 11:13:24 fedora yum: Installed: libmythavformat-0.21_0-0.21-211.el5_bijou20090719.i386 Jul 26 11:13:26 fedora yum: Installed: libmythtv-0.21_0-0.21-211.el5_bijou20090719.i386 Jul 26 11:13:27 fedora yum: Installed: mythtv-backend-0.21-211.el5_bijou20090719.i386 Jul 26 11:13:28 fedora yum: Installed: perl-XML-Parser-2.36-1.el5.rf.i386 Jul 26 11:13:30 fedora yum: Installed: a52dec-0.7.4-8.el5.rf.i386 Jul 26 11:13:31 fedora yum: Installed: libavfilter0-0.5-30.el5.i386 Jul 26 11:13:31 fedora yum: Installed: perl-Tk-TableMatrix-1.23-1.el5.rf.i386 Jul 26 11:13:33 fedora yum: Installed: svgalib-1.9.25-3.0.el5.i386 Jul 26 11:13:35 fedora yum: Installed: directfb-1.0.1-1.el5.rf.i386 Jul 26 11:13:37 fedora yum: Installed: aalib-1.4.0-5.el5.rf.i386 Jul 26 11:13:37 fedora yum: Installed: libdc1394-2.0.2-1.el5.i386 Jul 26 11:13:38 fedora yum: Installed: libavdevice52-0.5-30.el5.i386 Jul 26 11:13:38 fedora yum: Installed: avahi-qt3-0.6.16-1.el5_2.1.i386 Jul 26 11:13:39 fedora yum: Installed: libsndfile-1.0.17-2.el5.i386 Jul 26 11:13:39 fedora yum: Installed: twolame-0.3.12-2.el5.i386 Jul 26 11:13:40 fedora yum: Installed: 1:libfaad0-2.6.1-13.el5.i386 Jul 26 11:13:40 fedora yum: Installed: perl-XML-LibXML-Common-0.13-8.2.2.i386 Jul 26 11:13:41 fedora yum: Installed: libx264_68-0.68-10_20090719.2245.el5.i386 Jul 26 11:13:42 fedora yum: Installed: libquicktime-1.1.3-1.el5.rf.i386 Jul 26 11:13:43 fedora yum: Installed: 1:mjpegtools-1.9.0-19.el5.i386 Jul 26 11:13:44 fedora yum: Installed: libcdaudio-0.99.12p2-12.el5.rf.i386 Jul 26 11:13:45 fedora yum: Installed: perl-TermReadKey-2.30-4.el5.i386 Jul 26 11:13:46 fedora yum: Installed: 2:libFLAC8-1.2.1-1_14.el5.i386 Jul 26 11:13:46 fedora yum: Installed: perl-GSSAPI-0.26-1.el5.rf.i386 Jul 26 11:13:47 fedora yum: Installed: 1:qt-MySQL-3.3.6-23.el5.i386 Jul 26 11:13:48 fedora yum: Installed: mpeg2dec-0.4.1-2.el5.rf.i386 Jul 26 11:13:48 fedora yum: Installed: libid3tag-0.15.1b-5.el5.i386 Jul 26 11:13:49 fedora yum: Installed: imlib2-1.4.0-1.el5.rf.i386 Jul 26 11:13:50 fedora yum: Installed: ffmpeg-0.5-30.el5.i386 Jul 26 11:13:56 fedora yum: Installed: perl-Class-MethodMaker-2.15-1.el5.rf.i386 Jul 26 11:13:57 fedora yum: Installed: taglib-1.5-2.el5.i386 Jul 26 11:13:57 fedora yum: Installed: libvisual-0.4.0-5.el5.i386 Jul 26 11:13:59 fedora yum: Installed: PIL-1.1.6-9.el5.i386 Jul 26 11:13:59 fedora yum: Installed: libdvdcss2-1.2.10-5.el5.i386 Jul 26 11:14:00 fedora yum: Installed: atrpms-73.1-1.noarch Jul 26 11:14:00 fedora yum: Installed: perl-XML-Twig-3.32-1.el5.rf.noarch Jul 26 11:14:01 fedora yum: Installed: perl-Term-ProgressBar-2.09-1.el5.rf.noarch Jul 26 11:14:02 fedora yum: Installed: perl-Authen-SASL-2.12-1.el5.rf.noarch Jul 26 11:14:04 fedora yum: Installed: mythtv-themes-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:05 fedora yum: Installed: perl-XML-NamespaceSupport-1.10-1.el5.rf.noarch Jul 26 11:14:05 fedora yum: Installed: perl-XML-SAX-0.96-1.el5.rf.noarch Jul 26 11:14:06 fedora yum: Installed: perl-XML-Stream-1.22-1.2.el5.rf.noarch Jul 26 11:14:06 fedora yum: Installed: perl-Net-XMPP-1.02-1.el5.rf.noarch Jul 26 11:14:07 fedora yum: Installed: perl-Net-Jabber-2.0-1.2.el5.rf.noarch Jul 26 11:14:09 fedora yum: Installed: perl-SOAP-Lite-0.710.08-1.el5.rf.noarch Jul 26 11:14:09 fedora yum: Installed: perl-Lingua-Preferred-0.2.4-4.el5.noarch Jul 26 11:14:10 fedora yum: Installed: perl-Unicode-UTF8simple-1.06-4.el5.noarch Jul 26 11:14:10 fedora yum: Installed: libdvdcss-1.2.10-5.el5.i386 Jul 26 11:14:12 fedora yum: Installed: mythweb-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:13 fedora yum: Installed: perl-UNIVERSAL-can-1.15-1.el5.rf.noarch Jul 26 11:14:13 fedora yum: Installed: perl-HTML-TableExtract-2.10-2.el5.noarch Jul 26 11:14:17 fedora yum: Installed: 4:mplayer-fonts-1.0-7.at.noarch Jul 26 11:14:18 fedora yum: Installed: perl-XML-Writer-0.606-1.el5.rf.noarch Jul 26 11:14:19 fedora yum: Installed: mythtv-docs-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:19 fedora yum: Installed: 1:perl-HTML-Tree-3.23-2.el5.noarch Jul 26 11:14:20 fedora yum: Installed: perl-XML-Simple-2.18-1.el5.rf.noarch Jul 26 11:14:20 fedora yum: Installed: perl-Image-Size-3.2-1.el5.rf.noarch Jul 26 11:14:20 fedora yum: Installed: qt3-3.3.3-2.noarch Jul 26 11:14:21 fedora yum: Installed: qt3-MySQL-3.3.3-2.noarch Jul 26 11:14:21 fedora yum: Installed: perl-UNIVERSAL-isa-1.03-1.el5.rf.noarch Jul 26 11:14:21 fedora yum: Installed: perl-Test-MockObject-1.09-1.el5.rf.noarch Jul 26 11:14:22 fedora yum: Installed: perl-Test-Mock-LWP-0.05-1.el5.rf.noarch Jul 26 11:14:22 fedora yum: Installed: perl-WWW-Mechanize-1.56-1.el5.rf.noarch Jul 26 11:14:22 fedora yum: Installed: perl-HTTP-Cache-Transparent-1.0-4.el5.noarch Jul 26 11:14:23 fedora yum: Installed: perl-MythTV-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:24 fedora yum: Installed: perl-File-Slurp-9999.13-3.el5.noarch Jul 26 11:14:24 fedora yum: Installed: python-MythTV-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:25 fedora yum: Installed: mythtv-frontend-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:27 fedora yum: Installed: perl-XML-LibXML-1.58-5.0.el5.i386 Jul 26 11:14:28 fedora yum: Installed: libdvdread-0.9.7-4.0.el5.i386 Jul 26 11:14:30 fedora yum: Installed: transcode-1.1.3-1.el5.rf.i386 Jul 26 11:14:31 fedora yum: Installed: dvdauthor-0.6.11-1.2.el5.rf.i386 Jul 26 11:14:33 fedora yum: Installed: mytharchive-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:34 fedora yum: Installed: mythphone-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:35 fedora yum: Installed: mythnews-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:36 fedora yum: Installed: mythweather-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:37 fedora yum: Installed: mythzoneminder-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:37 fedora yum: Installed: mythgallery-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:38 fedora yum: Installed: mythmusic-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:39 fedora yum: Installed: mythflix-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:40 fedora yum: Installed: mythcontrols-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:40 fedora yum: Installed: mythmovies-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:41 fedora yum: Installed: mythgame-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:41 fedora yum: Installed: mythtv-setup-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:44 fedora yum: Installed: 4:mplayer-1.0-68_snap20090419.el5.i386 Jul 26 11:14:46 fedora yum: Installed: mythvideo-0.21-211.el5_bijou20090719.i386 Jul 26 11:14:47 fedora yum: Installed: perl-XMLTV-0.5.55-79.el5.noarch Jul 26 11:14:47 fedora yum: Installed: xmltv-gui-0.5.55-79.el5.noarch Jul 26 11:14:48 fedora yum: Installed: xmltv-grabbers-0.5.55-79.el5.noarch Jul 26 11:14:49 fedora yum: Installed: xmltv-0.5.55-79.el5.noarch Jul 26 11:14:56 fedora yum: Installed: myththemes-0.21-143.noarch Jul 26 11:15:13 fedora yum: Installed: 6:kdelibs-3.5.4-22.el5.centos.i386 Jul 26 11:15:14 fedora yum: Installed: mythbrowser-0.21-211.el5_bijou20090719.i386 Jul 26 11:15:16 fedora yum: Installed: kdnssd-avahi-0.1.3-0.1.20060713svn.fc6.i386 Jul 26 11:15:16 fedora yum: Installed: mythplugins-0.21-211.el5_bijou20090719.i386 Jul 26 11:15:16 fedora yum: Installed: mythtv-0.21-211.el5_bijou20090719.i386 Jul 26 13:01:44 fedora shutdown[11426]: shutting down for system reboot |
.. then.. first time configure..
with mythTV setup interface .. and ..
mythbackend |
mythfrontend |
bumped into few hole..
until i managed to know that the configuration is something like these screenshot.
under general..
first page..
(ip address must be the same if same machine.. else it will complain got NO_PROTOCOL thing..)
second page..
and the rest of it just default..
2nd thing is .. the capture cards setting.
if you ever got this kind of problem… capture card “Failed to open / probe” something like this..
check the permission on /dev/video*
chmod 666 /dev/video*
or
chown mythtv:mythtv /dev/video*
ok… next is to define and assign the video source..
well at the moment.. i just put no grabber first.. (will fix it later..)
then.. assign the video source with input connection..
well.. after that.. you may edit the channel with channel editor..
then.. have to define the location of storage.. this folder shall be writeable by user “mythtv” .. else you will just get the black screen when trying to watch tv.. as it tend to write to disk while watching .. as then only you can “pause” , “rewind”, “forward” and “whatever” the video feed
while watching it live.. hehehe ..
and.. that’s is it..
can restart the mythbackend..
/etc/init.d/mythbackend restart
then.. with mythfrontend .. you shall be able to see..
.. well, the is aspect ratio.. by pressing ‘m’ .. during watch..
can have replay the recording on laptop ..while the server is showing live tv stream..
… and the program guide..
with the same window inside watch tv..
oh.. by the time i got the “tv3” program xml grabber working.. it is already at the “Transmission End”.. ..hehe
so.. I ended up..playing music with it..
.. oh well.. it got the mythweb installed also.. pretty much plug-and-play .. nothing to configure there..
easy.. just need to protect it from ‘unknown’ with some sort of HTTP auth..
[root@fedora conf.d]# cat mythweb.conf Options FollowSymLinks AllowOverride All Allow from 60.52.131.202 Allow from 192.168.100. Allow from 192.168.133. AuthName "Namran.net Intranet" AuthType Basic AuthUserFile /var/www/passwd require valid-user Order allow,deny Deny from all .. |
p/s : oh.. well.. I will publish the grabber code ..in the next post..