RobotWebTools / web_video_server

HTTP Streaming of ROS Image Topics in Multiple Formats
http://ros.org/wiki/web_video_server
Other
269 stars 187 forks source link

Cant build the package #140

Open FredericTherrien4 opened 6 months ago

FredericTherrien4 commented 6 months ago

Hi,

I am working with ubuntu 22.04 installed on a Raspberry PI 4 with ros2 humble.

I cloned the package into my workspace and when i tried to colcon build the package it fails at 36% and crashes the PI.

Is it a know issue?

Thanks

mdthabrez commented 5 months ago

Hello , I am working with ubuntu 22.04 installed on a Raspberry PI 4 with ros2 Iron. I git cloned the ros2 branch of web_video_server . I am also facing the same problem where the colcon build fails at 36% and crashes the Pi. Can the developers please help us by fixing it OR is a problem from my side ?

Thanks

ROS Version: Ros2 Iron Irwini Platform / OS: Ubuntu 22.04

FredericTherrien4 commented 5 months ago

Hi,

I've been able to make the package run. I found that it was an image formatting that was the problem. There is a dependency called ffmpeg in the package.xml file. I've putted it in comment and also commented the lines 44 to 47 in the CMakeLists.txt file.

If you go into the log file that is generated when you use colcon build you will probably see that the errors are linked to the libav_streamer.cpp node. From what I saw, libav is an image format that can be run using the package "ffmpeg" named earlier. I have'nt found a way to install this package so i commented everything related to it because i didn't need the format related to it. (VP9,h264,VP8 and libav are the format that were problematic).

Hope that it will help you too,

Fred