KASM-6984 Add FFmpeg support and update dependencies for benchmarking on oracle 9

This commit is contained in:
El 2025-04-19 01:30:59 +05:00
parent ebce680e79
commit 1a2fb0341d
No known key found for this signature in database
GPG key ID: EB3F4C9EA29CDE59
3 changed files with 3 additions and 0 deletions

View file

@ -43,6 +43,7 @@ RUN dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-
# Install from new repos
RUN dnf install -y \
giflib-devel \
ffmpeg-devel \
lbzip2 \
libXfont2-devel \
libxkbfile-devel \

View file

@ -141,6 +141,7 @@ target_include_directories(rfb PRIVATE
${PNG_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/unix/kasmvncpasswd
${CMAKE_SOURCE_DIR}/third_party/tinyxml2
${FFMPEG_INCLUDE_DIRS}
)
target_link_libraries(rfb PRIVATE ${RFB_LIBRARIES} tinyxml2_objs ${FFMPEG_LIBRARIES})

View file

@ -22,6 +22,7 @@
#include <rfb/LogWriter.h>
#include <numeric>
#include <tinyxml2.h>
#include <algorithm>
#include <sstream>
void benchmark(const std::string &path) {