Skip to content

VAAPI not working on Debian Docker image #241

@francoism90

Description

@francoism90

Dockerfile:

FROM docker.io/library/debian:bookworm as builder

ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC

WORKDIR /usr/local/src

ADD https://github.com/raw/markus-perl/ffmpeg-build-script/refs/heads/master/build-ffmpeg /usr/local/bin/build-ffmpeg

RUN chmod +x /usr/local/bin/build-ffmpeg

RUN apt-get update && apt-get upgrade -y

RUN apt-get install -y \
    build-essential curl ca-certificates libva-dev \
    python3 python-is-python3 ninja-build meson git curl

RUN SKIPINSTALL=yes build-ffmpeg --enable-gpl-and-non-free --build

The libva-dev package is enabled, however --enable-vaapi is not used after copying the ffmpeg to my working container:

/usr/bin/ffmpeg
ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --enable-nonfree --enable-gpl --enable-openssl --enable-libdav1d --enable-libsvtav1 --enable-libx264 --enable-libx265 --enable-libvpx --enable-libxvid --enable-libvidstab --enable-libaom --enable-libzimg --enable-lv2 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libtheora --enable-libfdk-aac --enable-libjxl --enable-libwebp --enable-libfreetype --enable-libsrt --enable-libzvbi --enable-libzmq --disable-ffnvcodec --enable-amf --disable-debug --disable-shared --enable-pthreads --enable-static --enable-version3 --extra-cflags='-I/usr/local/src/workspace/include -Wno-int-conversion -I/usr/local/src/workspace/include/lilv-0' --extra-ldexeflags= --extra-ldflags=-L/usr/local/src/workspace/lib --extra-libs='-ldl -lpthread -lm -lz' --pkgconfigdir=/usr/local/src/workspace/lib/pkgconfig --pkg-config-flags=--static --prefix=/usr/local/src/workspace --extra-version=
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.101 / 61. 19.101
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Universal media converter
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Did I miss something for Debian?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions