mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
Add some more va-api codec error mappings
This commit is contained in:
parent
a9459c4370
commit
34c4350597
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,7 @@ var errorMap = map[string]string{
|
|||
`Unknown encoder 'h264_nvenc'`: "your copy of ffmpeg does not have support for NVIDIA hardware encoding (h264_nvenc). change the selected codec in your video settings",
|
||||
`Unknown encoder 'h264_x264'`: "your copy of ffmpeg does not have support for the default x264 codec (h264_x264). download a version of ffmpeg that supports this.",
|
||||
`Unrecognized option 'x264-params`: "your copy of ffmpeg does not have support for the default libx264 codec (h264_x264). download a version of ffmpeg that supports this.",
|
||||
|
||||
`Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Invalid argument`: "failed to set va-api device to /dev/dri/renderD128. your system is likely not properly configured for va-api",
|
||||
// Generic error for a codec
|
||||
"Unrecognized option": "error with codec. if your copy of ffmpeg or your hardware does not support your selected codec you may need to select another",
|
||||
}
|
||||
|
@ -48,6 +48,8 @@ var ignoredErrors = []string{
|
|||
"upload playlist failed, will retry with a new http session",
|
||||
"VBV underflow",
|
||||
"Cannot use rename on non file protocol",
|
||||
"Device creation failed",
|
||||
"Error parsing global options",
|
||||
}
|
||||
|
||||
func handleTranscoderMessage(message string) {
|
||||
|
|
Loading…
Reference in a new issue