ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to stream CompressImage data as mjpeg

asked 2016-03-17 23:44:27 -0600

Cerin gravatar image

Are there any packages for streaming CompressedImage data as mjpeg over http?

I've found mjpeg_server and web_video_server, and while these support output as mjpeg, they only accept raw uncompressed image data as input.

My project is running on a Raspberry Pi, so computing resources are limited. I'm using raspicam to stream image data. It supports both raw and compressed output. However, the raw node consumes 180% CPU whereas the compressed node consumes...9%, so you can imagine why I'd like to use the compressed stream.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-04-25 15:07:22 -0600

jarnagtr gravatar image

how do I use in a web page? I can sometimes get the video tag to work but only with certain cameras and I am not sure why. What is the best source of documentation for web_video_server?

edit flag offensive delete link more
0

answered 2016-03-20 18:52:02 -0600

rtoris288 gravatar image

updated 2016-03-20 18:52:30 -0600

I believe web_video_server does support compressed images. Source code for the class here: https://github.com/RobotWebTools/web_...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-17 23:44:27 -0600

Seen: 925 times

Last updated: Apr 25 '16