Skip to content
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

theta x - how to stream @15fps? #10

Open
tsaizhenling opened this issue Oct 11, 2022 · 2 comments
Open

theta x - how to stream @15fps? #10

tsaizhenling opened this issue Oct 11, 2022 · 2 comments

Comments

@tsaizhenling
Copy link

how do we get theta x to stream 2K @15fps?

I have modified GitHub - ricohapi/libuvc-theta-sample
following instructions here How to livestream using theta X? · Issue #8 · ricohapi/libuvc-theta-sample · GitHub

I then amended libuvc-theta-sample/gst_viewer.c at master · ricohapi/libuvc-theta-sample · GitHub to 2K setting, and set the fps to 30 here libuvc-theta-sample/thetauvc.c at master · ricohapi/libuvc-theta-sample · GitHub

I am able to stream 2K @ 30 fps, and I verify this by timing the intervals between each uvc stream callback

however, when I change fps to 15, the application crashes

I guess from theta-plugin-camera-api-sample-x/MainActivity.kt at main · ricohapi/theta-plugin-camera-api-sample-x · GitHub, that the expected value for 15fps is actually 0

I change fps to 0, and am able to stream at 2K again. however, I am still receiving frames at 30fps

how do we get theta x to stream at 15fps as advertised? streaming at a higher fps than necessary is a waste of compute

@Gatsby23
Copy link

How about the time latency between the device to the host?

@codetricity
Copy link

@Gatsby23 I don't work for RICOH. In my personal tests, I can stream from the X to a browser with 330ms latency. If you search for "latency" or "x latency" on this site, you can find community tests. https://community.theta360.guide/
Note that these are not official specifications from RICOH. These are just people with the camera doing tests on their own and sharing their personal experiences.

this is what it looks like in a browser https://www.youtube.com/watch?v=OGfhyb7TVmA&t=7s

test was done by showing a stopwatch on a computer, then comparing the stream to the computer.

image

310ms


image

362ms


image

188ms


Note that the 188ms is not consistent. IMO, the 330ms is more realistic average latency in this type of simple setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants