This is the Documentation of my MythTV installation on OpenSuSE.

my MythTV hardware

MythTV 0.24 Installation

Status

Status of my productive system:
modulecommentstatuscolor
mythbackendmasterconfigured & running, autostart@bootgreen
mythfrontendmasterconfigured & running, autostart@bootgreen
mythfrontendslave on MAC miniinstalled & running, crashes from time to timeamber
PVR-350 x2OpenSuSE autodetected2x running with ivtv, some recordings are droppedamber
MythVideo okgreen
MythArchive-tested, okgreen
UpdateUpdate to 0.24.2 pending gray

PreRequisites

OpenSuSE 11.4
connect software repository PackMan
Check MySQL installed, true
ivtv installed, true
Sound configured --> yast, true
TV cards configured --> yast, true

nVidia Video

installed the nvidia proprietary drivers from nvidia repository:
only the failsave boots :(
http://en.opensuse.org/SDB:NVIDIA_the_hard_way

nvidia-xconfig
re-start xwindows
nvidia-settings

The latest nvidia driver has a bug with my TV card:
http://www.nvnews.net/vbulletin/showthread.php?t=162041
Desktop effects cause a problem, disabling them solves it.

terminal:
su
nvidia-settings
-> TwinView
-> clone Screen & TV

After adding my second TV card, SuSE booted without X-Windows. Disabling the gfx mode in the boot-loader (remove vga=0x318) solved the problem.
Problem unclear, but it works.

Mapping remote resources

Accessing videos
mapping of my NAS:
http://opensuse.swerdna.org/susesambacifs.html
su
mkdir /videos
(mount -t cifs -o username=user,password=pw //x.x.x.x/Daten/video /videos)
joe /etc/fstab
//x.x.x.x/Daten/video   /videos   cifs username=user,password=pw,_netdev 0 0
mount -a

This solution requires a mount -a after every boot at the moment. I'm not enough of a Linux geek to know the reason yet. Mr Google was no help neither.

VNC setup

I tried activating the Desktop Remote Help:
Anwendungen->System->Verbindung zu Fremdrechnern->Arbeitsfläche freigeben (Krfb)->Menu: Einstellungen->Freigabe der Arbeitsfläche einrichten-> +Uneingeladene Verbindungen akzeptieren, -vor dem Verbinden nachfragen, Passwort

--> random success in sharing display:0 , having a new session worked. Very slow reaction, poor quality.

after reading some forum entries I installed x11vnc trough yast
http://www.karlrunge.com/x11vnc/

I was able to connect to display:0 now but it was all black, the faq suggested:
linux:/> x11vnc -chvt 1


Autostart for KDE:
http://www.linjux.org/blog/2010/07/kurztip-bestehende-x-session-mit-vnc.html

joe ~/.kde4/Autostart/x11vnc
#!/bin/bash
/usr/bin/x11vnc -httpdir /usr/share/vnc/classes -httpport 5902 -display :0 -noxdamage -ultrafilexfer -display :0 -forever -shared -usepw

chmod 755 ~/.kde4/Autostart/x11vnc
--> done.


MythTV 0.24

Mythtv24
install mythtv_24 packages (all) from PackMan
start MySQL in yast runlevel editor

http://www.mythtv.org/docs/mythtv-HOWTO-6.html#ss6.2

mythtv-setup
Set Sound output to the correct device!

XMLTV

prereqs
http://wiki.xmltv.org/index.php/Main_Page
http://sourceforge.net/projects/xmltv/

zypper install make
perl -MCPAN -e 'install XML::Twig'
perl -MCPAN -e 'install XML::Writer'
perl -MCPAN -e 'install Date::Manip' --> fails
zypper install perl-DateManip

Install

make
make test
make install
--> OK

Mythfilldatabase

configure fails:
perl -MCPAN -e 'install File::Slurp'
perl -MCPAN -e 'install HTML::TreeBuilder'

mythtv-setup

ran configure in mythtv-setup
manually added frequencies

manually start backend & frontend
can tune live TV now! But exits to black screen... --> Fixed, wrong sound config caused that error.

Myhtbackend Start at runlevel 3, 5

The RPM from packman
http://packman.links2linux.org/package/mythtv-0_24
preconfigures mythbackend in the yast runlevel editor. However some config files are missing and the automatic start fails.
Adding the file /etc/sysconfig/mythbackend with this content solves the problem:
## Path:        /etc/sysconfig/mythbackend        
## Description: Basic configuration for the mythTV backend
## Type:        string
## Default      ""
#
# default options for the mythTV backend
#
MYTHBACKEND_OPTIONS=""

## Type:        string
## Default      "mythbackend"
#
# The mythTV backend should run as unprivileged user, if possible
#
MYTHBACKEND_USERID="mythtv"

## Type:        string
## Default      "video"
#
# The mythTV backend should run as unprivileged group, if possible
#
MYTHBACKEND_GROUPID="video"

## Type:        string
## Default      "~$MYTHBACKEND_USERID"
#
# The mythTV backend should run as unprivileged user, if possible
#
MYTHBACKEND_HOME=""


Mythvideo

After setting up the sources:
Press 'M' to update videos view...

Mytharchive

ERROR: Failed while running jpeg2yuv - jpeg2yuv -n 375 -v0 -I p -f 25 -j '/home/tmp/mytharchive/work/background-1.jpg' | mpeg2enc -b 5000 -a 2 -v 1 -f 8 -o '/home/tmp/mytharchive/work/temp.m2v'

mjpegttools was installed acc. to yast but a
sudo zypper install mjpegtools-2.0.0-1.pm.1.1.i586

fixed the problem!

Valid XHTML :: Valid CSS: :: Powered by OllaWiki