russelltg / wl-screenrec

High performance wlroots screen recording, featuring hardware encoding
Apache License 2.0
324 stars 9 forks source link

iHD intel vaapi: failed to load vaapi device: Invalid argument #100

Open hholst80 opened 6 days ago

hholst80 commented 6 days ago

I tried to run wl-screenrec v0.1.6 on my Intel GPU (dell xps 16 laptop).

00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)
root@xps ~/wl-screenrec ((v0.1.6))
# vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.3.4 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
root@xps ~/wl-screenrec ((v0.1.6))
# RUST_BACKTRACE=1 target/release/wl-screenrec
Opening libva device from DRM device /dev/dri/renderD128
[AVHWDeviceContext @ 0x5633bf5bcb00] No VA display found for device /dev/dri/renderD128.
failed to create encoder(s): Failed to load vaapi device: Invalid argument
This is likely *not* a bug in wl-screenrec, but an issue with your vaapi installation. Follow your distribution's instructions. If you're pretty sure you've done this correctly, create a new issue with the output of `vainfo` and if `wf-recorder -c h264_vaapi -d /dev/dri/card0` works.
thread 'main' panicked at src/main.rs:904:51:
enc left in intermediate state
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: wl_screenrec::State<S>::on_copy_src_ready
   3: wl_screenrec::cap_wlr_screencopy::<impl wayland_client::event_queue::Dispatch<wayland_protocols_wlr::screencopy::v1::generated::client::zwlr_screencopy_frame_v1::ZwlrScreencopyFrameV1,()> for wl_screenrec::State<wl_screenrec::cap_wlr_screencopy::CapWlrScreencopy>>::event
   4: wayland_client::event_queue::queue_callback
   5: wayland_client::event_queue::EventQueue<State>::dispatching_impl
   6: wayland_client::event_queue::EventQueue<State>::blocking_dispatch
   7: wl_screenrec::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
root@xps ~/wl-screenrec ((v0.1.6)) [101]
# 

I am not sure where it is looking for the vaapi h264 driver though, and wf-recorder seems to be equally unhappy with my vaapi_h264 driver.

root@xps ~/wf-recorder/build (master)
# ./wf-recorder -c h264_vaapi -d /dev/dri/card0
using VA-API, trying to enable DMA-BUF capture...
compositor running on different device, disabling DMA-BUF
selected region 0,0 0x0
[AVHWDeviceContext @ 0x7ff9c8004340] No VA display found for device /dev/dri/card0.
Failed to create hw encoding device /dev/dri/card0: Invalid argument
root@xps ~/wf-recorder/build (master) [255]
# 

I suspect this might be an issue with ffmpeg build (very minimal) but the term 'driver' makes me unsure.

package: ffmpeg
source: https://www.ffmpeg.org/releases/ffmpeg-7.1.tar.xz
checksum: sha256:40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6
makedepends:
  - yasm
  - libxml2
  - x264
  - libva
config: |
  ./configure \
    --prefix=/usr \
    --cpu=skylake \
    --enable-gpl \
    --enable-vaapi \
    --enable-libx264
make: make -j4
install: make install
hholst80 commented 6 days ago

ffmpeg gives perhaps more details:

root@xps ~/Downloads
# ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -i castle.mp4 -f null -
ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --prefix=/usr --cpu=skylake --enable-gpl --enable-vaapi --enable-libx264
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'castle.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2014-11-27T15:35:09.000000Z
    encoder         : HandBrake 0.9.9 2013052900
  Duration: 00:00:54.57, start: 0.000000, bitrate: 1110 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 960x540 [SAR 1:1 DAR 16:9], 945 kb/s, 30 fps, 30 tbr, 90k tbn (default)
      Metadata:
        creation_time   : 2014-11-27T15:35:09.000000Z
        vendor_id       : [0][0][0][0]
        encoder         : JVT/AVC Coding
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s (default)
      Metadata:
        creation_time   : 2014-11-27T15:35:09.000000Z
        vendor_id       : [0][0][0][0]
[AVHWDeviceContext @ 0x557d44fc1c00] No VA display found for device /dev/dri/renderD128.
Device creation failed: -22.
[vist#0:0/h264 @ 0x557d44f27480] [dec:h264 @ 0x557d44f73d40] No device available for decoder: device type vaapi needed for codec h264.
[vist#0:0/h264 @ 0x557d44f27480] [dec:h264 @ 0x557d44f73d40] Hardware device setup failed for decoder: Invalid argument
Error opening output file -.
Error opening output files: Invalid argument
root@xps ~/Downloads [234]
# 
hholst80 commented 6 days ago

OK. Google still is the go-to for the esoteric stuff ;-)

https://www.hardening-consulting.com/en/posts/20170625-using-vaapi-with-ffmpeg.html

I was missing one critical option to ffmpeg build:

--enable-hwaccel=h264_vaapi

Sadly, it still does not work. Clearly this is no longer an issue with wl-screenrec but with ffmpeg. It might still be nice to not crash ofc... But that is a very minor thing.

install prefix            /usr
source path               .
C compiler                gcc
C library                 glibc
ARCH                      x86 (skylake)
big-endian                no
runtime cpu detection     yes
standalone assembly       yes
x86 assembler             yasm
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AESNI enabled             yes
AVX enabled               yes
AVX2 enabled              yes
AVX-512 enabled           yes
AVX-512ICL enabled        yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes
makeinfo supports HTML    yes
xmllint enabled           yes

External libraries:
bzlib                   libx264                 zlib
iconv                   lzma

External libraries providing hardware acceleration:
v4l2_m2m                vaapi

Libraries:
avcodec                 avformat                swresample
avdevice                avutil                  swscale
avfilter                postproc

Programs:
ffmpeg                  ffprobe

Enabled decoders:
aac                     flic                    phm
aac_fixed               flv                     photocd
aac_latm                fmvc                    pictor
aasc                    fourxm                  pixlet
ac3                     fraps                   pjs
ac3_fixed               frwu                    png
acelp_kelvin            ftr                     ppm
adpcm_4xm               g2m                     prores
adpcm_adx               g723_1                  prosumer
adpcm_afc               g729                    psd
adpcm_agm               gdv                     ptx
adpcm_aica              gem                     qcelp
adpcm_argo              gif                     qdm2
adpcm_ct                gremlin_dpcm            qdmc
adpcm_dtk               gsm                     qdraw
adpcm_ea                gsm_ms                  qoa
adpcm_ea_maxis_xa       h261                    qoi
adpcm_ea_r1             h263                    qpeg
adpcm_ea_r2             h263_v4l2m2m            qtrle
adpcm_ea_r3             h263i                   r10k
adpcm_ea_xas            h263p                   r210
adpcm_g722              h264                    ra_144
adpcm_g726              h264_v4l2m2m            ra_288
adpcm_g726le            hap                     ralf
adpcm_ima_acorn         hca                     rasc
adpcm_ima_alp           hcom                    rawvideo
adpcm_ima_amv           hdr                     realtext
adpcm_ima_apc           hevc                    rka
adpcm_ima_apm           hevc_v4l2m2m            rl2
adpcm_ima_cunning       hnm4_video              roq
adpcm_ima_dat4          hq_hqa                  roq_dpcm
adpcm_ima_dk3           hqx                     rpza
adpcm_ima_dk4           huffyuv                 rscc
adpcm_ima_ea_eacs       hymt                    rtv1
adpcm_ima_ea_sead       iac                     rv10
adpcm_ima_iss           idcin                   rv20
adpcm_ima_moflex        idf                     rv30
adpcm_ima_mtf           iff_ilbm                rv40
adpcm_ima_oki           ilbc                    s302m
adpcm_ima_qt            imc                     sami
adpcm_ima_rad           imm4                    sanm
adpcm_ima_smjpeg        imm5                    sbc
adpcm_ima_ssi           indeo2                  scpr
adpcm_ima_wav           indeo3                  screenpresso
adpcm_ima_ws            indeo4                  sdx2_dpcm
adpcm_ms                indeo5                  sga
adpcm_mtaf              interplay_acm           sgi
adpcm_psx               interplay_dpcm          sgirle
adpcm_sbpro_2           interplay_video         sheervideo
adpcm_sbpro_3           ipu                     shorten
adpcm_sbpro_4           jacosub                 simbiosis_imx
adpcm_swf               jpeg2000                sipr
adpcm_thp               jpegls                  siren
adpcm_thp_le            jv                      smackaud
adpcm_vima              kgv1                    smacker
adpcm_xa                kmvc                    smc
adpcm_xmd               lagarith                smvjpeg
adpcm_yamaha            lead                    snow
adpcm_zork              loco                    sol_dpcm
agm                     lscr                    sonic
aic                     m101                    sp5x
alac                    mace3                   speedhq
alias_pix               mace6                   speex
als                     magicyuv                srgc
amrnb                   mdec                    srt
amrwb                   media100                ssa
amv                     metasound               stl
anm                     microdvd                subrip
ansi                    mimic                   subviewer
anull                   misc4                   subviewer1
apac                    mjpeg                   sunrast
ape                     mjpegb                  svq1
apng                    mlp                     svq3
aptx                    mmvideo                 tak
aptx_hd                 mobiclip                targa
arbc                    motionpixels            targa_y216
argo                    movtext                 tdsc
ass                     mp1                     text
asv1                    mp1float                theora
asv2                    mp2                     thp
atrac1                  mp2float                tiertexseqvideo
atrac3                  mp3                     tiff
atrac3al                mp3adu                  tmv
atrac3p                 mp3adufloat             truehd
atrac3pal               mp3float                truemotion1
atrac9                  mp3on4                  truemotion2
aura                    mp3on4float             truemotion2rt
aura2                   mpc7                    truespeech
av1                     mpc8                    tscc
avrn                    mpeg1_v4l2m2m           tscc2
avrp                    mpeg1video              tta
avs                     mpeg2_v4l2m2m           twinvq
avui                    mpeg2video              txd
bethsoftvid             mpeg4                   ulti
bfi                     mpeg4_v4l2m2m           utvideo
bink                    mpegvideo               v210
binkaudio_dct           mpl2                    v210x
binkaudio_rdft          msa1                    v308
bintext                 mscc                    v408
bitpacked               msmpeg4v1               v410
bmp                     msmpeg4v2               vb
bmv_audio               msmpeg4v3               vble
bmv_video               msnsiren                vbn
bonk                    msp2                    vc1
brender_pix             msrle                   vc1_v4l2m2m
c93                     mss1                    vc1image
cavs                    mss2                    vcr1
cbd2_dpcm               msvideo1                vmdaudio
ccaption                mszh                    vmdvideo
cdgraphics              mts2                    vmix
cdtoons                 mv30                    vmnc
cdxl                    mvc1                    vnull
cfhd                    mvc2                    vorbis
cinepak                 mvdv                    vp3
clearvideo              mvha                    vp4
cljr                    mwsc                    vp5
cllc                    mxpeg                   vp6
comfortnoise            nellymoser              vp6a
cook                    notchlc                 vp6f
cpia                    nuv                     vp7
cri                     on2avc                  vp8
cscd                    opus                    vp8_v4l2m2m
cyuv                    osq                     vp9
dca                     paf_audio               vp9_v4l2m2m
dds                     paf_video               vplayer
derf_dpcm               pam                     vqa
dfa                     pbm                     vqc
dfpwm                   pcm_alaw                vvc
dirac                   pcm_bluray              wady_dpcm
dnxhd                   pcm_dvd                 wavarc
dolby_e                 pcm_f16le               wavpack
dpx                     pcm_f24le               wbmp
dsd_lsbf                pcm_f32be               wcmv
dsd_lsbf_planar         pcm_f32le               webp
dsd_msbf                pcm_f64be               webvtt
dsd_msbf_planar         pcm_f64le               wmalossless
dsicinaudio             pcm_lxf                 wmapro
dsicinvideo             pcm_mulaw               wmav1
dss_sp                  pcm_s16be               wmav2
dst                     pcm_s16be_planar        wmavoice
dvaudio                 pcm_s16le               wmv1
dvbsub                  pcm_s16le_planar        wmv2
dvdsub                  pcm_s24be               wmv3
dvvideo                 pcm_s24daud             wmv3image
dxa                     pcm_s24le               wnv1
dxtory                  pcm_s24le_planar        wrapped_avframe
dxv                     pcm_s32be               ws_snd1
eac3                    pcm_s32le               xan_dpcm
eacmv                   pcm_s32le_planar        xan_wc3
eamad                   pcm_s64be               xan_wc4
eatgq                   pcm_s64le               xbin
eatgv                   pcm_s8                  xbm
eatqi                   pcm_s8_planar           xface
eightbps                pcm_sga                 xl
eightsvx_exp            pcm_u16be               xma1
eightsvx_fib            pcm_u16le               xma2
escape124               pcm_u24be               xpm
escape130               pcm_u24le               xsub
evrc                    pcm_u32be               xwd
exr                     pcm_u32le               y41p
fastaudio               pcm_u8                  ylc
ffv1                    pcm_vidc                yop
ffvhuff                 pcx                     yuv4
ffwavesynth             pdv                     zero12v
fic                     pfm                     zerocodec
fits                    pgm                     zlib
flac                    pgmyuv                  zmbv
flashsv                 pgssub
flashsv2                pgx

Enabled encoders:
a64multi                hdr                     phm
a64multi5               hevc_v4l2m2m            png
aac                     hevc_vaapi              ppm
ac3                     huffyuv                 prores
ac3_fixed               jpeg2000                prores_aw
adpcm_adx               jpegls                  prores_ks
adpcm_argo              libx264                 qoi
adpcm_g722              libx264rgb              qtrle
adpcm_g726              ljpeg                   r10k
adpcm_g726le            magicyuv                r210
adpcm_ima_alp           mjpeg                   ra_144
adpcm_ima_amv           mjpeg_vaapi             rawvideo
adpcm_ima_apm           mlp                     roq
adpcm_ima_qt            movtext                 roq_dpcm
adpcm_ima_ssi           mp2                     rpza
adpcm_ima_wav           mp2fixed                rv10
adpcm_ima_ws            mpeg1video              rv20
adpcm_ms                mpeg2_vaapi             s302m
adpcm_swf               mpeg2video              sbc
adpcm_yamaha            mpeg4                   sgi
alac                    mpeg4_v4l2m2m           smc
alias_pix               msmpeg4v2               snow
amv                     msmpeg4v3               sonic
anull                   msrle                   sonic_ls
apng                    msvideo1                speedhq
aptx                    nellymoser              srt
aptx_hd                 opus                    ssa
ass                     pam                     subrip
asv1                    pbm                     sunrast
asv2                    pcm_alaw                svq1
av1_vaapi               pcm_bluray              targa
avrp                    pcm_dvd                 text
avui                    pcm_f32be               tiff
bitpacked               pcm_f32le               truehd
bmp                     pcm_f64be               tta
cfhd                    pcm_f64le               ttml
cinepak                 pcm_mulaw               utvideo
cljr                    pcm_s16be               v210
comfortnoise            pcm_s16be_planar        v308
dca                     pcm_s16le               v408
dfpwm                   pcm_s16le_planar        v410
dnxhd                   pcm_s24be               vbn
dpx                     pcm_s24daud             vc2
dvbsub                  pcm_s24le               vnull
dvdsub                  pcm_s24le_planar        vorbis
dvvideo                 pcm_s32be               vp8_v4l2m2m
dxv                     pcm_s32le               vp8_vaapi
eac3                    pcm_s32le_planar        vp9_vaapi
exr                     pcm_s64be               wavpack
ffv1                    pcm_s64le               wbmp
ffvhuff                 pcm_s8                  webvtt
fits                    pcm_s8_planar           wmav1
flac                    pcm_u16be               wmav2
flashsv                 pcm_u16le               wmv1
flashsv2                pcm_u24be               wmv2
flv                     pcm_u24le               wrapped_avframe
g723_1                  pcm_u32be               xbm
gif                     pcm_u32le               xface
h261                    pcm_u8                  xsub
h263                    pcm_vidc                xwd
h263_v4l2m2m            pcx                     y41p
h263p                   pfm                     yuv4
h264_v4l2m2m            pgm                     zlib
h264_vaapi              pgmyuv                  zmbv

Enabled hwaccels:
av1_vaapi               mjpeg_vaapi             vp8_vaapi
h263_vaapi              mpeg2_vaapi             vp9_vaapi
h264_vaapi              mpeg4_vaapi             wmv3_vaapi
hevc_vaapi              vc1_vaapi

Enabled parsers:
aac                     dvdsub                  mpegaudio
aac_latm                evc                     mpegvideo
ac3                     flac                    opus
adx                     ftr                     png
amr                     g723_1                  pnm
av1                     g729                    qoi
avs2                    gif                     rv34
avs3                    gsm                     sbc
bmp                     h261                    sipr
cavsvideo               h263                    tak
cook                    h264                    vc1
cri                     hdr                     vorbis
dca                     hevc                    vp3
dirac                   ipu                     vp8
dnxhd                   jpeg2000                vp9
dolby_e                 jpegxl                  vvc
dpx                     misc4                   webp
dvaudio                 mjpeg                   xbm
dvbsub                  mlp                     xma
dvd_nav                 mpeg4video              xwd

Enabled demuxers:
aa                      idf                     pcm_s16be
aac                     iff                     pcm_s16le
aax                     ifv                     pcm_s24be
ac3                     ilbc                    pcm_s24le
ac4                     image2                  pcm_s32be
ace                     image2_alias_pix        pcm_s32le
acm                     image2_brender_pix      pcm_s8
act                     image2pipe              pcm_u16be
adf                     image_bmp_pipe          pcm_u16le
adp                     image_cri_pipe          pcm_u24be
ads                     image_dds_pipe          pcm_u24le
adx                     image_dpx_pipe          pcm_u32be
aea                     image_exr_pipe          pcm_u32le
afc                     image_gem_pipe          pcm_u8
aiff                    image_gif_pipe          pcm_vidc
aix                     image_hdr_pipe          pdv
alp                     image_j2k_pipe          pjs
amr                     image_jpeg_pipe         pmp
amrnb                   image_jpegls_pipe       pp_bnk
amrwb                   image_jpegxl_pipe       pva
anm                     image_pam_pipe          pvf
apac                    image_pbm_pipe          qcp
apc                     image_pcx_pipe          qoa
ape                     image_pfm_pipe          r3d
apm                     image_pgm_pipe          rawvideo
apng                    image_pgmyuv_pipe       rcwt
aptx                    image_pgx_pipe          realtext
aptx_hd                 image_phm_pipe          redspark
aqtitle                 image_photocd_pipe      rka
argo_asf                image_pictor_pipe       rl2
argo_brp                image_png_pipe          rm
argo_cvg                image_ppm_pipe          roq
asf                     image_psd_pipe          rpl
asf_o                   image_qdraw_pipe        rsd
ass                     image_qoi_pipe          rso
ast                     image_sgi_pipe          rtp
au                      image_sunrast_pipe      rtsp
av1                     image_svg_pipe          s337m
avi                     image_tiff_pipe         sami
avr                     image_vbn_pipe          sap
avs                     image_webp_pipe         sbc
avs2                    image_xbm_pipe          sbg
avs3                    image_xpm_pipe          scc
bethsoftvid             image_xwd_pipe          scd
bfi                     ingenient               sdns
bfstm                   ipmovie                 sdp
bink                    ipu                     sdr2
binka                   ircam                   sds
bintext                 iss                     sdx
bit                     iv8                     segafilm
bitpacked               ivf                     ser
bmv                     ivr                     sga
boa                     jacosub                 shorten
bonk                    jpegxl_anim             siff
brstm                   jv                      simbiosis_imx
c93                     kux                     sln
caf                     kvag                    smacker
cavsvideo               laf                     smjpeg
cdg                     lc3                     smush
cdxl                    live_flv                sol
cine                    lmlm4                   sox
codec2                  loas                    spdif
codec2raw               lrc                     srt
concat                  luodat                  stl
data                    lvf                     str
daud                    lxf                     subviewer
dcstr                   m4v                     subviewer1
derf                    matroska                sup
dfa                     mca                     svag
dfpwm                   mcc                     svs
dhav                    mgsts                   swf
dirac                   microdvd                tak
dnxhd                   mjpeg                   tedcaptions
dsf                     mjpeg_2000              thp
dsicin                  mlp                     threedostr
dss                     mlv                     tiertexseq
dts                     mm                      tmv
dtshd                   mmf                     truehd
dv                      mods                    tta
dvbsub                  moflex                  tty
dvbtxt                  mov                     txd
dxa                     mp3                     ty
ea                      mpc                     usm
ea_cdata                mpc8                    v210
eac3                    mpegps                  v210x
epaf                    mpegts                  vag
evc                     mpegtsraw               vc1
ffmetadata              mpegvideo               vc1t
filmstrip               mpjpeg                  vividas
fits                    mpl2                    vivo
flac                    mpsub                   vmd
flic                    msf                     vobsub
flv                     msnwc_tcp               voc
fourxm                  msp                     vpk
frm                     mtaf                    vplayer
fsb                     mtv                     vqf
fwse                    musx                    vvc
g722                    mv                      w64
g723_1                  mvi                     wady
g726                    mxf                     wav
g726le                  mxg                     wavarc
g729                    nc                      wc3
gdv                     nistsphere              webm_dash_manifest
genh                    nsp                     webvtt
gif                     nsv                     wsaud
gsm                     nut                     wsd
gxf                     nuv                     wsvqa
h261                    obu                     wtv
h263                    ogg                     wv
h264                    oma                     wve
hca                     osq                     xa
hcom                    paf                     xbin
hevc                    pcm_alaw                xmd
hls                     pcm_f32be               xmv
hnm                     pcm_f32le               xvag
iamf                    pcm_f64be               xwma
ico                     pcm_f64le               yop
idcin                   pcm_mulaw               yuv4mpegpipe

Enabled muxers:
a64                     h263                    pcm_s16le
ac3                     h264                    pcm_s24be
ac4                     hash                    pcm_s24le
adts                    hds                     pcm_s32be
adx                     hevc                    pcm_s32le
aea                     hls                     pcm_s8
aiff                    iamf                    pcm_u16be
alp                     ico                     pcm_u16le
amr                     ilbc                    pcm_u24be
amv                     image2                  pcm_u24le
apm                     image2pipe              pcm_u32be
apng                    ipod                    pcm_u32le
aptx                    ircam                   pcm_u8
aptx_hd                 ismv                    pcm_vidc
argo_asf                ivf                     psp
argo_cvg                jacosub                 rawvideo
asf                     kvag                    rcwt
asf_stream              latm                    rm
ass                     lc3                     roq
ast                     lrc                     rso
au                      m4v                     rtp
avi                     matroska                rtp_mpegts
avif                    matroska_audio          rtsp
avm2                    md5                     sap
avs2                    microdvd                sbc
avs3                    mjpeg                   scc
bit                     mkvtimestamp_v2         segafilm
caf                     mlp                     segment
cavsvideo               mmf                     smjpeg
codec2                  mov                     smoothstreaming
codec2raw               mp2                     sox
crc                     mp3                     spdif
dash                    mp4                     spx
data                    mpeg1system             srt
daud                    mpeg1vcd                stream_segment
dfpwm                   mpeg1video              streamhash
dirac                   mpeg2dvd                sup
dnxhd                   mpeg2svcd               swf
dts                     mpeg2video              tee
dv                      mpeg2vob                tg2
eac3                    mpegts                  tgp
evc                     mpjpeg                  truehd
f4v                     mxf                     tta
ffmetadata              mxf_d10                 ttml
fifo                    mxf_opatom              uncodedframecrc
filmstrip               null                    vc1
fits                    nut                     vc1t
flac                    obu                     voc
flv                     oga                     vvc
framecrc                ogg                     w64
framehash               ogv                     wav
framemd5                oma                     webm
g722                    opus                    webm_chunk
g723_1                  pcm_alaw                webm_dash_manifest
g726                    pcm_f32be               webp
g726le                  pcm_f32le               webvtt
gif                     pcm_f64be               wsaud
gsm                     pcm_f64le               wtv
gxf                     pcm_mulaw               wv
h261                    pcm_s16be               yuv4mpegpipe

Enabled protocols:
async                   gopher                  rtmp
cache                   hls                     rtmpt
concat                  http                    rtp
concatf                 httpproxy               srtp
crypto                  icecast                 subfile
data                    md5                     tcp
fd                      mmsh                    tee
ffrtmphttp              mmst                    udp
file                    pipe                    udplite
ftp                     prompeg                 unix

Enabled filters:
a3dscope                crossfeed               pad
aap                     crystalizer             pad_vaapi
abench                  cue                     pal100bars
abitscope               curves                  pal75bars
acompressor             datascope               palettegen
acontrast               dblur                   paletteuse
acopy                   dcshift                 pan
acrossfade              dctdnoiz                perlin
acrossover              deband                  perms
acrusher                deblock                 perspective
acue                    decimate                phase
addroi                  deconvolve              photosensitivity
adeclick                dedot                   pixdesctest
adeclip                 deesser                 pixelize
adecorrelate            deflate                 pixscope
adelay                  deflicker               pp
adenorm                 deinterlace_vaapi       pp7
aderivative             dejudder                premultiply
adrawgraph              delogo                  prewitt
adrc                    denoise_vaapi           procamp_vaapi
adynamicequalizer       deshake                 pseudocolor
adynamicsmooth          despill                 psnr
aecho                   detelecine              pullup
aemphasis               dialoguenhance          qp
aeval                   dilation                random
aevalsrc                displace                readeia608
aexciter                doubleweave             readvitc
afade                   drawbox                 realtime
afdelaysrc              drawbox_vaapi           remap
afftdn                  drawgraph               removegrain
afftfilt                drawgrid                removelogo
afir                    drmeter                 repeatfields
afireqsrc               dynaudnorm              replaygain
afirsrc                 earwax                  reverse
aformat                 ebur128                 rgbashift
afreqshift              edgedetect              rgbtestsrc
afwtdn                  elbg                    roberts
agate                   entropy                 rotate
agraphmonitor           epx                     sab
ahistogram              eq                      scale
aiir                    equalizer               scale2ref
aintegral               erosion                 scale_vaapi
ainterleave             estdif                  scdet
alatency                exposure                scharr
alimiter                extractplanes           scroll
allpass                 extrastereo             segment
allrgb                  fade                    select
allyuv                  feedback                selectivecolor
aloop                   fftdnoiz                sendcmd
alphaextract            fftfilt                 separatefields
alphamerge              field                   setdar
amerge                  fieldhint               setfield
ametadata               fieldmatch              setparams
amix                    fieldorder              setpts
amovie                  fillborders             setrange
amplify                 find_rect               setsar
amultiply               firequalizer            settb
anequalizer             flanger                 sharpness_vaapi
anlmdn                  floodfill               shear
anlmf                   format                  showcqt
anlms                   fps                     showcwt
anoisesrc               framepack               showfreqs
anull                   framerate               showinfo
anullsink               framestep               showpalette
anullsrc                freezedetect            showspatial
apad                    freezeframes            showspectrum
aperms                  fspp                    showspectrumpic
aphasemeter             fsync                   showvolume
aphaser                 gblur                   showwaves
aphaseshift             geq                     showwavespic
apsnr                   gradfun                 shuffleframes
apsyclip                gradients               shufflepixels
apulsator               graphmonitor            shuffleplanes
arealtime               grayworld               sidechaincompress
aresample               greyedge                sidechaingate
areverse                guided                  sidedata
arls                    haas                    sierpinski
arnndn                  haldclut                signalstats
asdr                    haldclutsrc             signature
asegment                hdcd                    silencedetect
aselect                 headphone               silenceremove
asendcmd                hflip                   sinc
asetnsamples            highpass                sine
asetpts                 highshelf               siti
asetrate                hilbert                 smartblur
asettb                  histeq                  smptebars
ashowinfo               histogram               smptehdbars
asidedata               hqdn3d                  sobel
asisdr                  hqx                     spectrumsynth
asoftclip               hstack                  speechnorm
aspectralstats          hstack_vaapi            split
asplit                  hsvhold                 spp
astats                  hsvkey                  ssim
astreamselect           hue                     ssim360
asubboost               huesaturation           stereo3d
asubcut                 hwdownload              stereotools
asupercut               hwmap                   stereowiden
asuperpass              hwupload                streamselect
asuperstop              hysteresis              super2xsai
atadenoise              identity                superequalizer
atempo                  idet                    surround
atilt                   il                      swaprect
atrim                   inflate                 swapuv
avectorscope            interlace               tblend
avgblur                 interleave              telecine
avsynctest              join                    testsrc
axcorrelate             kerndeint               testsrc2
backgroundkey           kirsch                  thistogram
bandpass                lagfun                  threshold
bandreject              latency                 thumbnail
bass                    lenscorrection          tile
bbox                    life                    tiltandshift
bench                   limitdiff               tiltshelf
bilateral               limiter                 tinterlace
biquad                  loop                    tlut2
bitplanenoise           loudnorm                tmedian
blackdetect             lowpass                 tmidequalizer
blackframe              lowshelf                tmix
blend                   lumakey                 tonemap
blockdetect             lut                     tonemap_vaapi
blurdetect              lut1d                   tpad
bm3d                    lut2                    transpose
boxblur                 lut3d                   transpose_vaapi
bwdif                   lutrgb                  treble
cas                     lutyuv                  tremolo
ccrepack                mandelbrot              trim
cellauto                maskedclamp             unpremultiply
channelmap              maskedmax               unsharp
channelsplit            maskedmerge             untile
chorus                  maskedmin               uspp
chromahold              maskedthreshold         v360
chromakey               maskfun                 vaguedenoiser
chromanr                mcdeint                 varblur
chromashift             mcompand                vectorscope
ciescope                median                  vflip
codecview               mergeplanes             vfrdet
color                   mestimate               vibrance
colorbalance            metadata                vibrato
colorchannelmixer       midequalizer            vif
colorchart              minterpolate            vignette
colorcontrast           mix                     virtualbass
colorcorrect            monochrome              vmafmotion
colorhold               morpho                  volume
colorize                movie                   volumedetect
colorkey                mpdecimate              vstack
colorlevels             mptestsrc               vstack_vaapi
colormap                msad                    w3fdif
colormatrix             multiply                waveform
colorspace              negate                  weave
colorspectrum           nlmeans                 xbr
colortemperature        nnedi                   xcorrelate
compand                 noformat                xfade
compensationdelay       noise                   xmedian
concat                  normalize               xpsnr
convolution             null                    xstack
convolve                nullsink                xstack_vaapi
copy                    nullsrc                 yadif
corr                    oscilloscope            yaepblur
cover_rect              overlay                 yuvtestsrc
crop                    overlay_vaapi           zoneplate
cropdetect              owdenoise               zoompan

Enabled bsfs:
aac_adtstoasc           h264_mp4toannexb        pcm_rechunk
av1_frame_merge         h264_redundant_pps      pgs_frame_merge
av1_frame_split         hapqa_extract           prores_metadata
av1_metadata            hevc_metadata           remove_extradata
chomp                   hevc_mp4toannexb        setts
dca_core                imx_dump_header         showinfo
dovi_rpu                media100_to_mjpegb      text2movsub
dts2pts                 mjpeg2jpeg              trace_headers
dump_extradata          mjpega_dump_header      truehd_core
dv_error_marker         mov2textsub             vp9_metadata
eac3_core               mpeg2_metadata          vp9_raw_reorder
evc_frame_merge         mpeg4_unpack_bframes    vp9_superframe
extract_extradata       noise                   vp9_superframe_split
filter_units            null                    vvc_metadata
h264_metadata           opus_metadata           vvc_mp4toannexb

Enabled indevs:
fbdev                   oss
lavfi                   v4l2

Enabled outdevs:
fbdev                   oss                     v4l2