Wifi Chinese Bulb camera

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
paul21019
Posts: 6
Joined: Mon Jan 23, 2023 9:06 pm

Wifi Chinese Bulb camera

Post by paul21019 »

I have ZM 1.34.26 using a PTZ camera - works brilliantly , I also have one of those bulb cameras which works fine in the app JWLCAM - I have tried to add to ZM - the IP Add is 192.168.8.195 , I have tried all sorts of settings in ZM ,VLC , googled , used this forum but I cannot see any help .
Will it work with the correct settings , does not seem to support ONVIF , have tried probe etc
waste of time ?

Thanks in advance

Paul
paul21019
Posts: 6
Joined: Mon Jan 23, 2023 9:06 pm

Re: Wifi Chinese Bulb camera

Post by paul21019 »

I have tried Wireshark

Frame 2002206: 54 bytes on wire (432 bits), 54 bytes captured (432 bits) on interface \Device\NPF_{837EF752-55FD-4624-AF7B-BCA855040F48}, id 0
Ethernet II, Src: Beken_d2:f4:fd (c8:47:8c:d2:f4:fd), Dst: HonHaiPr_f7:66:29 (74:29:af:f7:66:29)
Internet Protocol Version 4, Src: 192.168.8.195, Dst: 192.168.8.183
Transmission Control Protocol, Src Port: 554, Dst Port: 60671, Seq: 1, Ack: 1, Len: 0

195 is my camera - any ideas, my limited knowledge says TCP on port 554 or does it???
User avatar
burger
Posts: 386
Joined: Mon May 11, 2020 4:32 pm

Re: Wifi Chinese Bulb camera

Post by burger »

See: https://wiki.zoneminder.com/Finding_Camera_Stream_Paths

Hopefully it's as simple as pointing to the right rtsp://<user>:<pass>@<ipaddress>:554/path, where maybe you can get the path from wireshark, but some of these devices have custom handshaking in order to get access to the stream. I would advise you budget your time appropriately so you aren't disappointed if you can't figure it out. You can look at open ports with nmap, try to get the path with wireshark / user manual, and test the connection with ffmpeg.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
dougmccrary
Posts: 1150
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Wifi Chinese Bulb camera

Post by dougmccrary »

Your bulb cam may be better than what I had, but mine pretty much failed after six months or so. Never got them to work with ZM.
paul21019
Posts: 6
Joined: Mon Jan 23, 2023 9:06 pm

Re: Wifi Chinese Bulb camera

Post by paul21019 »

Starting Nmap 7.60 ( https://nmap.org ) at 2023-01-24 15:27 NZDT
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.07 seconds
maria@maria-Inspiron-15-3565:~$ nmap -Pn 192.168.8.195

Starting Nmap 7.60 ( https://nmap.org ) at 2023-01-24 15:28 NZDT
Nmap scan report for rtthread (192.168.8.195)
Host is up (0.071s latency).
All 1000 scanned ports on rtthread (192.168.8.195) are filtered

Nmap done: 1 IP address (1 host up) scanned in 5.99 seconds
maria@maria-Inspiron-15-3565:~$
paul21019
Posts: 6
Joined: Mon Jan 23, 2023 9:06 pm

Re: Wifi Chinese Bulb camera

Post by paul21019 »

I have updated ZM to 1.37.30 , ran nmap - results above .

I will try the ff mp4
paul21019
Posts: 6
Joined: Mon Jan 23, 2023 9:06 pm

Re: Wifi Chinese Bulb camera

Post by paul21019 »

I tried port 554 & 80 - same result, i have asked the suppliers for help , it not critical just be nice to see if I can get it working..did not know about ff or nmap - thatnks good learning.


maria@maria-Inspiron-15-3565:~$ ffmpeg -i rtsp://admin:12345678@192.168.8.195:80/path ./output.mp4
ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[tcp @ 0x55e4a7301a00] Connection to tcp://192.168.8.195:80?timeout=0 failed: No route to host
rtsp://admin:12345678@192.168.8.195:80/path: No route to host
maria@maria-Inspiron-15-3565:~$
paul21019
Posts: 6
Joined: Mon Jan 23, 2023 9:06 pm

Re: Wifi Chinese Bulb camera

Post by paul21019 »

The user guide for JXLCAM
Video Format =AVI
Video Encoding= M-JPEG
Video Resolution=1920*1080
Video Frame Rate= 33.27 frames
Playback Software = Main Stream Video Playback Software
Image Format =JPG

Open your phone s WiFi list and connect to B/xCCQ - this all works fine
everaldo
Posts: 1
Joined: Sun May 28, 2023 12:24 pm

Re: Wifi Chinese Bulb camera

Post by everaldo »

Hi!
I'm also having trouble with a OEM Bulb Camera and ZM. The camera works fine with the Yoosee Android app, also works fine with VLC,but I was unable to configure ZM properly to connect at it. The camera documentation is almost non existant, using this forum and others and the "good and old" nmap I was able to figure its RTSP path, the one that works with VLC, as follows:

rtsp://user:passwd@ipaddress:554/onvif1

For instance, the camera documentation stated that the port should be 5000 (which is available and open, I should say), and had no mention at all at "onvif1".

With the path above I was able to capture Video and Audio, but only using VLC. When I try ZM using Ffmpeg as "Source Type" and configuring the "Source tab" with the rtsp path and image size parameters the capture fails and I get errors in the log, as such:

Unable to open input rtsp://192.168.10.213:554/onvif1 due to: Invalid data found when processing input

I've tried "Source Type" as (the almost deprecated) Remote, it only connected to the camera using "rtsp" on ¨rtp/rtsp",and exibited a different error message:

Unexpected response code 400, text is 'Bad Request'
No RTSP sources

Looks like the Ffmpeg codec is having trouble with the data in the former configuration and the Remote "Source Type" is formatting its requests wrongfully in the later, at least from the camera's point of view. Any suggestions?

Follows my current system configuration:

ZM dedicated VMware Workstation 17 Pro VM, running Rocky Linux EL 9, up to date as of 2023-05-29 (the host computer is x86_64 architecture, also running Rocky Linux EL 9 at the same update level).
The VM has 8 GB RAM and 2 CPU cores allocated to it.

ZM v 1.36.33

VLC 3.0.19

The camera is a "Ijack Liu" brand, compatible with Yoosee Android App Yooseev00.46.06.13, the current camera firmware is 33.0.24.

Thank you very much and Best Regards!

Everaldo
User avatar
iconnor
Posts: 2862
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Wifi Chinese Bulb camera

Post by iconnor »

It might just be giving up too early. If it has a huge keyframe interval then we may timeout before figuring out what the stream is.

Try the ffprobe and ffplay utilities to get more info.
dantux
Posts: 11
Joined: Wed Jun 13, 2012 4:15 am

Re: Wifi Chinese Bulb camera

Post by dantux »

Sounds like you're in a bit of a bind with that bulb camera and ZM. If it's not ONVIF compliant, that might be the root of your troubles. Sometimes these devices have proprietary protocols that don't play well with universal software like ZM. You might have better luck checking for any firmware updates for the camera, or even reaching out to the JWLCAM support for any integration tips. As a side note, while looking for solutions, I stumbled upon https://leds.to/ which has some interesting info on smart home devices that could be handy.
CharlotteFilemdar
Posts: 6
Joined: Thu Nov 23, 2023 8:09 am

Re: Wifi Chinese Bulb camera

Post by CharlotteFilemdar »

Hey Paul, don't give up yet! It's definitely possible to integrate your bulb camera with ZoneMinder if you find the right settings. Here are some tips:

1. Check compatibility: While not having ONVIF isn't ideal, check if the camera has any proprietary protocols supported by ZoneMinder. Look through the ZoneMinder documentation or forums for specific models.

2. Camera settings: Double-check the camera's manual or app for correct stream URLs, ports, username/password, and video format (RTSP, MJPEG, etc.).

3. ZoneMinder settings:

Probe: Try using the "Generic RTSP/MJPEG" option during probing.
Manual configuration: If probing fails, manually create a camera in ZoneMinder with the specific stream URL, port, and format from the camera settings.
Debug mode: Enable debug mode in ZoneMinder to see details about connection attempts and errors.

JWLCAM integration: If ZoneMinder proves too difficult, consider using JWLCAM for all cameras and explore potential integrations with your existing security setup.
It might take some trial and error, but don't be discouraged! Remember, the ZoneMinder community is quite helpful, so keep searching and asking for specific help if needed. Good luck!
Post Reply