livepeer: add a -hevcDecoding
flag
#3119
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a new boolean flag
-hevcDecoding
to better configure the existing HEVC support.If the flag is omitted, the default behavior on GPUs is unchanged, which is to auto-detect HEVC decoding support at transcoder start-up.
GPU transcoders can disable HEVC decoding if there is an issue with HEVC jobs via
-hevcDecoding=false
.CPU transcoders now have HEVC decoding disabled by default since processing HEVC jobs is CPU-heavy, so operators are not caught off-guard once we start putting HEVC jobs into the network. This is technically a breaking change, and some un-upgraded transcoders may still be surprised anyway.
Note that LPMS already has CPU HEVC decoding compiled into the ffmpeg build, however this is implicitly derived from other compile-time flags. For the sake of explicitness we should add the native HEVC decoder to
install_ffmpeg.sh
but that can be added later .What does this pull request do? Explain your changes. (required)
Specific updates (required)
-hevcDecoding
flagHow did you test each of these updates (required)
-transcoder -nvidia all -hevcDecoding=false
(correctly removes HEVC decoding from capabilities)-transcoder -nvidia all
(HEVC is enabled; no change from today)-transcoder
(HEVC is disabled)-transcoder -hevcDecoding
(HEVC is enabled)RemoveCapability
functionDoes this pull request close any open issues?
Checklist:
make
runs successfully./test.sh
pass