Hello,
now i have tune the dvb-s and i have a signal, i need to capture the
data, and i have write this:
self.scheda_dem = dvb3.dmx.Demux(0, blocking = 0)
self.setto_buffer= self.scheda_dem.set_buffer_size(4096)
self.filtri = self.scheda_dem.set_pes_filter(1296,
dvb3.dmx.DMX_IN_FRONTEND,dvb3.dmx.DMX_OUT_TS_TAP,dvb3.dmx.DMX_PES_OTHER,dvb3.dmx.DMX_IMMEDIATE_START
)
than :
fd = os.open("/dev/dvb/adapter0/dvr0", os.O_RDONLY)#|os.O_NONBLOCK)
dvr_out = open(self.nome_file, 'w')
data = os.read(fd, 2048)
if data > 0:
dvr_out.write(data)
else :
print ' no data'
The program stop with no error on the line (data = os.read(fd, 2048))
Can you give me some idea?
I'm sure that data arrive on that pid because if i use dvbsnoop i can
get it
Regards
Luca
--
You received this message because you are subscribed to the Google Groups
"kamaelia" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/kamaelia?hl=en.