Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    gLapse: a time lapse application

    Scheduled Pinned Locked Moved
    Third-party software
    7
    13
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PCRundefined
      PCR @DanS79
      last edited by

      @dans79 Nice!

      Questions is what is different to say duetlapse3?

      Best

      DanS79undefined 1 Reply Last reply Reply Quote 0
      • DanS79undefined
        DanS79 @PCR
        last edited by

        @pcr

        I've never used duetlapse3 so take all the following with a grain of salt.

        duetlapse3 supports Raspberry pi camera modules, and web cams, gLapse only supports pi camera modules.

        duetlapse3 is using ffmpeg and libx264 on the pi to generate the video (if you want it to). That's cpu based encoding and thus would murder lower end Pi (like a zero ) if you tried to encode a 4k video. gLapse expects you to generate the video yourself on a more powerful machine. duetlapse3 is simpler if you don't know anything about encoding video, gLapse ultimately gives you more flexibility but you need to know more.

        duetlapse3 requires RRF V3+, gLapse will work with version 2 or 3 in standalone mode. I will eventually add support for v3 fronted with an sbc.

        duetlapse3 captures images based on time, layer change, or pause. gLapse just looks for specific M-codes to tell it what to do.

        Those are probably the major differences.

        eventually I plan to write an app that combines gLapse and my streaming app, so that you can do everything from a single application.

        stuartofmtundefined 1 Reply Last reply Reply Quote 0
        • stuartofmtundefined
          stuartofmt @DanS79
          last edited by

          @dans79
          Good Job.

          Just for clarity: DuetLapse 3 can be run without creating a video and leave the resulting still images intact. The companion / admin program startDuetLapse3 can be used to zip and download the still images, create a video after the fact etc. DuetLapse 3 can use M-code as the trigger provided it is a pause- but not arbitrary M-codes.

          Hope this helps understand the differences.

          See also https://forum.duet3d.com/topic/23759/videostream.

          1 Reply Last reply Reply Quote 1
          • kb58undefined
            kb58
            last edited by kb58

            Can't a modern cellphone do time lapse photos? I've never looked into it but it seems like a no-brainer app.

            Yup: https://www.youtube.com/watch?v=G4dhfGZxH8k

            I assume in this context that you're wanting to use it for viewing 3D builds, and in that case, yeah I can see how a dedicated camera and interface would be better, as it would be much easier to view what's going on live.

            Scratch-built 350mmx350mm coreXY, linear rails, ballscrews, 3 Z axis, Duet3 6HC, v3.3, Tool Board v1.1, BondTech LGX + Mosquito hot end

            stuartofmtundefined mrehorstdmdundefined 2 Replies Last reply Reply Quote 0
            • stuartofmtundefined
              stuartofmt @kb58
              last edited by stuartofmt

              @kb58 said in gLapse: a time lapse application:

              ..... yeah I can see how a dedicated camera and interface would be better.....

              ☑
              These programs evolved to satisfy needs such as: monitoring and taking timelapse from, often, lengthy prints; not needing to be there to start taking the time-lapse; optionally parking the hotend for each image; capturing from more than one printer at a time; etc. etc.

              Not to mention way cheaper in absolute terms and not tying up your smartphone 📵

              DanS79undefined 1 Reply Last reply Reply Quote 0
              • DanS79undefined
                DanS79 @stuartofmt
                last edited by

                @stuartofmt said in gLapse: a time lapse application:

                @kb58 said in gLapse: a time lapse application:

                ..... yeah I can see how a dedicated camera and interface would be better.....

                ☑
                These programs evolved to satisfy needs such as: monitoring and taking timelapse from, often, lengthy prints; not needing to be there to start taking the time-lapse; optionally parking the hotend for each image; capturing from more than one printer at a time; etc. etc.

                Not to mention way cheaper in absolute terms and not tying up your smartphone 📵

                I agree with all of this.

                The only thing I'd add is that imo going with a Pi and a pi camera module gives you a lot more freedom freedom than off the shelf webcams and phones. You can customize the hardware and software to your heart's content. For example you could rig up a NoIR module and an IR light source and shoot in a lights out environment. for stills you have a lot of output options (jpeg, png, gif, bmp, yuv, rgb, rgba, bgr,bgra). the amount of customizations available is truly extensive.

                This is my pi zero w and hq camera module in a custom 3d printed case of my design. all i have to do is plug in an external wifi (onboard one is not good) or ethernet adapter, and give it power.
                PGH56034.jpg

                stuartofmtundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                • stuartofmtundefined
                  stuartofmt @DanS79
                  last edited by

                  @dans79
                  Sweet !

                  Budget, parts bin, trying something new, scratching an itch, degree of difficulty, time, other hobbies 🙂 .... whatever works.

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator @DanS79
                    last edited by

                    @dans79 said in gLapse: a time lapse application:

                    a custom 3d printed case of my design

                    Care to share?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    DanS79undefined 1 Reply Last reply Reply Quote 1
                    • mrehorstdmdundefined
                      mrehorstdmd @kb58
                      last edited by

                      @kb58 Everyone has an old cell phone in a drawer somewhere. If it's one of the better ones, the camera has pretty high resolution. I use a Motorola Droid Turbo to monitor long prints and make time lapse video. It'll be a few more generations before RPi cameras can match its 24MP image sensor.

                      A program called "open camera" provides more controls than the native Android camera app, including setting intervals to snap pix for time lapse video, and to lock exposure and focus. The photos are backed up to google Photos immediately after they are captured so you can monitor print progress from any web browser by logging into your Google Photos account.

                      Irfanview will batch process the images to crop and make adjustments to brightness, contrast, white balance, etc.

                      imageJ will easily convert a sequence of images into video.

                      The camera is "free", the software is free. Print a phone mount and Bob's yer uncle!

                      Taking it to the next level is cheap and easy- add a bluetooth shutter button and a few lines of custom gcode after layer change when you slice and you can make layer synchronized video.

                      https://drmrehorst.blogspot.com/

                      1 Reply Last reply Reply Quote 0
                      • DanS79undefined
                        DanS79 @Phaedrux
                        last edited by

                        @phaedrux

                        stls and f3d files are available on my blog post about the case under reference.

                        Pewundefined 1 Reply Last reply Reply Quote 1
                        • Pewundefined
                          Pew @DanS79
                          last edited by

                          @dans79 Really nice program!
                          I opened a FR request for it on github, I would like to ask if such a feature would be possible to implement to make this code even more useful.
                          https://github.com/dans98/gLapse/issues/1

                          Thank you in advance!

                          xPew created this issue in dans98/gLapse

                          closed [FR] Static image stream #1

                          stuartofmtundefined 1 Reply Last reply Reply Quote 0
                          • stuartofmtundefined
                            stuartofmt @Pew
                            last edited by

                            @pew

                            I just saw this. Maybe this can help? It can act as a broker to multiple programs.
                            https://forum.duet3d.com/topic/23759/videostream?_=1649392549727

                            I use it in combination with DuetLape3.

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA