8c8601e1fd
* CMakeLists - Set Std updates
* Jenkins - Code coverage
* Jenkins - Fix and cleanup
* Jenkins - Fix
* Jenkins - Fix
* Jenkins - Fix
* Jenkins - Fix
* Use amdclang compiler
* Remove slash in front of quote
* Jenkins - Fix
* Jenkins - Fix location
* Jenkins - Fix perf export
* Jenkins - .so fix
* Jenkins - lcov
* Install fix
* Use repo token for codecov
* Pass in sha to codecov
* Use clang19 for ubu24
* Use default clang
* CMakeLists - Set Std updates
* Jenkins - Code coverage
* Jenkins - Fix and cleanup
* Jenkins - Fix
* Jenkins - Fix
* Jenkins - Fix
* Jenkins - Fix
* Use amdclang compiler
* Remove slash in front of quote
* Jenkins - Fix
* Jenkins - Fix location
* Jenkins - Fix perf export
* Jenkins - .so fix
* Jenkins - lcov
* Install fix
* Use repo token for codecov
* Pass in sha to codecov
* Use clang19 for ubu24
* Use default clang
* Set proxy for codecov uploader
Needed for gfx90a
---------
Co-authored-by: Sam Wu <22262939+samjwu@users.noreply.github.com>
[ROCm/rocdecode commit: 5eab03d198]
Video decode batch sample
This sample decodes multiple files using multiple threads, using the rocDecode library. The input is a directory of files and an input number of threads. The maximum number of threads is capped to 64. If the number of files is higher than the number of threads requested by the user, the files are distributed to the threads in a round robin fashion. If the number of files is lesser than the number of threads requested by the user, the number of threads created will be equal to the number of files.
Prerequisites:
-
Install rocDecode
-
- On
Ubuntu
sudo apt install libavcodec-dev libavformat-dev libavutil-dev- On
RHEL/SLES- install ffmpeg development packages manually or use rocDecode-setup.py script
- On
Build
mkdir video_decode_batch && cd video_decode_batch
cmake ../
make -j
Run
./videodecodebatch -i <directory containing input video files [required]>
-t <number of threads [optional - default:4]>
-d <Device ID (>= 0) [optional - default:0]>