@Hiep_Tran_Tien1 can you provide more information on your use case?
The source code for the RTSP plug-in is here:
You may be able to inspect the source code and figure out what stream it is sending, then capture the stream with gstreamer.
If you want something easy to get a motionjpeg stream to another camera, you can use the motionjpeg stream of the Z1.
The available livePreview format for the Z1 is available here:
https://github.com/ricohapi/theta-api-specs/blob/main/theta-web-api-v2.1/options/preview_format.md
For RICOH THETA V or Z1
{"width": 1920, "height": 960, "framerate": 8} *1
{"width": 1024, "height": 512, "framerate": 30} *2
{"width": 1024, "height": 512, "framerate": 8}
{"width": 640, "height": 320, "framerate": 30} *2
{"width": 640, "height": 320, "framerate": 8} *1
*1 firmware v1.00.1 and firmware v1.10.1 or later
*2 firmware v2.21.1 or later
You can use a USB cable to a small board computer and then restream the output.
Using a USB cable
In gst_viewer.c
pipe_proc = " rtph264pay name=pay0 pt=96 ! udpsink host=127.0.0.1 port=5000 sync=false ";
with gst-rtsp-server
./test-launch "( udpsrc port=5000 ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264 ! rtph264depay ! h264parse ! rtph264pay name=pay0 pt=96 )"
receive on ROS
GSCAM_CONFIG="rtspsrc location=rtspt://10.0.16.1:8554/test latency=400 drop-on-latency=true ! application/x-rtp, encoding-name=H264 ! rtph264depay ! decodebin ! queue ! videoconvert" roslaunch gscam_nodelet.launch
Save to file
gst-launch-1.0 v4l2src device=/dev/video99 ! video/x-raw,framerate=30/1 \
! videoconvert \
! videoscale \
! avenc_huffyuv \
! avimux \
! filesink location=raw.hfyu
or with h.264 encoding
gst-launch-1.0 v4l2src device=/dev/video99 ! video/x-raw,framerate=30/1 \
! nvvidconv \
! omxh264enc \
! h264parse ! matroskamux \
! filesink location=vid99.mkv
saving on x86
$ gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw,framerate=30/1 ! autovideoconvert ! nvh264enc ! h264parse ! matroskamux ! filesink location=vid_test.mkv
If you just quickly want to test opencv