Skip to content

Unable to set Video mode, Format and Frame rate using pyfly2.Context.set_mode() #10

@JoosMax

Description

@JoosMax

First of all, thank you very much for sharing your work.
I've been able to communicate to my camera (Flea3 FL3-U3-13S2M), set properties (shutter for example), but so far I had no success in setting the frame rate using Context.set_mode(a, b) where a and b are integer corresponding to the desired VideoMode and FrameRate.

for example :

context.get_mode()

(23, 8)

but

context.set_mode(23,8)

Traceback (most recent call last):
File "", line 1, in
context.set_mode(23,8)
File "pyfly2.pyx", line 512, in pyfly2.Context.set_mode (pyfly2.c:6120)
File "pyfly2.pyx", line 133, in pyfly2.errcheck (pyfly2.c:1653)
FC2Error: 'IIDC failure.'

I was wondering if anyone was able to use context.set_mode() properly.

Best regards,
Maxime Joos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions