Motion stops streaming on movement (and no logs produced) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionSaturated blue image in MJPG streaming with a Raspberry Pi and a webcamusing motion to trigger snapshot when movement stopsDebian dhcpcd and wpa_supplicant 802.1X wired, internet stops working after dhcp lease timeoutmotion blue and black image on built in server - saved images are ok

How do I stop a creek from eroding my steep embankment?

How do I find out the mythology and history of my Fortress?

How to convince students of the implication truth values?

Is "Reachable Object" really an NP-complete problem?

Should I use a zero-interest credit card for a large one-time purchase?

Wu formula for manifolds with boundary

Can a party unilaterally change candidates in preparation for a General election?

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

What is the meaning of the simile “quick as silk”?

Amount of permutations on an NxNxN Rubik's Cube

What is the longest distance a player character can jump in one leap?

Around usage results

Do I really need to have a message in a novel to appeal to readers?

Why didn't Eitri join the fight?

Dating a Former Employee

An adverb for when you're not exaggerating

What font is "z" in "z-score"?

What is homebrew?

What does this Jacques Hadamard quote mean?

Trademark violation for app?

Why aren't air breathing engines used as small first stages

How could we fake a moon landing now?

How to react to hostile behavior from a senior developer?

Significance of Cersei's obsession with elephants?



Motion stops streaming on movement (and no logs produced)



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionSaturated blue image in MJPG streaming with a Raspberry Pi and a webcamusing motion to trigger snapshot when movement stopsDebian dhcpcd and wpa_supplicant 802.1X wired, internet stops working after dhcp lease timeoutmotion blue and black image on built in server - saved images are ok



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am trying to get a hello-world stream working from a USB webcam to a browser over a local network using Motion. (On a Raspberry Pi).



When I run service motion start on the RPi and go to http://192.168.0.xyz:8081 on my PC, the streaming works as expected. But when there is any movement, in Firefox it stops and says "Connection was reset". Refreshing sometimes makes it work, but sometimes gives a "Could not connect" message. In chrome the picture just freezes.



I am not trying to use any motion-detection features for the moment, and have disabled all such options (that I have found).



cat /tmp/motion.log is empty.



Installation was as follows. (Everything was done as root to make things a bit simpler.)



apt-get update
apt-get install motion -y


I then changed the following options in /etc/motion/motion.conf



daemon off
setup_mode off
output_pictures off
output_debug_pictures off
target_dir /var/lib/motion
stream_port 8081
stream_motion off
stream_localhost off


Then I run



service motion start


What am I doing wrong?










share|improve this question






























    1















    I am trying to get a hello-world stream working from a USB webcam to a browser over a local network using Motion. (On a Raspberry Pi).



    When I run service motion start on the RPi and go to http://192.168.0.xyz:8081 on my PC, the streaming works as expected. But when there is any movement, in Firefox it stops and says "Connection was reset". Refreshing sometimes makes it work, but sometimes gives a "Could not connect" message. In chrome the picture just freezes.



    I am not trying to use any motion-detection features for the moment, and have disabled all such options (that I have found).



    cat /tmp/motion.log is empty.



    Installation was as follows. (Everything was done as root to make things a bit simpler.)



    apt-get update
    apt-get install motion -y


    I then changed the following options in /etc/motion/motion.conf



    daemon off
    setup_mode off
    output_pictures off
    output_debug_pictures off
    target_dir /var/lib/motion
    stream_port 8081
    stream_motion off
    stream_localhost off


    Then I run



    service motion start


    What am I doing wrong?










    share|improve this question


























      1












      1








      1








      I am trying to get a hello-world stream working from a USB webcam to a browser over a local network using Motion. (On a Raspberry Pi).



      When I run service motion start on the RPi and go to http://192.168.0.xyz:8081 on my PC, the streaming works as expected. But when there is any movement, in Firefox it stops and says "Connection was reset". Refreshing sometimes makes it work, but sometimes gives a "Could not connect" message. In chrome the picture just freezes.



      I am not trying to use any motion-detection features for the moment, and have disabled all such options (that I have found).



      cat /tmp/motion.log is empty.



      Installation was as follows. (Everything was done as root to make things a bit simpler.)



      apt-get update
      apt-get install motion -y


      I then changed the following options in /etc/motion/motion.conf



      daemon off
      setup_mode off
      output_pictures off
      output_debug_pictures off
      target_dir /var/lib/motion
      stream_port 8081
      stream_motion off
      stream_localhost off


      Then I run



      service motion start


      What am I doing wrong?










      share|improve this question
















      I am trying to get a hello-world stream working from a USB webcam to a browser over a local network using Motion. (On a Raspberry Pi).



      When I run service motion start on the RPi and go to http://192.168.0.xyz:8081 on my PC, the streaming works as expected. But when there is any movement, in Firefox it stops and says "Connection was reset". Refreshing sometimes makes it work, but sometimes gives a "Could not connect" message. In chrome the picture just freezes.



      I am not trying to use any motion-detection features for the moment, and have disabled all such options (that I have found).



      cat /tmp/motion.log is empty.



      Installation was as follows. (Everything was done as root to make things a bit simpler.)



      apt-get update
      apt-get install motion -y


      I then changed the following options in /etc/motion/motion.conf



      daemon off
      setup_mode off
      output_pictures off
      output_debug_pictures off
      target_dir /var/lib/motion
      stream_port 8081
      stream_motion off
      stream_localhost off


      Then I run



      service motion start


      What am I doing wrong?







      raspberry-pi raspbian motion






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 22 '16 at 14:07







      CL22

















      asked Dec 20 '16 at 14:22









      CL22CL22

      928




      928




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Super late but I just ran into this same problem and found a workaround so hopefully this helps someone else. Edit the threshold value in motion.conf to be higher than the resolution in total number of pixels (set mine to 999999). The default is 1500 pixels of movement detected gets flagged as motion. It seems that setting the threshold value very high avoids the freeze.






          share|improve this answer








          New contributor




          inicDominus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f331666%2fmotion-stops-streaming-on-movement-and-no-logs-produced%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Super late but I just ran into this same problem and found a workaround so hopefully this helps someone else. Edit the threshold value in motion.conf to be higher than the resolution in total number of pixels (set mine to 999999). The default is 1500 pixels of movement detected gets flagged as motion. It seems that setting the threshold value very high avoids the freeze.






            share|improve this answer








            New contributor




            inicDominus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
























              0














              Super late but I just ran into this same problem and found a workaround so hopefully this helps someone else. Edit the threshold value in motion.conf to be higher than the resolution in total number of pixels (set mine to 999999). The default is 1500 pixels of movement detected gets flagged as motion. It seems that setting the threshold value very high avoids the freeze.






              share|improve this answer








              New contributor




              inicDominus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                0












                0








                0







                Super late but I just ran into this same problem and found a workaround so hopefully this helps someone else. Edit the threshold value in motion.conf to be higher than the resolution in total number of pixels (set mine to 999999). The default is 1500 pixels of movement detected gets flagged as motion. It seems that setting the threshold value very high avoids the freeze.






                share|improve this answer








                New contributor




                inicDominus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                Super late but I just ran into this same problem and found a workaround so hopefully this helps someone else. Edit the threshold value in motion.conf to be higher than the resolution in total number of pixels (set mine to 999999). The default is 1500 pixels of movement detected gets flagged as motion. It seems that setting the threshold value very high avoids the freeze.







                share|improve this answer








                New contributor




                inicDominus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                inicDominus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Apr 13 at 17:24









                inicDominusinicDominus

                11




                11




                New contributor




                inicDominus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                inicDominus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                inicDominus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f331666%2fmotion-stops-streaming-on-movement-and-no-logs-produced%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

                    Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

                    Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.