rocDecode samples#
2026-08-28
1 min read time
Applies to Linux
rocDecode samples are available in the rocDecode GitHub repository.
The ROCM_PATH environment variable must point to the location of your ROCm installation to use the samples.
FFmpeg development libraries must be installed to build and run samples that use FFmpeg for either demultiplexing or decoding:
sudo apt install libavcodec-dev libavformat-dev libavutil-dev
You can find a walkthrough of the videodecode.cpp sample at Understanding the videodecode.cpp sample.