Hopefully, the plug-in will just work on the Z1 51GB Japan model if you install it from the source code.
I’m not sure how the camera OS checks if the Z1 51GB model is from Japan. It’s likely the serial number, but I’m assuming that is only if it is installed from the store.
I’m going to ask someone at RICOH if there is any restriction on using the client mode for plug-ins built from source running on the camera in developer mode.
In parallel, can you open a support ticket through the developer partner web form?
I’m experiencing the same problem, but only hen using Unity.
RICOH Theta Z1 beeping red twice and disconnecting from plug-in RTSP Live streaming.
The camera connects properly to my laptop hotspot. It properly live streams on VLC media player. But when I try to live stream the same IP on unity it gives me the above error.
I’ll have to start the plug-in again to see the livestream on VLC. It had worked just fine a week before on unity without any problems.
No falls of camera or any hardware damage.
Tried uninstalling and re-installing the RTSP plug-in but faced the same problem.
I think this error is due to the latest firmware update: version 2.10.3. Can you confirm this? Cause I’ve a demo coming very soon and had built my project over this live streaming on Unity.
Also if you can provide a tutorial to see livestream in Unity using ffmpeg, that would be great!
I’ll talk to @jcasman about testing Windows 11 as a hotspot and see if there are problems with the Z1 client mode connection at 5GHz.
update Aug 22, evening
I’m having some problems figuring out how to set up Windows 11 as a hotspot. Do you have Ethernet attached to the Windows 11 laptop and it is sharing the WiFi?
If there is a link to an article on how to set up Windows 11 as a hotspot, I can try and follow that to test the Z1.
Also, how do you lock the Windows 11 machine to only use 5GHz and not use 2.4GHz?
Hi @craig
Any luck with making it work on 5 GHz using the hotspot?
I used a router this time to connect the camera. But I’m still encountering the same problem with Unity as described here (RTSP Streaming Plug-in - #88 by syedjawadakhtar) - Beeping sound.
EDIT:
Even THETA V is making the same sound error while connecting to the Unity after few seconds. I’m doubting it has to do something with the Unity but I suspect changing anything in it.
cap = cv2.VideoCapture(“rtsp://192.168.200.82:8554/live?resolution=640x320”)
not connecting on Ubuntu 18.04, the cap.isOpened() returns false. Any ideas why?
The camera is in rtsp plugin mode under the same network. Vlc can play it no problem.
Here is my python script that opens and shows the camera
import cv2
import time
# CONFIGURABLE CONSTS
LOG_INFO = True
#VIDEO_DEVICE_ID = 0
VIDEO_DEVICE_ID = "rtsp://192.168.200.82:8554/live?resolution=640x320"
# You can set the "resolution" to "640x320", "1024x512", "1920x960" or "3840x1920". "3840x1920" may not work because of bandwidth.
# set both values to 0 to skip setting resolution
#VIDEO_RES = [3840, 1920]
VIDEO_RES = [0, 0]
# set fps to 0 to skip setting fps
VIDEO_FPS_CAP = 30
# For webcam input:
cap = cv2.VideoCapture(VIDEO_DEVICE_ID)
if VIDEO_RES[0] > 0 and VIDEO_RES[1] > 0:
print("setting res ...")
if cap.set(cv2.CAP_PROP_FRAME_WIDTH, VIDEO_RES[0]) == False:
print("could not set frame width")
if cap.set(cv2.CAP_PROP_FRAME_HEIGHT, VIDEO_RES[1]) == False:
print("could not set frame height")
if VIDEO_FPS_CAP > 0:
print("setting fps")
if cap.set(cv2.CAP_PROP_FPS, VIDEO_FPS_CAP) == False:
print("could not set fps")
frame_rate = VIDEO_FPS_CAP
prev = 0
if cap.isOpened():
print("starting ...")
while cap.isOpened():
# cap the reading speed to camera's fps
time_elapsed = time.time() - prev
if VIDEO_FPS_CAP > 0 and time_elapsed <= 1./frame_rate:
continue
prev = time.time()
success, image = cap.read()
if not success:
if LOG_INFO:
print("Ignoring empty camera frame.")
# If loading a video, use 'break' instead of 'continue'.
continue
cv2.imshow('Virtual Safari', image)
# If we've waited at least 5 ms And we've pressed the Esc
if cv2.waitKey(5) & 0xFF == 27:
cv2.destroyWindow('Virtual Safari')
break
print("quitting ...")
cap.release()
And this is the terminal output, it doesn’t even print “starting”, meaning the cap is never even opened
$ python3 VirtualSafari.py
setting fps
could not set fps
quitting …
I used the gstreamer pipeline below (with a few variations, none worked) gst-launch-1.0 rtspsrc location=rtsp://192.168.200.82:8554/live?resolution=1920x960 ! decodebin ! autovideosink
ffplay did not work either
[tcp @ 0x7fa650002e60] Connection to tcp://192.168.200.82:8554?timeout=0 failed: No route to host
rtsp://192.168.200.82:8554/live?resolution=1920x960: No route to host
Only VLC can miraculously decode this stream. Note there’s no way to show it as perspective projection, because the stream comes without the metadata that tells VLC it’s a 360 video.
Also, even on VLC, sometimes I get these errors
Connection failed:
VLC could not connect to “192.168.200.82:8554”.
Your input can’t be opened:
VLC is unable to open the MRL ‘rtsp://192.168.200.82:8554/live?resolution=1920x960’. Check the log for details.