3598f4d96e
* * rocDecode/HEVC: Added script to run static conformance test. - The script runs videodecode app in MD5 check mode on the conformance streams. - The MD5 check results are stored in rocDecode_conformance.log and printed out. * * rocDecode: Fixed formatting in README.md. * * rocDecode/Conformance test: Added the missing exit when number of streams does not match number of reference MD5 digests. * * rocDecode/Conformance test: Do case insensitive sorting. * * rocDecode/Conformance test: Fixed a typo in the script. * * rocDecode/Conformance test: Added info on the number of streams that fail to complete decode. * * rocDecode/Conformance test: Added the missing message of the aborted streams to stdout.
2.2 KiB
2.2 KiB
Pre-requisites to run python script
- Python3
python3 -m pip install pandaspython3 -m pip install tabulate
Script to run rocDecode
python3 run_rocDecode_tests.py --help
usage:
usage: run_rocDecodeSamples.py [--rocDecode_directory ROCDECODE_DIRECTORY]
[--gpu_device_id GPU_DEVICE_ID]
[--files_directory FILES_DIRECTORY]
[--sample_mode SAMPLE_MODE]
[--num_threads NUM_THREADS]
optional arguments:
-h, --help show this help message and exit
--rocDecode_directory ROCDECODE_DIRECTORY
The rocDecode Directory - required
--gpu_device_id GPU_DEVICE_ID
The GPU device ID that will be used to run the test on it - optional (default:0 [range:0 - N-1] N = total number of available GPUs on a machine)
--files_directory FILES_DIRECTORY
The path to a dirctory containing one or more supported files for decoding (e.g., mp4, mov, etc.) - required
--sample_mode SAMPLE_MODE
The sample to run - optional (default:0 [range:0-1] 0: videoDecode, 1: videoDecodePerf)
--num_threads NUM_THREADS
The number of threads is only for the videoDecodePerf sample (sample_mode = 1) - optional (default:4)
usage: run_rocDecode_Conformance.py [--rocDecode_directory ROCDECODE_DIRECTORY]
[--gpu_device_id GPU_DEVICE_ID]
[--files_directory FILES_DIRECTORY]
optional arguments:
-h, --help show this help message and exit
--rocDecode_directory ROCDECODE_DIRECTORY
The rocDecode Directory - required
--gpu_device_id GPU_DEVICE_ID
The GPU device ID that will be used to run the test on it - optional (default:0 [range:0 - N-1] N = total number of available GPUs on a machine)
--files_directory FILES_DIRECTORY
The path to a dirctory containing one or more supported files for decoding (e.g., mp4, mov, etc.) and their corresponding reference MD5 digests - required