-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canon EOS 700D: Liveview not starting #5
Comments
Also when I'm listing all the processes, i can neither find it there after restart nor after running either List of processes:
|
This very strange that you don't get any message. You run from ssh isn't it ? Can you try to run directly from the RPI ? |
I tried it both ways but unfortunately it makes no difference. |
After a test, run |
Here you are:
|
I restarted without camera now, but plugged it in again at sec 26 as you can see… |
Same camera here, same issue. I've run into strange things like this before in my previous gphoto2 projects. Question: In your readme you mentioned that you are packaging libgphoto2 into this project's build. What version are you packaging, or are you referencing the latest versions by default? Certain earlier versions of libgphoto2 have an issue requiring a usbreset to be sent to the pi in order for the camera to recognize again. Also: How are you implementing the camera-toolbox start on boot? I have a 700D and will be testing this early this week. |
Indeed I was packaging libgphoto2, but now I've removed it from the project (but I still reference it with git submodule). Can you update the cameratoolbox binary and try again please ? You need the latest version so that it recognize canon camera. @foxinsox this the same binary that you should have already installed previously here rlamarche/camera-toolbox-images#1 (comment) @protobubble on boot, I try to detect the camera model and start toolbox : https://github.com/rlamarche/camera-toolbox/blob/master/app/main.cpp#L177 On the init sequence I get some infos : |
The version of libgphoto2 in the image is 2.5.11. @protobubble do you want to try with a specific version of libgphoto ? let me know |
Hej @rlamarche , thanks for coming back on this. What happens at first is that the program "canon digital camera" opens automatically and claims the camera. Camera-toolbox fails due to this:
I remember calling When i run the program again after i manually unmounted the camera from the "canon digital camera" software, camera-toolbox starts successfully. I can see a black window with some camera settings and I can run most commands like setting Aperture, ISO or Speed or trigger a picture capture. However, the live-view does not work:
The EOS 700 D is on movie record mode and i can see the live-view on the cameras display. |
Actually i just see that the programm creates a GPCanonCamera instance, but unlike the GPNikonCamera class you haven't implemented any methods for live-view yet. So i guess by now it's not even supposed to work at all? |
Hi, Just a quick reply : the "startliveview" is not really needed neither on Nikon nor Canon camera because libgphoto should start it automatically when requesting for preview. Thank you for your feedback above, I'll look at it when I'll have the time 👍 |
WOW, Amazing!!! Quick update: |
Hi, With a nikon camera and raspberry pi 3, I get between 25 and 40 fps. Maybe more I don't remember - it depends of the camera mode. For example, if I set the mode 1280x720 60fps, I should get 60fps. I don't think that your virtual machine is limiting you here. Can you get a single preview image on this url : http://..../api/v1/preview.jpg and publish it here please ? |
The right key to enable liveview is "enter" from the numpad. |
Thank you ! I think that the bandwidth (or CPU) is limiting you, and that's why I get more fps with a nikon. Can you run Thanks ! |
Interesting!
and for the Canon EOS 700D:
If of interest: gphoto2 version specifics:
|
Ok I have (re-)found a previous issue on libgphoto where somebody has succesfully changed the livevew resolution : gphoto/libgphoto2#75 (comment) The widget name is : /main/settings/output (PTP_DPC_CANON_EOS_EVFOutputDevice) Do you have compiled your-self camera-toolbox ? |
Oh that sounds good! |
Ok I checked libgphoto2 sourcecode and it seems that the value "2" is forced on each previewframe. Did you compiled libgphoto2 youself ? Are you using the image I provided ? Tell me. In the current version, the following line needs to be updated : https://github.com/gphoto/libgphoto2/blob/master/camlibs/ptp2/library.c#L2585 :
|
The widget "movierecordtarget" is the answer. The current value on your both cameras is "None". We should set "Card" here. It is possible by updating camera-toolbox code. For example, update
|
Alright, thanks for the help! I'll try to change the libgphoto sourcecode and recompile now. I'm not using the image you provided. I downloaded libgphoto2 2.5.12 from here and compiled it myself, so I'll just to that again with the change you proposed. |
Ok, so i tried it with
however, |
Ok. Maybe this is a feature added on camera that has wifi remote feature. |
Was the screen of the canon camera always "ON" on your tests ? |
i wonder where i could find out about all other possible values…
Yes, it was. |
On this ticket #4 (comment), with a canon 6D, @claussteinmassl is getting around 22fps in the same resolution, but have a lag. Do you have a lag ? |
Hi again, |
Hey,
![img_2650](https://cloud.githubusercontent.com/assets/8191065/23299967/d169d826-fa83-11e6-91c2-b515d1d63492.JPG)
i wanted to check out this amazing project with my canon eos 700D (switched on in camera mode), so I downloaded and deployed your latest Image from the image repository, but unfortunately it didn't succeed.
It seems like the Raspberry Pi 3, Model B doesn't really start the application.. Please refer to the added Screenshots for the full console log.
It sets up the WiFi and I can connect to it and ping it under 172.24.1.1, but none of the API calls works yet. Also it recognizes the camera model if i plug it off and in again.
The text was updated successfully, but these errors were encountered: