I'm not hugely familiar with DVB-S so anything I'm about to suggest might
be wrong(!) ...

If I remember right, DVB-S is QPSK modulation based.

Looking at:

http://code.google.com/p/kamaelia/source/browse/trunk/Code/Python/Bindings/python-dvb3/dvb3/cfrontend.pxd#169

...I reckon the feparams you need to specify are therefore:
  "frequency"
  "inversion"
  "symbol_rate"
  "fec_inner"

The Tuner will know what kind of device (DVB-S, DVB-C, DVB-T) it is using
so will treat your feparams accordingly.

27500 sounds like the symbol rate. I've no idea about the other
parameters. You can try the 'auto' flags for the other two. If you're
lucky, your dvb-s card might support that:
    INVERSION_AUTO
    FEC_AUTO

eg:
    feparams = {
        "symbol_rate" : 27500,
        "inversion" : dvb3.frontend.INVERSION_AUTO,
        "fec_inner" : dvb3.frontend.FEC_AUTO
    }



Matt

> i make a little change but i get another error:
> from Kamaelia.Device.DVB.Core import DVB_Multiplex
> from Kamaelia.Chassis.Pipeline import Pipeline
> from Kamaelia.File.Writing import SimpleFileWriter
>
> import dvb3
>
>
> freq = 119.770000
> feparams = {"symbol_rate" : 27500,
>
>
>     }
>
> and i get  the following error
>
> The file frontend.pyx could not be opened.
>
> and after i gat :
> The debugged program raised the exception unhandled IOError
> "(22, 'Invalid argument')"
> File: frontend.pyx, Line: 364
>
> Can you hel me?
>
> Thanks
>
> Luca
>
> On 19 Nov, 22:07, luca72 <lucabe...@libero.it> wrote:
>> Thanks Michael for your help, but at my first test i get problems
>> usual:
>> so i explain my test
>> i have this data i have to log ECM and store it in file:
>>
>> Frequency 11977
>> pid 1296
>> Horizzontal
>> 27500
>>
>> So i start just to write :
>>
>> from Kamaelia.Device.DVB.Core import DVB_Multiplex
>>     from Kamaelia.Chassis.Pipeline import Pipeline
>>     from Kamaelia.File.Writing import SimpleFileWriter
>>
>>     import dvb3
>>
>>     freq = 119.77
>>     feparams = {
>>         "constellation" : dvb3.frontend.QPSK,
>>
>>     }
>>
>>     Pipeline(
>>        DVB_Multiplex(freq, [0x1296],feparams), # BBC Multiplex 1,
>> whole transport stream
>>        SimpleFileWriter("prova"),
>>     ).run()
>>
>> I get the error :
>> The debugged program raised the exception unhandled TypeError
>> "'constellation' is an invalid keyword argument for this function"
>> File: /usr/local/lib/python2.6/dist-packages/Kamaelia/Device/DVB/
>> Core.py, Line: 210
>>
>> Thanks Luca
>>
>> On 19 Nov, 10:20, Michael Sparks <spark...@gmail.com> wrote:
>>
>> > On Thursday 19 November 2009 07:25:56 luca72 wrote:
>>
>> > > Thanks for the linkd page, in the example there are dvb-t example
>> but
>> > > i con also use for dvb-s making some change is it correct?
>>
>> > You'll be pleased to hear that the dvb bindings were first used with a
>> DVB-S
>> > card. Most current testing has been with DVB-T, but they should still
>> work
>> > with DVB-S. (We've made changes to support DVB-C as well when a patch
>> came
>> > our way BTW :)
>>
>> > 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 kamae...@googlegroups.com.
> To unsubscribe from this group, send email to
> kamaelia+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/kamaelia?hl=.
>
>
>


-- 
| Matt Hammond
|
| [anything you like unless it bounces] 'at' matthammond 'dot' org



--

You received this message because you are subscribed to the Google Groups 
"kamaelia" group.
To post to this group, send email to kamae...@googlegroups.com.
To unsubscribe from this group, send email to 
kamaelia+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/kamaelia?hl=.


Reply via email to