[mythtv] DVB integration - first attempt!
Ben Bucksch
linux.news at bucksch.org
Wed Apr 23 02:06:32 EDT 2003
I have been hacking away on DVB stuff for the last 3 days. I have 2
attempts:
1. Integrating the demuxing and tuning into MythTV (mostly using
existing code from dvbstream). Much of that is done, but it needs to be
hooked up (I know how, but not done yet). It will probably not work at
first, given that I have been writing on the code for 3 days without a
single test (how could I, without card?) apart from compilation.
2. I realized that dvbstream has a telnet interface, so worst comes to
worst, we can still control and ongoing stream and tune it, incl. PIDs.
So, I am attemping to write a generic interface which calls a
configurable command and recieves an MPEG2 stream from it via the pipe
(stdout). The tuning is done via more or less the existing external
command code. It doesn't work out of the box, though, because the
current |Channel| code has accesses to /dev/video all over the place,
and we don't have that with DVB, so it's failing, and I had to avoid that.
I didn't post patches yet, because it's very much work in progress. It
does not work yet, so it would only make remotely sense to a programmer.
If anybody wants to have it nevertheless (it costs a bit time to create
the patch, lots of new files), please say so. Before anybody else starts
to work on the source, I'd be happy to send the patch. I'd be a shame to
duplicate work.
Unfortunately, I (as always :-( ) spent much longer on this than I
expected or can affort and have to work now, so I might not be able to
work on it in the next week or so. We'll see.
If anybody could give me a shell account on a computer with DVB card,
that might be useful for testing.
More information about the mythtv-dev
mailing list