gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Changing preview resolution

Open jradulovic opened this issue 3 years ago • 6 comments

I am using the gphoto2 --capture-preview command successfully with my Canon EOS M100 but the resolution of the captured images is only 480 x 272. The camera's manual claims that the camera has "1,040,000 dots LCD resolution", which is much higher. Is it possible to change the resolution of the preview images captured by gphoto2?

jradulovic avatar Jul 10 '20 22:07 jradulovic

I currently do not know how to or with which method this could be done. No known property shows the possibilty, but of course there might be hidden properties :(

Are you aware if other software can do that?

msmeissn avatar Jul 11 '20 08:07 msmeissn

I don't know of any software that can do it...I have most recently tried DragonFrame but they don't support this camera very well. I am going to try a few others and let you know if I find anything. I may have to resort to the HDMI output from the camera into the computer using a HDMI-USB dongle in order to get a high res live view. But of course that would require another library in addition to gphoto2.

jradulovic avatar Jul 11 '20 20:07 jradulovic

I currently would declare it a camera side limitation :/

msmeissn avatar Jul 12 '20 07:07 msmeissn

The M50 has a very similar problem and it does not seem to be a camera limitation as there is several software options on Windows that do not post the very low resolution bound. The ones I am aware of are sparkocam and the EOS webcam utility. See issue posted by @Ben-Chapman: https://github.com/gphoto/libgphoto2/issues/567

g-voelker avatar Dec 06 '20 14:12 g-voelker

I'm stuck at the same point with my M50. So far I found there are options of gphoto to set higher resolution of preview/capture-movie. Option 1: Set the output of your camera to PC, should be something like gphoto2 --set-config "Camera Output"=PC Option 2: Set liveviewsize to Large gphoto2 --set-config "Live View Size"=Large

Unfortunately, neither options really work for me, because the settings seem not to be applied. Whe I check the config using gphoto2 --get-config "Camera Output" or gphoto2 --get-config "Live View Size" it's always on default values Camera Output=MOBILE2 and Live View Size=Small

I tried severeal variations to change the configs, using --set-config-value, --set-config-index, writging all ing qoutations etc. but the values don't apply.

Otherwise the tool entangle works fine with the m50 and there I'm able to set the output to PC / Large. But this tool doesn't have cli control. So I'd prefer so use gphoto2 and v4l2, to use it with obs.

Has anyone an idea how to get the settings applied? Is there maybe a config file, wich I could try to edit manually?

theonejrm avatar Mar 15 '22 12:03 theonejrm

entangle also uses libgphoto2... that the settings do not stick over multiple runs could be 1 thing.

so try combining the gphoto2 --set-config and --capture-movie in 1 call?

msmeissn avatar Mar 19 '22 11:03 msmeissn