Darn…I’ve tried that format in VLC and Zoneminder and it hasn’t worked. I’m sure I have the name/password, and IP correct.
- Source type: Remote
- Remote host name: user:password@ipaddress
- Remote host port: 554 (Had typo of 556, oops)
- Remote host path: /live
I tried remote host port 556 and 554 with no luck.
I live only a few minutes away from Wyze Labs…maybe I should knock on their door and plead for help. lol
What error are you getting when you try to use the url with vlc?
I get a wide variety of errors, but mostly it just says it can’t open the resource. I’ll paste in the VLC error log below (with name/password info redacted).
This is the error VLC displays:
Connection failed:
VLC could not connect to “192.168.254.53:554”.
Your input can’t be opened:
VLC is unable to open the MRL ‘rtsp://:@192.168.254.53/live’. Check the log for details.
This is the VLC log output (I’ve also tried it with specifying a port, but there’s no real difference). I did note the part about “main warning: Password in a URI is DEPRECATED”
– logger module started –
main debug: VLC media player - 3.0.4 Vetinari
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 3.0.4-0-gf615db6332
main debug: configured with ./configure ‘–build=x86_64-linux-gnu’ ‘–prefix=/usr’ ‘–includedir=${prefix}/include’ ‘–mandir=${prefix}/share/man’ ‘–infodir=${prefix}/share/info’ ‘–sysconfdir=/etc’ ‘–localstatedir=/var’ ‘–disable-silent-rules’ ‘–libdir=${prefix}/lib/x86_64-linux-gnu’ ‘–libexecdir=${prefix}/lib/x86_64-linux-gnu’ ‘–runstatedir=/run’ ‘–disable-maintainer-mode’ ‘–disable-dependency-tracking’ ‘–config-cache’ ‘–disable-update-check’ ‘–enable-fast-install’ ‘–docdir=/usr/share/doc/vlc’ ‘–with-binary-version=3.0.4-1ubuntu0.2’ ‘–enable-a52’ ‘–enable-aa’ ‘–enable-aribsub’ ‘–enable-bluray’ ‘–enable-avahi’ ‘–enable-caca’ ‘–enable-chromaprint’ ‘–enable-chromecast’ ‘–enable-dbus’ ‘–enable-dca’ ‘–enable-dvbpsi’ ‘–enable-dvdnav’ ‘–enable-faad’ ‘–enable-flac’ ‘–enable-fluidsynth’ ‘–enable-freetype’ ‘–enable-fribidi’ ‘–enable-gles2’ ‘–enable-gnutls’ ‘–enable-harfbuzz’ ‘–enable-jack’ ‘–enable-kate’ ‘–enable-libass’ ‘–enable-libmpeg2’ ‘–enable-libxml2’ ‘–enable-lirc’ ‘–enable-live555’ ‘–enable-mad’ ‘–enable-matroska’ ‘–enable-mod’ ‘–enable-mpc’ ‘–enable-mpg123’ ‘–enable-mtp’ ‘–enable-ncurses’ ‘–enable-notify’ ‘–enable-ogg’ ‘–enable-opus’ ‘–enable-pulse’ ‘–enable-qt’ ‘–enable-realrtsp’ ‘–enable-samplerate’ ‘–enable-sdl-image’ ‘–enable-sftp’ ‘–enable-shine’ ‘–enable-shout’ ‘–enable-skins2’ ‘–enable-sndio’ ‘–enable-soxr’ ‘–enable-speex’ ‘–enable-svg’ ‘–enable-svgdec’ ‘–enable-taglib’ ‘–enable-theora’ ‘–enable-twolame’ ‘–enable-upnp’ ‘–enable-vdpau’ ‘–enable-vnc’ ‘–enable-vorbis’ ‘–enable-x264’ ‘–enable-x265’ ‘–enable-zvbi’ ‘–with-kde-solid=/usr/share/solid/actions/’ ‘–disable-d3d11va’ ‘–disable-decklink’ ‘–disable-directx’ ‘–disable-dsm’ ‘–disable-dxva2’ ‘–disable-fdkaac’ ‘–disable-fluidlite’ ‘–disable-freerdp’ ‘–disable-goom’ ‘–disable-gst-decode’ ‘–disable-libtar’ ‘–disable-macosx’ ‘–disable-macosx-avfoundation’ ‘–disable-macosx-qtkit’ ‘–disable-mfx’ ‘–disable-opencv’ ‘–disable-projectm’ ‘–disable-schroedinger’ ‘–disable-sparkle’ ‘–disable-srt’ ‘–disable-telx’ ‘–disable-vpx’ ‘–disable-vsxu’ ‘–disable-wasapi’ ‘–enable-alsa’ ‘–enable-dc1394’ ‘–enable-dv1394’ ‘–enable-libplacebo’ ‘–enable-linsys’ ‘–enable-nfs’ ‘–enable-omxil’ ‘–enable-udev’ ‘–enable-v4l2’ ‘–enable-wayland’ ‘–enable-libva’ ‘–enable-vcd’ ‘–enable-smbclient’ ‘–disable-oss’ ‘–enable-crystalhd’ ‘–enable-mmx’ ‘–enable-sse’ ‘–disable-neon’ ‘–disable-altivec’ ‘build_alias=x86_64-linux-gnu’ ‘CFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-vX7vEs/vlc-3.0.4=. -fstack-protector-strong -Wformat -Werror=format-security ’ ‘LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,–as-needed’ ‘CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2’ ‘CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-vX7vEs/vlc-3.0.4=. -fstack-protector-strong -Wformat -Werror=format-security ’ ‘OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-vX7vEs/vlc-3.0.4=. -fstack-protector-strong -Wformat -Werror=format-security’
main debug: searching plug-in modules
main debug: loading plugins cache file /usr/lib/x86_64-linux-gnu/vlc/plugins/plugins.dat
main debug: recursively browsing /usr/lib/x86_64-linux-gnu/vlc/plugins' main debug: plug-ins loaded: 509 modules main debug: opening config file (/home/zmuser/.config/vlc/vlcrc) main debug: looking for logger module matching "any": 4 candidates file debug: opening logfile
/home/zmuser/Desktop/vlclog.txt’
main debug: using logger module “file”
main debug: translation test: code is “C”
main debug: looking for keystore module matching “memory”: 4 candidates
main debug: using keystore module “memory”
main debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU
main debug: Creating an input for ‘Media Library’
main debug: Input is a meta file: disabling unneeded options
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: file/directory:///home/zmuser/.local/share/vlc/ml.xspf' gives access
file’ demux directory' path
/home/zmuser/.local/share/vlc/ml.xspf’
main debug: creating demux: access=‘file’ demux=‘directory’ location=‘/home/zmuser/.local/share/vlc/ml.xspf’ file=‘/home/zmuser/.local/share/vlc/ml.xspf’
main debug: looking for access_demux module matching “file”: 17 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///home/zmuser/.local/share/vlc/ml.xspf
main debug: (path: /home/zmuser/.local/share/vlc/ml.xspf)
main debug: looking for access module matching “file”: 27 candidates
main debug: using access module “filesystem”
main debug: looking for stream_filter module matching “prefetch,cache_read”: 26 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 296 bytes in 0s - 17003 KiB/s
main debug: using stream_filter module “cache_read”
main debug: looking for stream_filter module matching “any”: 26 candidates
playlist debug: using XSPF playlist reader
main debug: using stream_filter module “playlist”
main debug: stream filter added to 0x563f3dd46690
main debug: looking for stream_filter module matching “any”: 26 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching “any”: 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///home/zmuser/.local/share/vlc/ml.xspf
main debug: looking for stream_filter module matching “record”: 26 candidates
main debug: using stream_filter module “record”
main debug: creating demux: access=‘file’ demux=‘directory’ location=‘/home/zmuser/.local/share/vlc/ml.xspf’ file=‘/home/zmuser/.local/share/vlc/ml.xspf’
main debug: looking for demux module matching “directory”: 55 candidates
main debug: using demux module “directory”
main debug: looking for meta reader module matching “any”: 2 candidates
lua debug: Trying Lua scripts in /home/zmuser/.local/share/vlc/lua/meta/reader
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader/filename.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
main debug: no meta reader modules matched
main debug: file/directory:///home/zmuser/.local/share/vlc/ml.xspf' successfully opened main debug: looking for xml reader module matching "any": 1 candidates main debug: using xml reader module "xml" main debug: EOF reached main debug: removing module "directory" main debug: removing module "record" main debug: removing module "playlist" main debug: removing module "cache_read" main debug: removing module "filesystem" main debug: creating audio output main debug: looking for audio output module matching "any": 6 candidates vlcpulse debug: using library version 11.1.0 vlcpulse debug: (compiled with version 11.1.0, protocol 32) vlcpulse debug: connected locally to unix:/run/user/1000/pulse/native as client #19 vlcpulse debug: using protocol 32, server protocol 32 pulse debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo) main debug: using audio output module "pulse" main debug: keeping audio output main debug: looking for interface module matching "dbus,none": 17 candidates dbus debug: listening on dbus as: org.mpris.MediaPlayer2.vlc main debug: using interface module "dbus" main debug: no running VLC instance - continuing normally... main debug: looking for interface module matching "hotkeys,none": 17 candidates main debug: using interface module "hotkeys" main debug: looking for interface module matching "globalhotkeys,none": 17 candidates main debug: using interface module "xcb_hotkeys" main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. main debug: looking for interface module matching "any": 17 candidates dbus debug: Getting All properties dbus debug: Getting All properties dbus debug: Getting All properties dbus debug: Getting All properties dbus debug: Getting All properties dbus debug: Getting All properties dbus debug: Getting All properties dbus debug: Getting All properties dbus debug: Getting All properties dbus debug: Getting All properties dbus debug: Getting property CanSeek dbus debug: Getting property DesktopEntry main debug: looking for extension module matching "any": 1 candidates lua debug: Opening Lua Extension module lua debug: Trying Lua scripts in /home/zmuser/.local/share/vlc/lua/extensions lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/extensions lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac lua debug: Scanning Lua script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac lua debug: Script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5 lua debug: Trying Lua scripts in /usr/share/vlc/lua/extensions main debug: using extension module "lua" main debug: using interface module "qt" main: playlist is empty main debug: nothing to play main debug: processing request item: rtsp://192.168.254.53/live, node: Playlist, skip: 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting playback of new item main debug: resyncing on rtsp://192.168.254.53/live main debug: rtsp://192.168.254.53/live is at 0 main debug: creating new input thread main debug: Creating an input for 'rtsp://192.168.254.53/live' main debug: requesting art for new input thread main debug: using timeshift granularity of 50 MiB qt debug: IM: Setting an input main debug: using default timeshift path main debug:
rtsp://(user):(pass)@192.168.254.53/live’ gives access rtsp' demux
any’ path `(user):(pass)@192.168.254.53/live’
main debug: creating demux: access=‘rtsp’ demux=‘any’ location=‘(user):(pass)@192.168.254.53/live’ file=‘(null)’
main debug: looking for access_demux module matching “rtsp”: 17 candidates
main debug: looking for meta fetcher module matching “any”: 1 candidates
lua debug: Trying Lua scripts in /home/zmuser/.local/share/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching “any”: 2 candidates
live555 debug: version 2018.02.18
main warning: Password in a URI is DEPRECATED
lua debug: Trying Lua scripts in /home/zmuser/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main debug: no art finder modules matched
live555 debug: connection timeout
live555 error: Failed to connect with rtsp://192.168.254.53:554/live
main debug: no access_demux modules matched
main debug: creating access: rtsp://(user):(pass)@192.168.254.53/live
main debug: looking for access module matching “rtsp”: 27 candidates
satip debug: try to open ‘rtsp://(user):(pass)@192.168.254.53/live’
satip debug: connect to host ‘192.168.254.53’
main debug: net: connecting to 192.168.254.53 port 554
main error: connection failed: No route to host
satip error: Failed to connect to RTSP server 192.168.254.53:554
main debug: net: connecting to 192.168.254.53 port 554
main error: connection failed: No route to host
access_realrtsp error: cannot connect to 192.168.254.53:554
access_realrtsp debug: could not connect to: 192.168.254.53/live
main debug: no access modules matched
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt debug: IM: Deleting the input
There are many things to check that could be the problem. Be sure to check the protocols (RTSP over UDP) and/or just change it and try again. Maybe someone with knowledge of zoneminder and the specifics of its setup can better help you.
I added the output of the log, perhaps that has some clues I’m missing.
Should be working. Sounds like it may be a router setting (UDP Broadcast Disabled)?
" Be sure to check the protocols (RTSP over UDP) and/or just change it and try again."
That doesn’t seem to be an available setting when the General->Source Type is set to “Remote”.
Do you mean “UPnP”? The router says it’s enabled:
|Packet Filtering: |Enabled|
|Port Forwarding: |Enabled|
|DMZ: |Disabled|
|UPnP: |Enabled|
|NAT: |Enabled|
|Service Blocking: |Disabled|
|Website Blocking: |Disabled|
|ALG Passthrough: |Enabled|
From the log it looks like something about your networking is preventing your vlc client from talking to your camera. I assume you’re running this under linux and have access to a shell prompt? If so, does the camera respond if you do
ping -c 5 192.168.254.53
If yes, then try to use telnet to see if the port is open by doing
telnet 192.168.254.53 554
For my camera, the results look like this …
$ ping -c 5 192.168.1.152
PING 192.168.1.152 (192.168.1.152) 56(84) bytes of data.
64 bytes from 192.168.1.152: icmp_seq=1 ttl=64 time=1.62 ms
64 bytes from 192.168.1.152: icmp_seq=2 ttl=64 time=1.52 ms
64 bytes from 192.168.1.152: icmp_seq=3 ttl=64 time=1.51 ms
64 bytes from 192.168.1.152: icmp_seq=4 ttl=64 time=3.35 ms
64 bytes from 192.168.1.152: icmp_seq=5 ttl=64 time=2.33 ms
— 192.168.1.152 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 1.517/2.068/3.354/0.712 ms
and
$ telnet 192.168.1.152 554
Trying 192.168.1.152…
Connected to 192.168.1.152.
Escape character is ‘^]’.
^]
telnet> q
Connection closed.
(After the telnet connects, you have to type ctrl and the ‘]’ key, and then ‘q’ and enter to get out of it.)
I haven’t used zoneminder in years. I’m just looking at the first online documentation i found and was likely very old. Yes, It should be General > Server Type > Remote , then on next “Source” tab RTSP and port 554.
One more question to add to the steps I suggested that you could try in my last message …
Are you running vlc from a computer that’s connected to the same wifi network as your camera? If not, (e.g. if you’re running from a wired connection, even if the wire plugged straight into your wifi router) it’s possible that your wifi router is set up to not allow connections from the wired network to things that are connected to the wireless. Some wifi routers ship with this as the default configuration.
I fired up zoneminder in a docker just for you. Here is the settings to get my camera working. When you ADD your camera. Under the “General” tab, Set a Camera Name and change Source Type to ffmpeg. Next tab “Source” set source path as rtsp://username:password@192.168.1.120/live and the Method as UDP.
raym - you are correct i misstyped. So, if i manually upgrade to .60 will the RTSP that I flashed be erased?
where is this list posted at online so I can see it and have something to refer to? Can you please post a link
I was able to ping the network when connected via cable, but not over wifi.
The telnet command worked and connected me to port 554 (also when wired, but not over wifi).
After trying that, I set the camera the camera up as fryguy suggested (rtsp://username:password@192.168.1.120/live ) and I now see the live feed in Zoneminder.
So…does this mean I will only be able to use this as a wired connection?
The idea for me was to be able to connect the whole system via wifi and stick the PC in a closet somewhere…will I have to run ethernet to it?
Also, now that it’s wired, I lost the feed from the Foscam and the Amcrest cameras which were working properly before. (???)
You can very likely make the system work over wifi … You just need to figure out why your wifi gateway won’t allow one client on wifi to talk to another client on wifi.
First off, does your wifi gateway have both 2.4 GHz and 5 GHz? If you have both, do you have different network names (SSIDs) for 2.4 GHz and 5 GHz, or are they the same? Try to force your PC to connect via 2.4 GHz (since the wyzecams are 2.4 GHz only) and see if you can ping them. (If you have separate SSIDs, this is easy, as you just need to get your PC to connect to the correct one. If not, see if your gateway allows you to temporarily turn off the 5 GHz signal.)
If you can’t ping them even when connected to 2.4 GHz, it’s almost certainly a matter of finding the appropriate setting on your wifi gateway and changing it. What sort of wifi gateway do you have? (Also, if you have more than one gateway, now would be a good time to mention that.)
For your Foscam and Amcrest cameras, you haven’t told us enough to be able to help. Are they connected to your wifi or to your wired network? I think you’re saying that when you’re on wired you can connect to your wyze cams but when you’re on wifi you can connect to your foscam/amcrest cams, but not wyze cams. Is that correct?
As far as I can tell there is not a compiled list of Beta releases you have to read the Beta forum for release announcements.
“First off, does your wifi gateway have both 2.4 GHz and 5 GHz? If you have both, do you have different network names (SSIDs) for 2.4 GHz and 5 GHz, or are they the same?”
The router does have both 2.4 and 5 GHz capability, and we use them both. After checking, I see that all of the cameras connect via 2.4GHz. The SSIDs are different for the 2.4 and 5 bands.
The router/gateway is an ARRIS, supplied from Frontier. It’s the only one. We do have a wifi extender plugged in elsewhere (with different SSIDs).
Both the Amcrest and Foscam are connected over wifi (2.4Ghz) and were working before connecting the PC to the router with a cable.
“I think you’re saying that when you’re on wired you can connect to your wyze cams but when you’re on wifi you can connect to your foscam/amcrest cams, but not wyze cams. Is that correct?”
Yes, exactly. Both the Amcrest and Foscam were working fine, but after connecting the PC with an ethernet cable they’re not working in Zoneminder.
I feel like I’m close, soooooo close.