Thursday, March 31, 2016

HOWTO - Set up Raspberry IP Camera on Synology Surveillance station


Let's get ready to use the Raspberry Pi as low-cost Full HD surveillance IP camera.
First download your copy of the Raspberry IP Camera software at http://ronnyvdbr.github.io/RaspberryIPCamera/
After downloading, write the image to SD card with the win32diskimager software.
Put your SD card into the Raspberry, boot it up, scan your network for the right IP address of the IP Camera as it will be autoconfigured by DHCP.


Set up the Camera for usage with Synology Surveillance station:

1. Log in to the web interface with admin as username and raspberry as password.



2. Click the camera settings entry on the menu bar.



3. Set the camera to it's highest resolution, after that set the format to H264 (Streamable over RTSP), after that, click apply on the bottom of the page.



Now add the IP Camera to your Synology Surveillance Station:

1. Open your Synology Surveillance Station web interface, and open your IP Camera control panel.


2. Select 'add', then select 'Add Camera'.


3. Select 'complete' and click 'next'.



4. Name your Camera, fill in the IP address, set the port number to 8554, select User Define as brand, and set the source path to / (note that the password for this is blank, so do not enter a password)









86 comments:

  1. Awesome Ronny, this will make my life a whole lot easier, thanks! I'll let ya know if its working.

    ReplyDelete
    Replies
    1. You are welcome. I have a few of these running myself, seems to work like a charm.
      Let me know if you run into any issue.

      Delete
    2. Ignore my previous post, it works, just had te restart surveillance station.

      Delete
  2. Tried to install the v1.6 beta - but it seems the H.264 is not working, portscan reveals it's not listning, changed to MJPEG but when using VLC i am promted for a username / password ?

    ReplyDelete
    Replies
    1. Hi, you can either run in MJPEG mode or RTSP server mode, but not both at the same time.
      Go to camera settings, and set the format to H264 (streamable over RTSP) and click apply at the bottom of the page. Now run your scan again for port 8554 (RTSP) you should be able to detect it.
      If the camera is in MJPEG mode there is indeed a password protection installed.
      The idea here is to use MJPEG mode for access over the internet as it is compatible with most browsers, or RTSP server mode for local network usage. Hence a password is installed for MJPEG server mode, and not for RTSP server mode.

      Delete
    2. What is the username / password for the MJPEG Stream?

      Delete
  3. Would it be possible to use a usb webcam? Specifically a Microsoft HD-3000. I can get this camera to work on my Pi3 with the motion package but with your solution I cannot see the image in the Synology "add ip camera" wizard. Any tips would help. Thanks/

    ReplyDelete
    Replies
    1. Hi, my work is based on the uv4l framework of http://www.linux-projects.org/
      They also have a Userspace Video4Linux driver module for devices based on the USB VIdeo Class specification.
      So I guess as long as your camera is compatible with that specification, you should be ok to get this working with my solution.

      You need to distinguish a few layers in enabling the communication via the rtsp or mjpeg server:

      1. You have the User space Video4Linux (core module), it provides a pluggable architecture for user space video driver modules.

      2. The driver module, which is pluggable into the above core module, in my design I make use of the raspicam driver of the same developer.

      3. The server on top of all that, which provides you with mjpeg or rtsp streaming.

      I guess you would benefit greatly by reading through my installation manual on github: https://github.com/ronnyvdbr/RaspberryIPCamera/blob/master/installation.sh in grasping an understanding how all the pieces of the puzzel fit together.
      If U still have questions I'll be able to answer these for you.

      Delete
  4. Hi Ronny - thank you for your reply, i moved my question to the board - others might benefit - but the Pi is not listning on port 8554 after changeing via the GUI (and a reboot) - still on port 8080
    pi@raspberrypi:~ $ sudo netstat -tulpn | grep :8080
    tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 112/uv4l
    pi@raspberrypi:~ $ sudo netstat -tulpn | grep :8554

    ReplyDelete
    Replies
    1. Hi, the RTSP server is started as a service via systemd.
      You can check it's status and latest log entries via:
      sudo systemctl status RTSP-Server.service
      If you could post the result of that, it would be useful to diagnose the situation.
      Did u download the image or did u compile it yourself according to the install instructions?


      the RTSP server is based on the work of Michel Promoneth, and is to be found on github, just just for informational purposes.

      Delete
    2. I downloaded the image:)

      sudo systemctl status RTSP-Server.service
      ● RTSP-Server.service - RTSP-Server
      Loaded: loaded (/etc/systemd/system/RTSP-Server.service; enabled)
      Active: inactive (dead) since Thu 1970-01-01 01:00:25 CET; 46 years 3 months ago
      Process: 622 ExecStart=/usr/local/bin/h264_v4l2_rtspserver -Q 3 -u -f (code=exited, status=0/SUCCESS)
      Main PID: 622 (code=exited, status=0/SUCCESS)

      Jan 01 01:00:24 raspberrypi systemd[1]: Started RTSP-Server.
      Jan 01 01:00:24 raspberrypi h264_v4l2_rtspserver[622]: 1970-01-01 01:00:24,859 [NOTICE] - /home/pi/h264_v4l2_rtspserver/src/main.cpp:243
      Jan 01 01:00:24 raspberrypi h264_v4l2_rtspserver[622]: Create V4L2 Source.../dev/video0
      Jan 01 01:00:24 raspberrypi h264_v4l2_rtspserver[622]: 1970-01-01 01:00:24,893 [ERROR ] - src/V4l2Device.cpp:98
      Jan 01 01:00:24 raspberrypi h264_v4l2_rtspserver[622]: Cannot open device:/dev/video0 Operation not permitted
      Jan 01 01:00:24 raspberrypi h264_v4l2_rtspserver[622]: 1970-01-01 01:00:24,893 [ERROR ] - src/V4l2Device.cpp:81
      Jan 01 01:00:24 raspberrypi h264_v4l2_rtspserver[622]: Cannot init device:/dev/video0

      Delete
    3. Which Raspberry Pi version are you using and which Camera module?
      Could u also post me the output of:
      sudo systemctl status uv4l_raspicam.service

      Delete
  5. Finally got it - and it's a model B+ v1.2 - but the problem was the the cam was not connected entirely to the board - now everythings is working :) - and great image btw. thank you :)

    ReplyDelete
    Replies
    1. Oh, well, it can happen sometimes.
      I'm glad you have it working after all, so in the end it does work out of the box :-)

      Delete
  6. Instead of DHCP, I wanted to use a static IP, but before being able to edit /etc/network/interfaces, since its Read Only, I did sudo mount -o remount ro /, after which I was able to set a static IP, reboot the Pi and the file still contains the static settings, but Pi still has a DHCP address. While booting there is a start job for dhcpd on all interfaces which I assume is responsible, but I don not know how to override it. Could you assist?

    ReplyDelete
    Replies
    1. Your mount command will put the root partition in read only mode, not read-write.
      mount -o rw,remount,rw / will put it in read/write mode, whereafter you can make manual changes to the configuration files.
      The dhcpcd package is indeed in charge of assigning ip addresses to the network interfaces, either static or dynamically via DHCP.
      If U want to assign a static IP address this way, you need to edit /etc/dhcpcd.conf
      Check out the article on arch linux which has a good explanation on what to add for static addressing: https://wiki.archlinux.org/index.php/dhcpcd#Static_profile

      P.S. I do wonder however, why set this manually if you have a web gui to configure this?

      Delete
    2. Minutes after posting this, I saw I could set a static IP via your GUI. I must admit I never looked at the GUI and went straight for the console access. So I apologize for this post and must commend you for a nice interface you built. It works super well.

      Thanks,

      Alby

      P.S. I meant RW, but pasted RO after I returned it to Read Only.

      Thanks again.

      Delete
  7. Hi, I can not add camera to surveillance station. It show "surveillance device test failed.
    I try RTSP-Server.service - RTSP-Server

    Loaded: loaded (/etc/systemd/system/RTSP-Server.service; enabled)
    Active: inactive (dead) since Thu 1970-01-01 07:34:48 ICT; 20min ago
    Process: 3252 ExecStart=/usr/local/bin/h264_v4l2_rtspserver -Q 3 -u -f (code=exited, status=0/SUCCESS)
    Main PID: 3252 (code=exited, status=0/SUCCESS)

    Jan 01 07:34:48 raspberrypi systemd[1]: Started RTSP-Server.
    Jan 01 07:34:48 raspberrypi h264_v4l2_rtspserver[3252]: 1970-01-01 07:34:48,685 [NOTICE] - /home/pi/h264_v4l2_rtspserver/src/main.cpp:243
    Jan 01 07:34:48 raspberrypi h264_v4l2_rtspserver[3252]: Create V4L2 Source.../dev/video0
    Jan 01 07:34:48 raspberrypi h264_v4l2_rtspserver[3252]: 1970-01-01 07:34:48,689 [ERROR ] - src/V4l2Device.cpp:98
    Jan 01 07:34:48 raspberrypi h264_v4l2_rtspserver[3252]: Cannot open device:/dev/video0 Operation not permitted
    Jan 01 07:34:48 raspberrypi h264_v4l2_rtspserver[3252]: 1970-01-01 07:34:48,689 [ERROR ] - src/V4l2Device.cpp:81
    Jan 01 07:34:48 raspberrypi h264_v4l2_rtspserver[3252]: Cannot init device:/dev/video0

    and sudo systemctl status uv4l_raspicam.service
    Loaded: loaded (/etc/init.d/uv4l_raspicam)
    Active: active (running) since Thu 1970-01-01 07:34:48 ICT; 23min ago
    CGroup: /system.slice/uv4l_raspicam.service
    └─3114 /usr/bin/uv4l -k --sched-fifo --mem-lock --config-file=/etc/uv4l/uv4l-raspicam.conf --driver raspicam --driver-config-file=/...

    Jan 01 07:34:48 raspberrypi uv4l_raspicam[3103]: [core] Trying driver 'raspicam' from external plug-in's...
    Jan 01 07:34:48 raspberrypi uv4l_raspicam[3103]: [driver] Dual Raspicam Video4Linux2 Driver v1.9.34 built Feb 11 2016
    Jan 01 07:34:48 raspberrypi uv4l_raspicam[3103]: [driver] Selected format: 1280x720, encoding: h264, H264 Video Compression
    Jan 01 07:34:48 raspberrypi uv4l_raspicam[3103]: [driver] Framerate max. 15 fps
    Jan 01 07:34:48 raspberrypi uv4l_raspicam[3103]: [driver] ROI: 0, 0, 1, 1
    Jan 01 07:34:48 raspberrypi uv4l_raspicam[3103]: [driver] RAW data will be included in the JPEG captures
    Jan 01 07:34:48 raspberrypi uv4l_raspicam[3103]: [driver] H264 costant bitrate: 17000000
    Jan 01 07:34:48 raspberrypi uv4l_raspicam[3103]: [core] Device detected!
    Jan 01 07:34:48 raspberrypi uv4l_raspicam[3103]: [core] Registering device node /dev/video0
    Jan 01 07:34:48 raspberrypi systemd[1]: Started LSB: Userspace Camera Driver.

    I download image and use raspberry pi 3.

    Thank you for helping

    ReplyDelete
    Replies
    1. Hi, pls post camera logfile /var/log/RaspberryIPCamera.log for further diagnosis.

      Delete
    2. Hi, it show "Permission denied". I login as pi and try by login root but same result.

      Thank you for help.

      Delete
    3. Hi, I need more details, on which command did you get access denied?

      Delete
    4. Hi, I'm a beginner of linux. Can you explain how to open log file.

      I used putty access to raspberry pi.
      Thank you again.

      Delete
    5. Hi again, I got it. It show

      Loading page network-settings.php
      Loading page camera-settings.php

      2 lines in log file. How I do next?

      Delete
    6. For some reason or another, your RTSP server is not starting properly.
      Verify if /dev/video0 is available.
      you can do so with:
      ls -l /dev/video0
      It should output one line stating the device entry of your camera.

      If that is available, then your driver part and uv4l user space framework is ok.
      You can then try the following two commands to start the rtsp server:
      export LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so
      /usr/local/bin/h264_v4l2_rtspserver -Q 3 -u '' -f

      Please send me the output of these two last commands for further diagnosis.


      Delete
    7. I cannot get video to load as well. Upon entering this command "/usr/local/bin/h264_v4l2_rtspserver -Q 3 -u '' -f" I get the following error.


      2016-07-21 04:40:07,457 [NOTICE] - /home/pi/h264_v4l2_rtspserver/src/main.cpp:243
      Create V4L2 Source.../dev/video0
      2016-07-21 04:40:07,460 [ERROR ] - src/V4l2Device.cpp:98
      Cannot open device:/dev/video0 Operation not permitted
      2016-07-21 04:40:07,460 [ERROR ] - src/V4l2Device.cpp:81
      Cannot init device:/dev/video0


      Any clue?

      Delete
    8. Hi, it's been a while, please download the latest version, it contains an updated Raspbian Jessie Lite image with newer firmware modules, and a much more recent version of the RTSP server.

      Delete
  8. Hi it still failed.

    this code...
    ls -l /dev/video0
    ----> crw-rw-rw- 1 root video 243, 0 May 17 09:07 /dev/video0

    export LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so
    /usr/local/bin/h264_v4l2_rtspserver -Q 3 -u '' -f
    ---> Create V4L2 Source.../dev/video0
    2016-05-17 09:16:00,649 [ERROR ] - src/V4l2Device.cpp:98
    Cannot open device:/dev/video0 Operation not permitted
    2016-05-17 09:16:00,649 [ERROR ] - src/V4l2Device.cpp:81
    Cannot init device:/dev/video0

    and log file..
    ---->Loading page network-settings.php
    Loading page camera-settings.php
    Loading page camera-settings.php
    in resolution routine
    Restarting uv4l_raspicam.service via systemctl.
    Starting & enabling RTSP server if stopped.
    Created symlink from /etc/systemd/system/multi-user.target.wants/RTSP-Server.service to /etc/systemd/system/RTSP-Server.service.


    thank you for help

    ReplyDelete
    Replies
    1. Can u stat that before U run this command, /dev/video0 is not available?

      Delete
  9. Hi All,
    I am totally new to all this (raspberry pi and linux)
    I have followed the instructions through the image maker, settings of the camera and connecting it to the synology nas. It all works well.

    However, I have a fundamental problem with the raspberry pi system.
    I am trying to use this with a wireless dongle but it does not seem to connect. So I thought it needs updates and such... but...

    I use login: pi
    and pass: raspberry
    then I type: sudo bash
    and try using aptitude (or try typing "sudo apt-get...")
    this throws an error message:
    ---------------------------------------------------------ERROR window in RED - start
    E: /root/.aptitude - mkdir (30: Read-only file system)
    W: Not using locking for read only lock file /var/lib/dpkg/lock
    E: Unable to write to /var/cache/apt/
    E: The package lists or status file could not be parsed or opened.
    W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT pe preserved!
    ---------------------------------------------------------ERROR window in RED - end

    After some google searching (remember that I am a total newbie here) I tried checking what process uses apt and killing it but there is nothing to be killed.
    I tried doing everything from scratch - same result.
    I have tried using aptitude with the options -i, -u but this did not work either

    I am surely doing something wrong. The system just will not update...

    ReplyDelete
    Replies
    1. The ip camera design is read only.
      Issue:
      mount -o rw,remount,rw /
      To make the root partition writeable.
      But even the u will not be able to update the apt cache, as the partition is too small and has not enough space left.
      U need to copy parted and resize2fs binaries from another raspbian install with winscp to your current install, and then first resize the partition and file system so there is enough space available.
      Not something for breakfast without experience.
      If u feel up to it, it can give u the procedure.
      I can also send a bigger image with for example 'wetransfer' if u like.

      Delete
    2. Hi, I created a secondary image with more space available, which will allow you to load the apt cache, you can download the image from: http://cheetah.home.ronnyvdb.net:8080/RaspberryPI-IP-Camera-v1.6-beta-resize.zip
      Note that you still need to mount the image read-write with mount -o rw,remount,rw / before beïng able to write anything.

      Delete
  10. Hi i want to change the port from 8554 to 554. How can i do that ?

    ReplyDelete
    Replies
    1. Hi, you need to edit /etc/systemd/system/RTSP-Server.service
      change the line
      ExecStart=/usr/local/bin/h264_v4l2_rtspserver -Q 3 -u '' -f
      into
      ExecStart=/usr/local/bin/h264_v4l2_rtspserver -Q 3 -u '' -f -P 554

      Delete
  11. Dear Ronny, i am trying to get your awesome product to work. Wired is working but i needed it to get it on wifi. if i edit the settings through the admin console wifi is not going to work.
    When i edit the wpa files via putty i get it working on wifi but the next problem occurs. The camera is not working anymore.

    After i connect it back to wired, the same issue occurs. The page keeps loading but no camera is shown. Any idea?

    ReplyDelete
    Replies
    1. Hi, did U build an image yourself or did u download an image from my web page?

      Delete
    2. Download image from your webpage

      Delete
    3. To confirm on this, did u download version 1.7 ? Which Raspberry PI are you using, and which wifi?

      Delete
  12. Hi Ronny, thank for the great work. Had tested that the RTSP server is working with VLC but could not add the camera in surveillance station. Notice that there was an update for surveillance station on 2016/06/21 Version: 7.2.2-4649. Could it be causing the issue?

    ReplyDelete
  13. Hi Ronny,
    I started from a fresh Raspbian Jessie Lite image and have runned on your install.sh from https://github.com/ronnyvdbr/RaspberryIPCamera/blob/master/installation.sh and this without any apparent errors...
    Only thing that I changed (before trying to go to your web gui) was fixed ip address and the pi password... although I get a login prompt when going to http://192.168.x.xxx:8080 it seems that the standard admin account with password raspberry is accepted... any idea? where can I change this?
    Thanks,
    Pascal

    ReplyDelete
    Replies
    1. I can't verify that behaviour, the password on that piece of the web interface is not raspberry, I Don't recall however what I had set as password.
      You can generate a MD5 hash from an ascii password and configure it in /etc/uv4l/uv4l-server.conf though.


      Delete
  14. I restarted from your image, and I have exactly the same problem: admin/raspberry does not work for GIU logon thru browser... Also tried to change /etc/uv4l/uv4l-server.conf but did not work neither... any idea?

    Thanks

    ReplyDelete
  15. Dear Ronny,

    I really appreciate your hard work, your software package is exactly what I was looking for!

    I only had one tiny little problem with Surveillance station though. I couldn't add the camera while Surveillance station's language was on Hungarian. The test went through OK, but when I clicked on next, I got an error message, which said something like: "We can't retrieve the specs of the camera." When I switched display language to write down the message in English everything went through. Now that the camera is registered, I can use any language I want.

    ReplyDelete
    Replies
    1. Thanks for posting that behaviour, it might be interesting for other people with Hungarian disk stations. I'm not sure it has anything to do with the language configuration however.
      It would be interesting to know if u can add it without problem starting from the english language.

      Delete
  16. Thanks!! I just easily set up raspberry ip camera. Great post.

    ReplyDelete
  17. Finally something thats so simple to setup. Have it working pefect with DS214play. Thanks a million.

    ReplyDelete
  18. Thanks so much for this, works flawlessly on Pi2. Any chance of this working on Pi0? I can transfer sd card to 0 and access page after setting up Wifi etc but camera does not initialise. Thanks!

    ReplyDelete
    Replies
    1. Interesting, I didn't know the Pi 0 had a camera interface, i'll look into it and post back.

      Delete
    2. Unfortunately the Raspberry Pi zero is almost nowhere to be found in stock in the stores, so can't test this in a timely fashion. If you would care to donate one, please feel free.

      Delete
  19. Hey Ronny, how's the quality at night? Mine has some issues looking from behind glass what is expected i quess, daytime is fine and works great with motion detection activated. Do you have Noir modules?

    Greet Niels

    ReplyDelete
    Replies
    1. Hi, in the night it's dark, so is my camera. I didn't experiment setting up any infrared leds. You can put a pir sensor outside and a light however, which is in my personal case a viable solution.

      Delete
  20. Hi,

    I have the image of my camera upside down. Can ichange that somewhere ?

    ReplyDelete
    Replies
    1. Yes, it's on the 'Camera Settings' page of the web interface. It's called vertical mirror. Click the check box, then click the save button on the bottom of the page.

      Delete
  21. Hello Ronny, aewsome stuff. I like the design point of a ro cam a lot.

    I tried to use the .sh script to build my own cam but failed when I changed the SU PW, PI PW, hosts and hostname so it fits to my universe better.

    Can you advise when to change these basic parameters, like
    sudo raspi-config
    - expand filesystem
    - change userpassword - mypassword
    - Internationalization - change timezone - Berlin
    - Internationalization - change keyboard - does not work
    - enable camera
    - overclock - medium
    - enable camera
    - advanced - hostname - raspipcam1
    - Update raspi-config tool

    sudo passwd

    sudo apt-get install rpi-update
    sudo rpi-update

    have you thought about changing the .sh file into an executable file?


    Would you advise to do this upfront?

    ReplyDelete
    Replies
    1. Hi, the only thing u need to set via raspi-config is to enable the camera, all the rest from the settings should not impact the camera.

      Delete
  22. Just a general tip if you run into problems.
    First try the command: vcgencmd get_camera
    In my case i got the result: supported=1 detected=0
    I changed some hardware and i think and hope i got a busted camera cable.
    @Ronny: the program doesn't detect if the camera is broken or active because your program is still running fine. Maybe add it to 1.8? :)

    ReplyDelete
    Replies
    1. Thanks, i'll take it up in the next release to display an error message when the camera isn't found.

      Delete
  23. Hi Ronny,

    I have a pi3 running with the software and picam is runs fine with the browser interface with rtsp.
    But when i want to connect it to my surveillance station i get the message it's unable to test and connect with the device.

    Please advise what to do, Joris

    ReplyDelete
    Replies
    1. Hi, pls confirm which version of surveillance station that you're running. Also send me the output of sudo netstat -tulpn for further diagnosis

      Delete
  24. Hi Ronny, great project. I tested your bild v1.6 Beta. Working very fine.
    Future: maybe add a control option bitrate? and manual fps?

    I browse record movies and noticed that from time to time as if blurring occurs.
    I have Rpi 3.0 + camera 5-megapixel + mikrotik (poe) + synology ds215+

    Sorry for my eanglish.

    Regards
    Marcin

    ReplyDelete
    Replies
    1. Hi, I have built a new version Raspberry IP Camera version 1.7 which includes a bitrate control option.
      Manual fps was already present as frame rate in frames per second.
      You can download it from the project page at http://ronnyvdbr.github.io/RaspberryIPCamera/

      Delete
  25. Hi, is the Programm compatible with the V2.1 Cam? It doesn´t work on my system. Thanks for your Help

    ReplyDelete
    Replies
    1. Hi, I have published a version 1.7 of the Raspberry IP Camera but I currently don't posses a Raspberry Pi 3 or version 2.1 Camera. The new build was based on the latest Raspbian Jessie Lite image. Would u care to give this a try? It would be nice to know if this is working.

      Delete
  26. Is there any way to add audio using and usb-audio-controller to the rtsp stream? Everything else works like a charm, thanks for this package!

    ReplyDelete
    Replies
    1. Hi, the incorporated RTSP server is based on work of Michel Promoneth, he designs this program in C on github. I believe he is working to incorporate an alsa audio stream in his server, once that's ready I would be able to configure it via the web interface, so stay tuned.

      Delete
    2. Great, looking forward to an audio-enhanced version. Thanks for the information.

      Delete
  27. Hi, thanks for the 1.7 Version. Now it will run. But my Edimax Wlan-Stick don´t work. Have you an idea?
    Thanks

    ReplyDelete
    Replies
    1. I possibly do, but would need more information to look into this. Each wireless usb stick has a certain chipset and corresponding firmware, which is required to make the USB stick work. Probably the firmware module for your chipset is not installed on the Raspberry PI IP Camera image, but it might be available for installation on the net. If u send me the exact model number of your wireless usb stick I'll look into it.

      Delete
    2. Thanks for your help. It´s the Edimax EW-7811Un.

      Delete
    3. Hi, I looked onto the net and your adapter is supported on the raspberry.
      U could try the following:
      mount -o remount rw /
      apt-get update && apt-get install firmware-realtek
      then reboot and verify if your adapter is recognised with lsusb

      Delete
    4. Hi, thanks for the answer. But as I wrote it not blends. He is listed.
      Thanks for your help

      Delete
    5. Hi, when u plug in your wireless dongle into your usb port, the kernel will log messages about it in the kernel log, including the exact product name, manufacturer, loaded driver, etc.
      You can consult this log by issuing 'dmesg'.
      Reconnect your dongle, do a 'dmesg' and post the last lines up to usb, new device found.

      Delete
  28. Hi Ronny, i am using this for a door bell system. I would like to use the rtsp-stream to add this to surveillance station (which works great) and aditionally i would like to display the camera signal via HDMI on the RasPi itself. It looks like it is only possible to use the video signal once (HDMI or RTSP-stream). My idea would be to open the RTSP-stream on the Pi as well, but there is no VLC on the image. Any suggestions how to solve this?

    ReplyDelete
    Replies
    1. Both should be possible at the same time if I'm not mistaken.
      The Raspicam UV4L driver takes below parameters which makes this possible, I never tested it together while the RTSP server was running.

      –preview arg (=0 0 1920 1080)
      preview window settings

      –fullscreen [=arg(=yes)] (=yes)
      fullscreen preview mode

      –opacity arg (=255)
      preview window opacity, from 0 to 255

      –nopreview [=arg(=yes)] (=yes)
      do not display a preview window. it does NOT display by default.

      Delete
  29. Hi Ronny. I have a Raspberry Pi 3 and camera module 5Mpx, so whem I install your software and streaming mjpeg on web page is working correctly but when I try open rtsp stream in VLC it's don't working. Do you help me. Another hand when I download your image version 1.6 and install on SD card both streaming (mjpeg and rtsp) work correctly. Where is problem. Please help!!!!

    ReplyDelete
    Replies
    1. Did u switch the camera first to RTSP server mode on the settings page?
      If so, issue a netstat -tulpn and look for a line with a listening port of 8554 (it's the rtsp server)
      Also post the output of 'sudo systemctl status RTSP-Server.service' here, it will return the status information for the RTSP server.

      Delete
  30. Hi Ronny. I have some problem. When I install your software version 1.6 build image everything is ok, but when I try build myself then mjpeg working OK and rtsp don't work. Do you have same idea. Please help.

    ReplyDelete
    Replies
    1. Need more info, how exactly did u try to setup the RTSP server?
      Can u see the RTSP server running in your process list?
      If U issue a 'netstat -tulpn' to u see a line with port 8554 as listening?

      Delete
  31. Hi. I have similar problem. When I start web camera work properly but when I choose RTSP stream camera don't work. I have rapsberry pi 3 and dedicate camera 5 Mpx. But when I download your image software v.1.7 and install evrything is ok (RTSP and mjpeg wrok properly). I install all elements according to your install instruction. Please help me.

    ReplyDelete
  32. Nice job! It works really smoothly on my Rpi model A and DS231J. The only thing I couldn't figure out is how to change the text that appears on the pi camera stream.

    Thanks again, it's an amazing piece of work.

    François

    ReplyDelete
  33. Hello, thanks for this great image. I have the image running on a raspberry Pi model 2 with a PI NOIR camera installed in a bird box.
    I would like to switch of the red LED on the board of the Pi IR camera. I tried to disable it via command "sudo nano /boot/config.txt" and add the line "disable_camera_led=1" within config.txt. But there are no right to modify the config.txt. Is there a way to get rights to modify this "config.txt"? (chmod command doesn't allow to change the rights). It would be nice to have this option LED on/off within the web-page setup interface. BR Ediwn

    ReplyDelete
  34. I am a newbie to all of this! I've finally managed to download the image and get it on to an SD card. I've plugged it into my Pi3 and turned it on. What should I do next?
    I need some simple step by step instructions!
    The "how to screen shot" configuration instructions look straight forward, but how to I get to that stage?

    ReplyDelete
  35. Ronny,
    I'm struggling through all of this only because I'm a complete newbie with linux, RPi and SS!
    I downloaded your image from your site this week and have installed it. I can connect to the RPi IP address and can see all the system and camera settings. Interestingly, the software version is showing v1.6 on the screen. Should this not be v1.7?
    In mjpeg mode I can see the camera output on the interface so I am happy that the camera works. I then switch it to h264 and follow the remainder of your instructions. However, I can not get it to connect SS successfully. I can not get any live previews in the add camera wizard. Very occassionally, I've seen a "still image" (not a live video image) when trying to add a camera but I can't reproduce this.
    I don't really understand all of the previous comments listed above. it's only a matter a time before I learn enough to be able to contribute. However, will the v1.7 release that you mention above fix my problems?

    ReplyDelete