i have also try this example:
rom Kamaelia.Device.DVB.Core import DVB_Multiplex
from Kamaelia.Chassis.Pipeline import Pipeline
from Kamaelia.File.Writing import SimpleFileWriter
import dvb3
freq = 1.1977 # 529.833330 # 505.833330
feparams = {
"inversion" : dvb3.frontend.INVERSION_AUTO,
"symbol_rate" : 2750000,
"fec_inner" : dvb3.frontend.FEC_AUTO,
}
Pipeline(
# FIXME: Hmm. Need to check whether 0x2000 is supported by freecom
DVB-T stick
# FIXME: If it isn't need to change this to grab the pids manually,
as it used to.
# FIXME: Though that could be a different example...
DVB_Multiplex(freq, [1296],feparams), # BBC Multiplex 1, whole
transport stream
SimpleFileWriter("test.txt"),
).run()
But the file is of 0 byte
Luca
On 11 Dic, 22:33, luca72 <[email protected]> wrote:
> Finally i have reinstalled all and now it works this aremyline:
>
> self.scheda = dvb3.frontend.Frontend(0)
> inversione = 2
> feparams = {
> "inversion" : dvb3.frontend.INVERSION_AUTO,
> "symbol_rate" : symbol_rate,
> "fec_inner" : dvb3.frontend.FEC_AUTO,
> }
> if self.polarizzazione == 'H':
> self.scheda.set_voltage(18)
> else :
> self.scheda.set_voltage(13)
> self.scheda.set_frontend(dvb3.frontend.QPSKParameters
> (frequency = frequenza, **feparams ))
>
> Now can you help me to get log a data from one know pid i have to use
> the demuxer,how i can redirect the output toa list?
>
> Thanks
> Luca
>
> On 8 Dic, 12:25, luca72 <[email protected]> wrote:
>
> > wtriting this i get the following error:
>
> > from Kamaelia.Device.DVB.Core import DVB_Multiplex
> > from Kamaelia.Chassis.Pipeline import Pipeline
> > from Kamaelia.File.Writing import SimpleFileWriter
> > from Kamaelia.Util.OneShot import OneShot
> > from Kamaelia.Device.DVB.Tuner import Tuner
> > #
> > import dvb3
> > from dvb3 import frontend
> > import inspect
> > freq = 11977
> > feparams = {"inversion" : 2, "symbol_rate":27500, "fec_inner":2 }
> > Pipeline(Tuner(freq, feparams)).run()
>
> > The file frontend.pyx could not be opened and then
>
> > The debugged program raised the exception unhandled IOError
> > "(22, 'Invalid argument')"
> > File: frontend.pyx, Line: 364
>
> > On 8 Dic, 11:23, luca72 <[email protected]> wrote:
>
> > > I have made some change on the Tuner.py
>
> > > The line 150
> > > self.tune_DVB(self.freq, self.feparams)
> > > was :
> > > self.tune_DVBT(self.freq, self.feparams) (But DVBT was not defined)
>
> > > and here :
> > > def tune_DVB(self, frequency, feparams={}):
> > > # Build the tuning parameters - no longer assumes DVB-T
> > > build_params_type = fe.get_dvbtype()
> > > #-----------------------------------------fe is nod defined it is
> > > self.fe
>
> > > params = build_params_type(
> > > frequency = frequency * 1000 * 1000,
> > > **feparams
> > > )
> > > # Start the tuning
> > > self.fe.set_frontend(params)
>
> > > On 7 Dic, 19:35, luca72 <[email protected]> wrote:
>
> > > > No one use kamaelia with dvb-s card?
>
> > > > On 30 Nov, 22:21, Michael Sparks <[email protected]> wrote:
>
> > > > > On Monday 30 November 2009 20:34:34 luca72 wrote:> No one can help me
> > > > > please
> > > > > > Luca
>
> > > > > > On 29 Nov, 12:03, luca72 <[email protected]> wrote:
> > > > > > > Hello again :
> > > > > > > this is my file:
>
> > > > > > > import dvb3
>
> > > > > ...
>
> > > > > I haven't had time yet to reply. Sorry. (I've been busy doing work
> > > > > today, and
> > > > > spending yesterday with family)
>
> > > > > That was the first time you'd posted something to the list which looks
> > > > > debuggable though. I'll take at some point this week. I don't have a
> > > > > DVB-S
> > > > > card though, so I won't be able to fully test, but I'll take a look.
>
> > > > > Michael
> > > > > --http://yeoldeclue.com/bloghttp://twitter.com/kamaelianhttp://www.kama...
--
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.