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
|
# Intel® Video Processing Library (Intel® VPL) Tools
Intel® Video Processing Library (Intel® VPL) tools provide access to hardware
accelerated video decode, encode, and processing capabilities on Intel® GPUs
from the command line.
The tools require the [Intel® VPL base library](https://github.com/intel/libvpl)
and a runtime library installed. Current runtime implementations:
- [Intel® VPL GPU Runtime](https://github.com/intel/vpl-gpu-rt) for use on
Intel® Iris® Xe graphics and newer
- [Intel® Media SDK](https://github.com/Intel-Media-SDK/MediaSDK) for use on legacy
Intel graphics
Follow the instructions on the respective repos to install the desired
implementation.
## Build from Source
Building the tools requires an installation of Intel® VPL development package.
### Build and install the Intel® VPL development package
Linux:
```
git clone https://github.com/intel/libvpl
pushd libvpl
export VPL_INSTALL_DIR=`pwd`/../_vplinstall
sudo script/bootstrap
cmake -B _build -DCMAKE_INSTALL_PREFIX=$VPL_INSTALL_DIR
cmake --build _build
cmake --install _build
popd
```
Windows cmd prompt:
```
git clone https://github.com/intel/libvpl
pushd libvpl
set VPL_INSTALL_DIR=%cd%\..\_vplinstall
script\bootstrap.bat
cmake -B _build -DCMAKE_INSTALL_PREFIX=%VPL_INSTALL_DIR%
cmake --build _build --config Release
cmake --install _build --config Release
popd
```
> **Note:** bootstrap.bat requires [WinGet](https://github.com/microsoft/winget-cli)
### Build and install the Intel® VPL tools
Linux:
```
git clone https://github.com/intel/libvpl-tools
pushd libvpl-tools
export VPL_INSTALL_DIR=`pwd`/../_vplinstall
sudo script/bootstrap
cmake -B _build -DCMAKE_PREFIX_PATH=$VPL_INSTALL_DIR
cmake --build _build
cmake --install _build --prefix $VPL_INSTALL_DIR
```
Windows cmd prompt:
```
git clone https://github.com/intel/libvpl-tools
pushd libvpl-tools
set VPL_INSTALL_DIR=%cd%\..\_vplinstall
script\bootstrap.bat
cmake -B _build -DCMAKE_PREFIX_PATH=%VPL_INSTALL_DIR%
cmake --build _build --config Release
cmake --install _build --config Release --prefix %VPL_INSTALL_DIR%
```
> **Note:** bootstrap.bat requires [WinGet](https://github.com/microsoft/winget-cli)
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file
for details.
## Security
See the [Intel® Security
Center](https://www.intel.com/content/www/us/en/security-center/default.html)
for information on how to report a potential security issue or vulnerability.
## How to Contribute
See [CONTRIBUTING.md](CONTRIBUTING.md) for more information.
## Backward Compatibility
No code changes may be introduced that would regress support for any currently supported hardware.
All contributions must ensure continued compatibility and functionality across all supported hardware platforms.
Failure to maintain hardware compatibility may result in the rejection or reversion of the contribution.
Any deliberate modifications or removal of hardware support will be transparently communicated in the release notes.
API options are solely considered as a stable interface.
Any debug parameters, environmental variables, and internal data structures, are not considered as an interface and may be changed or removed at any time.
|