GithubHelp home page GithubHelp logo

Comments (9)

MushMal avatar MushMal commented on July 24, 2024 1

@backdoorcodr, I am not familiar with this particular code - it's in GStreamer. Let me try to reproduce your scenario here locally by setting up a box and I will have a better understanding.

Apologies for this but it seems that the GStreamer pipeline might be hitting this issue on Ubuntu.

from amazon-kinesis-video-streams-producer-sdk-cpp.

unicornss avatar unicornss commented on July 24, 2024 1

Hi backdoorcodr,

Given you were successfully able to stream using Java SDK :) are you still facing issues with CPP SDK? Please use the latest SDK in that case.

Thanks
-SS

from amazon-kinesis-video-streams-producer-sdk-cpp.

MushMal avatar MushMal commented on July 24, 2024 1

@backdoorcodr any luck in trying this out? There is a couple of updates to the GStreamer sample application which applies ranges to the resolutions which might resolve the negotiation issue you were seeing.

Please give it a try.

from amazon-kinesis-video-streams-producer-sdk-cpp.

MushMal avatar MushMal commented on July 24, 2024

Can you validate if your camera is detected? Could you please run
ls /dev/video0 - the output should list the device.

Not sure entirely but this could be caused by the camera USB driver. Can you try some other applications and see if they detect the camera OK. Here is a link to a page with some debugging info: https://help.ubuntu.com/community/Webcam

from amazon-kinesis-video-streams-producer-sdk-cpp.

backdoorcodr avatar backdoorcodr commented on July 24, 2024

@MushMal this is what I was suspecting as well; therefore I did that earlier (plus after your response one more time just to be sure). I was able to find video0 as a response from this command.

Furthermore, I followed the link you provided and tested if the camera works or not. I chose cheese, vlc and streamer; and they all seem to be working quite well. hwinfo also seems to be accessing the camera and providing the details of it as well.

Can there be any other possibility or reason? What is -4 code mentioned in the error?

I went to the line 2939 of gstbaserc.c and understood that once it gets a null_buffer, it throws error that "internal data flow error". May be there what we need is to have some waiting time for the stream or the user kills the process himself? Just a suggestion.

Looking forward to your reason behind this error message and hints / suggestions to resolve it.

Many thanks

from amazon-kinesis-video-streams-producer-sdk-cpp.

backdoorcodr avatar backdoorcodr commented on July 24, 2024

@MushMal Many thanks. that will be great. Let me know how it goes.

from amazon-kinesis-video-streams-producer-sdk-cpp.

backdoorcodr avatar backdoorcodr commented on July 24, 2024

@unicornss @MushMal sincere apologies for replying back late. I have been on vacations. Let me try it out this weekend and let you guys know. Although, yes I have been successful to stream using the Java SDK.

from amazon-kinesis-video-streams-producer-sdk-cpp.

unicornss avatar unicornss commented on July 24, 2024

Glad to hear that @backdoorcodr

from amazon-kinesis-video-streams-producer-sdk-cpp.

backdoorcodr avatar backdoorcodr commented on July 24, 2024

@unicornss @MushMal Latest SDK resolves this issue :) Many thanks for this great support.

from amazon-kinesis-video-streams-producer-sdk-cpp.

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.