canon sx110 preview problems

View: New views
2 Messages — Rating Filter:   Alert me  

canon sx110 preview problems

by bob smith-25 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I am attempting to write a program to use the sx110is as a tethered camera, with the --capture-preview being constantly polled to create an updating viewfinder image on a web page. Because it's not being used constantly I am changing the state of "capture", and this is where the problems are coming from. 

From just being turned on it works perfectly, but as soon as i change the state of capture from on to off and back to on it breaks --capture-preview, and will only display an "old" image. If I then take a picture with --capture-image-and-download, it really breaks it. The image is downloaded perfectly, but attempting any more --capture-previews barf with: 

*** Error ***              
Canon get viewfinder image failed: 767
*** Error (-1: 'Unspecified error') ***  

The only repeatable way to sort it is then to set capture to off, then back.

I have just tried 2.4.6.4 and that didn't make any difference. Is there anything I should be doing between state changes to sort this, or is it a bug?


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gphoto-user mailing list
Gphoto-user@...
https://lists.sourceforge.net/lists/listinfo/gphoto-user

Re: canon sx110 preview problems

by Marcus Meissner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Aug 10, 2009 at 05:02:55PM +0100, bob smith wrote:

> Hi all,
>
> I am attempting to write a program to use the sx110is as a tethered camera,
> with the --capture-preview being constantly polled to create an updating
> viewfinder image on a web page. Because it's not being used constantly I am
> changing the state of "capture", and this is where the problems are coming
> from.
>
> >From just being turned on it works perfectly, but as soon as i change the
> state of capture from on to off and back to on it breaks --capture-preview,
> and will only display an "old" image. If I then take a picture with
> --capture-image-and-download, it really breaks it. The image is downloaded
> perfectly, but attempting any more --capture-previews barf with:
>
> *** Error ***
> Canon get viewfinder image failed: 767
> *** Error (-1: 'Unspecified error') ***
>
> The only repeatable way to sort it is then to set capture to off, then back.
>
> I have just tried 2.4.6.4 and that didn't make any difference. Is there
> anything I should be doing between state changes to sort this, or is it a
> bug?

Can you try libgphoto2-2.4.6.5.tar.bz2 ?

        http://www.lst.de/~mm/libgphoto2-2.4.6.5.tar.bz2

I think I fixed the viewfinder/capture thing just after 2.4.6.4.

Ciao, Marcus

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gphoto-user mailing list
Gphoto-user@...
https://lists.sourceforge.net/lists/listinfo/gphoto-user