Added example to transcode Tears of Steel
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
parent
6ee00429ed
commit
df40ff5f5f
22
README.md
22
README.md
@ -109,6 +109,27 @@ AUD_1N-5M.h264
|
|||||||
AUD_1N-4M60FPS.h264
|
AUD_1N-4M60FPS.h264
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Want a longer transcode test?
|
||||||
|
|
||||||
|
The following snippet will download the Blender video 'TearsOfSteel'
|
||||||
|
which is available as H.264 AVC, and then use a pre-built ffmpeg
|
||||||
|
container to transcode the stream to 5Mbps H.265 HEVC using the GPU.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
TAG=${TAG:-latest}
|
||||||
|
mkdir $(pwd)/media
|
||||||
|
wget -O $(pwd)/media/TeersOfSteel.mp4 \
|
||||||
|
http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/TearsOfSteel.mp4
|
||||||
|
docker run \
|
||||||
|
--rm \
|
||||||
|
--device=/dev/dri \
|
||||||
|
-e QSV_DEVICE=${QSV_DEVICE:-/dev/dri/renderD128} \
|
||||||
|
-it \
|
||||||
|
--volume $(pwd)/media:/media \
|
||||||
|
intel-media-ffmpeg:${TAG} \
|
||||||
|
transcode TearsOfSteel.mp4 TearsOfSteel-5M.mp4
|
||||||
|
```
|
||||||
|
|
||||||
## Launch a shell in the container
|
## Launch a shell in the container
|
||||||
|
|
||||||
The examples below are all assumed to be running in the container's environment:
|
The examples below are all assumed to be running in the container's environment:
|
||||||
@ -209,7 +230,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"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
# Appendix A: Multicard
|
# Appendix A: Multicard
|
||||||
|
|
||||||
Most of the filters and drivers for ffmpeg will default to connecting to
|
Most of the filters and drivers for ffmpeg will default to connecting to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user