fix: inference in reader thread
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m45s
Build Worker Base and Application Images / deploy-stack (push) Successful in 17s

This commit is contained in:
ziesorx 2025-09-30 14:21:29 +07:00
parent fed71046a9
commit 8d2a71fcd7
2 changed files with 223 additions and 4 deletions

View file

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