Update README.md
This commit is contained in:
parent
22abb94079
commit
994d8e73d3
22
README.md
22
README.md
@ -100,11 +100,12 @@ docker run \
|
|||||||
shell
|
shell
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Decode
|
||||||
## Decode
|
|
||||||
|
|
||||||
AVC (H.264) video decode and save as YUV 420P raw file:
|
AVC (H.264) video decode and save as YUV 420P raw file:
|
||||||
|
|
||||||
|
**NOTE**: Run the following in the container launched previously.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
IN_FILE=AUD_WM_E.264
|
IN_FILE=AUD_WM_E.264
|
||||||
OUT_FILE=AUD_MW.yuv
|
OUT_FILE=AUD_MW.yuv
|
||||||
@ -118,10 +119,12 @@ OUT_FILE=AUD_MW.yuv
|
|||||||
/media/"${OUT_FILE}"
|
/media/"${OUT_FILE}"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Encode
|
### Encode
|
||||||
|
|
||||||
Encode a 10 frames of 720p raw input as H264 with 5Mbps using VBR mode:
|
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
|
```bash
|
||||||
IN_FILE=AUD_MW.yuv
|
IN_FILE=AUD_MW.yuv
|
||||||
OUT_FILE=AUD_MW_E.h264
|
OUT_FILE=AUD_MW_E.h264
|
||||||
@ -142,9 +145,11 @@ OUT_FILE=AUD_MW_E.h264
|
|||||||
/media/"${OUT_FILE}"
|
/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
|
```bash
|
||||||
IN_FILE=AUD_MW_E.264
|
IN_FILE=AUD_MW_E.264
|
||||||
@ -161,7 +166,9 @@ OUT_FILE=AUD_MW_E.hevc
|
|||||||
/media/"${OUT_FILE}"
|
/media/"${OUT_FILE}"
|
||||||
```
|
```
|
||||||
|
|
||||||
### 1:N transcoding
|
#### 1:N transcoding
|
||||||
|
|
||||||
|
**NOTE**: Run the following in the container launched previously.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
IN_FILE=AUD_MW_E.264
|
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"
|
-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
|
# Appendix A: Multicard
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user