fix: bring back gpu usage
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 18s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m42s
Build Worker Base and Application Images / deploy-stack (push) Successful in 11s

This commit is contained in:
ziesorx 2025-09-30 16:23:07 +07:00
parent 3ed7a2cd53
commit 9e5b5a32ad

View file

@ -113,8 +113,8 @@ class FFmpegRTSPReader(VideoReader):
cmd = [ cmd = [
'ffmpeg', 'ffmpeg',
# DO NOT REMOVE # DO NOT REMOVE
# '-hwaccel', 'cuda', '-hwaccel', 'cuda',
# '-hwaccel_device', '0', '-hwaccel_device', '0',
# Real-time input flags # Real-time input flags
'-fflags', 'nobuffer+genpts', '-fflags', 'nobuffer+genpts',
'-flags', 'low_delay', '-flags', 'low_delay',