Coder Social home page Coder Social logo

Comments (7)

tinChe- avatar tinChe- commented on June 20, 2024 1

@lleon95
Actually, I have tested master and develop branches. It behaves the same on both.

from gstd-1.x.

lleon95 avatar lleon95 commented on June 20, 2024 1

Can you test this fix?

feature/fix-write-only-property-messages

from gstd-1.x.

lleon95 avatar lleon95 commented on June 20, 2024

Hi @tinChe-

Thanks for your detailed report. Could you tell us which branch you are using?

Currently, I am integrating a change to fix a similar issue: #312

I think with the PR comments, this may be fixed. I will tell you as soon as I get it

BR,
Leon

from gstd-1.x.

tinChe- avatar tinChe- commented on June 20, 2024

@lleon95
I can confirm that using feature/fix-write-only-property-messages branch resolve this issue

from gstd-1.x.

tinChe- avatar tinChe- commented on June 20, 2024

This is probably unrelated but using the same pipeline and reading the element v4l2src0 extra-controls outputs the error on GstD:
(gstd:13182): GStreamer-CRITICAL **: 09:06:58.312: gst_structure_to_string: assertion 'structure != NULL' failed

To reproduce:

gstd-client pipeline_create camera_stream v4l2src device=/dev/video0 ! image/jpeg,width=1920,height=1080,framerate=60/1,format=MJPG ! nvv4l2decoder mjpeg=1 ! nvvidconv ! nvv4l2h264enc bitrate=16000000 insert-sps-pps=true idrinterval=30 enable-lossless=true ! video/x-h264, mapping=/stream1 ! rtspsink service=12345
gstd-client element_get camera_stream v4l2src0 extra-controls

from gstd-1.x.

lleon95 avatar lleon95 commented on June 20, 2024

This is probably unrelated but using the same pipeline and reading the element v4l2src0 extra-controls outputs the error on GstD: (gstd:13182): GStreamer-CRITICAL **: 09:06:58.312: gst_structure_to_string: assertion 'structure != NULL' failed

To reproduce:

gstd-client pipeline_create camera_stream v4l2src device=/dev/video0 ! image/jpeg,width=1920,height=1080,framerate=60/1,format=MJPG ! nvv4l2decoder mjpeg=1 ! nvvidconv ! nvv4l2h264enc bitrate=16000000 insert-sps-pps=true idrinterval=30 enable-lossless=true ! video/x-h264, mapping=/stream1 ! rtspsink service=12345
gstd-client element_get camera_stream v4l2src0 extra-controls

Is this the only message that appears? It happens when the property returns an empty structure.

from gstd-1.x.

tinChe- avatar tinChe- commented on June 20, 2024

Yes, this is the only message output from the gstd, and it is outputted every time the element is queried.
I get the same behavior when querying extra-controls from other elements for example nvv4l2decoder0

Another thing that I noticed is when querying last-sample from example gstinterpipe or rtspsink I get 4 lines

(gstd:13704): GStreamer-CRITICAL **: 08:07:52.407: gst_sample_get_buffer: assertion 'GST_IS_SAMPLE (sample)' failed
(gstd:13704): GStreamer-CRITICAL **: 08:07:52.407: gst_sample_get_caps: assertion 'GST_IS_SAMPLE (sample)' failed
(gstd:13704): GStreamer-CRITICAL **: 08:07:52.407: gst_sample_get_segment: assertion 'GST_IS_SAMPLE (sample)' failed
(gstd:13704): GStreamer-CRITICAL **: 08:07:52.407: gst_sample_get_info: assertion 'GST_IS_SAMPLE (sample)' failed

If I query nvv4l2decoder0 device-name I get one line that opens something

Opening in BLOCKING MODE

from gstd-1.x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.