Skip to content

Commit 6d276ec

Browse files
committed
move encoder reconfiguration example into separate profile
1 parent c5e67eb commit 6d276ec

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,6 @@ vod:
9494
width: 640 # px
9595
height: 360 # px
9696
bitrate: 800 # kbps
97-
# Optional ffmpeg video overrides
98-
codec: h264_nvenc # default "libx264"
99-
preset: p1 # default "faster"
100-
profile: high # default "high"
101-
level: auto # default "4.0"
102-
extra-args: # optionally, additional ffmpeg video encoder arguments
103-
- "-tune:v=ull" # can be passed either as combined args, and will be split
104-
- "-rc:v" # or parameter ...
105-
- "cbr" # ... and value on separate lines
10697
540p:
10798
width: 960
10899
height: 540
@@ -115,14 +106,28 @@ vod:
115106
width: 1920
116107
height: 1080
117108
bitrate: 5000
109+
1080p_nvidia_gpu:
110+
width: 1920
111+
height: 1080
112+
bitrate: 5000
113+
# Optional ffmpeg video overrides
114+
codec: h264_nvenc # default "libx264"
115+
preset: p1 # default "faster"
116+
profile: high # default "high"
117+
level: auto # default "4.0"
118+
extra-args: # optionally, additional ffmpeg video encoder arguments
119+
- "-tune:v=ull" # can be passed either as combined args, and will be split
120+
- "-rc:v" # or parameter ...
121+
- "cbr" # ... and value on separate lines
118122
# HLS-VOD segment behaviour (optional)
119123
segment-length: 4 # nominal segment length in seconds
120124
segment-offset: 1 # allowed +/- tolerance in seconds
121125
segment-buffer-min: 3 # min segments ahead of playhead
122126
segment-buffer-max: 5 # max segments transcoded at once
127+
123128
# Use video keyframes as existing reference for chunks split
124129
# Using this might cause long probing times in order to get
125-
# all keyframes - therefore they should be cached
130+
# all keyframes - therefore they should be cached
126131
video-keyframes: false
127132
# Single audio profile used
128133
audio-profile:

0 commit comments

Comments
 (0)