Samples - Docs Updated (#204)

[ROCm/rocdecode commit: 2298d93990]
This commit is contained in:
Kiriti Gowda
2024-01-26 05:19:24 -08:00
کامیت شده توسط GitHub
والد 919dcafc80
کامیت f517b2ab2d
7فایلهای تغییر یافته به همراه162 افزوده شده و 128 حذف شده
@@ -1,18 +1,31 @@
# rocDecode Test Scripts
## Pre-requisites to run python script
* Python3
* ```python3 -m pip install pandas```
* ```python3 -m pip install tabulate```
* Install [rocDecode](../../README.md#build-and-install-instructions)
## Script to run rocDecode
* [FFMPEG](https://ffmpeg.org/about.html)
```
python3 run_rocDecode_tests.py --help
* On `Ubuntu`
```shell
sudo apt install ffmpeg libavcodec-dev libavformat-dev libavutil-dev
```
* On `RHEL`/`SLES` - install ffmpeg development packages manually or use [rocDecode-setup.py](../../rocDecode-setup.py) script
* Python3 and pip packages - `pandas`, & ` tabulate`
```shell
python3 -m pip install pandas tabulate
```
## Scripts
usage:
**Usage:**
```
* **run_rocDecodeSamples.py**
```shell
usage: run_rocDecodeSamples.py [--rocDecode_directory ROCDECODE_DIRECTORY]
[--gpu_device_id GPU_DEVICE_ID]
[--files_directory FILES_DIRECTORY]
@@ -33,7 +46,9 @@ optional arguments:
The number of threads is only for the videoDecodePerf sample (sample_mode = 1) - optional (default:4)
```
```
* **run_rocDecode_Conformance.py**
```shell
usage: run_rocDecode_Conformance.py [--rocDecode_directory ROCDECODE_DIRECTORY]
[--gpu_device_id GPU_DEVICE_ID]
[--files_directory FILES_DIRECTORY]