Great video thank you. Very easy to follow. One error I had, not covered in this video was when testing the script in Octolapse "script failed, please see log file". In the pi I had to make the scripts Executable. If you type "ls -all" to view all scripts, the take-snapshot.sh script read "-rwxr-xr--". I used the command "chmod +x take-snapshot.sh " to make the script executable. Viewing the scripts again with "ls -all" now shows "-rwxr-xr-x" showing the script is now executable. The script test in Octolapse now works. Hope this helps anyone getting script errors.
Just a tip: with a Nikon D7100, when you want to capture photos on the memory card, you need to change the settings with gphoto2: gphoto2 --set-config-value /main/settings/capturetarget="Memory card" Otherwise it is stored in the internal memory which is small and gets erased when you turn off the camera. The best is first to check which configurations the camera has by running: gphoto2 --list-config | grep target Greetings from the Galilee.
Bravo! Nicely done!! Couple things that might help the next guy or gal. "sudo apt update --allow-releaseinfo-change" run this if you are having trouble with sudo apt-get update "whereis gphoto2" displays the install location needed for sudo visudo "sudo dpkg --list" confirms the installation, might be useful to know if gphoto2 is actually installed
dont know if you guys cares but if you guys are stoned like me atm then you can watch pretty much all of the latest series on InstaFlixxer. Have been watching with my gf for the last few months xD
I'm having a problem! my camera and octolapse all appear to be working properly but after each photo is taken, I don't see it in the SD card. is it being deleted or downloaded to somewhere else?
I ran into this issue a few times, but I can't exactly remember the solution that I found. I think I tried re-formatting the card and completely wiping it and that worked, but again, I'm not 100% sure. Let me know if that worked for you!
Modern Hobbyist i solved it! i actually ended up finding another code online for saving on SD card that’s not only faster (delays the pause time for the photo to be taken and saved) but also checks if your camera is connected before a print starts and cancels print start if it doesn’t detect the camera.
WOW! Thank you! I was going to build a trigger mechanism and this is by far so much better. My Nikon D600 does not have the USB menu setting but it does work! SUBSCRIBED!
Great video! I am completely new to octoprint/octolapse. My plan is to get octolapse running on my windows 10 laptop (don't have a Raspberry Pi), and use my DLSR to save the images to the SD. This video seems like a great guide to get me started! I guess first step to to get octoprint running on the laptop. I will report back after I start making some progress.
@@HardikLukhi Hey thanks for the comment! Unfortunately, GPhoto2 is a library for Unix-like systems, so that will limit it to pretty much any Linux OS and MacOS.
Great video! Can you also make a video on how to install OctoPrint on Windows please. I don't have any raspberry pi, so that's why I'd like to install the OctoPrint directly on my PC.
Hey thanks for the comment! I'll try to put something together for that, I don't actually have a Windows computer, but I might be able to find someone with one! Thanks for the suggestion!
Hey thanks for the comment! Since I manually create the timelapse by saving the photos to the SD card, I choose the resolution in Premiere Pro, but I think if you use OctoLapse to render the timelapse all you can configure is the FPS. Hope that helps!
Hi, Thanks for this crazy good video, this was exactly I was looking for :) Is it just me or is the snapshot preview not working in Octoprint with the DSLR camera? I also cannot see the Live Preview directly on my camera anymore as soon as the USB cable is plugged in (Nikon D90). I used the script for saving the photos to sd card. Maybe someone of you have an idea or tip for me ? Thanks and BR Mike
Awesome video! I'm trying to get mine set up, but not sure if my camera will work. I have an Olympus Tough TG-2 that has MTP, will this work? It's not on the list, but has MTP.. so maybe hasn't been tested yet?
@@ModernHobbyist might be a stupid question (totally new here lol) but just to make sure, all of this is completely compatible with the raspberry pi 3 b+ right?
Thanks for the Sub! If you're using OctoLapse on a Raspberry PI like I am, then I believe you can use the version of the script that downloads the image preview to the Pi found here: github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR In my experience, this was way slower than simply saving the images to the SD card and building the timelapse myself in post, but if you'd like a preview, I think this is how to do it. Otherwise, if your camera supports it, you could view the images wirelessly using the accompanying app, assuming there is one for your camera. Hope that helps!
I'm trying to go through this again and I'm so close! Unfortunately the camera (Canon EOS 2000D) is (seemingly, it makes the shutter noise) taking the snapshots but it's not reducing the number of photos on the camera and they're not there when I check the SD card afterwards! Using SSH it took the photo onto the SD card and the script on Octolapse says it's successful so no idea why it's not actually taking the photo! Any ideas? I've tried reformatting the SD card btw, no change
Thanks for the comment! If you're talking about the "script location" part I mention, that is where I created and saved the script on the Raspberry Pi after I SSH'd into it. Hope that helps!
Hi. I got problem with gphoto. My camera: Nikon Coolpix 5600 (supported camera for gphoto). After taking photo (capture-image) just frozen. It stops prints. I need to unplug that to resume print. Also command gphoto2 --capture-image froze ssh (i need to kill process to resume ssh work). Any idea?
thank you for the video. i just started using octolapse with my t7i. Could you offer some tips on focusing, like how you keep the whole object in focus? thanks
Thanks for the comment Antonis! I have found that a narrower aperture (e.g. f/22) will result in more of the project being in focus, although you'll lose the dramatic effect of having a wider aperture. Switching to manual focus will also help, but it can be hard to know exactly where the print and toolhead are going to end up for the snapshot. Another argument for manual focus is that it will dramatically speed up the snapshot process. Downsides to a narrower aperture is that you'll need a brighter environment to account for the fact that less light is getting in. Hope that helps, let me know if you have more questions!
@@ModernHobbyist Well if we use a stepper to drive a manual focus lens, we could actually get the last Y position of the object of Marlin or Octoprint to set the approx focus distance to always get the front in focus.
EDIT: I found whats missing @Modern Hobbyist : It seems, that after saving the take-snapshot.sh script you also "need to add execute permission to the script with the following command chmod +x take-snapshot.sh ------- I followed all the steps to use my Canon 700D. I can even take a snapshot via SSH using 'gphoto2 --capture-image-and-download' But when I try to take a snapshot in octoprint or use the camera for an octolapse it says "The 'Canon - Snapshot Camera Script' raised an exception. See plugin_octolapse.log for details." The details in the logfile are not very helpful but say something about a render error...
I'm glad you figured it out! This video is a little bit outdated now, as FormerLurker has now added documentation on this exact topic. Hope this helps in the future! github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR
So useful! new sub! Can you tell me your camera settings (the ones in the octopi.txt) or you camera inside the case? I have a DIY from an old laptop camera too but it doesnt work. Thanks!
Hey Filippo, thanks for the comment! I didn't actually have to change the octopi camera settings at all to get the DIY USB webcam working, so I'm afraid I won't be much help there. If I come across something, I'll be sure to let you know!
I think I ran into an issue like this, and if I remember correctly the SD card needed wiped and re-formatted. It could be that's not what the issue was, but I'll have to do some more digging to figure it out. Hope that helps!
Liked and subscribed! Great video.... I am experiencing an issue with the script though, apparently --keep is not storing the picture in my SD card. I have a Sony A5000 connected to my Octopi (USB PTP Class camera). Any advice please?
Hmm, that is interesting. I haven't run into that issue, but I checked the script that I'm running now and I don't use the --keep option at all. Are you using the --trigger-capture option to take the picture, or a different one? Try running through FormerLurker's documentation on DSLR OctoLapse and see if there is something in there that looks different. github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR-With-No-Download Thanks!
@@ModernHobbyist Thank you! I think it is a limitation with Sony cameras altogether, but will still see if I find something useful in the link you shared. Thanks again!
Is gphoto2 required for this setup to work or does it just make the timelapse? Without gphoto2 would the camera still take pictures which I then can edit myself or would it simply not work?
As I understand it, gphoto2 is the bridge that allows OctoLapse to communicate to your camera so it is likely required unless you find a way around it. Hope that helps!
Great vid - only thing I'd say is you were way too zoomed out. When you zoomed in and filled the frame it was much better. Also, watch the 'Make a $300 camera look pro' vid, it's excellent
Thanks for the comment Dennis! Also, if you are reading this comment, check out the updated documentation on FormerLurker's GitHub Wiki: github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR-With-No-Download
I bought exactly the same camera as you (Nikon D80) specifically to follow this process but 'gphoto2 --auto-detect' doesn't show anything underneath Model and Port! Help!
Thanks! Nice video and great detail, especially for only a 9 min video. Now off to find an unused camera that gphoto supports... One nitpick from an old Solaris admin - it's su-do, not su-doe - as in "superuser-do" :) Saved and subscribed...
Thanks for the sub! As someone who gets very frustrated when people say "jif" instead of "gif" I understand where you're coming from but unfortunately, I'm not sure I'll be able to change my ways at this point :S
Hello I'm getting this error I follow all your steps correctly how can I fix it? * Error * Canon EOS Half-Press failed (0x2019: PTP Device Busy) ERROR: Could not capture image. ERROR: Could not capture. * Error (-110: 'I/O in progress') *
Hey thanks for the comment! I'm not sure what might be causing that, but if you posted an issue or question to the GitHub page, FormerLurker might be able to help you out! github.com/FormerLurker/Octolapse/discussions Hope that helps!
Hey, I know this is an old video, but do you maybe know any workaround to make cameras like Panasonic G85/G80 to work with Gphoto2 wireless? Since this camera can't be controlled via USB although it's recognised with gphoto2 auto detect command.
Unfortunately, I'm not aware of a simple solution to that issue. There was something in the GPhoto2 docs about using linux to delete the Mass Storage Kernel currently on the camera to overwrite it with something else, but they don't recommend it, nor do they go into much detail on how to do it. You could try to change the script to send a voltage to one of the GPIO pins on the pi that in turn triggers the shutter release on your camera via the remote shutter input, but I'm not familiar with your camera's circuitry. I did try something similar to that in this video, it might give you some inspiration: th-cam.com/video/N1YKv7KU4UQ/w-d-xo.html. Thanks for the comment though, and I appreciate the view!
if octolapse doesn't recognize my dslr camera can i use the direct gcode of octolapse with cure? I have the sony dslr timelapse app and I just need the print gcode made by the slicer and octolapse. because the problem is when it makes the journey that leaves threads in the print, able to heal and octolapse use the gcode where it says to retract filament at that moment
I've had some issues with stringing as well while creating timelapses, but the best solution I found was to increase the travel speed of the printhead while not printing. This helped to get it away from the part quicker and back to it quicker so less filament could ooze. Also, finding ways to speed up the snapshot helped.
how about action cameras? is there anyway to use octolpse on gopro 5 or xiaomi yi lite? Also when you using DSLR, how do you keep it powered on for hours?
I know that GoPro's will work with GPhoto2, but I'm not sure about the Xiaomi Yi Lite. I have an off branch action cam that doesn't work (CamPark) so I wouldn't be surprised if the Xiaomi didn't work. For my DLSR, I just charge the battery and cross my fingers :S Thanks for the comment!
Hey Huntr, thanks for the comment! Yes, the GoPros are compatible with GPhoto2, so you should be able to connect the GoPro to your pi via USB and it will work. Unfortunately, I have a weird off-brand action camera I got on Amazon and it isn't compatible, but according to the GPhoto2 documentation, GoPro is. Hope that helps!
When i take a snapshot that saves directly to my dslr sd card, there is always a 4-5 second delay before the print head continues to move again even though i have 0 snapshot delay and 200ms snapshot timeout in octolapse. Do you know what might cause this long pause after the snapshot?
To me, that sounds like it is downloading the snapshot to the Pi. If you have disabled the download but it's still slow, deferring the download til the end of the print may be an alternative route: github.com/FormerLurker/Octolapse/wiki/DSLR-with-Deferred-Image-Download Hope that helps!
@@ModernHobbyist that link led me to test if the culprit was my choice to use --capture-image. Turns out it was! Switching to instead use --trigger-capture fixed the problem. Thanks for pointing me in the right direction!!
Yup! From what I could tell most of the GoPro action cameras were compatible with GPhoto2, so you should have no problem getting it to work. I have an off brand action cam that is unfortunately not compatible, but while checking I did see most GoPro's on the list. Hope that helps!
evertime i try to isntall gphoto im hit with 'E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?' Is there something im doing wrong?
Hey Joe, thanks for the comment! Did you try running 'apt-get update'? You may have some dependencies that are missing or something, it is hard to say without further information.
Hey thanks for the comment! Try this script and if you're not interested in downloading the image to your Pi, then try the "no download" version. github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR Hope that helps!
how to setup multicam ı have raspi cam v2 and sony a6000. I cant do liveview with sony, I want to do liveview raspi cam, timelapse a6000. How can I do it
Hey Erdem, thanks for the comment! OctoPi should automatically detect the connect RaspiCam and use it for the webcam, but if not you should be able to confirm the settings under Settings -> Webcam and Timelapse. You should be able to set up the Sony as a camera within OctoLapse (Settings -> OctoLapse -> Camera) and configure the trigger and stabilization in whatever way suits you. Here is the official documentation on Octolapse for your reference: github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR Hope that helps!
@@ModernHobbyistfor now I have a trigger and I hitting trigger with hotend when the end of each layer. but I'm trying to do this with octolapse. If you have mirrorless camera You won't waste a lot of time. I tried two cameras(canon d550 and sony a6000). mirrorless camera work better due to the more focusing points.
@@erdemokkes I see. So within OctoLapse, you can configure a software Trigger to tell the camera to take a snapshot. Check out this link for how to get a DSLR/Mirrorless camera setup. github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR
so i followed your tut i can get the DSLR working but when i test the script in octolaps.. i get the following error There were 1 errors while applying custom camera settings/scripts: camera_initialization_error: The custom camera initialization script failed with the following error message: mkdir: cannot create directory ‘’: No such file or directory ERROR: Could not get image. /home/pi/scripts/take-snapshot.sh: 26: /home/pi/scripts/take-snapshot.sh: Syntax error: end of file unexpected (expecting "fi")
So the very last error makes me think the take-snapshot.sh file was not correctly copied, it seems you are missing a "fi" at the end of an if statement, perhaps the very last line of the script. For the mkdir command, double check the location of GPhoto2 by running 'whereis gphoto2', and confirm that the visudo file has the correct path to GPhoto2. Let me know if this works for you.
@@ModernHobbyist thanks for the fast reply. i have checked and "fi" is were its is meant to be not too sure what wrong i have reinstalled it with no luck
I'd be happy to help you further, could you send an email to my email address listed on my Channel's about page? If might be easier to discuss this over email. Maybe send me a screen shot of the script as well as the output of "whereis gphoto2" and the contents of the sudoers file.
Ok, that is the correct location for GPhoto2, so that's not our issue. Can you try running the following command from the command line? /home/pi/scripts/take-snapshot.sh 1 1 "" "/home/pi/scripts" "" "/home/pi/scripts/test.jpg" Let me know what the output is.
Great video thank you. Very easy to follow.
One error I had, not covered in this video was when testing the script in Octolapse "script failed, please see log file".
In the pi I had to make the scripts Executable. If you type "ls -all" to view all scripts, the take-snapshot.sh script read "-rwxr-xr--". I used the command "chmod +x take-snapshot.sh
" to make the script executable. Viewing the scripts again with "ls -all" now shows "-rwxr-xr-x" showing the script is now executable. The script test in Octolapse now works. Hope this helps anyone getting script errors.
Thank you!!!
Just a tip: with a Nikon D7100, when you want to capture photos on the memory card, you need to change the settings with gphoto2:
gphoto2 --set-config-value /main/settings/capturetarget="Memory card"
Otherwise it is stored in the internal memory which is small and gets erased when you turn off the camera.
The best is first to check which configurations the camera has by running:
gphoto2 --list-config | grep target
Greetings from the Galilee.
Thanks for the comment and the tip! Always appreciate extra testers out there!
THANKS! You saved the day! (I'm using a Canon 6D)
Bravo! Nicely done!! Couple things that might help the next guy or gal.
"sudo apt update --allow-releaseinfo-change" run this if you are having trouble with sudo apt-get update
"whereis gphoto2" displays the install location needed for sudo visudo
"sudo dpkg --list" confirms the installation, might be useful to know if gphoto2 is actually installed
Thanks for sharing some tips!
Thanks so much, this is extremely helpful, to the point and in-depth. This channel deserves more subs
Thanks so much for the comment! Much appreciated!
dont know if you guys cares but if you guys are stoned like me atm then you can watch pretty much all of the latest series on InstaFlixxer. Have been watching with my gf for the last few months xD
@Elliott Mack definitely, have been watching on InstaFlixxer for months myself :)
@Elliott Mack Definitely, been watching on instaflixxer for months myself =)
Completely underrated channel!
Thank you!
I'm having a problem!
my camera and octolapse all appear to be working properly but after each photo is taken, I don't see it in the SD card. is it being deleted or downloaded to somewhere else?
I ran into this issue a few times, but I can't exactly remember the solution that I found. I think I tried re-formatting the card and completely wiping it and that worked, but again, I'm not 100% sure. Let me know if that worked for you!
Modern Hobbyist i solved it! i actually ended up finding another code online for saving on SD card that’s not only faster (delays the pause time for the photo to be taken and saved) but also checks if your camera is connected before a print starts and cancels print start if it doesn’t detect the camera.
Awesome! I'd love to check that script out if you have the link to it!
@@ModernHobbyist github.com/FormerLurker/Octolapse/wiki/DSLR-Image-Capture-With-No-Download
Good find! That's actually the guy that wrote the script I altered, I guess I didn't look hard enough for a "no-download" script. Thanks!
Looking forward to get this setup over the weekend. Thanks for the tutorial!
Glad you found it helpful! Thanks for watching and good luck!
WOW! Thank you! I was going to build a trigger mechanism and this is by far so much better. My Nikon D600 does not have the USB menu setting but it does work! SUBSCRIBED!
Thanks for the sub! Glad you enjoyed the video!
Really great tutorial, Iv seem lots that use remote shutters, but doing it your way seems to make the most sense. Thanks for making a video about this
Thanks for the comment! I'm glad it was helpful!
Great Video. My Canon EOS 450D works out of the Box after following your instructions! THX
Great! Thanks for watching!
Great video! I am completely new to octoprint/octolapse. My plan is to get octolapse running on my windows 10 laptop (don't have a Raspberry Pi), and use my DLSR to save the images to the SD. This video seems like a great guide to get me started! I guess first step to to get octoprint running on the laptop.
I will report back after I start making some progress.
Hey thanks for the comment! Good luck!
i installed octo print on windows it is running seamlessly but can you walk me through to install gphoto 2 on windows . i couldn’t find any solution.
@@HardikLukhi Hey thanks for the comment! Unfortunately, GPhoto2 is a library for Unix-like systems, so that will limit it to pretty much any Linux OS and MacOS.
Exactly what I was looking for. Great video, to the point, thanks!
Glad you liked it!
Second video I watched of yours and the one that got me to subscribe. Very nice work and to the point.
Welcome aboard! Glad you enjoyed it!
THIS IS WHAT I AM LOOKING FOR!!! great video
Thanks for the comment, glad you found it helpful! Appreciate the feedback!
Great vid! Engaging and super helpful!
Thanks for the great feedback!
Great video! Can you also make a video on how to install OctoPrint on Windows please. I don't have any raspberry pi, so that's why I'd like to install the OctoPrint directly on my PC.
Hey thanks for the comment! I'll try to put something together for that, I don't actually have a Windows computer, but I might be able to find someone with one! Thanks for the suggestion!
So cool. Do you have to configure resolution and fps settings?
Hey thanks for the comment! Since I manually create the timelapse by saving the photos to the SD card, I choose the resolution in Premiere Pro, but I think if you use OctoLapse to render the timelapse all you can configure is the FPS. Hope that helps!
Hi,
Thanks for this crazy good video, this was exactly I was looking for :)
Is it just me or is the snapshot preview not working in Octoprint with the DSLR camera?
I also cannot see the Live Preview directly on my camera anymore as soon as the USB cable is plugged in (Nikon D90).
I used the script for saving the photos to sd card.
Maybe someone of you have an idea or tip for me ?
Thanks and BR
Mike
Did you copy it from the GitHub?
Awesome video! I'm trying to get mine set up, but not sure if my camera will work. I have an Olympus Tough TG-2 that has MTP, will this work? It's not on the list, but has MTP.. so maybe hasn't been tested yet?
You're a lifesaver!! Much appreciated mate keep it up👍
Glad I could help and thanks for the view!
@@ModernHobbyist might be a stupid question (totally new here lol) but just to make sure, all of this is completely compatible with the raspberry pi 3 b+ right?
@@sinistergrin6733 Yup! That's what I was using for my build.
Interesting stuff. My old 500D doesn't have PTP/MTP, apparently. Manual doesn't mention it. Too bad!
Lmao that intro, someone really like Peter McKinnon
Hey, I love this man! Got a new sub!
But how do I make it so I can preview the camera?
Thanks for the Sub! If you're using OctoLapse on a Raspberry PI like I am, then I believe you can use the version of the script that downloads the image preview to the Pi found here:
github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR
In my experience, this was way slower than simply saving the images to the SD card and building the timelapse myself in post, but if you'd like a preview, I think this is how to do it. Otherwise, if your camera supports it, you could view the images wirelessly using the accompanying app, assuming there is one for your camera.
Hope that helps!
video suggestion , do a video for slicers for i3 mega . I have been trying to get my prusa silcer to work with it
Thanks for the suggestion, I'll look into it!
I'm trying to go through this again and I'm so close!
Unfortunately the camera (Canon EOS 2000D) is (seemingly, it makes the shutter noise) taking the snapshots but it's not reducing the number of photos on the camera and they're not there when I check the SD card afterwards!
Using SSH it took the photo onto the SD card and the script on Octolapse says it's successful so no idea why it's not actually taking the photo!
Any ideas? I've tried reformatting the SD card btw, no change
what does the script thing mean at 4:20? Neat video thought and I can't wait to try it out when I get my Raspberry Pi
Thanks for the comment! If you're talking about the "script location" part I mention, that is where I created and saved the script on the Raspberry Pi after I SSH'd into it. Hope that helps!
Good info man
Hi. I got problem with gphoto. My camera: Nikon Coolpix 5600 (supported camera for gphoto). After taking photo (capture-image) just frozen. It stops prints. I need to unplug that to resume print.
Also command gphoto2 --capture-image froze ssh (i need to kill process to resume ssh work). Any idea?
thank you for the video. i just started using octolapse with my t7i.
Could you offer some tips on focusing, like how you keep the whole object in focus?
thanks
Thanks for the comment Antonis! I have found that a narrower aperture (e.g. f/22) will result in more of the project being in focus, although you'll lose the dramatic effect of having a wider aperture. Switching to manual focus will also help, but it can be hard to know exactly where the print and toolhead are going to end up for the snapshot. Another argument for manual focus is that it will dramatically speed up the snapshot process.
Downsides to a narrower aperture is that you'll need a brighter environment to account for the fact that less light is getting in.
Hope that helps, let me know if you have more questions!
@@ModernHobbyist Well if we use a stepper to drive a manual focus lens, we could actually get the last Y position of the object of Marlin or Octoprint to set the approx focus distance to always get the front in focus.
Excellent video. Is there a way to test if your camera is compatible other than downloading gphoto2 onto the RPi and testing it?
Thanks for the comment! There is a list on their documentation that should at least get you started!
www.gphoto.org/proj/libgphoto2/support.php
thanks going to try this
Good luck! Hope to see some awesome time-lapses from my viewers!
EDIT: I found whats missing @Modern Hobbyist :
It seems, that after saving the take-snapshot.sh script you also "need to add execute permission to the script with the following command
chmod +x take-snapshot.sh
-------
I followed all the steps to use my Canon 700D. I can even take a snapshot via SSH using 'gphoto2 --capture-image-and-download'
But when I try to take a snapshot in octoprint or use the camera for an octolapse it says "The 'Canon - Snapshot Camera Script' raised an exception. See plugin_octolapse.log for details."
The details in the logfile are not very helpful but say something about a render error...
I'm glad you figured it out! This video is a little bit outdated now, as FormerLurker has now added documentation on this exact topic. Hope this helps in the future!
github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR
Same issue - your solution didn't work for me though :(
When i get to adding a profile, there is no option for "External _ Camera Script" any idea why?
This is great. Unfortunately I run my octolapse and octoprint through my pc not a pi so settings might be different?
Outstanding video. Thank you.
Thanks for the comment! Glad I could help!
excellent video can i do this with nikon d90
So useful! new sub! Can you tell me your camera settings (the ones in the octopi.txt) or you camera inside the case? I have a DIY from an old laptop camera too but it doesnt work. Thanks!
Hey Filippo, thanks for the comment! I didn't actually have to change the octopi camera settings at all to get the DIY USB webcam working, so I'm afraid I won't be much help there. If I come across something, I'll be sure to let you know!
@@ModernHobbyist thanks for the reply! Ok, I ll try something else, Hope to find a solution!
Thanks for making this
hi i got this error when trying to start the script. no tty present and no askpass program specified
Awesome video! Just subscribed
Thanks for the sub!
I followed your instructions for saving into the SD card but when i do a test print after 1 shot there would be nothing saved on the sd card
I think I ran into an issue like this, and if I remember correctly the SD card needed wiped and re-formatted. It could be that's not what the issue was, but I'll have to do some more digging to figure it out. Hope that helps!
@@ModernHobbyist same for me, I have the triggers but no image save on the sd card
Did you find a solution to this problem? I have that same problem.
@@worms32 yes, I will send you a message to send you the video that will help you from A to Z
@@Li3DLi3D Sorry to bother you, but I am also having this issue, I'd love to also know how you solved it!
Thanks! I learned a lot
Glad I could help, and thanks for the comment!
it detects the wrong camera model for me is there anything i can do about that
Great video - very helpful
Liked and subscribed! Great video.... I am experiencing an issue with the script though, apparently --keep is not storing the picture in my SD card. I have a Sony A5000 connected to my Octopi (USB PTP Class camera). Any advice please?
Hmm, that is interesting. I haven't run into that issue, but I checked the script that I'm running now and I don't use the --keep option at all. Are you using the --trigger-capture option to take the picture, or a different one? Try running through FormerLurker's documentation on DSLR OctoLapse and see if there is something in there that looks different.
github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR-With-No-Download
Thanks!
@@ModernHobbyist Thank you! I think it is a limitation with Sony cameras altogether, but will still see if I find something useful in the link you shared. Thanks again!
Is gphoto2 required for this setup to work or does it just make the timelapse? Without gphoto2 would the camera still take pictures which I then can edit myself or would it simply not work?
As I understand it, gphoto2 is the bridge that allows OctoLapse to communicate to your camera so it is likely required unless you find a way around it. Hope that helps!
Great Video
Hope can do same in my printers.
👍🏼
Good luck!
Done everything exactly how it was done in the video... keep getting a failed script message.
Great vid - only thing I'd say is you were way too zoomed out. When you zoomed in and filled the frame it was much better. Also, watch the 'Make a $300 camera look pro' vid, it's excellent
Hey Adam, thanks for the tips! I'm always looking to improve my videography skills, so I appreciate your feedback!
If anyone is having trouble saving images to SD card on Canon EOS cameras. You might want to try the command "gphoto2 --set-config capturetarget=1".
Also works better, if you turn ON "Manual Focus".
Thanks for the comment Dennis! Also, if you are reading this comment, check out the updated documentation on FormerLurker's GitHub Wiki: github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR-With-No-Download
I bought exactly the same camera as you (Nikon D80) specifically to follow this process but 'gphoto2 --auto-detect' doesn't show anything underneath Model and Port! Help!
Got it - the USB connection to the camera was a bit loose, that's all!
Glad you figured it out! Thanks for watching!
Thanks! Nice video and great detail, especially for only a 9 min video. Now off to find an unused camera that gphoto supports... One nitpick from an old Solaris admin - it's su-do, not su-doe - as in "superuser-do" :) Saved and subscribed...
Thanks for the sub! As someone who gets very frustrated when people say "jif" instead of "gif" I understand where you're coming from but unfortunately, I'm not sure I'll be able to change my ways at this point :S
@@ModernHobbyist :D
Hello I'm getting this error I follow all your steps correctly how can I fix it?
* Error *
Canon EOS Half-Press failed (0x2019: PTP Device Busy)
ERROR: Could not capture image.
ERROR: Could not capture.
* Error (-110: 'I/O in progress') *
Hey thanks for the comment! I'm not sure what might be causing that, but if you posted an issue or question to the GitHub page, FormerLurker might be able to help you out!
github.com/FormerLurker/Octolapse/discussions
Hope that helps!
great video
Thanks for the comment!
Hey, I know this is an old video, but do you maybe know any workaround to make cameras like Panasonic G85/G80 to work with Gphoto2 wireless? Since this camera can't be controlled via USB although it's recognised with gphoto2 auto detect command.
Unfortunately, I'm not aware of a simple solution to that issue. There was something in the GPhoto2 docs about using linux to delete the Mass Storage Kernel currently on the camera to overwrite it with something else, but they don't recommend it, nor do they go into much detail on how to do it. You could try to change the script to send a voltage to one of the GPIO pins on the pi that in turn triggers the shutter release on your camera via the remote shutter input, but I'm not familiar with your camera's circuitry. I did try something similar to that in this video, it might give you some inspiration: th-cam.com/video/N1YKv7KU4UQ/w-d-xo.html.
Thanks for the comment though, and I appreciate the view!
I am having issues with editing the sudo file
thank you for the video
👍😉
No problem 👍Thanks for the comment!
if octolapse doesn't recognize my dslr camera can i use the direct gcode of octolapse with cure? I have the sony dslr timelapse app and I just need the print gcode made by the slicer and octolapse. because the problem is when it makes the journey that leaves threads in the print, able to heal and octolapse use the gcode where it says to retract filament at that moment
I've had some issues with stringing as well while creating timelapses, but the best solution I found was to increase the travel speed of the printhead while not printing. This helped to get it away from the part quicker and back to it quicker so less filament could ooze. Also, finding ways to speed up the snapshot helped.
how about action cameras? is there anyway to use octolpse on gopro 5 or xiaomi yi lite? Also when you using DSLR, how do you keep it powered on for hours?
I know that GoPro's will work with GPhoto2, but I'm not sure about the Xiaomi Yi Lite. I have an off branch action cam that doesn't work (CamPark) so I wouldn't be surprised if the Xiaomi didn't work. For my DLSR, I just charge the battery and cross my fingers :S
Thanks for the comment!
is that possible with a GoPro? I have a Hero 5 Black.
Hey Huntr, thanks for the comment! Yes, the GoPros are compatible with GPhoto2, so you should be able to connect the GoPro to your pi via USB and it will work. Unfortunately, I have a weird off-brand action camera I got on Amazon and it isn't compatible, but according to the GPhoto2 documentation, GoPro is. Hope that helps!
can anyone help i keep getting this error
Snapshot Camera Script' process returned errors. See plugin_octolapse.log for details
When i take a snapshot that saves directly to my dslr sd card, there is always a 4-5 second delay before the print head continues to move again even though i have 0 snapshot delay and 200ms snapshot timeout in octolapse. Do you know what might cause this long pause after the snapshot?
To me, that sounds like it is downloading the snapshot to the Pi. If you have disabled the download but it's still slow, deferring the download til the end of the print may be an alternative route: github.com/FormerLurker/Octolapse/wiki/DSLR-with-Deferred-Image-Download
Hope that helps!
@@ModernHobbyist that link led me to test if the culprit was my choice to use --capture-image. Turns out it was! Switching to instead use --trigger-capture fixed the problem. Thanks for pointing me in the right direction!!
@@Ub3rMario awesome! Glad I could help!
thank you for the video :) it's possible to make this with a Gopro Hero 4?
Yup! From what I could tell most of the GoPro action cameras were compatible with GPhoto2, so you should have no problem getting it to work. I have an off brand action cam that is unfortunately not compatible, but while checking I did see most GoPro's on the list. Hope that helps!
evertime i try to isntall gphoto im hit with 'E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?'
Is there something im doing wrong?
Hey Joe, thanks for the comment! Did you try running 'apt-get update'? You may have some dependencies that are missing or something, it is hard to say without further information.
How do you keep the camera from dying battery wise
Hey! I have an adapter the plugs into the wall, I think it’s called a dummy battery power adapter. Hope that helps!
hey,
Does this method still work or has something changed in the meantime?
Because I am getting Error with the script
Hey thanks for the comment! Try this script and if you're not interested in downloading the image to your Pi, then try the "no download" version.
github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR
Hope that helps!
What kind of printer do you have?
Thanks for the comment! I have several, but my main work horse is the Anycubic i3 Mega!
A HUGE thank you! but i cant seem to view my camera view in octoprint and i also get an error when i run the script please help
Hey Ramini, thanks for the comment! What error are you getting when the script runs?
@@ModernHobbyist replied on instagram
@@rayztech7384 Any chance you could link the solution??
here you go github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR-With-No-Download
thats what i followed
@@rayztech7384 Thank you!
has anyone gotten this to work on gopro? I don't think it supports the capture function
Hey Jonathan, I don't have a GoPro, so I'm unable to test it, but GPhoto2 says that it supports GoPro, not sure which commands though.
how to setup multicam ı have raspi cam v2 and sony a6000. I cant do liveview with sony, I want to do liveview raspi cam, timelapse a6000. How can I do it
Hey Erdem, thanks for the comment! OctoPi should automatically detect the connect RaspiCam and use it for the webcam, but if not you should be able to confirm the settings under Settings -> Webcam and Timelapse.
You should be able to set up the Sony as a camera within OctoLapse (Settings -> OctoLapse -> Camera) and configure the trigger and stabilization in whatever way suits you. Here is the official documentation on Octolapse for your reference:
github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR
Hope that helps!
@@ModernHobbyistfor now I have a trigger and I hitting trigger with hotend when the end of each layer. but I'm trying to do this with octolapse. If you have mirrorless camera You won't waste a lot of time. I tried two cameras(canon d550 and sony a6000). mirrorless camera work better due to the more focusing points.
@@erdemokkes So you have a manual button that triggers the camera at the end of each layer?
@@ModernHobbyist yes :)
@@erdemokkes I see. So within OctoLapse, you can configure a software Trigger to tell the camera to take a snapshot. Check out this link for how to get a DSLR/Mirrorless camera setup.
github.com/FormerLurker/Octolapse/wiki/V0.4---Configuring-a-DSLR
so i followed your tut i can get the DSLR working but when i test the script in octolaps..
i get the following error There were 1 errors while applying custom camera settings/scripts:
camera_initialization_error: The custom camera initialization script failed with the following error message: mkdir: cannot create directory ‘’: No such file or directory
ERROR: Could not get image.
/home/pi/scripts/take-snapshot.sh: 26: /home/pi/scripts/take-snapshot.sh: Syntax error: end of file unexpected (expecting "fi")
So the very last error makes me think the take-snapshot.sh file was not correctly copied, it seems you are missing a "fi" at the end of an if statement, perhaps the very last line of the script.
For the mkdir command, double check the location of GPhoto2 by running 'whereis gphoto2', and confirm that the visudo file has the correct path to GPhoto2.
Let me know if this works for you.
@@ModernHobbyist thanks for the fast reply. i have checked and "fi" is were its is meant to be not too sure what wrong i have reinstalled it with no luck
I'd be happy to help you further, could you send an email to my email address listed on my Channel's about page? If might be easier to discuss this over email. Maybe send me a screen shot of the script as well as the output of "whereis gphoto2" and the contents of the sudoers file.
@@ModernHobbyist whereis gphoto2
gphoto2: /usr/bin/gphoto2 /usr/include/gphoto2 /usr/share/man/man1/gphoto2.1.gz
thats the location of the file
Ok, that is the correct location for GPhoto2, so that's not our issue. Can you try running the following command from the command line?
/home/pi/scripts/take-snapshot.sh 1 1 "" "/home/pi/scripts" "" "/home/pi/scripts/test.jpg"
Let me know what the output is.
Nice
Thanks!
My camera (Nikon Coolpix P530) isn’t supported 😔
I’m sorry to hear that :( my camera is barely supported as well, luckily.
7:29 if you wanna skip to the octolapse
You’re the hero we deserve.
Thank you. You save me by buying a new webcam that I don’t need, and my Nikon D600 could have better use ! 🤣
Awesome! Glad I could help!