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
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:
parent
cc604841d0
commit
cd1359f5d2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue