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

    MotionWebcamServer plugin - Missing library

    Scheduled Pinned Locked Moved
    Beta Firmware
    4
    29
    1.8k
    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.
    • MintyTreborundefined
      MintyTrebor @MintyTrebor
      last edited by

      If anyone is interested you can show the motion "control" web page inside DWC to allow you access / change some advanced video values (brightness, size etc) in a simple gui provided by motion:

      2c770e17-672d-4426-9d64-554dd5ecfbd6-image.png

      (you will need BtnCmd Plugin to do this)

      Set your motion config like below:
      a4769e3f-e9e6-4bae-85ce-5a11f4498ff0-image.png
      & restart the plugin

      In BtnCmd add a remote source panel:
      33d9b149-ef11-43b2-bd89-7f0cf6e18e52-image.png

      And set the URL to http://[pi ip]:8080/ eg:
      6fab52cb-1e50-4eb2-94c2-a710562a80b4-image.png

      Then resize to fit your screen and save the layout.

      NodeDSF - Native Node-Red integration with Duet boards.
      BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
      ReleaseMgr - Duet update info inside DWC.
      Repo

      chrishammundefined adammhaileundefined 2 Replies Last reply Reply Quote 2
      • chrishammundefined
        chrishamm administrators @MintyTrebor
        last edited by chrishamm

        @mintytrebor DWC lets you show the same content on the Jobs -> Webcam page if you check Embed webcam image in an iframe on the Settings -> General page and change the config + URL accordingly.

        PS: I'm rebuilding DuetPi to make the required changes from above obsolete. The next DSF version will fix it, too.

        Duet software engineer

        MintyTreborundefined 1 Reply Last reply Reply Quote 1
        • MintyTreborundefined
          MintyTrebor @chrishamm
          last edited by

          @chrishamm said in MotionWebcamServer plugin - Missing library:

          PS: I'm rebuilding DuetPi to make the required changes from above obsolete. The next DSF version will fix it, too.

          Great. Thanks @chrishamm

          NodeDSF - Native Node-Red integration with Duet boards.
          BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
          ReleaseMgr - Duet update info inside DWC.
          Repo

          1 Reply Last reply Reply Quote 0
          • luckyflyerundefined
            luckyflyer
            last edited by luckyflyer

            @chrishamm, @MintyTrebor Thanks

            1 Reply Last reply Reply Quote 0
            • luckyflyerundefined
              luckyflyer
              last edited by

              @chrishamm @MintyTrebor I would like to increase the frame rate. Could you help a Linux dummy out and give me the exact command to enter to change the frame rate. Thanks

              adammhaileundefined 1 Reply Last reply Reply Quote 0
              • adammhaileundefined
                adammhaile @luckyflyer
                last edited by

                @luckyflyer said in MotionWebcamServer plugin - Missing library:

                @chrishamm @MintyTrebor I would like to increase the frame rate. Could you help a Linux dummy out and give me the exact command to enter to change the frame rate. Thanks

                In with your system files is now motion.conf. Open that file to edit in DWC and go to around line 59 and change the default 15 to whatever you want (within limits of your camera, of course). It'll look like this:

                # Maximum number of frames to be captured per second.
                framerate 15
                
                luckyflyerundefined 1 Reply Last reply Reply Quote 0
                • luckyflyerundefined
                  luckyflyer @adammhaile
                  last edited by

                  @adammhaile Wow that was too easy, thanks @adammhaile

                  1 Reply Last reply Reply Quote 0
                  • luckyflyerundefined
                    luckyflyer
                    last edited by luckyflyer

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined Phaedrux referenced this topic
                    • adammhaileundefined
                      adammhaile @MintyTrebor
                      last edited by

                      @mintytrebor Are you aware of any way to get motion to output a stream larger than 640x480?
                      I've tried updating motion.conf but no matter what size I set the stream stays tiny.

                      MintyTreborundefined 1 Reply Last reply Reply Quote 0
                      • MintyTreborundefined
                        MintyTrebor @adammhaile
                        last edited by

                        @adammhaile

                        My Config:
                        motion.conf.txt

                        I also made sure to use a resolution supported by my camera by checking:

                        v4l2-ctl --list-formats-ext
                        

                        more info https://www.mankier.com/1/v4l2-ctl

                        NodeDSF - Native Node-Red integration with Duet boards.
                        BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                        ReleaseMgr - Duet update info inside DWC.
                        Repo

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