USB camera on router with OpenWrt and MJPG-Streamer and shinobi cctv on docker in your home network

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 68

  • @gordslater
    @gordslater 4 года назад +5

    For low light motion detection systems in dark areas, you can add a one or more IR LEDs relatively close to the camera to illuminate people that pass by it (rather than illuminate the whole scene)
    For example in the case of the really suspicious thief actor that comes up the stairs 5:11, a LED positioned off the left of the shot, shining only on his face (from left to right) would provide very good contrast for motion detection without needing to illuminate the whole scene with light.
    This can turn motion detection into a beam-break detector in totally dark scenes - this can be useful if you have pets like cats that roam around in the dark. Simply aim the LEDs higher up and not at the floor to avoid cat-triggering.
    Excellent vid - surprising you only have under 600 subs with quality vids like this - I'll see if I can do something about that haha.
    By the way, asking for comments helps the RUclips algorithms for suggestions so you may want to ask them to leave people to leave a comment on your vids as well as like.subscribe

  • @ernie19721
    @ernie19721 Год назад

    Hi Marc. Thanks to your Videos i'm sharing 2 usb drives over my Networks (usb hub connected) which left me a spare usb port on my Netgear R7800 router, i connected the webcam and had it up and running thanks to your tutorial, i also got the wan address so i could access it when away from home on the Openwrt Status Overview. The only thing i have to figure out now is how to access it from outside the home when i have my PIA OPENVPN running with PBR (with strictly enforce policys when gateway is down). Probably something to configure in PBR and firewall, after this i will have the perfect setup to my needs. Keep up the good work. 😃😃😃😃

  • @tomduca
    @tomduca 3 года назад +2

    Hi Mark. Once again thank you for all this tutorials. It is always a pleasure to hear you explaining things.
    I just wanted to note that with current version, you need to install manually input & output plugins, otherwise mjpg wont work. At least that was my experience today.
    Regards!

    • @OneMarcFifty
      @OneMarcFifty  3 года назад

      Many thanks for the feedback Tomás, very useful!

  • @criandoEdesenvolvendo
    @criandoEdesenvolvendo 2 года назад +1

    Omg thanks for the tutorial . I have the same needs here in my house and as I work with computer repairs, I got some equipments that I keep in a closet as spare parts. Blessings and cheers from Brazil

  • @ChMuhammadImran
    @ChMuhammadImran 4 года назад +2

    Every Thing worked nicely without any issues using WNDR3700v5 and A4Tech PK-77K, just one thing I had to reboot my router after installing the required packages.

    • @OneMarcFifty
      @OneMarcFifty  4 года назад

      Excellent! Many thanks for your feedback!

  • @Jonahmeans1024
    @Jonahmeans1024 3 года назад +6

    If anybody gets an error about a missing input plugin/library while trying to start the stream it may be because the main mjpg-streamer package does not install extra necessary plugins like the input_uvc.so or output_http.so. You can easily solve that by doing "opkg update && opkg install mjpg-streamer-input-uvc mjpg-streamer-output-http mjpg-streamer-www"

  • @vhm14u2c
    @vhm14u2c 3 года назад +1

    Did not know about logread -f. Thanks!

    • @OneMarcFifty
      @OneMarcFifty  3 года назад +1

      You are welcome, many thanks !

  • @michelepagano1823
    @michelepagano1823 2 года назад +1

    great tutorial. I'm running Openwrt and I have a rtsp webcam. If I'd like to save video on usb stick 24/24 (I need 1 day saving) instead of saving jpeg image, which change are needed? Thanks!

    • @OneMarcFifty
      @OneMarcFifty  2 года назад

      You could use the camera stream in shinobi or zoneminder

  • @imrezsoltkalmar4940
    @imrezsoltkalmar4940 6 месяцев назад

    I tried it on Asus AX53U (what I use for Wifi extender/AP) with recent OpenWRT snapshot. Now not enough to install UVC and mjpg-streamer and luci package. I had to install several mjpg-streamer plugins too (uvc input, http output, and so on) manually to start working. But after these extra packages, it started working and I could attach the camera to HomeAssistant and Synology Surveillance station (software NVR). Not so good as a h264 capable network camera but with 640*480@5 FPS it is usable for its price :)

  • @dishendra.
    @dishendra. 2 года назад +1

    Thankyou very much for the tutorial.
    Is there something similar to Netgear readyshare usb utility for openwrt?
    It is pretty cool, it acts somewhat like a usb over Ethernet/ Wifi host.

    • @OneMarcFifty
      @OneMarcFifty  2 года назад +1

      There is a package called usbip which seems to do that but I have never tested it to be honest ;-)

  • @armstrongskyview2810
    @armstrongskyview2810 Год назад

    Simply fantastic video, you mentioned memory extention for the router. Could you tell us more about that and why you would add that?
    Would this be beneficial for router using batman on a large mesh network

  • @ernestoperezpelaez1528
    @ernestoperezpelaez1528 Год назад +1

    Mark, eres el mejor. Gracias

  • @system7669
    @system7669 2 года назад +1

    Your tutorials are consie good job man 👍

  • @Mario-wu299
    @Mario-wu299 25 дней назад

    Great video, is there a way to also stream the audio?

  • @GabrielM01
    @GabrielM01 4 года назад +1

    I have a openwrt router running as a HPNA device which runs to my living room, would the stream work through the HPNA protocol and i would be able to access it being connected to my main router?

    • @OneMarcFifty
      @OneMarcFifty  4 года назад

      I am afraid that I can’t give you a reliable answer on that. I am not using HomePNA. But the way I understand it, it is just a bridge running on an open WRT Router. In other words, if you can bridge devices from HPNA to ethernet and vice versa then in theory it should work. Maybe someone can comment on this?

    • @GabrielM01
      @GabrielM01 4 года назад +1

      OneMarcFifty I was playing with this all day, i got a little more understanding about how HPNA works, i think i can make it work, if i manage to do it i will post here how ive done, thanks for the reply btw man

    • @OneMarcFifty
      @OneMarcFifty  4 года назад

      Cool, thank you!

  • @pichonPoP
    @pichonPoP 3 года назад

    Done, thank for sharing this video.

  • @Jonahmeans1024
    @Jonahmeans1024 3 года назад +1

    Hi, First of all thanks for making this. I'd like to do something similar and I'd like to know what is the cpu load while streaming? Thanks!

    • @OneMarcFifty
      @OneMarcFifty  3 года назад +1

      Hi, I have unfortunately not checked this when I did the video - the camera which I used is not on the router any more but I can check with a different camera. I'll come back

    • @Jonahmeans1024
      @Jonahmeans1024 3 года назад +1

      @@OneMarcFifty Thanks!! 😀

  • @payloan4558
    @payloan4558 3 года назад +1

    Awesome bro....is process rt5350? Can ise ffmpeg instead of mjpeg because stream is not good...in mjpeg...ffmpeg is very speed

    • @OneMarcFifty
      @OneMarcFifty  3 года назад +1

      Hi payloan, effectively, there is an ffmpeg package for OpenWrt - so theoretically this should be possible. I haven't tested it though.

    • @payloan4558
      @payloan4558 3 года назад

      @@OneMarcFifty thanks
      .. so is it activate to mjpeg and h.264 ok?
      I am just wondering why ffmpeg is not used than mpeg streamer

  • @mrobomrobo
    @mrobomrobo Год назад +1

    is it possible to do it with china usb camera quelima, like sq12 or sq23?

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      Hi, as long as it's supported by Linux and there is a module for it in OpenWrt it should work

  • @mr1smix
    @mr1smix 2 года назад +1

    Can you record a video and watch it later?
    Can I see the camera when I'm out of the house?

    • @OneMarcFifty
      @OneMarcFifty  2 года назад

      Record - not with this setup, but you could use ZoneMinder or Shinobi to record. If you want to access the camera then you would need to make it accessible over a VPN (good) or a reverse proxy (good but complex) or simpe port forward (very bad).

  • @PrincessZoey
    @PrincessZoey 2 года назад +1

    we have the same router... subscribed xD

    • @OneMarcFifty
      @OneMarcFifty  2 года назад

      Nice - and thanks for subscribing!

  • @objetconnected2166
    @objetconnected2166 3 года назад

    Hi Marc,
    Please, can you indicate the devices you are using as seen at 0:54 in your video and maybe some amazon links to them or to what you would recommend in 2021 ? In particular :
    - battery UPS for continuity
    - powered usb hub
    - 3G stick
    Thanks in advance

    • @OneMarcFifty
      @OneMarcFifty  3 года назад +1

      Yeah - I wanted to start using affiliate links but just need to find the time for this ;-( It’s on my mind though - maybe build a shop in Amazon or the like...

  • @galihpa
    @galihpa 2 года назад +1

    Can you stream your cctv in 25 fps or more with openwrt routers ? in this video I think you only got around 5 fps

  • @arioncheng3024
    @arioncheng3024 3 года назад +1

    I got the following message while I install the mjpg-streamer on my Openwrt TP-Link Archer C5 v4 which having CPU of MediaTek MT7620A ver.2 eco:6
    /etc/init.d/mjpg-streamer: device '/dev/video0' does not exist
    Collected errors:
    * resolve_conffiles: Existing conffile /etc/config/mjpg-streamer is different from the conffile in the new package. The new conffile will be placed at /etc/config/mjpg-streamer-opkg.

    • @OneMarcFifty
      @OneMarcFifty  3 года назад

      That happens when opkg (the software package tool) installs software over an existing one. In essence it comes with a default config file (in your case /etc/config/mjpg-streamer ). You just need to chose whether to keep the oriinal or the one that comes with your package. If your /dev/video0 does not exist make sure that you have kmod-video-uvc (or kmod-video-somethingelse according to your camera) installed. Hope that helps.

  • @payloan4558
    @payloan4558 3 года назад +1

    Ont thing bro....is can send to my rtmp server in youtube by defalut? Thansk

    • @OneMarcFifty
      @OneMarcFifty  3 года назад +1

      Hi payloan, again that is something which I haven't tested - so I am afraid I don't know the answer....

    • @payloan4558
      @payloan4558 3 года назад +1

      @@OneMarcFifty got it. Awesome bro....all the best

  • @ChMuhammadImran
    @ChMuhammadImran 4 года назад

    Nice

  • @anthonymrugacz2917
    @anthonymrugacz2917 7 месяцев назад

    starting application
    MJPG Streamer Version.: 2.0
    ERROR: could not find input plugin
    Perhaps you want to adjust the search path with:
    # export LD_LIBRARY_PATH=/path/to/plugin/folder
    dlopen: Error loading shared library input_uvc.so: No such file or directory

    • @anthonymrugacz2917
      @anthonymrugacz2917 7 месяцев назад

      solved- had to reboot router and reconfig path back to www/webcam

  • @topas1761
    @topas1761 4 года назад +1

    how to make mjpg streamer work with two cameras?

    • @OneMarcFifty
      @OneMarcFifty  4 года назад +2

      Privjet, Sergej, I will have to investigate and shall come back to you.

    • @topas1761
      @topas1761 4 года назад

      Thanks you.

    • @OneMarcFifty
      @OneMarcFifty  4 года назад

      Sorry it took a while - in fact, you would need to set up two instances of mjpg-streamer replying on two different ports, for example one on port 8081 and one on port 8082. You could do so by just copying the config files into a second one. Would need to activate a separate service though. The second instance however would need to be tweaked to not use /dev/video0 as input device but rather /dev/video1. So in fact you would need to do this all manually. Alternatively, if you have multiple input plugins then you might access the streams separately like ...:8080/?action=stream_0 an ...:8080/?action=stream_1 but I haven't tested that. Hope that helps.

  • @sinungw2412
    @sinungw2412 4 года назад +1

    how to install shinobi on openwrt

    • @OneMarcFifty
      @OneMarcFifty  4 года назад

      Hi Sinung, as far as I know this is not possible. In my case Shinobi is running in a Docker container on a small pc.

  • @hamzamr.8693
    @hamzamr.8693 3 года назад +1

    what about the dns

    • @OneMarcFifty
      @OneMarcFifty  3 года назад +1

      Hi Hamza, could you please expand a bit on your question ? What is your concern w/r to dns ?

    • @hamzamr.8693
      @hamzamr.8693 3 года назад +1

      @@OneMarcFifty Thank you brother man, i'v been trying to publish my webcam stream to the internet, from local network, by using dynamic dns, i can view my cam by the new dns IPAdress:8080, opened a port for it & all, but still can't view from other wifi's there is a couple articles about that, do you have any idea, or probably u can do a tutorial in the fiture, thanks again a lot

    • @OneMarcFifty
      @OneMarcFifty  3 года назад

      Hi Hamza, so are you actually opening a port from the internet to your LAN without a VPN around ? I strongly recommend that you do *not* do that. This is a security concern as anybody in the internet could connect to your webcam and brute force the password or run a DOS attack etc. If you want to check your webcam from the outside world I suggest you run a home VPN.

  • @cookiedonut97
    @cookiedonut97 2 года назад +1

    Spider web

    • @OneMarcFifty
      @OneMarcFifty  2 года назад +1

      Yep - lots of those under the staircase ;-)