Giter Club home page Giter Club logo

Comments (9)

MushMal avatar MushMal commented on July 4, 2024

Babu, there are number of reasons why the GStreamer pipeline won't transition to "playing" state. In order to debug you could set the default verbosity level of the GStreamer by specifying GST_DEBUG=x environment variable. For example, you could get more information why the pipeline fails to get to "ready" state launching the demo app like this..

GST_DEBUG=4 AWS_ACCESS_KEY_ID=xx AWS_SECRET_ACCESS_KEY=xx ./kinesis_video_gstreamer_sample_app

For more verbosity you can specify GST_DEBUG=5

We also encountered the following which is in README.md

  • Raspberry PI failure to load the camera device. To check this is the case run ls /dev/video* - it should be file not found. The remedy is to run the following:

ls /dev/video*
vcgencmd get_camera
-- supported=1 detected=1

sudo modprobe bcm2835-v4l2
ls /dev/video*

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

 avatar commented on July 4, 2024

Thanks for the update. sudo modprobe bcm2835-v4l2 resolved the issue. I am running into other library related issues now - I should be able to resolve those and hopefully, have the video streaming from the RaspberryPi this weekend!! Thanks

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

MushMal avatar MushMal commented on July 4, 2024

Sounds great! Please keep us posted. Please resolve the issue once you are able to stream

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

 avatar commented on July 4, 2024

Hi
The demo app failed with the following error.
./kinesis_video_gstreamer_sample_app: error while loading shared libraries: libgstreamer-1.0.so.0: cannot open shared object file: No such file or directory
I updated LD_LIBRARY_PATH environment variable to include native build lib path to resolve this issue.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pi/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build/downloads/local/lib

However, I am now stuck with the following issue. Any suggestions? Thanks!

0:00:01.735129915 3247 0x1869260 DEBUG v4l2bufferpool gstv4l2bufferpool.c:122:gst_v4l2_buffer_pool_copy_buffer:source:pool:src copy video frame
0:00:01.735271113 3247 0x1869260 DEBUG GST_PERFORMANCE video-frame.c:372:gst_video_frame_copy_plane: copy plane 0, w:1280 h:720
0:00:01.737919808 3247 0x1869260 DEBUG GST_PERFORMANCE video-frame.c:372:gst_video_frame_copy_plane: copy plane 1, w:640 h:360
0:00:01.738876994 3247 0x1869260 DEBUG GST_PERFORMANCE video-frame.c:372:gst_video_frame_copy_plane: copy plane 2, w:640 h:360
0:00:01.739847774 3247 0x1869260 DEBUG v4l2bufferpool gstv4l2bufferpool.c:1397:gst_v4l2_buffer_pool_release_buffer:source:pool:src release buffer 0x544318b8
**
ERROR:gstv4l2bufferpool.c:1119:gst_v4l2_buffer_pool_qbuf: assertion failed: ("Value of time " "timestamp" " is out of timeval's range" && ((timestamp) / GST_SECOND) < G_MAXLONG)

Thanks,
Babu Srinivasan

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

 avatar commented on July 4, 2024

Issue is resolved!!!! Updating RaspberryPi Kernel resolved the issue with w4l2 driver

$sudo rpi-update
and reboot

I am now able to stream video from my Raspberry Pi to Kinesis Video!!!!! Thank you for your support.

Thanks,
Babu Srinivasan

Note: I was unable to stream to US-East-1. I am getting bad gateway error in Kinesis Video preview console. Seems to be a service issue in east region. I will re-try us-east region tomorrow.

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

MushMal avatar MushMal commented on July 4, 2024

Apologies for your experience with us-east-1 - must have fallen with the time we had a brief period of reconfiguration. Could you retry please?

Please update the issue with your findings and resolve the issue if all is OK

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

 avatar commented on July 4, 2024

I retried in Us-east-1 and I am still getting the same "bad gateway error". Screenshot attached
image

Thanks

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

MushMal avatar MushMal commented on July 4, 2024

@bvasan apologies again. Could you please retry? We have had transient issues with some sessions. Those should be fixed.

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

 avatar commented on July 4, 2024

Its working in us-east-1 region now. Thanks for the quick follow-up!!

Thanks
Babu Srinivasan

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.