Hi Christopher, > libgphoto2 2.5.24.1 standard camlibs (SKIPPING lumix), gcc, ltdl, > EXIF > libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect > usbscsi, gcc, ltdl, EXIF, USB, serial without locking > christopherkao@Christophers-MacBook-Pro ~ % > > > Honestly, I have no idea how I fixed it. Earlier, based on advice from > Hubert, I ran ```./configure --prefix=/usr/local/Cellar/libgphoto2/2.5.24 > --libdir=/usr/local/Cellar/libgphoto2/2.5.24/lib --without-readline```. I > need the —without-readline on Mac btw. But then I did make install and make > and they had errors, so it didn’t work. > > So then I just went back and did a normal `./configure` in libgphoto2 > directory, then `make`, and `make install`. I noticed that the `make` step > seemed to be slower at running before. But then once that was done I did > `gphoto2 —version` and it shows the correct 2.5.24.1 version for libgphoto2 > now. So not exactly sure what happened, but here are the summary logs you > requested.
This fixed it and the content is now there ... relevant things: Streams:00020001 Video: dss: 36d, timeres: 33333333d, fhsize: 8, fmxsize: 1048558, phsize: 6, pmsize: 1048576, palign: 1 17: dss: 36d, timeres: 33333333d, fhsize: 8, fmxsize: 1048558, phsize: 6, pmsize: 1048576, palign: 1 So the camera supports PTP v1.1 streams, here the preview stream. (Not sure what format 17 is, perhaps a different format) Supported Streams(0x5020):(read only) (type=0x6) Range [0 - 983041, step 1] value: 131073 This is 0|17 from above (0 = Video, 17 = vendor specific) Enabled Streams(0x5021):(readwrite) (type=0x6) Range [0 - 983041, step 1] value: 0 Here we would enable the streaming, by setting 1 or so. Video Format(0x5022):(read only) (type=0x6) Enumeration [1196444237] value: 1196444237 This is the format we will get, "MJPG" ... meaning concatened jpeg frames as we currently generate. Video Resolution(0x5023): error 201b on query. Video Framerate(0x5025):(read only) (type=0x6) Enumeration [25000,30000] value: 30000 interval between frames in microseconds... 1.000.000/30.000 would mean around 33 fps. The whole stream handling is new to me, your camera is the first I see that supports it. So there currently is no code in libgphoto2 for it ... although it might not be hard to add it. Can you try one more thing: gphoto2 --set-config 5021=1 --set-config opcode=0x1025,1 --debug --debug-logfile=stream.log If it works, it will start endless streaming, so you will need to press ctrl.c and truncate the logfile before sending ;) As the streaming is tricky, I can implement over easter perhaps some small non optimal testcode. Ciao, Marcus _______________________________________________ Gphoto-devel mailing list Gphoto-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gphoto-devel