Closed ancinape closed 2 years ago
Config file format: key = value [# optional comment]
Invalid data found when processing input
Looks like its failing to read the config file.
�# The minimum log-level to show
Whats this special character here? Make sure your editor isn't doing anything funny.
Odd that was in there, probably pressed CTRL+V while in insert mode or something.
Here is an updated config file. I restarted the user service and it seems to have made no difference:
Config:
# The minimum log-level to show
# Possible values: trace, debug, verbose, info, warning, error, fatal, panic, quiet
# Default value: info
logLevel = info
# The minimum log-level to add stacktraces to
# Possible values: trace, debug, verbose, info, warning, error, fatal, panic, quiet
# Default value: error
traceLevel = error
# The duration of the recording in seconds
# Default value: 30
recordSeconds = 60
# The video input backend to use for video recording
# Possible values: auto, hwaccel, x11, kms, kms_service
# Default value: auto
videoInput = hwaccel
# The name of the input video device
# For kms and kms_service, see `replay-sorcery kms-devices`
# Possible values: auto, or a device string
# Default value: auto
videoDevice = auto
# The X, Y, width and height of recording rectangle
# Default value: 0, 0
videoX = 0
videoY = 0
# Possible values: a positive integer or auto
# Default value: auto, auto
videoWidth = auto
videoHeight = auto
# The framerate of the recording
# Default value: 30
videoFramerate = 60
# The video encoder backend to use for video recording
# Possible values: auto, hevc, x264, openh264, x265, vaapi_h264, vaapi_hevc
# Default value: auto
videoEncoder = auto
# The H.264 profile to use for video encoding
# Possible values: baseline, main, high
# Default value: baseline
videoProfile = baseline
# A high-level preset for video encoding performance
# Possible values: fast, medium, slow
# Default value: fast
videoPreset = fast
# The quality to use for video encoding, lower is better
# Possible values: 1-51 or auto
# Default value: 28
videoQuality = 28
# The bitrate to use for video encoding
# Possible values: a positive integer ending in an SI prefix (eg. 1M) or auto
# Default value: auto
videoBitrate = auto
# The number of frames between IDR frames
# Default value: 30
videoGOP = 60
# The width and height to scale the video to
# Possible values: a positive integer or auto
# Default value: auto, auto
scaleWidth = auto
scaleHeight = auto
# The audio input backend to use for audio recording
# Possible values: none, auto, pulse
# Default value: auto
audioInput = auto
# The name of the input audio device
# For pulse, see `pactl list sources`
# Possible values: auto, system, or a device string
# Default value: auto
audioDevice = auto
# The samplerate to use for audio recording
# Default value: 44100
audioSamplerate = 44100
# The audio encoder backend to use for audio recording
# Possible values: auto, aac, fdk
# Default value: auto
audioEncoder = auto
# The AAC profile to use for audio encoding
# Possible values: low (LC), main, high (HE)
# Default value: low
audioProfile = low
# The bitrate to use for audio encoding
# Possible values: a positive integer ending in an SI prefix (eg. 1K) or auto
# Default value: auto
audioBitrate = auto
# The controller backend to use for detecting key presses
# Possible values: auto, debug, x11
# Default value: auto
controller = auto
# The key name and key modifiers (as a set of flags) to press to save a video
# Default value: r
keyName = r
# Possible values: ctrl, shift, alt, super
# Default value: ctrl+super
keyMods = ctrl+super
# Where to save the output file
# Possible values: a strftime formatted file path
# Default value: ~/Videos/ReplaySorcery_%F_%H-%M-%S.mp4
outputFile = ~/Videos/ReplaySorcery/%F_%H-%M-%S.mp4
# A command to run when a video is successfully saved
# Possible values: a printf formatted command
# Default value: notify-send ReplaySorcery "Saved replay as %s"
outputCommand = notify-send ReplaySorcery "Saved replay as %s"
Log:
-- Journal begins at Fri 2021-11-05 13:34:24 EDT, ends at Sun 2021-11-14 20:57:51 EST. --
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: This is free software, and you are welcome to redistribute it
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: under certain conditions; see COPYING for details.
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: FFmpeg version: n4.4.1
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: Created KMS service device
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: [h264_vaapi @ 0x55d943088d00] Filter graph: hwmap=derive_device=vaapi,crop=6080:1440:0:0,scale_vaapi=6080:1440:nv12
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: [h264_vaapi @ 0x55d943088d00] H.264 baseline profile is not supported, using constrained baseline profile instead.
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: [h264_vaapi @ 0x55d943088d00] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: [h264_vaapi @ 0x55d943088d00] Quality attribute is not supported: will use default quality level.
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: [h264_vaapi @ 0x55d943088d00] Hardware does not support encoding at size 6080x1440 (constraints: width 0-4096 height 0-2304).
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: [NULL @ 0x55d943088d00] Failed to open encoder: Invalid argument
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: Failed to create VA-API encoder: Invalid argument
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6665]: Function not implemented
Nov 14 20:49:41 MadamElizabeth systemd[753]: replay-sorcery.service: Main process exited, code=exited, status=1/FAILURE
Nov 14 20:49:41 MadamElizabeth systemd[753]: replay-sorcery.service: Failed with result 'exit-code'.
Nov 14 20:49:41 MadamElizabeth systemd[753]: replay-sorcery.service: Scheduled restart job, restart counter is at 4.
Nov 14 20:49:41 MadamElizabeth systemd[753]: Stopped ReplaySorcery: an open-source, instant-replay solution for Linux..
Nov 14 20:49:41 MadamElizabeth systemd[753]: Started ReplaySorcery: an open-source, instant-replay solution for Linux..
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Real user ID: 1000
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Effective user ID: 1000
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Reading config file '/usr/etc/replay-sorcery.conf'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'logLevel' to 'info'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'traceLevel' to 'error'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'recordSeconds' to '30'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoInput' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoDevice' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoX' to '0'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoY' to '0'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoWidth' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoHeight' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoFramerate' to '30'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoEncoder' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoProfile' to 'baseline'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoPreset' to 'fast'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoQuality' to '28'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoBitrate' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoGOP' to '30'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'scaleWidth' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'scaleHeight' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioInput' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioDevice' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioSamplerate' to '44100'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioEncoder' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioProfile' to 'low'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioBitrate' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'controller' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'keyName' to 'r'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'keyMods' to 'ctrl+super'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'outputFile' to '~/Videos/ReplaySorcery/%F_%H-%M-%S.mp4'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'outputCommand' to 'notify-send ReplaySorcery "Saved replay as %s"'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Reading config file '/home/frederick/.config/replay-sorcery.conf'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'logLevel' to 'info'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'traceLevel' to 'error'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'recordSeconds' to '60'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoInput' to 'hwaccel'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoDevice' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoX' to '0'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoY' to '0'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoWidth' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoHeight' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoFramerate' to '60'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoEncoder' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoProfile' to 'baseline'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoPreset' to 'fast'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoQuality' to '28'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoBitrate' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'videoGOP' to '60'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'scaleWidth' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'scaleHeight' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioInput' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioDevice' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioSamplerate' to '44100'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioEncoder' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioProfile' to 'low'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'audioBitrate' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'controller' to 'auto'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'keyName' to 'r'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'keyMods' to 'ctrl+super'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'outputFile' to '~/Videos/ReplaySorcery/%F_%H-%M-%S.mp4'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Setting 'outputCommand' to 'notify-send ReplaySorcery "Saved replay as %s"'...
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: ReplaySorcery Copyright (C) 2020-2021 ReplaySorcery developers
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: This program comes with ABSOLUTELY NO WARRANTY.
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: This is free software, and you are welcome to redistribute it
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: under certain conditions; see COPYING for details.
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: FFmpeg version: n4.4.1
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Created KMS service device
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: [h264_vaapi @ 0x55ca2bebad00] Filter graph: hwmap=derive_device=vaapi,crop=6080:1440:0:0,scale_vaapi=6080:1440:nv12
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: [h264_vaapi @ 0x55ca2bebad00] H.264 baseline profile is not supported, using constrained baseline profile instead.
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: [h264_vaapi @ 0x55ca2bebad00] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: [h264_vaapi @ 0x55ca2bebad00] Quality attribute is not supported: will use default quality level.
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: [h264_vaapi @ 0x55ca2bebad00] Hardware does not support encoding at size 6080x1440 (constraints: width 0-4096 height 0-2304).
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: [NULL @ 0x55ca2bebad00] Failed to open encoder: Invalid argument
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Failed to create VA-API encoder: Invalid argument
Nov 14 20:49:41 MadamElizabeth replay-sorcery[6693]: Function not implemented
Nov 14 20:49:41 MadamElizabeth systemd[753]: replay-sorcery.service: Main process exited, code=exited, status=1/FAILURE
Nov 14 20:49:41 MadamElizabeth systemd[753]: replay-sorcery.service: Failed with result 'exit-code'.
Nov 14 20:49:41 MadamElizabeth systemd[753]: replay-sorcery.service: Scheduled restart job, restart counter is at 5.
Nov 14 20:49:41 MadamElizabeth systemd[753]: Stopped ReplaySorcery: an open-source, instant-replay solution for Linux..
Nov 14 20:49:41 MadamElizabeth systemd[753]: replay-sorcery.service: Start request repeated too quickly.
Nov 14 20:49:41 MadamElizabeth systemd[753]: replay-sorcery.service: Failed with result 'exit-code'.
Nov 14 20:49:41 MadamElizabeth systemd[753]: Failed to start ReplaySorcery: an open-source, instant-replay solution for Linux..
Yet again from the logs:
Hardware does not support encoding at size 6080x1440 (constraints: width 0-4096 height 0-2304).
You specify the rectangle with videoX
, videoY
, videoWidth
, videoHeight
and scale down with scaleWidth
, scaleHeight
Good to know, I will fix my config later.
To make sure there are no more dumb human mistakes, I decided to copy the default config and only change videoInput to hwaccel. The issue still persists as seen below.
Config:
# The minimum log-level to show
# Possible values: trace, debug, verbose, info, warning, error, fatal, panic, quiet
# Default value: info
logLevel = info
# The minimum log-level to add stacktraces to
# Possible values: trace, debug, verbose, info, warning, error, fatal, panic, quiet
# Default value: error
traceLevel = error
# The duration of the recording in seconds
# Default value: 30
recordSeconds = 30
# The video input backend to use for video recording
# Possible values: auto, hwaccel, x11, kms, kms_service
# Default value: auto
videoInput = hwaccel
# The name of the input video device
# For kms and kms_service, see `replay-sorcery kms-devices`
# Possible values: auto, or a device string
# Default value: auto
videoDevice = auto
# The X, Y, width and height of recording rectangle
# Default value: 0, 0
videoX = 0
videoY = 0
# Possible values: a positive integer or auto
# Default value: auto, auto
videoWidth = auto
videoHeight = auto
# The framerate of the recording
# Default value: 30
videoFramerate = 30
# The video encoder backend to use for video recording
# Possible values: auto, hevc, x264, openh264, x265, vaapi_h264, vaapi_hevc
# Default value: auto
videoEncoder = auto
# The H.264 profile to use for video encoding
# Possible values: baseline, main, high
# Default value: baseline
videoProfile = baseline
# A high-level preset for video encoding performance
# Possible values: fast, medium, slow
# Default value: fast
videoPreset = fast
# The quality to use for video encoding, lower is better
# Possible values: 1-51 or auto
# Default value: 28
videoQuality = 28
# The bitrate to use for video encoding
# Possible values: a positive integer ending in an SI prefix (eg. 1M) or auto
# Default value: auto
videoBitrate = auto
# The number of frames between IDR frames
# Default value: 30
videoGOP = 30
# The width and height to scale the video to
# Possible values: a positive integer or auto
# Default value: auto, auto
scaleWidth = auto
scaleHeight = auto
# The audio input backend to use for audio recording
# Possible values: none, auto, pulse
# Default value: auto
audioInput = auto
# The name of the input audio device
# For pulse, see `pactl list sources`
# Possible values: auto, system, or a device string
# Default value: auto
audioDevice = auto
# The samplerate to use for audio recording
# Default value: 44100
audioSamplerate = 44100
# The audio encoder backend to use for audio recording
# Possible values: auto, aac, fdk
# Default value: auto
audioEncoder = auto
# The AAC profile to use for audio encoding
# Possible values: low (LC), main, high (HE)
# Default value: low
audioProfile = low
# The bitrate to use for audio encoding
# Possible values: a positive integer ending in an SI prefix (eg. 1K) or auto
# Default value: auto
audioBitrate = auto
# The controller backend to use for detecting key presses
# Possible values: auto, debug, x11
# Default value: auto
controller = auto
# The key name and key modifiers (as a set of flags) to press to save a video
# Default value: r
keyName = r
# Possible values: ctrl, shift, alt, super
# Default value: ctrl+super
keyMods = ctrl+super
# Where to save the output file
# Possible values: a strftime formatted file path
# Default value: ~/Videos/ReplaySorcery_%F_%H-%M-%S.mp4
outputFile = ~/Videos/ReplaySorcery/%F_%H-%M-%S.mp4
# A command to run when a video is successfully saved
# Possible values: a printf formatted command
# Default value: notify-send ReplaySorcery "Saved replay as %s"
outputCommand = notify-send ReplaySorcery "Saved replay as %s"
Log
-- Journal begins at Fri 2021-11-05 13:34:24 EDT, ends at Thu 2021-11-18 00:15:30 EST. --
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: This is free software, and you are welcome to redistribute it
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: under certain conditions; see COPYING for details.
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: FFmpeg version: n4.4.1
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: Created KMS service device
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: [h264_vaapi @ 0x556fa96fcd00] Filter graph: hwmap=derive_device=vaapi,crop=6080:1440:0:0,scale_vaapi=6080:1440:nv12
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: [h264_vaapi @ 0x556fa96fcd00] H.264 baseline profile is not supported, using constrained baseline profile instead.
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: [h264_vaapi @ 0x556fa96fcd00] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: [h264_vaapi @ 0x556fa96fcd00] Quality attribute is not supported: will use default quality level.
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: [h264_vaapi @ 0x556fa96fcd00] Hardware does not support encoding at size 6080x1440 (constraints: width 0-4096 height 0-2304).
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: [NULL @ 0x556fa96fcd00] Failed to open encoder: Invalid argument
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: Failed to create VA-API encoder: Invalid argument
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3747]: Function not implemented
Nov 18 00:12:32 MadamElizabeth systemd[648]: replay-sorcery.service: Main process exited, code=exited, status=1/FAILURE
Nov 18 00:12:32 MadamElizabeth systemd[648]: replay-sorcery.service: Failed with result 'exit-code'.
Nov 18 00:12:32 MadamElizabeth systemd[648]: replay-sorcery.service: Scheduled restart job, restart counter is at 4.
Nov 18 00:12:32 MadamElizabeth systemd[648]: Stopped ReplaySorcery: an open-source, instant-replay solution for Linux..
Nov 18 00:12:32 MadamElizabeth systemd[648]: Started ReplaySorcery: an open-source, instant-replay solution for Linux..
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Real user ID: 1000
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Effective user ID: 1000
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Reading config file '/usr/etc/replay-sorcery.conf'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'logLevel' to 'info'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'traceLevel' to 'error'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'recordSeconds' to '30'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoInput' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoDevice' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoX' to '0'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoY' to '0'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoWidth' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoHeight' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoFramerate' to '30'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoEncoder' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoProfile' to 'baseline'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoPreset' to 'fast'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoQuality' to '28'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoBitrate' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoGOP' to '30'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'scaleWidth' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'scaleHeight' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioInput' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioDevice' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioSamplerate' to '44100'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioEncoder' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioProfile' to 'low'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioBitrate' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'controller' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'keyName' to 'r'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'keyMods' to 'ctrl+super'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'outputFile' to '~/Videos/ReplaySorcery/%F_%H-%M-%S.mp4'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'outputCommand' to 'notify-send ReplaySorcery "Saved replay as %s"'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Reading config file '/home/frederick/.config/replay-sorcery.conf'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'logLevel' to 'info'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'traceLevel' to 'error'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'recordSeconds' to '30'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoInput' to 'hwaccel'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoDevice' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoX' to '0'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoY' to '0'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoWidth' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoHeight' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoFramerate' to '30'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoEncoder' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoProfile' to 'baseline'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoPreset' to 'fast'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoQuality' to '28'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoBitrate' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'videoGOP' to '30'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'scaleWidth' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'scaleHeight' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioInput' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioDevice' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioSamplerate' to '44100'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioEncoder' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioProfile' to 'low'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'audioBitrate' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'controller' to 'auto'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'keyName' to 'r'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'keyMods' to 'ctrl+super'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'outputFile' to '~/Videos/ReplaySorcery/%F_%H-%M-%S.mp4'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Setting 'outputCommand' to 'notify-send ReplaySorcery "Saved replay as %s"'...
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: ReplaySorcery Copyright (C) 2020-2021 ReplaySorcery developers
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: This program comes with ABSOLUTELY NO WARRANTY.
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: This is free software, and you are welcome to redistribute it
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: under certain conditions; see COPYING for details.
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: FFmpeg version: n4.4.1
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: Created KMS service device
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: [h264_vaapi @ 0x562c746fad00] Filter graph: hwmap=derive_device=vaapi,crop=6080:1440:0:0,scale_vaapi=6080:1440:nv12
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: [h264_vaapi @ 0x562c746fad00] H.264 baseline profile is not supported, using constrained baseline profile instead.
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: [h264_vaapi @ 0x562c746fad00] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: [h264_vaapi @ 0x562c746fad00] Quality attribute is not supported: will use default quality level.
Nov 18 00:12:32 MadamElizabeth replay-sorcery[3775]: [h264_vaapi @ 0x562c746fad00] Hardware does not support encoding at size 6080x1440 (constraints: width 0-4096 height 0-2304).
Nov 18 00:12:33 MadamElizabeth replay-sorcery[3775]: [NULL @ 0x562c746fad00] Failed to open encoder: Invalid argument
Nov 18 00:12:33 MadamElizabeth replay-sorcery[3775]: Failed to create VA-API encoder: Invalid argument
Nov 18 00:12:33 MadamElizabeth replay-sorcery[3775]: Function not implemented
Nov 18 00:12:33 MadamElizabeth systemd[648]: replay-sorcery.service: Main process exited, code=exited, status=1/FAILURE
Nov 18 00:12:33 MadamElizabeth systemd[648]: replay-sorcery.service: Failed with result 'exit-code'.
Nov 18 00:12:33 MadamElizabeth systemd[648]: replay-sorcery.service: Scheduled restart job, restart counter is at 5.
Nov 18 00:12:33 MadamElizabeth systemd[648]: Stopped ReplaySorcery: an open-source, instant-replay solution for Linux..
Nov 18 00:12:33 MadamElizabeth systemd[648]: replay-sorcery.service: Start request repeated too quickly.
Nov 18 00:12:33 MadamElizabeth systemd[648]: replay-sorcery.service: Failed with result 'exit-code'.
Nov 18 00:12:33 MadamElizabeth systemd[648]: Failed to start ReplaySorcery: an open-source, instant-replay solution for Linux..
Its the same issue. I'm assuming you have multiple monitors? By default it will record all the screens.
Yep, that was indeed the problem. FFMPEG doesn't like recording so many pixels. I should have guessed from your previous comment.
I fixed the issue by recording 1 monitor instead. Thanks for the help!
Describe the bug ReplaySorcery does not work when using hardware acceleration. The log presents an error about VA-API not being found though I made sure that I have
libva-mesa-driver
installed and verified that it works as per the Arch wiki's advice: https://wiki.archlinux.org/title/Hardware_video_acceleration#Verifying_VA-APIMaybe this was an FFMPEG error but running
mpv --hwdec=auto video_filename
uses VA-API properly.Services replay-sorcery and replay-sorcery-kms are enabled and running at the same time.
Desktop:
Configuration:
Logs: