RenderHeads / UnityPlugin-AVProMovieCapture

AVPro Movie Capture is a Unity Plugin for advanced video capture to AVI/MP4/MOV files
https://renderheads.com/products/avpro-movie-capture/
49 stars 8 forks source link

[Bug] Cancelled captures aren't removed from the Windows folder #387

Closed beluartemis closed 1 month ago

beluartemis commented 6 months ago

Unity Version

2022.3.23f1

AVPro Movie Capture Version

5.2.4

Which platform(s) are you using?

Windows

Which OS version(s) are you using?

No response

Which rendering API(s) are you using?

No response

Hardware

MSI 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz 2.30 GHz RAM 32,0 GB NVIDIA GeForce RTX 3060

Which capture component are you using?

Capture From Screen

Capture mode

Realtime

Which output mode are you using?

Video file

Video codecs

H264

Audio source

None

Audio codecs

AAC

Any other component configuration

Screenshot_967 Screenshot_966 Screenshot_965

The issue

In some instances, when I cancel the capture by calling the method CancelCapture or by clicking Cancel on the UI button from the inspector, the capture got cancel but the temporal file isn't deleted correctly from the output windows folder (in this case MyVideos). The canceled temporal file remains and it appears without its thumbnail in the folder. When I try to open it, I get an error saying 'Unable to reproduce due to a corrupt file'. This issue is also causing that, as soon as I want to exit from runtime mode in Unity, the app freezes and force quit is needed. This issue only occurs with the Cancel action, non with the Stop or Pause.

Screenshot_968

image

image02

Log output

No response

Chris-RH commented 6 months ago

Easily reproduced in screen/texture capture. Not reproduced in camera capture

Chris-RH commented 1 month ago

AVPro Movie Capture version 5.3.2 has been released. Please let us know if it has not fixed your issue.