|
|
@ -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: |
|
|
|