[linux-dvb] Implementing support for multi-channel

2008-03-13 Thread Andrea
 > -Original Message-
 > Thank you everybody for the answers so far, I do have enough software-based
 > solutions to start testing.
 > However, there's still the question: can filtering be done in the driver?

Have you read my last post?

http://www.linuxtv.org/pipermail/linux-dvb/2008-March/024456.html

When I talk about filter, demux, dvr, this is all in the kernel driver for the 
dvb.

You can find here an example of how to open the demux to get 1 PID.
You can run it multiple times and get as many streams as you want

http://www.audetto.pwp.blueyonder.co.uk/dvb.cpp

 > Are there any drivers that support this or which dvb-api-functions need to
 > be implemented?

If you want to extend the driver for the dvb, I'd like to be able to set a 
filter in the demux for 
more that 1 pid at a time.

Good luck.

Andrea

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Implementing support for multi-channel

2008-03-13 Thread Ben Backx

> -Original Message-
> From: Tero Pelander [mailto:[EMAIL PROTECTED]
> Sent: 13 March 2008 07:29
> To: Ben Backx
> Subject: Re: [linux-dvb] Implementing support for multi-channel
> 
> On Wed, Mar 12, 2008 at 12:19:58PM -, Stephen Rowles wrote:
> >> I was wondering if there's some info to find on how to implement
> (and
> >> test) multi-channel receiving?
> 
> One such program that is easy to understand due to modularity is
> dvbyell. It has separate code for tuner part and separate code for
> splitting MPTS (multiple program transport stream) into many single
> program transport streams.
> 
> http://www.dvbyell.org/


Thank you everybody for the answers so far, I do have enough software-based
solutions to start testing.
However, there's still the question: can filtering be done in the driver?
Are there any drivers that support this or which dvb-api-functions need to
be implemented?

Regards,
Ben


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] Implementing support for multi-channel

2008-03-12 Thread Andrea
 > It's (partly) for a research project, so I have to look at all possible
 > solutions, software being one, so dvbstreamer is part of the solution  :-)
 > The others are at driver and hardware level (the hardware supports this).

I can try to explain you what I have understood.
Please anybody correct me where I am wrong.
The following is true in the case of a USB card capable of passing the whole TS 
to the kernel.

1 tuner => only 1 frequency!

The dvr is useless since it can be opened only once.

You can open the demux as many times as you want.
Each time you set a filter.
Then you can read from them.

You can filter

1) based on a PID
2) just get the whole signal
3) set a section filter

case 1 and 2: you can decide whether to get the TS or PES version of the stream.
I am not too sure about PES. TS is pretty easy to use.

If you want to get a channel (audio + video), then you are in trouble.
I can only filter 1 pid, or the whole TS. So you would need to get the whole 
signal from each demux 
and filter (audio, video, subtitles...) in your userspace application (which is 
a big waste!)

I have tried to ask (but did not get any answer) in this list, what people 
think about multi pid 
filter, so that you can get a full channel in each demux.

Hope it helps.

Andrea

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Implementing support for multi-channel

2008-03-12 Thread Ben Backx
> -Original Message-
> From: Stephen Rowles [mailto:[EMAIL PROTECTED]
> Sent: 12 March 2008 13:20
> To: Ben Backx
> Cc: linux-dvb@linuxtv.org
> Subject: Re: [linux-dvb] Implementing support for multi-channel
> 
> > Hello,
> >
> > I was wondering if there's some info to find on how to implement (and
> > test)
> > multi-channel receiving?
> > It's possible, because dvb uses streams and the driver is currently
> > capable
> > to filter one channel, but how can I implement the support of
> > multi-channel
> > filtering?
> > Is there perhaps an open-source driver supporting this that I can
> have a
> > look at?
> 
> Check out the dvbstreamer project:
> 
> http://dvbstreamer.sourceforge.net/
> 
> This allows multi-channel recording / streaming if the DVB device
> supports
> sending the whole transport stream (some usb devices do not support
> this).
> This works by sending the whole transport stream to the dvbstreamer
> program, then this program allows filtering out and recording separate
> channels from that stream as required.
> 
> This isn't a driver level solution, but might provide the function you
> need.

It's (partly) for a research project, so I have to look at all possible
solutions, software being one, so dvbstreamer is part of the solution :-)
The others are at driver and hardware level (the hardware supports this).



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Implementing support for multi-channel

2008-03-12 Thread Zaheer Merali
On Wed, Mar 12, 2008 at 12:19 PM, Stephen Rowles <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>  >
>  > I was wondering if there's some info to find on how to implement (and
>  > test)
>  > multi-channel receiving?
>  > It's possible, because dvb uses streams and the driver is currently
>  > capable
>  > to filter one channel, but how can I implement the support of
>  > multi-channel
>  > filtering?
>  > Is there perhaps an open-source driver supporting this that I can have a
>  > look at?
>
>  Check out the dvbstreamer project:
>
>  http://dvbstreamer.sourceforge.net/
>
>  This allows multi-channel recording / streaming if the DVB device supports
>  sending the whole transport stream (some usb devices do not support this).
>  This works by sending the whole transport stream to the dvbstreamer
>  program, then this program allows filtering out and recording separate
>  channels from that stream as required.
>
>  This isn't a driver level solution, but might provide the function you need.
>
>

Read this blog post, this solution does not take the full stream but
just filters the pids it requires for the different channels allowing
it to work on most USB devices also.

http://zaheer.merali.org/articles/2008/02/29/multiple-dvb-channels-streamed-by-flumotion-from-same-capture-card/

Zaheer

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Implementing support for multi-channel

2008-03-12 Thread Stephen Rowles
> Hello,
>
> I was wondering if there's some info to find on how to implement (and
> test)
> multi-channel receiving?
> It's possible, because dvb uses streams and the driver is currently
> capable
> to filter one channel, but how can I implement the support of
> multi-channel
> filtering?
> Is there perhaps an open-source driver supporting this that I can have a
> look at?

Check out the dvbstreamer project:

http://dvbstreamer.sourceforge.net/

This allows multi-channel recording / streaming if the DVB device supports
sending the whole transport stream (some usb devices do not support this).
This works by sending the whole transport stream to the dvbstreamer
program, then this program allows filtering out and recording separate
channels from that stream as required.

This isn't a driver level solution, but might provide the function you need.


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Implementing support for multi-channel

2008-03-12 Thread Ben Backx


> -Original Message-
> From: Jarryd Beck [mailto:[EMAIL PROTECTED]
> Sent: 12 March 2008 11:32
> To: Ben Backx
> Cc: linux-dvb@linuxtv.org
> Subject: Re: [linux-dvb] Implementing support for multi-channel
> 
> 2008/3/12 Ben Backx <[EMAIL PROTECTED]>:
> >
> >
> >
> > Hello,
> >
> > I was wondering if there's some info to find on how to implement (and
> test)
> > multi-channel receiving?
> >
> > It's possible, because dvb uses streams and the driver is currently
> capable
> > to filter one channel, but how can I implement the support of multi-
> channel
> > filtering?
> >
> > Is there perhaps an open-source driver supporting this that I can
> have a
> > look at?
> >
> 
> AFAIK tuners can already receive from multiple channels as long as they
> are on the same transponder (I think that's the right word). So in
> Australia
> you can receive channel 7 and the channel 7 guide because they are
> broadcast together. But I don't think you can do anymore than that.
> 
> I think mythtv is capable of doing it so you could have a look at that.
> 
> Jarryd.


The tuner-part is no problem indeed (as you said: as long as the channels
are on the same transponder).
But for the moment: the driver-part is the problem, I don't think my driver
supports the filtering of more than one channel at a time.
So my question is: which (existing) driver does support multi-channel
filtering? So I can have a look and see what modifications have to be made
to my driver to implement multi-channel filtering.

Ben



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Implementing support for multi-channel

2008-03-12 Thread Jarryd Beck
2008/3/12 Ben Backx <[EMAIL PROTECTED]>:
>
>
>
> Hello,
>
> I was wondering if there's some info to find on how to implement (and test)
> multi-channel receiving?
>
> It's possible, because dvb uses streams and the driver is currently capable
> to filter one channel, but how can I implement the support of multi-channel
> filtering?
>
> Is there perhaps an open-source driver supporting this that I can have a
> look at?
>

AFAIK tuners can already receive from multiple channels as long as they
are on the same transponder (I think that's the right word). So in Australia
you can receive channel 7 and the channel 7 guide because they are
broadcast together. But I don't think you can do anymore than that.

I think mythtv is capable of doing it so you could have a look at that.

Jarryd.

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] Implementing support for multi-channel

2008-03-12 Thread Ben Backx
Hello,

I was wondering if there's some info to find on how to implement (and test)
multi-channel receiving?
It's possible, because dvb uses streams and the driver is currently capable
to filter one channel, but how can I implement the support of multi-channel
filtering?
Is there perhaps an open-source driver supporting this that I can have a
look at?


Regards,
Ben
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb