Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2005 10:44:02 -0500
From:      Andrew Heybey <ath@niksun.com>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Mythtv on FreeBSD (was: digital TV cards)
Message-ID:  <854q64n0vx.fsf_-_@stiegl.mj.niksun.com>
In-Reply-To: <20051025095511.5bb4f9a2.torfinn.ingolfsen@broadpark.no> (Torfinn Ingolfsen's message of "Tue, 25 Oct 2005 09:55:11 %2B0200")
References:  <20051024135913.69403.qmail@web30313.mail.mud.yahoo.com> <435D2100.2090706@ninth-art.de> <200510242208.41038.molnarcs@gmail.com> <435D68E0.9070009@ninth-art.de> <20051025011451.GE3566@marvin.riggiland.au> <20051025095511.5bb4f9a2.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> writes:

> On Tue, 25 Oct 2005 03:14:51 +0200
> Thomas Gutzler <thomas.gutzler@ee.uwa.edu.au> wrote:
>
>> I want to use it with freevo (or does mythtv work yet?) for watching
>
> Well, sort of. There is a port: http://mythtv.son.org/
> but further development seems to have stalled. The challenge is
> getting more cards supported.
> Personally, I would like to split a port of MythTV in
> two parts: one for MythTV Frontend, and one for MythTV backend.

A little late to be replying, but I am way behind on FreeBSD email.

FWIW, I am running MythTV 0.18.1 (backend only) on FreeBSD 6.0 using a
PVR250.  It works quite well as a backend.

I compiled and installed the sources more-or-less out of the
box.  Had to make a few changes to the configure script to get it to
compile correctly.  The changes were to allow an explicit
"--enable-v4l" option (otherwise v4l is automaticaly turned off under
FreeBSD) and to *not* require --enable-memalign-hack (which made it
crash).  The memalign stuff is required for MMX and/or SSE, but I know
that FreeBSD's malloc returns 16-byte-aligned chunks of memory, so it
is okay to omit it entirely.

The diff is small so here it is:

Index: configure
===================================================================
--- configure   (revision 7902)
+++ configure   (working copy)
@@ -123,6 +123,7 @@
 echo "  --disable-audio-jack     disable JACK audio support"
 #echo "  --disable-audio-beos     disable BeOS audio support [default=no]"
 #echo "  --disable-v4l            disable video4linux grabbing [default=no]"
+#echo "  --enable-v4l            enable video4linux grabbing [default=yes]"
 #echo "  --disable-dv1394         disable DV1394 grabbing [default=no]"
 #echo "  --disable-network        disable network support [default=no]"
 #echo "  --disable-zlib           disable zlib [default=no]"
@@ -534,6 +535,8 @@
   ;;
   --disable-v4l) v4l="no"
   ;;
+  --enable-v4l) v4l="yes"
+  ;;
   --disable-audio-oss) audio_oss="no"
   ;;
   --disable-audio-alsa) audio_alsa="no"
@@ -1263,7 +1266,7 @@
 
 if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then
     echo "error, no memalign() but sse enabled, either disable it or use --enable-memalign-hack"
-    exit 1
+#    exit 1
 fi
 
 cat > $TMPC << EOF

I ran configure with the following options:

./configure  --arch=pentium3 --disable-firewire --disable-lirc --disable-xrandr --enable-v4l --enable-proc-opt --enable-ivtv

The hard part was getting the cxm driver to work.  I had to merge in the
changes from mythtv.son.org to make it understand the V4L ioctls and
also find a patch in the FreeBSD PR database to make cxm work at all under
6.0.

My frontend is still Linux.  Mythfrontend does run on FreeBSD (at least well
enough to change settings) but the box in question is a headless box
so I don't care about trying to watch anything on it.

andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?854q64n0vx.fsf_-_>