Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

PutFrame failed. Error code: 4102 while running kinesis_video_streamer sample_application.launch #44

Open
msfarhan opened this issue Jul 15, 2020 · 3 comments
Labels
question Further information is requested

Comments

@msfarhan
Copy link

hello,

I have a raspberry pi 4 [ubuntu 18.04 /melodic] used picamera

I have followed the steps which are mentioned in readme without facing an error, used usb_cam node for getting video data and successfully received data in rostopic ,

here are few parameters I changed

changed region to us-east-1
subscription_topic: /usb_cam/image_raw
topic_type: 2

then launched

roslaunch usb_cam usb_cam-test.launch
&
roslaunch kinesis_video_streamer sample_application.launch

while doing media playback am getting following error

No media found
Verify that you are streaming to us-east-1 and the fragment timecodes are correct or download the Kinesis Video Streams Producer SDK to set up your device.

and on launch file of roslaunch kinesis_video_streamer sample_application.launch

I get the following error

[ImageTransportCallback] test PutFrame failed. Error code: 4102

how to solve this?

Thank you

@issue-label-bot issue-label-bot bot added the question Further information is requested label Jul 15, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.76. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@mm318
Copy link
Contributor

mm318 commented Jul 15, 2020

Hi,

What type of media output is coming out of the usb_cam node? If you're trying to see media playback on the Kinesis console, it supports H.264 (see "Q: What media type does the console support?" on the FAQ).

You can try feeding the output of the usb_cam node into the h264_video_encoder node, and the output of that into the kinesis_video_streamer node (the topic_type in your parameters should then be 1).

@utsavrai
Copy link

is it possible to directly subscribe to topic of type sensor_msgs/Image and retrieve it using GetMedia API? I am trying what @msfarhan is trying to do and getting same error whereas, when i try to use h264_video_encoder then I get a periodic delay/pause in the video retreived from the aws kinesis. Any idea how to resolve this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants