Open MrGiskard opened 5 years ago
UPDATE: I have discovered that when I insert an SD card in the Nikkon D5100 movie capture works fine with the command I originally posted with one change: --wait-event-and-download
must be set to at least 4s. Anything below that appears to cause the file download to fail. I do not get any error messages whatsoever so I do not understand why that is happening but I'm guessing it's because anything below 4s is less than the time required to actually complete the file transfer.
So this issue appears to have been resolved although i would like to know whether it is possible to capture video without an SD card and also whether there is any way to capture video on a Nikkon D5000 - the "moviesound
" setting i mentioned earlier appears to be simply a setting to determine whether the movie will have sound or not although it is useless if the actual movie capture setting is not visible.
Greetings to all
I have run into problems trying to capture video on a Nikkon D5000/D5100 with gphoto on a Rasberry Pi and I was wondering if any fellow user can offer some help on the matter. Keep in mind that I can capture images without any problem on both cameras (and other Nikkon models as well e.g D70)
I am trying to shoot video using the following gphoto2 command which i have seen in several tutorials/forums on the internet:
gphoto2 --debug --port=usb:001,017 --set-config movie=1 --wait-event=5s --set-config movie=0 --wait-event-and-download=2s --filename=test.avi --force-overwrite
and the following events happen:
The time between the shutter openings appears to correspond to the time setting in my command but of course no movie file is created.
Following some more tests I have found the following:
The "Invalid status" error appears even if my command is only
gphoto2 --debug --port=usb:001,017 --set-config movie=1
Following a list-all-config command I have found the "movie" setting on the camera but I can see that the current setting is "2" even though it has type "TOGGLE" so I expected a 1 or a 0 - I do not understand what that means. In any case if I try to use a different value than 1 or 0 in the --set-config movie I get a value error so it appears that only these are the accepted values
I have also produced a full debug trace which is too long to post here but I am pasting the part where the error appears:
Lastly I post my gphoto2 version details:
Any assistance on the problem would be greatly appreciated
Thanks!