Re: [gphoto-devel] gPhoto2 - Regarding Camera Control Suggestion
Nazmus Sakib <[email protected]> Sun, 17 May 2020 22:05:35 +0600
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <CAGLcuSGuQTXMr2NQ_y+2-CN=53uQN=fx2iHhoz8UKTpRLsya-g@mail.gmail.com> |
I just did the test again ... my need is - I want to do the Auto-Focus independently (not by capture-image) I did the below: - Set the Camera Lens to Manual and De-Focus the scene - Take image by *-capture-image-and-download* - Set the Camera Lens to Auto - Set *-viewfinder=1* - Set *-autofocusdrive=1* - Change the Camera Lens to Manual again - Take image by *-capture-image-and-download* Compare two picture there is no change in Focus. Both picture are De-Focus. Any advise? Or my test case is wrong? Thanks. On Sun, May 17, 2020 at 9:31 PM Nazmus Sakib <[email protected]> wrote: > Ok yes ... I got it as only 1 USB session can be there. > > But when LiveView is OFF (viewfinder = 0) ...then if I run "*--set-config > autofocusdrive=1" *then it's not doing any Focus. It should do the > Auto-Focus ... right? > > Thanks. > > Regards. > > > > On Sun, May 17, 2020 at 9:21 PM Marcus Meissner <[email protected]> wrote: > >> Hi, >> >> This would be the command... However you cannot execute in a parallel >> gphoto2 session, it needs to be in the same session as the >> --capture-movie, >> which makes this tricky.... >> >> Ciao, Marcus >> On Sun, May 17, 2020 at 08:20:35PM +0600, Nazmus Sakib wrote: >> > Hi Alan. >> > >> > Thanks for replying. Which command you mean to do Auto Focus ... >> *--set-config >> > autofocusdrive=1*? I tried it but the focus ring not changed. >> > >> > Regards. >> > >> > On Sun, May 17, 2020 at 8:00 PM Alan Corey <[email protected]> wrote: >> > >> > > Yes, you send a command to start auto focus, you choose when to send >> it. >> > > On May 17, 2020 9:56 AM, "Nazmus Sakib" <[email protected]> wrote: >> > > >> > >> Hi Marcus. >> > >> >> > >> One ques please ... >> > >> >> > >> I want to do only Auto-Focus the LiveView, not Capture-Image. Is it >> > >> possible? >> > >> >> > >> For test I'll use Canon 6D and Nikon D5100. >> > >> >> > >> Thanks. >> > >> >> > >> Regards. >> > >> >> > >> On Sat, May 16, 2020 at 7:57 PM Marcus Meissner <[email protected]> >> wrote: >> > >> >> > >>> On Sat, May 16, 2020 at 06:02:34PM +0600, Nazmus Sakib wrote: >> > >>> > Hi Marcus. Well noted. >> > >>> > >> > >>> > One more problem I am facing related with Live Streaming and I'll >> be >> > >>> glad >> > >>> > to have your advise. >> > >>> > >> > >>> > I am using Live Streaming using below commands and view the >> stream on >> > >>> VLC >> > >>> > Player (Network Stream). >> > >>> > >> > >>> > gphoto2 --set-config viewfinder=1 >> > >>> > gphoto2 --capture-movie --stdout | ffmpeg -re -i pipe:0 -listen 1 >> -f >> > >>> mjpeg >> > >>> > http://10.10.10.253:8080/feed.mjpg >> > >>> > >> > >>> > But I am experiencing around 3 - 5 sec delay in the Stream View. >> My >> > >>> WiFi is >> > >>> > stable tough. I tested it using both Canon 6D and Nikon 5100. >> > >>> > >> > >>> > Is there any way to reduce the delay and make the stream as much >> > >>> real-time >> > >>> > as possible? >> > >>> >> > >>> This is hard to do ... we emit images via stdout as quick as we >> can, but >> > >>> the buffering over ffmpeg and http will cause delays :/ >> > >>> >> > >>> I found >> > >>> >> https://stackoverflow.com/questions/16658873/how-to-minimize-the-delay-in-a-live-streaming-with-ffmpeg >> > >>> >> > >>> e.g. ffmpeg flags: >> > >>> >> > >>> -fflags nobuffer >> > >>> >> > >>> would be worth to try. >> > >>> >> > >>> Ciao, Marcus >> > >>> >> > >> >> > >> >> > >> _______________________________________________ >> > >> Gphoto-user mailing list >> > >> [email protected] >> > >> https://lists.sourceforge.net/lists/listinfo/gphoto-user >> > >> >> > >> >> >> >> > _______________________________________________ >> > Gphoto-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/gphoto-devel >> >> >> -- >> Marcus Meissner,SUSE LINUX GmbH; Maxfeldstrasse 5; D-90409 Nuernberg; Zi. >> 3.1-33,+49-911-740 53-432,,serv=loki,mail=wotan,type=real < >> [email protected]> >> > _______________________________________________ Gphoto-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gphoto-user