-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live preview and video recording at the same time #31
Comments
Hi, @karmelcorn Unfortunately, RICOH THETA does not support video recording and live streaming over usb at the same time. I can suggest .. THETA X supports video recording in-camera and live streaming at the same time, with setting "Video liveview" to Another suggestion, you may be able to use USB Live Streaming mode to stream video frames from THETA to PC side over USB, and recording at PC side. Best regards, |
@DaisukeHohjoh, Thank you for your reply. Greatly appreciate it if I can get help on a few more questions:
Any idea what I need to do to capture the live stream into a proper 360 video? Thank you! |
Hi @karmelcorn ,
Best regards, |
Hi @DaisukeHohjoh , Thank you so much for your reply. Yes, after updating to the latest 2.30.0 firmware, the THETA X wi-fi connection is now stable. Thank you. As for using the Live-streaming mode over USB, I am unable to capture the media stream when the camera is in live-streaming mode. In live-streaming mode, in device manager, I see that the Theta X shows up as a camera device. However when I try to use it in Google Meet or in a .Net Windows application (using MediaCature api), it says no video stream found. However, OBS and VLC is able to capture the video stream from the Theta X. So I think it has something to do with OBS and VLC being able to detect the UVC driver. Do you know how I can "communicate" with the UVC driver like OBS and VLC? Thank you |
@karmelcorn I have the following examples in this document. THETA X live streaming over usb cable to Windows and showing stream on:
The above examples are using the USB cable. For live preview over WiFi, I have an example showing the live preview on Windows desktop while simultaneously saving the video into the THETA X body. The livePreview has lower resolution and framerate then the USB cable and is only used to preview the video while recording into the camera. The application shown is only to test the API and not intended for production use. If you want to do something like 4K streaming to an RTMP server (like YouTube) while saving the 4K video inside the camera, see this test with the HDR Wireless Live Streaming plugin. You may want to move your question to the community forum as it is going off-topic from the original question about the API specification and capability of the livePreview API. |
Thank you, @codetricity. Following your examples, I am now able to get live-streaming over USB working in Google Meet too. Can you please point me to the link to the community forum and I will try to move my question over. I am new and sorry that I am a bit lost in all the different repo and forums. I have one more question, for your live-streaming + video recording demo, do you have to press the physical button on the camera to start the video recording or can you control the start of the recording via the app too? |
This is a community forum, not an official RICOH forum. https://community.theta360.guide/ Also, please note that I do not work for RICOH. I'm just a guy in the community.
The demonstration I linked to show live preview on Windows desktop does not include the code to start video capture or put the camera in video mode. The RICOH THETA webAPI can handle these features and should be easy to implement with a standard HTTP POST request. This is another example of showing livePreview on Windows desktop (Windows 11 WSL) The approach above uses OpenCV, so you can easily add things like object detection, edge detection, and visual analysis. If you use Access Point instead of Client Mode, you do not need the digest authentication. |
Hi, does the ricoh theta usb api support live streaming and recording of the video stream at the same time?
Thank you.
The text was updated successfully, but these errors were encountered: