Код: Выделить всё
FROM ubuntu:22.04
WORKDIR /usr/local/src
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
RUN apt update && apt install -y \
build-essential cmake git pkg-config \
libxml2-dev yasm nasm libtool autoconf automake \
libx264-dev libx265-dev libnuma-dev libvpx-dev \
libfdk-aac-dev libmp3lame-dev libopus-dev \
libass-dev libfreetype6-dev libvorbis-dev
RUN apt-get install libx265-dev
RUN git clone --depth 1 https://github.com/fraunhoferhhi/vvenc.git && \
cd vvenc && \
mkdir build && cd build && \
cmake .. -DCMAKE_BUILD_TYPE=Release && \
make -j$(nproc)
RUN cd vvenc && \
make install install-prefix=/usr/local
RUN git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg
RUN cd ffmpeg && \
./configure --enable-libx265 --enable-gpl --enable-nonfree --enable-pthreads --enable-pic --enable-shared \
--enable-rpath --enable-demuxer=dash \
--enable-libxml2 --enable-libvvenc --extra-libs=-lpthread && \
make -j$(nproc)
RUN cd ffmpeg && make install
RUN rm -rf /var/lib/apt/lists/*
# Some other irrelevant commands
Код: Выделить всё
DEV.L. vvc H.266 / VVC (Versatile Video Coding) (encoders: libvvenc)
< /code>
Но для Libx265 он не работает. < /p>
ffmpeg -codecs | grep x265
In another try:
ffmpeg -codecs | grep 265
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2m2m) (encoders: hevc_v4l2m2m)
root@0a2ad1086abd:/usr/local/src# cd ffmpeg
root@0a2ad1086abd:/usr/local/src/ffmpeg# make install
... installation logs ...
root@0a2ad1086abd:/usr/local/src/ffmpeg# ffmpeg -codecs | grep x265
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2m2m) (encoders: libx265 hevc_v4l2m2m)
< /code>
Есть ли что -нибудь, что я могу здесь сделать? Я пытался отделить слои, объединить ... Я действительно не знаю, что еще мне нужно.
Подробнее здесь: https://stackoverflow.com/questions/795 ... e-image-bu
Мобильная версия