Comments (9)
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.
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.
Sounds great! Please keep us posted. Please resolve the issue once you are able to stream
from amazon-kinesis-video-streams-producer-sdk-cpp.
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.
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.
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.
I retried in Us-east-1 and I am still getting the same "bad gateway error". Screenshot attached
Thanks
from amazon-kinesis-video-streams-producer-sdk-cpp.
@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.
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)
- [QUESTION] what inexpensive Kinesis Video Stream approved IP Camera can I use to prototype HOT 1
- [QUESTION] calculate_skew: delta - skew: 0:00:01.010868203 too big, reset skew Error HOT 1
- [QUESTION] All my frames are getting dropped I think and data upload rate is very low (rtsp H265 at 1020*1080) HOT 3
- [QUESTION] Gstreamer event/message for streaming/connection releated issues in KVS SDK HOT 2
- [QUESTION] kvs_gstreamer_sample hanging after "pad link successful" HOT 1
- compilation error on Ubuntu HOT 1
- [QUESTION] Struggling with KVS streams on iOS HOT 6
- Not able to access media on Media Playback on Kinesis Video Streamer
- [QUESTION] Raspberry Pi からの映像送信でエラーが発生
- I am getting this error while running: cmake -DBUILD_GSTREAMER_PLUGIN=TRUE .. HOT 4
- [BUG] Streaming h.265 video from RTSP HOT 5
- [BUG] HOT 1
- [BUG] Gst plugin kvssink is built as static library
- [FEATURE] Make log level in kvssink configurable. HOT 1
- [BUG] `kvssink` occasionally generates non-monotonic PTS HOT 1
- How to resolve a "MAX_FRAGMENT_DURATION_REACHED" error when trying to stream RTSP camera feed into KVS HOT 3
- Failed to allocate memory HOT 3
- [BUG] HOT 1
- Stream video to your Kinesis video stream and view the live stream HOT 5
- [BUG] KVS Fails to build due to Threadpool.c.o issue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-kinesis-video-streams-producer-sdk-cpp.