fix: enable hardward acceleration
Some checks failed
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m14s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled

This commit is contained in:
ziesorx 2025-09-26 15:06:12 +07:00
parent cc604841d0
commit cd1359f5d2

View file

@ -106,8 +106,8 @@ class FFmpegRTSPReader:
cmd = [
'ffmpeg',
# DO NOT REMOVE
# '-hwaccel', 'cuda',
# '-hwaccel_device', '0',
'-hwaccel', 'cuda',
'-hwaccel_device', '0',
'-rtsp_transport', 'tcp',
'-i', self.rtsp_url,
'-f', 'image2pipe', # Output images to pipe