README - updates for samples (#98)

* update readme for samples

* readme clean up

* readme clean up
This commit is contained in:
Lakshmi Kumar
2023-11-29 08:21:22 -08:00
committed by GitHub
parent 2cb3bd143c
commit ad54bd5258
3 changed files with 11 additions and 10 deletions
+4 -3
View File
@@ -1,7 +1,5 @@
# 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.
This sample illustrates the FFMPEG demuxer to get the individual frames which are then decoded on AMD hardware using rocDecode library.
## Prerequisites:
@@ -33,4 +31,7 @@ make -j
./videodecode -i <input video file [required]>
-o <output path to save decoded YUV frames [optional]>
-d <GPU device ID - 0:device 0 / 1:device 1/ ... [optional - default:0]>
-z <force_zero_latency - Decoded frames will be flushed out for display immediately [optional]>
-sei <extract SEI messages [optional]>
-crop <crop rectangle for output (not used when using interopped decoded frame) [optional - default: 0,0,0,0]>
```
+4 -4
View File
@@ -1,7 +1,5 @@
# 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.
This sample illustrates the FFMPEG demuxer to get the individual frames which are then decoded on AMD hardware using rocDecode library.
This sample uses fork() to create multiple processes to decode the same input video parallely.
@@ -33,5 +31,7 @@ make -j
# Run
```
./videodecodefork -i <input video file [required]>
-t <Number of forks ( >= 1) [optional; default:4]>
-f <Number of forks ( >= 1) [optional; default:4]>
-d <Device ID (>= 0) [optional - default:0]>
-z <force_zero_latency - Decoded frames will be flushed out for display immediately [optional]>
```
+3 -3
View File
@@ -1,7 +1,5 @@
# 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.
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 parallely.
@@ -34,4 +32,6 @@ make -j
```
./videodecodeperf -i <input video file [required]>
-t <number of threads [optional - default:4]>
-d <Device ID (>= 0) [optional - default:0]>
-z <force_zero_latency - Decoded frames will be flushed out for display immediately [optional]>
```