Closed bjsowa closed 1 month ago
@sea-bass This seems to work on Humble and Ubuntu 22.04 but Segfaults on Rolling on Ubuntu 24.04 when trying to use vp8, vp9 or h264 compression (mjpeg streaming works). Backtrace shows the seg fault occurs in avformat_write_header
function. I want to fix this issue before merging this PR. Any help would be apprieciated.
I think I've got this finally working. Checked on Humble, Iron, Jazzy and Rolling. I can't get H264 to work (it never worked for me) but all of the other stream types (mjpeg, png, ros_compressed, vp8, vp9) are working.
av_lockmgr_register
has been deprecated and does nothing since ffmpeg 4.0 (Ubuntu 20.04 uses ffmpeg 4.2.7) so I think we can safely remove it.
Fixes web_video_server for Jazzy and Rolling distributions.
I also dropped backward compatibility with old ffmpeg libraries to make the code easier to maintain.