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

C290 With Duet lapse

Scheduled Pinned Locked Moved
Third-party software
3
19
887
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.
  • undefined
    stuartofmt @stuartofmt
    last edited by 14 Aug 2022, 19:01

    @code7

    Have you had success?

    undefined 1 Reply Last reply 29 Aug 2022, 18:25 Reply Quote 0
    • undefined
      code7 @stuartofmt
      last edited by 29 Aug 2022, 18:25

      @stuartofmt Thanks for your recommendations. I actually found another camera that worked instead.

      Delta Printer Using a Duet 2 Wifi v1.04c, FW3.4.0beta2, Duet WiFi sever 1.26, Duet Web Control 3.3.0

      1 Reply Last reply Reply Quote 0
      • undefined
        TRATOON @stuartofmt
        last edited by 17 Sept 2022, 07:01

        @stuartofmt Hello, I got fswebcam to take a picture. However, I am having trouble with vidstream. I'm on Pi4 so I'm using libcam, I put in python3 ./videostream.py -port 8090 -pires "--width 800 --height 600"`. And I got a > on the console, I then went to pi'sip:8090/stream] and http://pi'sip:8090/stream, it says failed to open the page. Please help.

        1 Reply Last reply Reply Quote 0
        • undefined
          TRATOON @stuartofmt
          last edited by 17 Sept 2022, 15:16

          @stuartofmt Just checked my OS, I' on Buster. So I tried installing opencv but the running setup.py bdist_wheel for opencv-contrib-python is taking a while

          1 Reply Last reply Reply Quote 0
          • undefined
            TRATOON
            last edited by 17 Sept 2022, 16:20

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • undefined
              TRATOON @stuartofmt
              last edited by 17 Sept 2022, 16:28

              @stuartofmt I installed DuetLapse and got videostream streaming, how do I tell duetlapse to start recording when I start a print, take a pic every 10 seconds, and when print is finished or canceled, compile it into a video?
              So far I did

              mkdir DuetLapse - or other directory of your choice
              cd DuetLapse
              wget https://github.com/stuartofmt/DuetLapse3/raw/main/DuetLapse3.py
              chmod 744 DuetLapse3.py

              1 Reply Last reply Reply Quote 0
              • undefined
                TRATOON @stuartofmt
                last edited by 17 Sept 2022, 19:19

                @stuartofmt Also, how do I have videostream autmatically run when pi starts?

                undefined 1 Reply Last reply 22 Sept 2022, 03:17 Reply Quote 0
                • undefined
                  stuartofmt @TRATOON
                  last edited by 22 Sept 2022, 03:17

                  @tratoon
                  I have been offline for a couple of weeks.. have you tried following the examples in the documentation? If so, what issues are you seeing.

                  undefined 2 Replies Last reply 23 Sept 2022, 01:15 Reply Quote 0
                  • undefined
                    TRATOON @stuartofmt
                    last edited by 23 Sept 2022, 01:15

                    @stuartofmt every time I shut down and power the pi on, I have to send the nohup command to run video stream anyway to automate this.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      TRATOON @stuartofmt
                      last edited by 23 Sept 2022, 01:15

                      @stuartofmt I will try to figure duet lapse 3 over weekend

                      undefined 1 Reply Last reply 27 Sept 2022, 13:47 Reply Quote 0
                      • undefined
                        stuartofmt @TRATOON
                        last edited by 27 Sept 2022, 13:47

                        @tratoon

                        In my view - the best way to control videostream at startup is with systemctl.
                        There is an example unit file and instructions in the documentation.

                        You don't need to run it with nohup.

                        Give systemctl a go and if you have issues I can help.

                        undefined 1 Reply Last reply 2 Oct 2022, 19:38 Reply Quote 0
                        • undefined
                          TRATOON @stuartofmt
                          last edited by 2 Oct 2022, 19:38

                          @stuartofmt sudo -H -u pi python3 /home/pi/DuetLapse/DuetLapse3.py -duet 192.168.1.217 -seconds 20 -detect none -camera1 web -weburl1 http://192.168.1.217:8090/stream I have this line In rctest.local along with a line that starts videostream.

                          In my DuetLapse/duet3/192-168-1-217 I have 2 folders: 603 & 1639 Both with JPEGS that give errors when I try opening something about it starts with some character. I also have a bunch of logs in there.

                          undefined 1 Reply Last reply 7 Oct 2022, 21:48 Reply Quote 0
                          • undefined
                            stuartofmt @TRATOON
                            last edited by 7 Oct 2022, 21:48

                            @tratoon said in C290 With Duet lapse:

                            @stuartofmt sudo -H -u pi python3 /home/pi/DuetLapse/DuetLapse3.py -duet 192.168.1.217 -seconds 20 -detect none -camera1 web -weburl1 http://192.168.1.217:8090/stream I have this line In rctest.local along with a line that starts videostream.

                            In my DuetLapse/duet3/192-168-1-217 I have 2 folders: 603 & 1639 Both with JPEGS that give errors when I try opening something about it starts with some character. I also have a bunch of logs in there.

                            Also - if you are having problems, its best to run the program from the command line and include -verbose. That way you will get a log file and be able to see if there are issues being reported on the console.

                            When you view http://192.168.1.217:8090/stream from a browser, does it display ok?

                            I cannot do much to help you without seeing the logfile (using -verbose). My guess is that there is an issue with ffmpeg.

                            What output do you get from running:

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