• 工作小记 编译 ffmpeg gpu 版本


    工作小记 编译 ffmpeg gpu 版本

    报错 pkg-config: ERROR: libx264 not found

    ffbuild$ vi config.log 目录下有对应报错具体信息
    pkg-config搜索路径与添加
    依然找不到xxx.pc,查看搜索路径后,全部加进去了

    export ZHOME=/home/test/xxx
    export PKG_CONFIG_PATH="$ZHOME/ffmpeg_build/lib/pkgconfig:/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig"
    
    • 1
    • 2

    pkg-config 常用指令

    pkg-config  --variable pc_path pkg-config # 查看pkg的搜索路径
    pkg-config --exists x264  --print-errors  # 查看库是否存在 报错即不存在 不报错即存在...
    pkg-config --modversion x264 --print-errors # 查看库版本  
    pkg-config --cflags software_name # 查看头文件位置
    pkg-config --libs software_name # 查看库文件位置
    # 可全局查找 库名.pc 配合 locate fzf 查
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6

    pkg-config的用法及库搜索路径设置 参考

    pkg-config的用法及库搜索路径设置
    Linux中的configure、pkg-config、pkg_config_path
    pkg-config默认搜索路径

    编译GPU版本

    FFmpeg显卡版编译安装
    最终指令

    ./configure \
      --prefix="$ZHOME/ffmpeg_build" \
      --pkg-config-flags="--static" \
      --extra-cflags="-I$ZHOME/ffmpeg_build/include -I/usr/local/cuda/include" \
      --extra-ldflags="-L$ZHOME/ffmpeg_build/lib -L/usr/local/cuda/lib64" \
      --extra-libs="-lpthread -lm" \
      --bindir="$ZHOME/bin" \
      --enable-gpl \
      --enable-libass \
      --enable-libfdk-aac \
      --enable-libfreetype \
      --enable-libmp3lame \
      --enable-libopus \
      --enable-libvorbis \
      --enable-libvpx \
      --enable-libx264 \
      --enable-libx265 \
      --enable-pic \
      --enable-shared   \
      --enable-nonfree \
      --enable-cuda \
      --enable-cuvid \
      --enable-nvenc \
      --enable-libnpp \
      --enable-debug=3 \
      --disable-optimizations \
      --disable-asm \
      --disable-stripping
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28

    查看ffmpeg

    FFMPEG 使用显卡加速转码

    ffmpeg -hwaccels # 查看支持的硬件加速
    ffmpeg -decoders | sls/grep h264
    
    • 1
    • 2

    qsv:intel显卡的快速视频同步技术(quick sync video)
    nvenc:nvidia显卡的硬件视频编码器(nvidia hardware video encoder)
    cuvid:nvdec的旧称,只有解码端。
    cuda: 同上
    amf:amd显卡的amf硬件编码器(amd hardware encoder)

    日志

    PATH="$ZHOME/bin:$PATH" ./configure --prefix="$ZHOME/ffmpeg_build" --bindir="$ZHOME/bin"
    
    mkdir -p /home/test/zyx/bin
    /usr/bin/install -c nasm /home/test/zyx/bin/nasm
    /usr/bin/install -c ndisasm /home/test/zyx/bin/ndisasm
    mkdir -p /home/test/zyx/ffmpeg_build/share/man/man1
    /usr/bin/install -c -m 644 ./nasm.1 /home/test/zyx/ffmpeg_build/share/man/man1/nasm.1
    /usr/bin/install -c -m 644 ./ndisasm.1 /home/test/zyx/ffmpeg_build/share/man/man1/ndisasm.1
    
    
    ./configure --prefix="$ZHOME/ffmpeg_build" --bindir="$ZHOME/bin"
    
    
    
    
    
    PATH="$ZHOME/bin:$PATH" PKG_CONFIG_PATH="$ZHOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$ZHOME/ffmpeg_build" --bindir="$ZHOME/bin" --enable-static --enable-pic
    PATH="$ZHOME/bin:$PATH"
    
    install -d /home/test/zyx/bin
    install x264 /home/test/zyx/bin
    install -d /home/test/zyx/ffmpeg_build/include
    install -d /home/test/zyx/ffmpeg_build/lib/pkgconfig
    install -m 644 ./x264.h x264_config.h /home/test/zyx/ffmpeg_build/include
    install -m 644 x264.pc /home/test/zyx/ffmpeg_build/lib/pkgconfig
    install -d /home/test/zyx/ffmpeg_build/lib
    install -m 644 libx264.a /home/test/zyx/ffmpeg_build/lib
    gcc-ranlib /home/test/zyx/ffmpeg_build/lib/libx264.a
    
    
    PATH="$ZHOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$ZHOME/ffmpeg_build" -DENABLE_SHARED=off ../../source
    Install the project...
    -- Install configuration: "Release"
    -- Installing: /home/test/zyx/ffmpeg_build/lib/libx265.a
    -- Installing: /home/test/zyx/ffmpeg_build/include/x265.h
    -- Installing: /home/test/zyx/ffmpeg_build/include/x265_config.h
    -- Installing: /home/test/zyx/ffmpeg_build/lib/pkgconfig/x265.pc
    -- Installing: /home/test/zyx/ffmpeg_build/bin/x265
    
    
    PATH="$ZHOME/bin:$PATH" ./configure --prefix="$ZHOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=yasm --enable-pic
    
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vp8.h
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vp8cx.h
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vpx_ext_ratectrl.h
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vp8dx.h
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vpx_codec.h
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vpx_frame_buffer.h
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vpx_image.h
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vpx_integer.h
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vpx_decoder.h
        [INSTALL] /home/test/zyx/ffmpeg_build/include/vpx/vpx_encoder.h
        [INSTALL] /home/test/zyx/ffmpeg_build/lib/libvpx.a
        [INSTALL] /home/test/zyx/ffmpeg_build/lib/pkgconfig/vpx.pc
    
    
    ./configure CFLAGS=-fPIC --prefix="$ZHOME/ffmpeg_build"  
    
    PATH="$ZHOME/bin:$PATH" ./configure --prefix="$ZHOME/ffmpeg_build" --bindir="$ZHOME/bin"  --enable-nasm --with-pic
    
    
    ./configure --prefix="$ZHOME/ffmpeg_build"  -with-pic
    
    wget -O ffmpeg-4.4.1.tar.bz2 https://ffmpeg.org/releases/ffmpeg-4.4.1.tar.bz2
    tar xjvf ffmpeg-4.4.1.tar.bz2
    
    PATH="$ZHOME/bin:$PATH" PKG_CONFIG_PATH="$ZHOME/ffmpeg_build/lib/pkgconfig" CFLAGS="-O3 -fPIC"
    
    ./configure --prefix="$ZHOME/ffmpeg_build"  -with-pic
    
    ./configure \
      --prefix="$ZHOME/ffmpeg_build" \
      --pkg-config-flags="--static" \
      --extra-cflags="-I$ZHOME/ffmpeg_build/include -I/usr/local/cuda/include" \
      --extra-ldflags="-L$ZHOME/ffmpeg_build/lib -L/usr/local/cuda/lib64" \
      --extra-libs="-lpthread -lm" \
      --bindir="$ZHOME/bin" \
      --enable-gpl \
      --enable-libass \
      --enable-libfdk-aac \
      --enable-libfreetype \
      --enable-libmp3lame \
      --enable-libopus \
      --enable-libvorbis \
      --enable-libvpx \
      --enable-libx264 \
      --enable-libx265 \
      --enable-pic \
      --enable-shared   \
      --enable-nonfree \
      --enable-cuda \
      --enable-cuvid \
      --enable-nvenc \
      --enable-libnpp \
    					\
    
    
    ./configure   --prefix="$ZHOME/ffmpeg_build"   --pkg-config-flags="--static"   --extra-cflags="-I$ZHOME/ffmpeg_build/include -I/usr/local/cuda/include"   --extra-ldflags="-L$ZHOME/ffmpeg_build/lib -L/usr/local/cuda/lib64"   --extra-libs="-lpthread -lm"   --bindir="$ZHOME/bin"   --enable-gpl   --enable-libass   --enable-libfdk-aac   --enable-libfreetype   --enable-libmp3lame   --enable-libopus   --enable-libvorbis   --enable-libvpx   --enable-libx264   --enable-libx265   --enable-pic   --enable-shared     --enable-nonfree   --enable-cuda   --enable-cuvid   --enable-nvenc   --enable-libnpp
    install prefix            /home/test/zyx/ffmpeg_build
    source path               .
    C compiler                gcc
    C library                 glibc
    ARCH                      x86 (generic)
    big-endian                no
    runtime cpu detection     yes
    standalone assembly       yes
    x86 assembler             nasm
    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
    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                    yes
    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
    
    External libraries:
    alsa                    libass                  libmp3lame              libvpx                  libxcb                  libxcb_xfixes           sndio
    bzlib                   libfdk_aac              libopus                 libx264                 libxcb_shape            lzma                    xlib
    iconv                   libfreetype             libvorbis               libx265                 libxcb_shm              sdl2                    zlib
    
    External libraries providing hardware acceleration:
    cuda                    ffnvcodec               nvdec                   v4l2_m2m                vdpau
    cuvid                   libnpp                  nvenc                   vaapi
    
    Libraries:
    avcodec                 avdevice                avfilter                avformat                avutil                  postproc                swresample              swscale
    
    Programs:
    ffmpeg                  ffplay                  ffprobe
    
    Enabled decoders:
    aac                     amrnb                   dnxhd                   hap                     mp3adu                  pcm_s24daud             scpr                    vc1image
    aac_fixed               amrwb                   dolby_e                 hca                     mp3adufloat             pcm_s24le               screenpresso            vcr1
    aac_latm                amv                     dpx                     hcom                    mp3float                pcm_s24le_planar        sdx2_dpcm               vmdaudio
    aasc                    anm                     dsd_lsbf                hevc                    mp3on4                  pcm_s32be               sga                     vmdvideo
    ac3                     ansi                    dsd_lsbf_planar         hevc_cuvid              mp3on4float             pcm_s32le               sgi                     vmnc
    ac3_fixed               ape                     dsd_msbf                hevc_v4l2m2m            mpc7                    pcm_s32le_planar        sgirle                  vorbis
    acelp_kelvin            apng                    dsd_msbf_planar         hnm4_video              mpc8                    pcm_s64be               sheervideo              vp3
    adpcm_4xm               aptx                    dsicinaudio             hq_hqa                  mpeg1_cuvid             pcm_s64le               shorten                 vp4
    adpcm_adx               aptx_hd                 dsicinvideo             hqx                     mpeg1_v4l2m2m           pcm_s8                  simbiosis_imx           vp5
    adpcm_afc               arbc                    dss_sp                  huffyuv                 mpeg1video              pcm_s8_planar           sipr                    vp6
    adpcm_agm               argo                    dst                     hymt                    mpeg2_cuvid             pcm_sga                 siren                   vp6a
    adpcm_aica              ass                     dvaudio                 iac                     mpeg2_v4l2m2m           pcm_u16be               smackaud                vp6f
    adpcm_argo              asv1                    dvbsub                  idcin                   mpeg2video              pcm_u16le               smacker                 vp7
    adpcm_ct                asv2                    dvdsub                  idf                     mpeg4                   pcm_u24be               smc                     vp8
    adpcm_dtk               atrac1                  dvvideo                 iff_ilbm                mpeg4_cuvid             pcm_u24le               smvjpeg                 vp8_cuvid
    adpcm_ea                atrac3                  dxa                     ilbc                    mpeg4_v4l2m2m           pcm_u32be               snow                    vp8_v4l2m2m
    adpcm_ea_maxis_xa       atrac3al                dxtory                  imc                     mpegvideo               pcm_u32le               sol_dpcm                vp9
    adpcm_ea_r1             atrac3p                 dxv                     imm4                    mpl2                    pcm_u8                  sonic                   vp9_cuvid
    adpcm_ea_r2             atrac3pal               eac3                    imm5                    msa1                    pcm_vidc                sp5x                    vp9_v4l2m2m
    adpcm_ea_r3             atrac9                  eacmv                   indeo2                  mscc                    pcx                     speedhq                 vplayer
    adpcm_ea_xas            aura                    eamad                   indeo3                  msmpeg4v1               pfm                     srgc                    vqa
    adpcm_g722              aura2                   eatgq                   indeo4                  msmpeg4v2               pgm                     srt                     wavpack
    adpcm_g726              av1                     eatgv                   indeo5                  msmpeg4v3               pgmyuv                  ssa                     wcmv
    adpcm_g726le            av1_cuvid               eatqi                   interplay_acm           msp2                    pgssub                  stl                     webp
    adpcm_ima_alp           avrn                    eightbps                interplay_dpcm          msrle                   pgx                     subrip                  webvtt
    adpcm_ima_amv           avrp                    eightsvx_exp            interplay_video         mss1                    photocd                 subviewer               wmalossless
    adpcm_ima_apc           avs                     eightsvx_fib            ipu                     mss2                    pictor                  subviewer1              wmapro
    adpcm_ima_apm           avui                    escape124               jacosub                 msvideo1                pixlet                  sunrast                 wmav1
    adpcm_ima_cunning       ayuv                    escape130               jpeg2000                mszh                    pjs                     svq1                    wmav2
    adpcm_ima_dat4          bethsoftvid             evrc                    jpegls                  mts2                    png                     svq3                    wmavoice
    adpcm_ima_dk3           bfi                     exr                     jv                      mv30                    ppm                     tak                     wmv1
    adpcm_ima_dk4           bink                    fastaudio               kgv1                    mvc1                    prores                  targa                   wmv2
    adpcm_ima_ea_eacs       binkaudio_dct           ffv1                    kmvc                    mvc2                    prosumer                targa_y216              wmv3
    adpcm_ima_ea_sead       binkaudio_rdft          ffvhuff                 lagarith                mvdv                    psd                     tdsc                    wmv3image
    adpcm_ima_iss           bintext                 ffwavesynth             libfdk_aac              mvha                    ptx                     text                    wnv1
    adpcm_ima_moflex        bitpacked               fic                     libopus                 mwsc                    qcelp                   theora                  wrapped_avframe
    adpcm_ima_mtf           bmp                     fits                    libvorbis               mxpeg                   qdm2                    thp                     ws_snd1
    adpcm_ima_oki           bmv_audio               flac                    libvpx_vp8              nellymoser              qdmc                    tiertexseqvideo         xan_dpcm
    adpcm_ima_qt            bmv_video               flashsv                 libvpx_vp9              notchlc                 qdraw                   tiff                    xan_wc3
    adpcm_ima_rad           brender_pix             flashsv2                loco                    nuv                     qpeg                    tmv                     xan_wc4
    adpcm_ima_smjpeg        c93                     flic                    lscr                    on2avc                  qtrle                   truehd                  xbin
    adpcm_ima_ssi           cavs                    flv                     m101                    opus                    r10k                    truemotion1             xbm
    adpcm_ima_wav           ccaption                fmvc                    mace3                   paf_audio               r210                    truemotion2             xface
    adpcm_ima_ws            cdgraphics              fourxm                  mace6                   paf_video               ra_144                  truemotion2rt           xl
    adpcm_ms                cdtoons                 fraps                   magicyuv                pam                     ra_288                  truespeech              xma1
    adpcm_mtaf              cdxl                    frwu                    mdec                    pbm                     ralf                    tscc                    xma2
    adpcm_psx               cfhd                    g2m                     metasound               pcm_alaw                rasc                    tscc2                   xpm
    adpcm_sbpro_2           cinepak                 g723_1                  microdvd                pcm_bluray              rawvideo                tta                     xsub
    adpcm_sbpro_3           clearvideo              g729                    mimic                   pcm_dvd                 realtext                twinvq                  xwd
    adpcm_sbpro_4           cljr                    gdv                     mjpeg                   pcm_f16le               rl2                     txd                     y41p
    adpcm_swf               cllc                    gif                     mjpeg_cuvid             pcm_f24le               roq                     ulti                    ylc
    adpcm_thp               comfortnoise            gremlin_dpcm            mjpegb                  pcm_f32be               roq_dpcm                utvideo                 yop
    adpcm_thp_le            cook                    gsm                     mlp                     pcm_f32le               rpza                    v210                    yuv4
    adpcm_vima              cpia                    gsm_ms                  mmvideo                 pcm_f64be               rscc                    v210x                   zero12v
    adpcm_xa                cri                     h261                    mobiclip                pcm_f64le               rv10                    v308                    zerocodec
    adpcm_yamaha            cscd                    h263                    motionpixels            pcm_lxf                 rv20                    v408                    zlib
    adpcm_zork              cyuv                    h263_v4l2m2m            movtext                 pcm_mulaw               rv30                    v410                    zmbv
    agm                     dca                     h263i                   mp1                     pcm_s16be               rv40                    vb
    aic                     dds                     h263p                   mp1float                pcm_s16be_planar        s302m                   vble
    alac                    derf_dpcm               h264                    mp2                     pcm_s16le               sami                    vc1
    alias_pix               dfa                     h264_cuvid              mp2float                pcm_s16le_planar        sanm                    vc1_cuvid
    als                     dirac                   h264_v4l2m2m            mp3                     pcm_s24be               sbc                     vc1_v4l2m2m
    
    Enabled encoders:
    a64multi                aptx_hd                 flashsv                 libx264                 pam                     pcm_u16be               rpza                    v408
    a64multi5               ass                     flashsv2                libx264rgb              pbm                     pcm_u16le               rv10                    v410
    aac                     asv1                    flv                     libx265                 pcm_alaw                pcm_u24be               rv20                    vc2
    ac3                     asv2                    g723_1                  ljpeg                   pcm_dvd                 pcm_u24le               s302m                   vorbis
    ac3_fixed               avrp                    gif                     magicyuv                pcm_f32be               pcm_u32be               sbc                     vp8_v4l2m2m
    adpcm_adx               avui                    h261                    mjpeg                   pcm_f32le               pcm_u32le               sgi                     vp8_vaapi
    adpcm_argo              ayuv                    h263                    mjpeg_vaapi             pcm_f64be               pcm_u8                  snow                    vp9_vaapi
    adpcm_g722              bmp                     h263_v4l2m2m            mlp                     pcm_f64le               pcm_vidc                sonic                   wavpack
    adpcm_g726              cfhd                    h263p                   movtext                 pcm_mulaw               pcx                     sonic_ls                webvtt
    adpcm_g726le            cinepak                 h264_nvenc              mp2                     pcm_s16be               pfm                     speedhq                 wmav1
    adpcm_ima_alp           cljr                    h264_v4l2m2m            mp2fixed                pcm_s16be_planar        pgm                     srt                     wmav2
    adpcm_ima_amv           comfortnoise            h264_vaapi              mpeg1video              pcm_s16le               pgmyuv                  ssa                     wmv1
    adpcm_ima_apm           dca                     hevc_nvenc              mpeg2_vaapi             pcm_s16le_planar        png                     subrip                  wmv2
    adpcm_ima_qt            dnxhd                   hevc_v4l2m2m            mpeg2video              pcm_s24be               ppm                     sunrast                 wrapped_avframe
    adpcm_ima_ssi           dpx                     hevc_vaapi              mpeg4                   pcm_s24daud             prores                  svq1                    xbm
    adpcm_ima_wav           dvbsub                  huffyuv                 mpeg4_v4l2m2m           pcm_s24le               prores_aw               targa                   xface
    adpcm_ms                dvdsub                  jpeg2000                msmpeg4v2               pcm_s24le_planar        prores_ks               text                    xsub
    adpcm_swf               dvvideo                 jpegls                  msmpeg4v3               pcm_s32be               qtrle                   tiff                    xwd
    adpcm_yamaha            eac3                    libfdk_aac              msvideo1                pcm_s32le               r10k                    truehd                  y41p
    alac                    exr                     libmp3lame              nellymoser              pcm_s32le_planar        r210                    tta                     yuv4
    alias_pix               ffv1                    libopus                 nvenc                   pcm_s64be               ra_144                  ttml                    zlib
    amv                     ffvhuff                 libvorbis               nvenc_h264              pcm_s64le               rawvideo                utvideo                 zmbv
    apng                    fits                    libvpx_vp8              nvenc_hevc              pcm_s8                  roq                     v210
    aptx                    flac                    libvpx_vp9              opus                    pcm_s8_planar           roq_dpcm                v308
    
    Enabled hwaccels:
    av1_nvdec               h264_vaapi              hevc_vdpau              mpeg1_vdpau             mpeg4_nvdec             vc1_vaapi               vp9_nvdec               wmv3_vaapi
    av1_vaapi               h264_vdpau              mjpeg_nvdec             mpeg2_nvdec             mpeg4_vaapi             vc1_vdpau               vp9_vaapi               wmv3_vdpau
    h263_vaapi              hevc_nvdec              mjpeg_vaapi             mpeg2_vaapi             mpeg4_vdpau             vp8_nvdec               vp9_vdpau
    h264_nvdec              hevc_vaapi              mpeg1_nvdec             mpeg2_vdpau             vc1_nvdec               vp8_vaapi               wmv3_nvdec
    
    Enabled parsers:
    aac                     bmp                     dolby_e                 g723_1                  hevc                    mpegvideo               sipr                    webp
    aac_latm                cavsvideo               dpx                     g729                    ipu                     opus                    tak                     xbm
    ac3                     cook                    dvaudio                 gif                     jpeg2000                png                     vc1                     xma
    adx                     cri                     dvbsub                  gsm                     mjpeg                   pnm                     vorbis
    av1                     dca                     dvd_nav                 h261                    mlp                     rv30                    vp3
    avs2                    dirac                   dvdsub                  h263                    mpeg4video              rv40                    vp8
    avs3                    dnxhd                   flac                    h264                    mpegaudio               sbc                     vp9
    
    Enabled demuxers:
    aa                      bfi                     fits                    image_gif_pipe          lvf                     nut                     rsd                     tmv
    aac                     bfstm                   flac                    image_j2k_pipe          lxf                     nuv                     rso                     truehd
    aax                     bink                    flic                    image_jpeg_pipe         m4v                     obu                     rtp                     tta
    ac3                     binka                   flv                     image_jpegls_pipe       matroska                ogg                     rtsp                    tty
    ace                     bintext                 fourxm                  image_pam_pipe          mca                     oma                     s337m                   txd
    acm                     bit                     frm                     image_pbm_pipe          mcc                     paf                     sami                    ty
    act                     bmv                     fsb                     image_pcx_pipe          mgsts                   pcm_alaw                sap                     v210
    adf                     boa                     fwse                    image_pgm_pipe          microdvd                pcm_f32be               sbc                     v210x
    adp                     brstm                   g722                    image_pgmyuv_pipe       mjpeg                   pcm_f32le               sbg                     vag
    ads                     c93                     g723_1                  image_pgx_pipe          mjpeg_2000              pcm_f64be               scc                     vc1
    adx                     caf                     g726                    image_photocd_pipe      mlp                     pcm_f64le               sdp                     vc1t
    aea                     cavsvideo               g726le                  image_pictor_pipe       mlv                     pcm_mulaw               sdr2                    vividas
    afc                     cdg                     g729                    image_png_pipe          mm                      pcm_s16be               sds                     vivo
    aiff                    cdxl                    gdv                     image_ppm_pipe          mmf                     pcm_s16le               sdx                     vmd
    aix                     cine                    genh                    image_psd_pipe          mods                    pcm_s24be               segafilm                vobsub
    alp                     codec2                  gif                     image_qdraw_pipe        moflex                  pcm_s24le               ser                     voc
    amr                     codec2raw               gsm                     image_sgi_pipe          mov                     pcm_s32be               sga                     vpk
    amrnb                   concat                  gxf                     image_sunrast_pipe      mp3                     pcm_s32le               shorten                 vplayer
    amrwb                   data                    h261                    image_svg_pipe          mpc                     pcm_s8                  siff                    vqf
    anm                     daud                    h263                    image_tiff_pipe         mpc8                    pcm_u16be               simbiosis_imx           w64
    apc                     dcstr                   h264                    image_webp_pipe         mpegps                  pcm_u16le               sln                     wav
    ape                     derf                    hca                     image_xbm_pipe          mpegts                  pcm_u24be               smacker                 wc3
    apm                     dfa                     hcom                    image_xpm_pipe          mpegtsraw               pcm_u24le               smjpeg                  webm_dash_manifest
    apng                    dhav                    hevc                    image_xwd_pipe          mpegvideo               pcm_u32be               smush                   webvtt
    aptx                    dirac                   hls                     ingenient               mpjpeg                  pcm_u32le               sol                     wsaud
    aptx_hd                 dnxhd                   hnm                     ipmovie                 mpl2                    pcm_u8                  sox                     wsd
    aqtitle                 dsf                     ico                     ipu                     mpsub                   pcm_vidc                spdif                   wsvqa
    argo_asf                dsicin                  idcin                   ircam                   msf                     pjs                     srt                     wtv
    argo_brp                dss                     idf                     iss                     msnwc_tcp               pmp                     stl                     wv
    asf                     dts                     iff                     iv8                     msp                     pp_bnk                  str                     wve
    asf_o                   dtshd                   ifv                     ivf                     mtaf                    pva                     subviewer               xa
    ass                     dv                      ilbc                    ivr                     mtv                     pvf                     subviewer1              xbin
    ast                     dvbsub                  image2                  jacosub                 musx                    qcp                     sup                     xmv
    au                      dvbtxt                  image2_alias_pix        jv                      mv                      r3d                     svag                    xvag
    av1                     dxa                     image2_brender_pix      kux                     mvi                     rawvideo                svs                     xwma
    avi                     ea                      image2pipe              kvag                    mxf                     realtext                swf                     yop
    avr                     ea_cdata                image_bmp_pipe          live_flv                mxg                     redspark                tak                     yuv4mpegpipe
    avs                     eac3                    image_cri_pipe          lmlm4                   nc                      rl2                     tedcaptions
    avs2                    epaf                    image_dds_pipe          loas                    nistsphere              rm                      thp
    avs3                    ffmetadata              image_dpx_pipe          lrc                     nsp                     roq                     threedostr
    bethsoftvid             filmstrip               image_exr_pipe          luodat                  nsv                     rpl                     tiertexseq
    
    Enabled muxers:
    a64                     caf                     framehash               ismv                    mpeg2dvd                pcm_s16be               rtsp                    ttml
    ac3                     cavsvideo               framemd5                ivf                     mpeg2svcd               pcm_s16le               sap                     uncodedframecrc
    adts                    codec2                  g722                    jacosub                 mpeg2video              pcm_s24be               sbc                     vc1
    adx                     codec2raw               g723_1                  kvag                    mpeg2vob                pcm_s24le               scc                     vc1t
    aiff                    crc                     g726                    latm                    mpegts                  pcm_s32be               segafilm                voc
    alp                     dash                    g726le                  lrc                     mpjpeg                  pcm_s32le               segment                 w64
    amr                     data                    gif                     m4v                     mxf                     pcm_s8                  singlejpeg              wav
    amv                     daud                    gsm                     matroska                mxf_d10                 pcm_u16be               smjpeg                  webm
    apm                     dirac                   gxf                     matroska_audio          mxf_opatom              pcm_u16le               smoothstreaming         webm_chunk
    apng                    dnxhd                   h261                    md5                     null                    pcm_u24be               sox                     webm_dash_manifest
    aptx                    dts                     h263                    microdvd                nut                     pcm_u24le               spdif                   webp
    aptx_hd                 dv                      h264                    mjpeg                   oga                     pcm_u32be               spx                     webvtt
    argo_asf                eac3                    hash                    mkvtimestamp_v2         ogg                     pcm_u32le               srt                     wtv
    asf                     f4v                     hds                     mlp                     ogv                     pcm_u8                  stream_segment          wv
    asf_stream              ffmetadata              hevc                    mmf                     oma                     pcm_vidc                streamhash              yuv4mpegpipe
    ass                     fifo                    hls                     mov                     opus                    psp                     sup
    ast                     fifo_test               ico                     mp2                     pcm_alaw                rawvideo                swf
    au                      filmstrip               ilbc                    mp3                     pcm_f32be               rm                      tee
    avi                     fits                    image2                  mp4                     pcm_f32le               roq                     tg2
    avm2                    flac                    image2pipe              mpeg1system             pcm_f64be               rso                     tgp
    avs2                    flv                     ipod                    mpeg1vcd                pcm_f64le               rtp                     truehd
    bit                     framecrc                ircam                   mpeg1video              pcm_mulaw               rtp_mpegts              tta
    
    Enabled protocols:
    async                   data                    gopher                  icecast                 pipe                    rtp                     tcp                     unix
    cache                   ffrtmphttp              hls                     md5                     prompeg                 sctp                    tee
    concat                  file                    http                    mmsh                    rtmp                    srtp                    udp
    crypto                  ftp                     httpproxy               mmst                    rtmpt                   subfile                 udplite
    
    Enabled filters:
    abench                  apad                    chromanr                drawgrid                hqdn3d                  nlmeans                 sendcmd                 telecine
    abitscope               aperms                  chromashift             drawtext                hqx                     nnedi                   separatefields          testsrc
    acompressor             aphasemeter             ciescope                drmeter                 hstack                  noformat                setdar                  testsrc2
    acontrast               aphaser                 codecview               dynaudnorm              hue                     noise                   setfield                thistogram
    acopy                   aphaseshift             color                   earwax                  hwdownload              normalize               setparams               threshold
    acrossfade              apulsator               colorbalance            ebur128                 hwmap                   null                    setpts                  thumbnail
    acrossover              arealtime               colorchannelmixer       edgedetect              hwupload                nullsink                setrange                tile
    acrusher                aresample               colorcontrast           elbg                    hwupload_cuda           nullsrc                 setsar                  tinterlace
    acue                    areverse                colorcorrect            entropy                 hysteresis              oscilloscope            settb                   tlut2
    addroi                  arnndn                  colorhold               epx                     identity                overlay                 sharpness_vaapi         tmedian
    adeclick                aselect                 colorize                eq                      idet                    owdenoise               shear                   tmidequalizer
    adeclip                 asendcmd                colorkey                equalizer               il                      pad                     showcqt                 tmix
    adelay                  asetnsamples            colorlevels             erosion                 inflate                 pal100bars              showfreqs               tonemap
    adenorm                 asetpts                 colormatrix             estdif                  interlace               pal75bars               showinfo                tonemap_vaapi
    aderivative             asetrate                colorspace              exposure                interleave              palettegen              showpalette             tpad
    adrawgraph              asettb                  colortemperature        extractplanes           join                    paletteuse              showspatial             transpose
    aecho                   ashowinfo               compand                 extrastereo             kerndeint               pan                     showspectrum            transpose_npp
    aemphasis               asidedata               compensationdelay       fade                    kirsch                  perms                   showspectrumpic         transpose_vaapi
    aeval                   asoftclip               concat                  fftdnoiz                lagfun                  perspective             showvolume              treble
    aevalsrc                asplit                  convolution             fftfilt                 lenscorrection          phase                   showwaves               tremolo
    aexciter                ass                     convolve                field                   life                    photosensitivity        showwavespic            trim
    afade                   astats                  copy                    fieldhint               limiter                 pixdesctest             shuffleframes           unpremultiply
    afftdn                  astreamselect           cover_rect              fieldmatch              loop                    pixscope                shufflepixels           unsharp
    afftfilt                asubboost               crop                    fieldorder              loudnorm                pp                      shuffleplanes           untile
    afifo                   asubcut                 cropdetect              fifo                    lowpass                 pp7                     sidechaincompress       uspp
    afir                    asupercut               crossfeed               fillborders             lowshelf                premultiply             sidechaingate           v360
    afirsrc                 asuperpass              crystalizer             find_rect               lumakey                 prewitt                 sidedata                vaguedenoiser
    aformat                 asuperstop              cue                     firequalizer            lut                     procamp_vaapi           sierpinski              vectorscope
    afreqshift              atadenoise              curves                  flanger                 lut1d                   pseudocolor             signalstats             vflip
    agate                   atempo                  datascope               floodfill               lut2                    psnr                    signature               vfrdet
    agraphmonitor           atrim                   dblur                   format                  lut3d                   pullup                  silencedetect           vibrance
    ahistogram              avectorscope            dcshift                 fps                     lutrgb                  qp                      silenceremove           vibrato
    aiir                    avgblur                 dctdnoiz                framepack               lutyuv                  random                  sinc                    vif
    aintegral               axcorrelate             deband                  framerate               mandelbrot              readeia608              sine                    vignette
    ainterleave             bandpass                deblock                 framestep               maskedclamp             readvitc                smartblur               vmafmotion
    alimiter                bandreject              decimate                freezedetect            maskedmax               realtime                smptebars               volume
    allpass                 bass                    deconvolve              freezeframes            maskedmerge             remap                   smptehdbars             volumedetect
    allrgb                  bbox                    dedot                   fspp                    maskedmin               removegrain             sobel                   vstack
    allyuv                  bench                   deesser                 gblur                   maskedthreshold         removelogo              spectrumsynth           w3fdif
    aloop                   bilateral               deflate                 geq                     maskfun                 repeatfields            speechnorm              waveform
    alphaextract            biquad                  deflicker               gradfun                 mcdeint                 replaygain              split                   weave
    alphamerge              bitplanenoise           deinterlace_vaapi       gradients               mcompand                reverse                 spp                     xbr
    amerge                  blackdetect             dejudder                graphmonitor            median                  rgbashift               sr                      xfade
    ametadata               blackframe              delogo                  greyedge                mergeplanes             rgbtestsrc              ssim                    xmedian
    amix                    blend                   denoise_vaapi           haas                    mestimate               roberts                 stereo3d                xstack
    amovie                  bm3d                    derain                  haldclut                metadata                rotate                  stereotools             yadif
    amplify                 boxblur                 deshake                 haldclutsrc             midequalizer            sab                     stereowiden             yaepblur
    amultiply               bwdif                   despill                 hdcd                    minterpolate            scale                   streamselect            yuvtestsrc
    anequalizer             cas                     detelecine              headphone               mix                     scale2ref               subtitles               zoompan
    anlmdn                  cellauto                dilation                hflip                   monochrome              scale_npp               super2xsai
    anlms                   channelmap              displace                highpass                movie                   scale_vaapi             superequalizer
    anoisesrc               channelsplit            dnn_processing          highshelf               mpdecimate              scdet                   surround
    anull                   chorus                  doubleweave             hilbert                 mptestsrc               scroll                  swaprect
    anullsink               chromahold              drawbox                 histeq                  msad                    select                  swapuv
    anullsrc                chromakey               drawgraph               histogram               negate                  selectivecolor          tblend
    
    Enabled bsfs:
    aac_adtstoasc           dca_core                h264_metadata           hevc_mp4toannexb        mp3_header_decompress   opus_metadata           text2movsub             vp9_superframe
    av1_frame_merge         dump_extradata          h264_mp4toannexb        imx_dump_header         mpeg2_metadata          pcm_rechunk             trace_headers           vp9_superframe_split
    av1_frame_split         eac3_core               h264_redundant_pps      mjpeg2jpeg              mpeg4_unpack_bframes    prores_metadata         truehd_core
    av1_metadata            extract_extradata       hapqa_extract           mjpega_dump_header      noise                   remove_extradata        vp9_metadata
    chomp                   filter_units            hevc_metadata           mov2textsub             null                    setts                   vp9_raw_reorder
    
    Enabled indevs:
    alsa                    fbdev                   lavfi                   oss                     sndio                   v4l2                    xcbgrab
    
    Enabled outdevs:
    alsa                    fbdev                   oss                     sdl2                    sndio                   v4l2                    xv
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220
    • 221
    • 222
    • 223
    • 224
    • 225
    • 226
    • 227
    • 228
    • 229
    • 230
    • 231
    • 232
    • 233
    • 234
    • 235
    • 236
    • 237
    • 238
    • 239
    • 240
    • 241
    • 242
    • 243
    • 244
    • 245
    • 246
    • 247
    • 248
    • 249
    • 250
    • 251
    • 252
    • 253
    • 254
    • 255
    • 256
    • 257
    • 258
    • 259
    • 260
    • 261
    • 262
    • 263
    • 264
    • 265
    • 266
    • 267
    • 268
    • 269
    • 270
    • 271
    • 272
    • 273
    • 274
    • 275
    • 276
    • 277
    • 278
    • 279
    • 280
    • 281
    • 282
    • 283
    • 284
    • 285
    • 286
    • 287
    • 288
    • 289
    • 290
    • 291
    • 292
    • 293
    • 294
    • 295
    • 296
    • 297
    • 298
    • 299
    • 300
    • 301
    • 302
    • 303
    • 304
    • 305
    • 306
    • 307
    • 308
    • 309
    • 310
    • 311
    • 312
    • 313
    • 314
    • 315
    • 316
    • 317
    • 318
    • 319
    • 320
    • 321
    • 322
    • 323
    • 324
    • 325
    • 326
    • 327
    • 328
    • 329
    • 330
    • 331
    • 332
    • 333
    • 334
    • 335
    • 336
    • 337
    • 338
    • 339
    • 340
    • 341
    • 342
    • 343
    • 344
    • 345
    • 346
    • 347
    • 348
    • 349
    • 350
    • 351
    • 352
    • 353
    • 354
    • 355
    • 356
    • 357
    • 358
    • 359
    • 360
    • 361
    • 362
    • 363
    • 364
    • 365
    • 366
    • 367
    • 368
    • 369
    • 370
    • 371
    • 372
    • 373
    • 374
    • 375
    • 376
    • 377
    • 378
    • 379
    • 380
    • 381
    • 382
    • 383
    • 384
    • 385
    • 386
    • 387
    • 388
    • 389
    • 390
    • 391
    • 392
    • 393
    • 394
    • 395
    • 396
    • 397
    • 398
    • 399
    • 400
    • 401
    • 402
    • 403
  • 相关阅读:
    面试被问Redis主从复制不会答?这13张图让你彻底弄明白
    [linux]服务器挂代理提升下载权重速度
    深入理解比特币原理4----比特币网络设计
    Linux命令(91)之mv
    ElasticSearch从入门到精通:基础知识
    Linux中常见的问题
    一文搞懂│什么是跨域?如何解决跨域?
    如何配置docker或者k8s拉取https私人镜像仓库
    vue实现调用手机拍照、录像功能
    『 C++类与对象』继承
  • 原文地址:https://blog.csdn.net/qq_41565920/article/details/126780889