forked from TensorWorks/DirectX-Device-Plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathffmpeg-quicksync.yml
More file actions
23 lines (22 loc) · 817 Bytes
/
ffmpeg-quicksync.yml
File metadata and controls
23 lines (22 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Example Job for running an Intel Quick Sync transcode operation with FFmpeg inside a container
#
# NOTE: this Job will only work when the device allocated by the WDDM device plugin is an Intel GPU,
# otherwise the DLL files for Quick Sync won't exist and FFmpeg will fail when it tries to load them.
apiVersion: batch/v1
kind: Job
metadata:
name: example-ffmpeg-quicksync
spec:
template:
spec:
containers:
- name: example-ffmpeg-quicksync
image: "index.docker.io/tensorworks/example-ffmpeg:0.0.1"
args: ["-i", "C:\\sample-video.mp4", "-c:v", "h264_qsv", "-preset", "default", "C:\\output.mp4"]
resources:
limits:
directx.microsoft.com/display: 1
nodeSelector:
"kubernetes.io/os": windows
restartPolicy: Never
backoffLimit: 0