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;
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
add a comment |
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
add a comment |
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
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
raspberry-pi raspbian motion
edited Dec 22 '16 at 14:07
CL22
asked Dec 20 '16 at 14:22
CL22CL22
928
928
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
New contributor
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
New contributor
add a comment |
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.
New contributor
add a comment |
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.
New contributor
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.
New contributor
New contributor
answered Apr 13 at 17:24
inicDominusinicDominus
11
11
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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