From 994d8e73d3f1f312bb84753ba4a1fa3dc3100361 Mon Sep 17 00:00:00 2001 From: "Ketrenos, James P" Date: Fri, 11 Oct 2019 19:36:01 -0700 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8e01da5..2c5654e 100644 --- a/README.md +++ b/README.md @@ -100,11 +100,12 @@ docker run \ shell ``` - -## Decode +### Decode AVC (H.264) video decode and save as YUV 420P raw file: +**NOTE**: Run the following in the container launched previously. + ```bash IN_FILE=AUD_WM_E.264 OUT_FILE=AUD_MW.yuv @@ -118,10 +119,12 @@ OUT_FILE=AUD_MW.yuv /media/"${OUT_FILE}" ``` -## Encode +### Encode Encode a 10 frames of 720p raw input as H264 with 5Mbps using VBR mode: +**NOTE**: Run the following in the container launched previously. + ```bash IN_FILE=AUD_MW.yuv OUT_FILE=AUD_MW_E.h264 @@ -142,9 +145,11 @@ OUT_FILE=AUD_MW_E.h264 /media/"${OUT_FILE}" ``` -## Transcode +### Transcode -### AVC (H.264) => HEVC (H.265) with 5Mbps using VBR +#### AVC (H.264) => HEVC (H.265) with 5Mbps using VBR + +**NOTE**: Run the following in the container launched previously. ```bash IN_FILE=AUD_MW_E.264 @@ -161,7 +166,9 @@ OUT_FILE=AUD_MW_E.hevc /media/"${OUT_FILE}" ``` -### 1:N transcoding +#### 1:N transcoding + +**NOTE**: Run the following in the container launched previously. ```bash IN_FILE=AUD_MW_E.264 @@ -178,9 +185,6 @@ OUT_FILE=AUD_1N_ -map [o2] -c:v h264_qsv -b:v 4M /media/"${OUT_FILE}-4M60FPS.h264" ``` -After joining the template/* pieces together, the file -**Dockerfile.solution** is then added to the Dockerfile with -environment substitution. # Appendix A: Multicard