# Video decode performance sample This sample illustrates the FFMPEG demuxer to get the individual frames which are then decoded on AMD hardware using rocDecode library. This sample uses multiple threads to decode the same input video parallelly. ## Prerequisites: * Install [rocDecode](../../README.md#build-and-install-instructions) * [FFMPEG](https://ffmpeg.org/about.html) * On `Ubuntu` ```shell sudo apt install libavcodec-dev libavformat-dev libavutil-dev ``` * On `RHEL`/`SLES` - install ffmpeg development packages manually or use [rocDecode-setup.py](../../rocDecode-setup.py) script ## Build ```shell mkdir video_decode_perf_sample && cd video_decode_perf_sample cmake ../ make -j ``` ## Run ```shell ./videodecodeperf -i -t -f -disp_delay -d = 0) [optional - default:0]> -z -m ```