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
کامیت شده توسط GitHub
والد 2cb3bd143c
کامیت ad54bd5258
3فایلهای تغییر یافته به همراه11 افزوده شده و 10 حذف شده
@@ -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]>
```
@@ -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]>
```
@@ -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]>
```