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

    Duet 3 RRF 3.1.1 SBC USB webcam

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    9
    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.
    • dhusoloundefined
      dhusolo
      last edited by

      I'm wondering if there's a way to configure DuetPi to show the stream from a USB webcam connected to the Pi in DWC. I know it works with an IP camera but what about a USB connected directly to the SPC controlling the printer?

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

        As a work around you could probably setup something like Motion to setup the USB cam as a webcam stream and then point DWC to that stream.

        Z-Bot CoreXY Build | Thingiverse Profile

        dhusoloundefined 1 Reply Last reply Reply Quote 0
        • dhusoloundefined
          dhusolo @Phaedrux
          last edited by

          @Phaedrux Thanks!

          Do you know if this instructable would work?
          How-to-Make-Raspberry-Pi-Webcam-Server-and-Stream

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

            That looks promissing.

            Z-Bot CoreXY Build | Thingiverse Profile

            dhusoloundefined 1 Reply Last reply Reply Quote 0
            • dhusoloundefined
              dhusolo @Phaedrux
              last edited by

              @Phaedrux Actually I just tried it out and it worked without a hitch. Took probably 5 minutes

              1 Reply Last reply Reply Quote 1
              • Luke'sLaboratoryundefined
                Luke'sLaboratory
                last edited by

                Not to rain on the parade, but the few times that i've tried to use motion, i wound up with a weird bug where the /tmp files from motion would FULLY plug up the SD card and require me to manually delete everything before the pi would accept files/changes again...

                I've started using mjpg-streamer instead. still going alright!

                Luke
                http://lukeslab.online

                dhusoloundefined 1 Reply Last reply Reply Quote 0
                • dhusoloundefined
                  dhusolo @Luke'sLaboratory
                  last edited by

                  @Luke-sLaboratory This is actually just a live stream. It doesn't store the snapshots

                  Luke'sLaboratoryundefined 1 Reply Last reply Reply Quote 0
                  • Luke'sLaboratoryundefined
                    Luke'sLaboratory @dhusolo
                    last edited by

                    @dhusolo I'm aware, it just didn't clean its own temp files up from streaming - they gathered and grew until the entire SD card was full. The OS literally couldn't delete its own files because it was full (yeah, i know, its dumb). This happened 3 times in a row (I reflashed from scratch every time then installed motion) and has not come back in months since I abandoned motion. I was unable to find a similar bug / config settings to address this and gave up on it.

                    Luke
                    http://lukeslab.online

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

                      Nothing a cron job can't fix. I had a similar problem with raspotify not clearing the streaming cache. A quick cron job to delete the cache folder every day and no more problem.

                      Z-Bot CoreXY Build | Thingiverse Profile

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