zoukankan      html  css  js  c++  java
  • g++编译X265

    自己参考用:

    msys2 编译X265的命令

    编译用工具安装

    pacman -S git make tar automake autoconf libtool pkg-config mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake nasm yasm

    配置X264

    ./configure --extra-cflags="-march=native" --enable-strip --prefix=/mingw64 --enable-static --bit-depth=10

    配置X265

    cmake -G "MSYS Makefiles" ../../source -DHIGH_BIT_DEPTH=ON -DCMAKE_INSTALL_PREFIX=/usr/local/hogehoge -DSTATIC_LINK_CRT=ON -DENABLE_HDR10_PLUS=ON -DENABLE_SHARED=OFF -DENABLE_TESTS=OFF

    配置libvpx

    ./configure --disable-examples --prefix=/mingw64 --disable-docs --enable-vp9-highbitdepth --enable-better-hw-compatibility --enable-vp8 --enable-vp9 --enable-runtime-cpu-detect --enable-small --enable-libyuv

  • 相关阅读:
    053467
    053466
    053465
    NC201613 Jelly
    NC14608 after与迷宫
    NC14572 走出迷宫
    340. 通信线路
    1135. 新年好
    903. 昂贵的聘礼
    P5767 [NOI1997]最优乘车
  • 原文地址:https://www.cnblogs.com/yzi1/p/8085069.html
Copyright © 2011-2022 走看看