I have a movie with length of 16MB on my Canon PowerShot A80 camera. I tried to download it with the camera client, but I only got an error code. Same happened when I tried to delete the movie. The problem in deletion case is actually in libgphoto2. camlibs/canon/usb.c:canon_usb_get_dirents() checks the size of the picture that it's not more than 1024 * 1024 (not sure about units). The other problem is that the max_picture_size is set by somebody to 10MB so that when canon_usb_get_file() is called, it refuses to download the file. As a workaround, I replaced the values with very large ones, and then I was able to retrieve my movie from the camera. Reproducible: Always Steps to Reproduce: 1.Record a movie with length>10MB on A80 2.Try to download/delete it Actual Results: An error message was displayed. Expected Results: The movie should've been downloaded/deleted.
Seems there is a bug reported in gphoto's bug database: http://sourceforge.net/tracker/?group_id=8874&atid=108874&func=detail&aid=940409 It contains a workaround.
liquidx, not sure if you want to implement the workaround in the Gentoo version or leave that to the upstream. The fix in the url shouldn't affect anything else.
if we can have a backported patch against the current version in portage, i'd be happy to add it.
*** Bug 68574 has been marked as a duplicate of this bug. ***
@Alastair: The above "dupe" seems to include the necessary information.
Hi Terje, (lib)gphoto2 2.1.5 has been released and should contain the bugfix. Could you please test the new version and report back?
On 2.1.5 the bug does not exist any more!
Verified with gphoto 2.1.5.