Files
rocm-systems/projects/rocdecode/samples/videoDecode
Kiriti Gowda 34f1cc3b8f Dynamic Link Libraries - updates (#23)
* DRM - deps updates

* Link Libraries - Updates & cleanup

* LibDRM - Find in SLES fix

* Make Test - Fix Failures

[ROCm/rocdecode commit: 2af10a5d80]
2023-10-25 18:56:36 -04:00
..
2023-10-23 12:16:45 -04:00

Video Decode Sample

This sample illustrates the FFMPEG demuxer to get the individual frames which are then decoded on AMD hardware using VAAPI. This sample supports both YUV420 8-bit and 10-bit streams.

Build and run the sample:

mkdir build
cd build
cmake ..
make -j
./videodecode -i <input video file - required> -o <optional; output path to save decoded YUV frames> -d <GPU device ID, 0 for the first device, 1 for the second device, etc>