Browse Source

fixes 2

master
gsd 7 months ago
parent
commit
8615cbf6fb
  1. 6
      backend/config_parser.py

6
backend/config_parser.py

@ -292,8 +292,10 @@ class TranscodeTools:
await raw.write(chunk)
nvr.logout()
raw_file = await self.h264toavi(raw_file)
return await self.anytoimage(raw_file, preview_file, False)
raw_file_avi = await self.h264toavi(raw_file)
if self.delete_temporary_files:
self.deleteFile(raw_file)
return await self.anytoimage(raw_file_avi, preview_file, self.delete_temporary_files)
async def processing_safe(self, status: TranscodeStatus, file:File, nvr: NVR, reCreate:bool = False):
try:

Loading…
Cancel
Save