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 S: No available stream #6

Open
hacker1024 opened this issue Oct 9, 2023 · 1 comment
Open

THETA S: No available stream #6

hacker1024 opened this issue Oct 9, 2023 · 1 comment

Comments

@hacker1024
Copy link

When attempting to stream from a THETA S in either 2K or 4K, it fails with "no available stream".

$ GST_DEBUG=thetauvcsrc:6 gst-launch-1.0 thetauvcsrc mode=2K ! queue ! h264parse ! decodebin ! queue ! autovideosink sync=false

0:00:00.041122779 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:207:gst_thetauvcsrc_set_property:<thetauvcsrc0> set_property
0:00:00.041136529 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:207:gst_thetauvcsrc_set_property:<thetauvcsrc0> set_property
0:00:00.042788707 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:687:gst_thetauvcsrc_query:<thetauvcsrc0> query
0:00:00.042800466 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:699:gst_thetauvcsrc_query:<thetauvcsrc0> query CAPS

0:00:00.042830113 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:313:get_current_caps:<thetauvcsrc0> video/x-h264, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], stream-format=(string)byte-stream, alignment=(string)nal, profile=(string){ high, constrained-baseline }
0:00:00.042843506 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:687:gst_thetauvcsrc_query:<thetauvcsrc0> query
0:00:00.042846070 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:699:gst_thetauvcsrc_query:<thetauvcsrc0> query CAPS

0:00:00.042850664 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:313:get_current_caps:<thetauvcsrc0> video/x-h264, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], stream-format=(string)byte-stream, alignment=(string)nal, profile=(string){ high, constrained-baseline }
0:00:00.042860145 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:687:gst_thetauvcsrc_query:<thetauvcsrc0> query
0:00:00.042862744 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:699:gst_thetauvcsrc_query:<thetauvcsrc0> query CAPS

0:00:00.042867236 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:313:get_current_caps:<thetauvcsrc0> video/x-h264, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], stream-format=(string)byte-stream, alignment=(string)nal, profile=(string){ high, constrained-baseline }
0:00:00.042878145 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:687:gst_thetauvcsrc_query:<thetauvcsrc0> query
0:00:00.042880538 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:699:gst_thetauvcsrc_query:<thetauvcsrc0> query CAPS

0:00:00.042884329 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:313:get_current_caps:<thetauvcsrc0> video/x-h264, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], stream-format=(string)byte-stream, alignment=(string)nal, profile=(string){ high, constrained-baseline }
Setting pipeline to PAUSED ...
0:00:00.045542053 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:467:gst_thetauvcsrc_start:<thetauvcsrc0> start
0:00:00.045551026 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:468:gst_thetauvcsrc_start:<thetauvcsrc0> dev=-1 mode=1
0:00:00.055649379 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:545:gst_thetauvcsrc_start:<thetauvcsrc0> Serial: **serial**
0:00:00.077626321 162548      0x1257b90 WARN             thetauvcsrc gstthetauvcsrc.c:573:gst_thetauvcsrc_start:<thetauvcsrc0> error: No available stream
ERROR: from element /GstPipeline:pipeline0/GstThetauvcsrc:thetauvcsrc0: No available stream
Additional debug info:
gstthetauvcsrc.c(573): gst_thetauvcsrc_start (): /GstPipeline:pipeline0/GstThetauvcsrc:thetauvcsrc0
ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPipeline:pipeline0/GstThetauvcsrc:thetauvcsrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3561): gst_base_src_start (): /GstPipeline:pipeline0/GstThetauvcsrc:thetauvcsrc0:
Failed to start
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
0:00:00.095750298 162548      0x1257b90 DEBUG            thetauvcsrc gstthetauvcsrc.c:269:gst_thetauvcsrc_finalize:<thetauvcsrc0> finalize
@hacker1024
Copy link
Author

hacker1024 commented Oct 9, 2023

Reverting 2914a3e fixes the issue.

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

1 participant