kinesisvideo-ros1 icon indicating copy to clipboard operation
kinesisvideo-ros1 copied to clipboard

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

Open msfarhan opened this issue 5 years ago • 3 comments

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

msfarhan avatar Jul 15 '20 08:07 msfarhan

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

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

issue-label-bot[bot] avatar Jul 15 '20 09:07 issue-label-bot[bot]

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).

mm318 avatar Jul 15 '20 23:07 mm318

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?

utsavrai avatar Mar 29 '21 08:03 utsavrai