Re: Need help with D7500 Live view

Marcus Meissner <[email protected]> Thu, 28 Dec 2023 17:06:09 +0100
Newsgroups gmane.comp.multimedia.gphoto.devel
Organization SUSE Software Solutions Ger many GmbH, Frankenstraße 146, 90461 Nuernberg, Ger many, GF: Ivo Totev, Andrew Myers, Andrew McDonald , Martje Boudien Moerman, HRB 36809, AG Nürnberg
Message-ID <[email protected]>
Hi,

On Wed, Dec 27, 2023 at 05:46:48PM +0000, Glenn van der Werff wrote:
> Hello Marcus,
> 
> Thank you for sharing your open-source code. Since I wasn't certain which email address is currently active, I've sent this message to all the addresses I found.
> 
> I'm seeking assistance with using gphoto2 to stream a live view from a Nikon D7500 to a Raspberry Pi. My goal is to facilitate this stream through a WebSocket server. Previously, I had a functioning setup using digicamcontrol, but I later discovered that using a Raspberry Pi would be more suitable for this project.
> 
> I'm interested in employing a method similar to the one used in digicamcontrol, rather than resorting to movie capture stdout. From my understanding, based on the Maid3d1 file, it's necessary to change the LiveViewStatus to 1 to enable live viewing.
> 
> However, I've encountered a challenge: the Live View Status setting is returning "Readonly: 1". Despite attempting to set the control mode to 0 first, the issue persists.
> 
> Here are the details of the setting I'm struggling with:
> 
> /main/other/d1a2
> Label: Live View Status
> Readonly: 1
> Type: MENU
> Current: 0
> Choice: 0 0
> Choice: 1 1
> 
> Could you possibly offer some guidance or point me in the right direction to resolve this issue?

Well, does liveview work?

gphoto2 --capture-preview

if yes, the usual pattern is:

gphoto2 --capture-movie --stdout | ... into some other program like ffmpeg .. 

Ciao, Marcus