Streaming on board
We are going to install FFmpeg with hardware encoding capabilities. For this we will install the graphics card driver:
sudo apt-get install vainfogit clone git@github.com:FFmpeg/FFmpeg.gitPKG_CONFIG_PATH="/opt/ffmpeg/lib/pkgconfig" ./configure --enable-shared --prefix=/opt/ffmpeg --enable-vaapi --enable-gpl
PATH="/opt/ffmpeg/:$PATH" make -j$(nproc)
sudo make installexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ffmpeg/libTesting the vaapi encoding
roslaunch realsense2_camera rs_camera.launch
roscd nimbro_cam_transport
cd launch
roslaunch vaapisender.launch~$ intel-gpu-top
- ----/ 107 MHz; 87% RC6; ----- (null); 244 irqs/s
IMC reads: ------ (null)/s
IMC writes: ------ (null)/s
ENGINE BUSY MI_SEMA MI_WAIT
Render/3D/0 5.32% |βββββββββββββ | 0% 0%
Blitter/0 0.00% | | 0% 0%
Video/0 4.21% |ββββββββββ | 0% 0%
VideoEnhance/0 0.00% | Last updated