Re: Lumix G-Series (especially G9)
Alexander Holzinger <[email protected]> Thu, 27 Apr 2023 16:08:38 +0200
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <CA+40DLBAwtkBx=koMwWf9exvC8okRJ58m1-yqYcTBqcg_Ewbvw@mail.gmail.com> |
--===============4570115406166511157== Content-Type: multipart/alternative; boundary="0000000000009d0fb105fa51e56c" --0000000000009d0fb105fa51e56c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you Marcus. With your changes and after you pointed me in the right direction for updating gphoto2 the process with my G9 now is about 4 seconds faster. Ressource for updating: https://github.com/gonzalo/gphoto2-updater I removed the previous version with > $ sudo apt-get remove gphoto2 libgphoto2-6 libgphoto2-dev libgphoto2-l10n > libgphoto2-port12 > and then updated gphoto2 to the dev branch with > $ wget > https://raw.githubusercontent.com/gonzalo/gphoto2-updater/master/gphoto2-= updater.sh > && wget > https://raw.githubusercontent.com/gonzalo/gphoto2-updater/master/.env && > chmod +x gphoto2-updater.sh && sudo ./gphoto2-updater.sh > Now *--capture-image-and-dowload* takes a little over 8 seconds instead of almost 13 seconds. It is still not great compared to less than 2 seconds with a canon D7, but a huge improvement =E2=80=93 thanks again. Is this duration limited by the camera or could it still be improved somehow? I would of course help as much as I could, but without some guidance I won't get far. Best wishes, Alex Am Mo., 24. Apr. 2023 um 11:08 Uhr schrieb Marcus Meissner < [email protected]>: > Hi, > > So it spends 2x3 seconds waiting for capturecomplete. > > I now synthesize a capture complete event in git, patch attached. > > You can also try > > gphoto2 --trigger-capture --wait-event-and-download-files=3DFILEA= DDED > > Ciao, Marcus > On Sun, Apr 23, 2023 at 08:45:38PM +0200, Alexander Holzinger wrote: > > Hi again, has anybody an idea why it's taking gphoto2 about 13 seconds = to > > do the capture-image-and-download process with a lumix g9? > > Has anybody ever experienced such long durations for capturing and > > downloading an image with another camera? > > > > With the same setup but a canon eos d7 it only takes about 2 seconds. > > > > Best wishes > > Alex > > > > > > Am Di., 18. Apr. 2023 um 21:18 Uhr schrieb Alexander Holzinger < > > [email protected]>: > > > > > The original email below didn't make it to the list because of the > > > attachment =E2=80=93 it was too big. > > > I uploaded the log file to google drive. > > > > > > > https://drive.google.com/file/d/1keNkvvp57z5b5-0uPRESUL5ArPnWqbmG/view?us= p=3Dshare_link > > > > > > ---------- Forwarded message --------- > > > Date: Di., 18. Apr. 2023 um 21:11 Uhr > > > Subject: Re: [Gphoto-user] Lumix G-Series (especially G9) > > > To: Marcus Meissner <[email protected]> > > > Cc: <[email protected]> > > > > > > > > > Hi Marcus and all, > > > I now have a G9 and tested it with gphoto2. > > > Autodetect recognizes the G9 as a GH5. > > > > > > --capture-image-and-download works but the process takes about 13 > seconds. > > > With the 7D it only takes about 3 or 4 seconds. > > > Do you have any idea if the process could be sped up? > > > > > > Actually the captured image gets written on the pi after about 6 > seconds. > > > But then the process takes another 6 to 7 seconds to delete the file > on the > > > camera or do something else. When I add --keep to the command it is t= he > > > same. About 6 seconds to get the image on the raspberry and another 6 > to 7 > > > seconds doing something else. > > > > > > I attach the logfile for coming from *env LANG=3DC gphoto2 --debug > > > --debug-logfile=3Dmy-logfile.txt --capture-image-and-download* > > > > > > It would be really cool if the time could be minimized somehow. > > > > > > Best wishes to all > > > Alex > > > > > > > > > Am Do., 22. Dez. 2022 um 17:46 Uhr schrieb Alexander Holzinger < > > > [email protected]>: > > > > > >> Thank you Marcus, > > >> > > >> if I get a G9 I will write about my findings. > > >> I tested a GH6 via USB. It gets detected and can take a photo but th= e > > >> process freezes and is not downloading the picture. > > >> > > >> ciao, Alex > > >> > > >> Am Mi., 21. Dez. 2022 um 15:17 Uhr schrieb Marcus Meissner < > > >> [email protected]>: > > >> > > >>> On Wed, Dec 21, 2022 at 12:00:39PM +0100, Alexander Holzinger wrote= : > > >>> > Hi everybody, > > >>> > > > >>> > > > >>> > I am quite new to gphoto =E2=80=93 first impression: it's quite a= wesome! > > >>> > > > >>> > Testing it out with a Canon 7D everything worked perfectly. > > >>> > But I am planning on buying a Lumix G9. > > >>> > Unfortunately the Lumix G-Series is labeled as 'experimental' and= I > > >>> > couldn't find much information on it. > > >>> > > > >>> > Has anyone some experience with gphoto2 and the Lumix G9? > > >>> > Does 'gphoto capture-image-and-download' work? > > >>> > > >>> The Lumix I used for development did not do capture over USB, but > only > > >>> over WLAN. > > >>> > > >>> I sadly do not remember if capture over USB works, I did add the co= de > > >>> though. > > >>> I think preview at least worked. > > >>> > > >>> I dont have the camera available here though. > > >>> > > >>> ciao, Marcus > > >>> > > >> > > > > _______________________________________________ > > Gphoto-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/gphoto-user > > --0000000000009d0fb105fa51e56c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Thank you Marcus.</div><div><br></div><div>With your = changes and after you pointed me in the right direction for updating gphoto= 2 the process with my G9 now is about 4 seconds faster. <br></div><div><br>= </div><div>Ressource for updating: <a href=3D"https://github.com/gonzalo/gp= hoto2-updater">https://github.com/gonzalo/gphoto2-updater</a></div><div>I r= emoved the previous version with</div><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex"><div>$ sudo apt-get remove gphoto2 libgphoto2-6 libgphoto2-dev= libgphoto2-l10n libgphoto2-port12</div></blockquote><div>and then updated = gphoto2 to the dev branch with<br></div><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad= ding-left:1ex"><div>$ wget <a href=3D"https://raw.githubusercontent.com/gon= zalo/gphoto2-updater/master/gphoto2-updater.sh">https://raw.githubuserconte= nt.com/gonzalo/gphoto2-updater/master/gphoto2-updater.sh</a> && wge= t <a href=3D"https://raw.githubusercontent.com/gonzalo/gphoto2-updater/mast= er/.env">https://raw.githubusercontent.com/gonzalo/gphoto2-updater/master/.= env</a> && chmod +x gphoto2-updater.sh && sudo ./gphoto2-up= dater.sh</div></blockquote><div><br></div><div>Now <i>--capture-image-and-d= owload</i> takes a little over 8 seconds instead of almost 13 seconds. It i= s still not great compared to less than 2 seconds with a canon D7, but a hu= ge improvement =E2=80=93 thanks again.</div><div><br></div><div>Is this dur= ation limited by the camera or could it still be improved somehow?</div><di= v>I would of course help as much as I could, but without some guidance I wo= n't get far.</div><div><br></div><div><br></div><div>Best wishes,</div>= <div>Alex<br></div><div><br></div><div><br></div><div><br></div><div><br></= div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl= ass=3D"gmail_attr">Am Mo., 24. Apr. 2023 um 11:08=C2=A0Uhr schrieb Marcus M= eissner <<a href=3D"mailto:[email protected]">[email protected]<= /a>>:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px= 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br> <br> So it spends 2x3 seconds waiting for capturecomplete.<br> <br> I now synthesize a capture complete event in git, patch attached.<br> <br> You can also try<br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 gphoto2 --trigger-capture --wait-event-and-down= load-files=3DFILEADDED<br> <br> Ciao, Marcus<br> On Sun, Apr 23, 2023 at 08:45:38PM +0200, Alexander Holzinger wrote:<br> > Hi again, has anybody an idea why it's taking gphoto2 about 13 sec= onds to<br> > do the capture-image-and-download process with a lumix g9?<br> > Has anybody ever experienced such long durations for capturing and<br> > downloading an image with another camera?<br> > <br> > With the same setup but a canon eos d7 it only takes about 2 seconds.<= br> > <br> > Best wishes<br> > Alex<br> > <br> > <br> > Am Di., 18. Apr. 2023 um 21:18 Uhr schrieb Alexander Holzinger <<br= > > <a href=3D"mailto:[email protected]" target=3D"_blank">lxne.ozne@gma= il.com</a>>:<br> > <br> > > The original email below didn't make it to the list because o= f the<br> > > attachment =E2=80=93 it was too big.<br> > > I uploaded the log file to google drive.<br> > ><br> > > <a href=3D"https://drive.google.com/file/d/1keNkvvp57z5b5-0uPRESU= L5ArPnWqbmG/view?usp=3Dshare_link" rel=3D"noreferrer" target=3D"_blank">htt= ps://drive.google.com/file/d/1keNkvvp57z5b5-0uPRESUL5ArPnWqbmG/view?usp=3Ds= hare_link</a><br> > ><br> > > ---------- Forwarded message ---------<br> > > Date: Di., 18. Apr. 2023 um 21:11 Uhr<br> > > Subject: Re: [Gphoto-user] Lumix G-Series (especially G9)<br> > > To: Marcus Meissner <<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>><br> > > Cc: <<a href=3D"mailto:[email protected]" targ= et=3D"_blank">[email protected]</a>><br> > ><br> > ><br> > > Hi Marcus and all,<br> > > I now have a G9 and tested it with gphoto2.<br> > > Autodetect recognizes the G9 as a GH5.<br> > ><br> > > --capture-image-and-download works but the process takes about 13= seconds.<br> > > With the 7D it only takes about 3 or 4 seconds.<br> > > Do you have any idea if the process could be sped up?<br> > ><br> > > Actually the captured image gets written on the pi after about 6 = seconds.<br> > > But then the process takes another 6 to 7 seconds to delete the f= ile on the<br> > > camera or do something else. When I add --keep to the command it = is the<br> > > same. About 6 seconds to get the image on the raspberry and anoth= er 6 to 7<br> > > seconds doing something else.<br> > ><br> > > I attach the logfile for coming from *env LANG=3DC gphoto2 --debu= g<br> > > --debug-logfile=3Dmy-logfile.txt --capture-image-and-download*<br= > > ><br> > > It would be really cool if the time could be minimized somehow.<b= r> > ><br> > > Best wishes to all<br> > > Alex<br> > ><br> > ><br> > > Am Do., 22. Dez. 2022 um 17:46 Uhr schrieb Alexander Holzinger &l= t;<br> > > <a href=3D"mailto:[email protected]" target=3D"_blank">lxne.ozn= [email protected]</a>>:<br> > ><br> > >> Thank you Marcus,<br> > >><br> > >> if I get a G9 I will write about my findings.<br> > >> I tested a GH6 via USB. It gets detected and can take a photo= but the<br> > >> process freezes and is not downloading the picture.<br> > >><br> > >> ciao, Alex<br> > >><br> > >> Am Mi., 21. Dez. 2022 um 15:17 Uhr schrieb Marcus Meissner &l= t;<br> > >> <a href=3D"mailto:[email protected]" target=3D"_blank">ma= [email protected]</a>>:<br> > >><br> > >>> On Wed, Dec 21, 2022 at 12:00:39PM +0100, Alexander Holzi= nger wrote:<br> > >>> > Hi everybody,<br> > >>> ><br> > >>> ><br> > >>> > I am quite new to gphoto =E2=80=93 first impression:= it's quite awesome!<br> > >>> ><br> > >>> > Testing it out with a Canon 7D everything worked per= fectly.<br> > >>> > But I am planning on buying a Lumix G9.<br> > >>> > Unfortunately the Lumix G-Series is labeled as '= experimental' and I<br> > >>> > couldn't find much information on it.<br> > >>> ><br> > >>> > Has anyone some experience with gphoto2 and the Lumi= x G9?<br> > >>> > Does 'gphoto capture-image-and-download' wor= k?<br> > >>><br> > >>> The Lumix I used for development did not do capture over = USB, but only<br> > >>> over WLAN.<br> > >>><br> > >>> I sadly do not remember if capture over USB works, I did = add the code<br> > >>> though.<br> > >>> I think preview at least worked.<br> > >>><br> > >>> I dont have the camera available here though.<br> > >>><br> > >>> ciao, Marcus<br> > >>><br> > >><br> <br> <br> > _______________________________________________<br> > Gphoto-user mailing list<br> > <a href=3D"mailto:[email protected]" target=3D"_blank"= >[email protected]</a><br> > <a href=3D"https://lists.sourceforge.net/lists/listinfo/gphoto-user" r= el=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/lis= tinfo/gphoto-user</a><br> <br> </blockquote></div> --0000000000009d0fb105fa51e56c-- --===============4570115406166511157== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============4570115406166511157== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gphoto-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gphoto-user --===============4570115406166511157==--