Samples - Docs Updated (#204)

Dieser Commit ist enthalten in:
Kiriti Gowda
2024-01-26 05:19:24 -08:00
committet von GitHub
Ursprung 5d77fbf40a
Commit 2298d93990
7 geänderte Dateien mit 162 neuen und 128 gelöschten Zeilen
+24 -9
Datei anzeigen
@@ -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]