• First Steps
  • General
  • Projects
Facebook Twitter YouTube
Tutorials for Raspberry Pi Tutorials for Raspberry Pi
  • Hardware & GPIO
  • Sensors & Components
  • Scale
  • Cases
  • Fingerprint
  • Gas Sensor
  • Heartbeat
  • German
  • French
Tutorials for Raspberry Pi Tutorials for Raspberry Pi
Home»Projects»How to setup a Raspberry Pi Security Camera Livestream

How to setup a Raspberry Pi Security Camera Livestream

Facebook Twitter LinkedIn Tumblr Email Reddit
Raspberry Pi Überwachungskamera Livestream
Share
Facebook Twitter LinkedIn Email Tumblr Reddit Telegram WhatsApp

After we are able to record individual images with (USB) cameras / webcams, we also want to view live pictures. This can either take place on the smartphone or on a PC fom outside of the home network. For this purpose, we configure the Livestream of the Raspberry Pi security camera. The great thing is that almost every USB camera (also webcams) can be used. Depending on placement, e.g. a camera without an infrared filter can be useful to enable better night shots.

 

Equipment

Raspberry Pi Überwachungskamera Livestream NoIR
The missing IR filter ensures a higher light sensitivity.

If we want to connect a USB camera, our Raspberry Pi must obviously have a free USB port. However, we can also use the official camera, which is available in two versions:

  • Standardversion in green (US / UK), which has 8MP, and the like. Videos in 1080p can record. Since an infrared filter is installed, it is particularly suitable for daylight recording or for places with sufficient light irradiation.
  • NoIR Version in black (US / UK): The specifications (resolution, etc.) are the same, but no IR filter is installed, which makes records with bad light conditions better. This is especially recommended for dark scenes.

Both cameras can be directly connected via the CSI connector on board, which means that no USB port is used. The newer Zero models (from generation 2) now also have CSI ports.

Alternatively, any USB Webcam (US / UK) can be used as long as the corresponding drivers for Linux are available. However, this is the case with almost all newer cameras. If our Raspberry Pi does not have an integrated wifi adapter, we may need one more because a network or Internet connection is unavoidable.

 

Preparations for the Livestream

Before we enable the stream of our Raspberry Pi camera or USB Webcam, we need to update the packages:

sudo apt-get update
sudo apt-get upgrade

Then you can install the Motion tool, which makes our Livestream possible.

sudo apt-get install motion -y

The installation will take some time.

If everything has worked so far, the camera can be connected (if not already done). If you are using a USB webcam, you can check if it has been detected:

lsusb

 

If no special drivers are required, all connected video devices / cameras should be displayed with the following command:

ls /dev/video*

If you are using one of the official camera modules, it is important to do the following so that the camera is displayed immediately (preferably by autostart):

sudo modprobe bcm2835-v4l2

If only a single webcam / Raspberry Pi camera is connected, by using /dev/video0 the device should be specified. If you have several devices connected, you have to select the device to transfer the stream.

 

Configure the Raspberry Pi Livestream

For the next steps, in which we set some settings, wee need to look at the camera details:

v4l2-ctl -V

For my USB Webcam I got the following output. We will immediately specify the information for the resolution, etc. in the configuration file.

pi@raspberrypi:~ $ v4l2-ctl -V
Format Video Capture:
        Width/Height  : 640/480
        Pixel Format  : 'YUYV'
        Field         : None
        Bytes per Line: 1280
        Size Image    : 614400
        Colorspace    : SRGB
        Flags         :

 

So let’s edit Motion’s configuration file:

sudo nano /etc/motion/motion.conf

The following lines have to be adjusted (the variable can be searched with CTRL + W, the bold values have been changed):

# Start in daemon (background) mode and release terminal (default: off)
daemon on
...
# Restrict stream connections to localhost only (default: on)
stream_localhost off
...
# Target base directory for pictures and films
# Recommended to use absolute path. (Default: current working directory)
target_dir /home/pi/Monitor

The following lines are optimal and should also be changed (we have read them out previously):

v4l2_palette 15     # Nummer aus der Tabelle davor entnehmen, 15 enstpricht YUYV
... 
# Image width (pixels). Valid range: Camera dependent, default: 352 
width 640 

# Image height (pixels). Valid range: Camera dependent, default: 288 
height 480 # Maximum number of frames to be captured per second. 

# Valid range: 2-100. Default: 100 (almost no limit). 
framerate 10 

Save with CTRL + O and close with CTRL + X. Further options (port, etc.) can also be adjusted afterwards (requires a reboot). The brief description of the settings is however very revealing.

Now we only have to activate the daemon so that we can run the service afterwards:

sudo nano /etc/default/motion

Here we replace “no” with “yes”, after which it should look like the following text:

start_motion_daemon=yes

 

Now we have to create the folder, which we have previously specified as the storage location for the captured frames, and give it the necessary writing rights:

mkdir /home/pi/Monitor
sudo chgrp motion /home/pi/Monitor
chmod g+rwx /home/pi/Monitor

Then we can start the service:

sudo service motion start

 

 

Raspberry Pi Surveillance Camera Livestream Test

In order to test whether our camera is really sending live images, we basically have two options: One way is simply to use the browser (Mozilla Firefox, Chrome, etc.) and the name of the Raspberry Pi followed by the port (default: 8081). If you have not changed the hostname and port, you should be able to see the stream: http://raspberrypi:8081/ (Alternatively, the local IP address can be used, such as 192.168.1.51:8081).

Some older browsers do not support this stream (Internet Explorer :-D). Those users may choose the Livestream e.g. on the VLC Player. To do this, simply open the VLC Player and specify in the menu under “Media” -> “Open Network Stream” (CTRL + N) the above address. This is also possible in the VLC Player for smartphones and tablets (Android, Apple): Select “Open Media Address” in the menu and the IP address including port.

Depending on the specified Framerate (specified in the configuration file) the image is better or not. Of course, your camera must also support the framerate. If, for example, the camera can send a maximum of 10 frames per second, it does not matter if more are set in the configuration.

 

Make it available outside the home network

Since it makes little sense to watch the camera in its own network, we also want to access it from outside. For this we need a fixed IP or a dDNS service. Most telecommunication providers provide fixed IP addresses (if at all) only for payment, which is why we want to use a free DNS provider. Of course you can also take another vendor of your choice. If you already have a fixed IP address at home, you can skip this step.

Note: Theoretically, you can also use a non-static IP address, but this has the disadvantage that after each reconnect you’ll get a new IP address. Since Provider approximately once a day (usually at night) force a reconnect of your router, a DNS service is highly recommended, since the DNS address does not change.

In addition, we have to open the selected port (for example 8081) in our router for port forwarding. This means that we can address this port from outside the network and connect it to it. Since this is something different for each router, refer to the corresponding manual. Under the heading “Port forwarding” or similar, you can specify the port which is opened for a specific local IP address. In my router looks like this for example:

Raspberry Pi NoIP PortForwarding

The menu of most routers is accessible via 192.168.1.1 or 192.168.0.1 via the browser. If this is not the case, however, the manual will also tell you how to find the menu.

If you use the VLC Player, you must now of course replace the local IP address, which you have previously specified, with your DNS or static IP address (port is still the same). Some routers may fail to do this within the home network. To test it nevertheless at home, you can use mobile data on your phone for example. Turn wifi off and check if you can see the Livestream of the Raspberry Pi surveillance camera. Depending on the Internet connection (upload speed), the picture may be somewhat delayed.

alarm system camera CCTV camera Smart Home Smartphone Stream
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleNodeMCU ESP8266: HD44780 LCD Display per I2C steuern
Next Article 15 Raspberry Pi Projekte für Anfänger zum nachbauen

Related Posts

Control all GPIOs with the Raspberry Pi REST API via Python

Using TensorFlow Lite with Google Coral TPU on Raspberry Pi 4

Raspberry Pi Samba Server: Share Files in the Local Network

Build Live Text Recognition with the Raspberry Pi (OCR)

68 Comments

  1. Koxo on 30. October 2017 10:22

    Hello.
    Great article thank you.
    How is it possible to stream video from more than one camera?

    Reply
    • Nutters on 11. August 2021 12:18

      Similar to “Solo”- one Pi, 2 camera solution, my solution is for 2 Pi’s with a camera each:
      If you only wish to view multiple cameras inside your home network just use the ip address of the
      Pi’s followed by the same port number 8081 in a browser.
      eg 192.168.1.2:8081 and 192.168.1.3:8081
      If you wish to view the cameras from outside your network, eg at work,
      you will need to specify a different port for the 2nd camera on both the Pi and your Router. eg, 192.168.1.2:8081, and 192.168.1.3:8082.
      Then use the IP address of your home and just add the port for which ever camera you wish to view.
      eg http://45.167.251.78:8081 and 45.167.251.78:8082
      NOTE: This requires you to know the current IP address of home. If it is not static, you will need to use a third party site to assist – as mentioned above.
      Then you are done!

      Reply
  2. TomF on 5. January 2018 3:39

    Very helpful article. Had a couple of stumbles, but was able to get a camera running. I am using Raspian Stretch. Cam FPS is 30. So set motion.conf to same. However, camera response is slow. Could this be due to Raspian?

    Reply
    • Art on 26. July 2018 6:01

      In /etc/motion/motion.conf
      I changed:
      stream_maxrate 1 (one fps!?)
      To:
      stream_maxrate 30

      Reply
      • Amit on 31. August 2020 12:51

        Thanks Art. It really helped.

  3. RIleyG on 17. February 2018 4:59

    I tried with both Raspbian Stretch and Raspbian Stretch Lite , following the instructions, it seems to fail installing Motion – says it is already installed and “sudo modprobe bcm2835-v4l2” fails as well as “v4l2-ctl -V” fails. I am about to give up. Seems new versions break old instructables consistently.

    Reply
    • Luca on 27. September 2018 14:33

      Did you activate camera and I2C in your raspi-config?

      Reply
    • Carl Boudreau on 31. December 2019 20:30

      You are using 1 instead of L, maybe?

      Reply
  4. Andre Rosado on 4. March 2018 22:48

    What`s your problem, you can always delete your motion version and install another one…

    Reply
  5. Solo on 12. April 2018 16:08

    Connect two cameras to the Pi, one USB camera and another Raspberry Pi camera. Set USB camera to port :8080 and Pi camera to :8081 ports. What it does it sets two cameras on two ports from one device.
    Once that is set, go to web browser and enter IP address or Hostname of the Pi followed by port numbers.
    That should show up in the web browser

    Reply
    • Abdias Aviles Martinez on 31. May 2018 8:30

      How did you do to assign different ports to the cameras?

      Reply
  6. RPi Guitarpicker on 16. April 2018 7:05

    Audio options? I had a lot of trouble getting it up and running (I’m an RPi noob), but after a quick sudo apt-get upgrade it was solved and I was streaming. How do I incorporate live audio into the stream?

    I glanced through the /etc/motion/motion.conf and noticed tons of things to tinker with, most notably, the motor controls for servos, which I’ll be playing with more down the road. I have a plan to build a home security camera system utilizing an Octapi server as the base, with 8 dual servo controlled wifi cameras based off of pi zeros. Video is great, but for my purposes, video with audio would be ideal.

    But how? lol. Even if you had a link about how to set up motion for live audio along with video it would be great

    Reply
  7. Ye Thu Aung on 5. May 2018 17:05

    Thank for steam but i always full my disk space. How to fix it!!!.

    Reply
    • steve on 7. May 2018 10:51

      That’s because it saves surveilance pics and video to your disk. If you don’t want that:

      output_pictures off
      ffmpeg_output_movies off
      use_extpipe off
      timelapse_interval 0

      Additionally, start motion with -m switch to dosable motion detetction

      Reply
      • Jaz on 3. April 2019 18:39

        I just sent the pics and videos to save in /dev/null

  8. steve on 7. May 2018 10:50

    output_pictures off
    ffmpeg_output_movies off
    use_extpipe off
    timelapse_interval 0

    (if you only need live cam: additionally, start motion with -m switch to dosable motion detetction

    Reply
    • Tress on 13. August 2018 5:32

      >> (if you only need live cam: additionally, start motion with -m switch to dosable motion detetction)

      How do I change the way motion is invoked?

      Reply
  9. Apostolos on 26. May 2018 11:45

    Hello and thank you for the nice post.
    I have attached the official camera module and followed the steps gingerly.
    When I test in any browser I get :
    “This site can’t be reached
    raspberrypi refused to connect.”

    In VLC I get:
    “Your input can’t be opened:
    VLC is unable to open the MRL ‘http://192.168.1.30:8081’. ”

    Any idea?
    I have rebooted pi and motion service several times.

    Best Regards,
    Apostolos

    Reply
  10. Apostolos on 26. May 2018 16:33

    OK solved it myself.
    I forgot to stream_localhost off
    and also added at the end of the file:
    sudo nano /etc/modules
    this line :
    bcm2835-v4l2

    Reply
    • Logan on 2. August 2018 4:49

      Hey Apostolos,
      When I open up the “sudo nano /etc/modules” and then I input the line “bcm2835-v4l2” below the “i2c-dev” line, it still doesn’t change anything and I still get the same “can’t reach this page when I try to check the livestream. Any thoughts? Thanks!

      Reply
      • Long-term sarcasm of imperial bananas on 5. August 2018 8:56

        Me 2..

  11. cctv camera chennai on 30. May 2018 15:08

    E-sync security is the Chennai based company which deals with all type of electronic security systems Chennai and outer with excellent customer support. We provide high resolution surveillance security systems for both domestic and commercial applications. From single camera to multi-site camera configuration, we will design a security systems that meets your surveillance security requirements. It is one of the few company which believes “SERVICE FIRST”

    Reply
  12. Josh Brown Kramer on 26. June 2018 6:57

    I am using a Raspberry Pi camera. I can grab a picture off of it. I am using bcm2835-v4l2 in etc/modules. I have a /dev/video0, but when I go http://x.x.x.x:8081 I get a grey screen saying “unable to open video device”. Any suggestions?

    Reply
    • Carlos Pires on 9. August 2018 4:37

      Me too… Trying to solve…

      Reply
      • Carlos Pires on 10. August 2018 0:45

        The Raspberry Pi camera is not support by default motion package, go to “https://motion-project.github.io/” and download the correct Motion package according your SO. I’m using Raspbian stretch and used “pi_stretch_motion_4.1.1-1_armhf.deb” Worked OK. See at ” https://www.bouvet.no/bouvet-deler/utbrudd/building-a-motion-activated-security-camera-with-the-raspberry-pi-zero” if you want more details.

    • Nikitas on 29. April 2019 11:10

      I had the same problem and was not resolved with anything I had tried. I finally tried the following commands and the problem was resolved once I restarted the raspberry pi:

      sudo nano /etc/modules
      enter bcm2835-v4l2
      exist and save the fle
      sudo reboot

      Reply
      • Nikitas on 2. May 2019 20:20

        Additionally, when copying and pasting the commands we must make sure that the letter l is not printed us a number 1 . For example the command v4l2-ctl -V and the command v412-ct1 -V, are different. This bug can happen, when use copy paste for commands.

  13. Adam on 23. July 2018 15:49

    Any reason the stream is sooooo slow and laggy. It’s like it’s running at 5FPS. If this is the best it can go it’s pretty much pointless 🙁

    Reply
    • Art on 26. July 2018 5:39

      I changed:
      stream_maxrate 1

      To:
      stream_maxrate 30

      This made the live part go way faster.

      Reply
  14. Long-term sarcasm of imperial bananas on 5. August 2018 8:23

    This part:
    v4l2_palette 15 # Nummer aus der Tabelle davor entnehmen, 15 enstpricht YUYV
    I can’t find it. I found all the rest, but that one looks like German and mine is in English.
    (First of all, I’m a raspberry pi noob. Second, I tried the translator.)
    Any suggestions?

    Thanks in advance.

    Reply
  15. Long-term sarcasm of imperial bananas on 5. August 2018 8:29

    Plus, I tried finding Nummer by ctrl+W, but it says “Nummer” not found.
    I did try finding v4l2 and it was followed by:
    #Tuner device to be used for capturing using tuner as source (default /dev/tuner0)

    Reply
    • Long-term sarcasm of imperial bananas on 5. August 2018 8:40

      Also: in sudo modprobe bcm2835-v4l2, I’ve got nothing and when I input /dev/video0, it says access denied…. I know there is a lot of questions, but please help..

      Reply
  16. Velimir on 22. September 2018 13:35

    [0:motion] [NTC] [ALL] conf_load: Processing thread 0 – config file /home/pi/.mo tion/motion.conf
    [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option “mmalcam_name”
    [0:motion] [NTC] [ALL] motion_startup: Motion 4.0 Started
    [0:motion] [ERR] [ALL] create_path: Problem creating directory /var/log/motion: Permission denied
    [0:motion] [EMG] [ALL] motion_startup: Exit motion, cannot create log file /var/ log/motion/motion.log: Permission denied

    Message from syslogd@raspberrypi at Sep 22 13:31:06 …
    motion: [0:motion] [EMG] [ALL] motion_startup: Exit motion, cannot create log f ile /var/log/motion/motion.log: Permission denied

    Broadcast message from systemd-journald@raspberrypi (Sat 2018-09-22 13:31:06 CES T):

    motion[1775]: [0:motion] [EMG] [ALL] motion_startup: Exit motion, cannot create log file /var/log/motion/motion.log: Permission denied

    i got this after i wanted to start motion

    Reply
    • Chris on 1. November 2018 5:57

      Try enterning it again with ¨sudo¨. :))

      Reply
  17. Hari Krishna Gaddipati on 7. November 2018 1:51

    How to use the -m switch to disable the motion activated. is it when we start the service?

    Reply
  18. paul on 7. January 2019 14:47

    Great post, followed instructions and got it working! One suggestion (helpful for beginners like me):
    Explain where and how you would add a command so it runs during the boot (sudo modprobe bcm2835-v4l2), that would make the article complete.

    I have one issue (i have the system one day running, so not sure whether this is a persisent issue): It seemed the camera wasn’t correcting its brightness/exposure this morning. So the stream and images were overexposed (80% white). After a reboot it was fine.

    Reply
  19. Mohannad Rady on 16. January 2019 22:43

    Great job. However, I tried all the steps but I cannot reach http://raspberrypi:8081/

    Any Suggestions, please.

    Reply
    • Chris Ellicott on 20. May 2019 11:19

      Leave off the last /
      It worked for me.

      Reply
  20. Kevin on 21. January 2019 12:45

    Thank you for creating this guide. I’ve successfully created it and streaming in my LAN as a baby monitor. But for some reason I occasionally can’t access and the error states that the connection is refused even it was working a few minutes ago, is there a fix on it?

    Also I found a real easy way to start bcm2835 on boot. Open etc/modules with:

    sudo nano /etc/modules

    then add

    bcm2835-v4l2

    it automatically boots up every time.

    Reply
  21. Marcel de Vries on 6. February 2019 22:51

    Broken tutorial

    Reply
  22. John M on 7. February 2019 18:43

    Will this program start on boot? I don’t want it start automatically, use motion sensing, or save to the disk. I just want a stupid simple live stream that I can start when and if I want it too. Thanks.

    Reply
  23. vovzba on 9. March 2019 1:02

    Thank you, great job! I have completed the project!

    Reply
  24. ninjafella on 16. March 2019 22:03

    Hi,
    I have tried using this tutorial and it does’t seem to want to work for me.
    I have gone over it multiple times and i still can’t get it to work.
    The IP address for my pi is correct but when i try to connect it says this site cant be reached and refused to connect.

    If anyone can help i would be grateful.
    Thanks

    Reply
  25. Sandy C on 7. June 2019 22:45

    Perfect video tutorial, easy to follow. I had the same problem with my old asus and couldn’t fix it on my own. I followed your tutorial and it was fixed in a breeze.

    Reply
  26. Tiziano Fiorenzani on 4. July 2019 18:37

    How do you set it up for multiple cameras? Like for example if I had a picamera and a webcam?

    Reply
  27. Sean on 8. July 2019 20:15

    Great tutorial – was up and running in 10 minutes!

    Is there any way to disable the LED on the Arducam Pi specific camera? It’s really bright.

    Reply
  28. Rob on 7. August 2019 6:32

    Thanks. I know next to nothing about the Linux thingy but I got it working with your help. I disagree with your statement “Since it makes little sense to watch the camera in its own network” Makes perfect sense to me.

    Reply
  29. Jim on 23. August 2019 8:30

    my mobile phone browser (not connected to wifi) wont connect to my ddns.net address

    Reply
  30. yuvaguru on 29. August 2019 10:29

    The Blog Was Great.

    Reply
  31. Ricardo W on 7. October 2019 21:54

    Hello, I am trying to save details in the database and while it seems to save a line in the database every time a create a new file, t also generates an error.

    [1:ml1] [ERR] [DBL] [Oct 07 20:43:43] do_sql_query: Mysql query failed You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘sql_query_start insert into security_events(camera, event_time_stamp) values(‘0” at line 1 error code 1064: Resource temporarily unavailable

    Any idea?

    Reply
  32. Jeroen van Wely on 9. October 2019 15:59

    Is there any way to get a colored stream instead of greyscale?

    Reply
  33. Vinh on 3. March 2020 22:30

    How do I add a user and password login for the stream that actually works?

    Reply
  34. Vinh on 3. March 2020 22:32

    it should automatically be in color. Try deleting motion and reinstalling it, or rebooting your pi

    Reply
  35. Alan Jacobs on 7. May 2020 2:29

    I did all this, and it works great, but now I want to uninstall or stop so my camera can be used by Zoom. Is that possible, or should I make a new SD card?

    Reply
  36. Mike R on 23. May 2020 21:40

    I am dealing with a 4 second latency and slow frame rate.
    # Maximum number of frames to be captured per second.
    # Valid range: 2-100. Default: 100 (almost no limit).
    framerate 100

    # Live
    Stream Server
    ############################################################

    # The mini-http server listens to this port for requests (default: 0 = disabled)
    stream_port 8081

    # 50% scaled down substream (default: 0 = disabled)
    # substream_port 8082

    # Quality of the jpeg (in percent) images produced (default: 50)
    stream_quality 50

    # Output frames at 1 fps when no motion is detected and increase to the
    # rate given by stream_maxrate when motion is detected (default: off)
    stream_motion off

    # Maximum framerate for stream streams (default: 1)
    stream_maxrate 80 ### It doesn’t matter what I put in here.####

    # Restrict stream connections to localhost only (default: on)
    stream_localhost off

    # Limits the number of images per connection (default: 0 = unlimited)
    # Number can be defined by multiplying actual stream rate by desired number of seconds
    # Actual stream rate is the smallest of the numbers framerate and stream_maxrate
    stream_limit 0

    # Set the authentication method (default: 0)
    # 0 = disabled
    # 1 = Basic authentication
    # 2 = MD5 digest (the safer authentication)
    stream_auth_method 0

    # Authentication for the stream. Syntax username:password
    # Default: not defined (Disabled)
    ; stream_authentication username:password

    # Percentage to scale the stream image for preview
    # This is scaled on the browser side, motion will keep sending full frames
    # Default: 25
    ; stream_preview_scale 25

    # Have stream preview image start on a new line
    # Default: no
    ; stream_preview_newline no

    Reply
  37. Doug on 25. May 2020 5:03

    camera is upside down and I cannot change orientaion….
    As well can’t change camera name
    If I log into the pi using :8765 I can change settings but nothing happens

    Reply
  38. Dave on 3. June 2020 18:06

    I’m looking into this as a possible idea for a remote monitoring site over a 4G wifi connection. Anyone know if its possible to open up ports on a 4G router and are there any recommended carriers/routers that do support this?

    Reply
  39. Scott on 7. July 2020 9:38

    Hey, I got this working perfectly, thanks.
    Wondering if there is a way to setup login criteria for the feed its self.

    Reply
    • David on 13. December 2020 16:25

      Just abandon all the stuff above and install MotionEye or MotionEyeOS. It will give streaming, camera control web interface and login control. (Or try RPi_Cam_Web_Interface)

      Reply
  40. james brady on 9. August 2020 2:52

    Hi. I have a gsm modem and would like to capture an image and have it sent to me via SMS. How can I do this??

    Reply
  41. RL on 12. August 2020 15:44

    Id like to know how can I make this setup as a motion sensor camera?

    Reply
    • David on 13. December 2020 16:26

      Just abandon all the stuff above and install MotionEye or MotionEyeOS. It will give streaming, camera control web interface and login control. (Or try RPi_Cam_Web_Interface)

      Reply
  42. Kevin Thompson on 30. October 2020 22:27

    how do i tell it to not record, just want to keep it streaming

    Reply
  43. Harold Burton on 4. June 2021 18:07

    OMG!!! THANK YOU!!!! I LOOKED ALL OVER TO SOLVE THIS ISSUE!!! I have used skype and it worked fine… Then of course I have a presentation I need to record tomorrow and couldn’t get it to open!! I was like what the hell is going on!!?? I almost left to go buy a camera to hook up!!! YOU ARE THE BEST!!! THANK YOU!!!!

    Harold Burton

    Reply
  44. Asle on 7. June 2021 19:37

    What happens when the sd card is full? Does it delete the oldest files ?

    Great guide. Up and running in 10 min. needed to reboot and then all worked!

    Reply
  45. AmeyaK on 6. July 2021 12:05

    please let me know the changes needed to be done to see the live stream only without saving any pictures or videos to the storage(in ‘~/Monitor’). I do not need to store any video or image, I only need to check the current position to make sure it is getting the correct frame.

    Also I need this live stream to be temporary, so is there a way of running the motion command so that the stream is active only while it is active on the terminal and will stop once the motion command is exited with a ^C (ctrl+c) or something.

    Thanks

    Reply
  46. Ashley Jones on 16. September 2021 15:34

    my Dell Inspiron 15 7569 laptop has an integrated camera, it records and takes video flipping the image, any solution on how I can fix that and how I can record as how the image is previewed, it uses the windows 10 camera app.
    CrazyAsk

    Reply
  47. Bill Kennedy on 12. January 2025 0:30

    sudo nano /etc/default/motion
    Doesn’t exist on my Pi4.
    Game over.

    Reply

Leave A Reply Cancel Reply

MCP3008: Read out Analog Signals on the Raspberry Pi

How-To: Bluetooth Connection between ESP32’s and Raspberry Pi’s

Raspberry Pi Robot Kit – Assembly (Part 1)

Raspberry Pi – Build your own UPS (Uninterruptible Power Supply)

Telegram Messenger on the RaspberryPi

Raspberry Pi LCD Touch Display Part 2 – Adjustments

Subscribe to Blog
Subscribe to Raspberry Pi Tutorials and don't miss any new Tutorial!
Subscribe

Thank you!

We will contact you soon.

Tutorials for Raspberry Pi
Facebook Twitter YouTube
  • Contact & Disclaimer

Type above and press Enter to search. Press Esc to cancel.