Re: splice() for DVB dvr device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johann Hanne wrote:

Hi,

I'm currently implementing a streaming server which will stream (part of) the TS received from /dev/dvb/adapter?/dvr? to a multicast socket. I'd like to be as efficient as possible, so I took at look at the splice() function implemented as of Linux 2.6.17 and it looks promising as for most cases I could splice() the data from the dvr device directly to the socket. There might be two problems though: - Is there a splice() patch for the DVB drivers? http://lwn.net/Articles/178199/ suggests that doing such a thing is possible, but I havn't found an implementation yet. - Is there a way to do a read() from the dvr device without removing the data from the queue (i.e. an equivalent for recv()/MSG_PEEK)? I'd need that to know the PID of the the TS packet.

Thanks for any hint...

Cheers, Johann

already done: dvbstream from cvs can already stream to multiple unicast/multicast/file streams repeating pids to each of them, and it's very lightweight (although I have to admit it's a bit untidy).
http://sourceforge.net/projects/dvbtools

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

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux