Page 1 of 1

axVlcPlugin2 takeSnapshot()

Posted: 11 Dec 2012 17:24
by taiskorgon
Hello,

how I can cahnge the snapshot folder (default users temp)? The option "--snapshot-path=C:\..." doesn't work.

The funktion vlc.video.takeSnapshot(); creates an image in users temp folder and delete it immediately (watched with Sysinternals Process Monitor). The file will create but directly deleted. How can I copy the file before it is deleted?

tia,
Stefan Simon

4:56:46.2349795 PM CloseFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS
4:56:46.2398211 PM CreateFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
4:56:46.2398458 PM QueryBasicInformationFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS CreationTime: 12/11/2012 4:56:46 PM, LastAccessTime: 12/11/2012 4:56:46 PM, LastWriteTime: 12/11/2012 4:56:46 PM, ChangeTime: 12/11/2012 4:56:46 PM, FileAttributes: ANCI
4:56:46.2398543 PM CloseFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS
4:56:46.2399706 PM CreateFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened
4:56:46.2399989 PM CreateFileMapping C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: PAGE_READONLY
4:56:46.2400058 PM QueryStandardInformationFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS AllocationSize: 102,400, EndOfFile: 102,179, NumberOfLinks: 1, DeletePending: False, Directory: False
4:56:46.2400200 PM CreateFileMapping C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS SyncType: SyncTypeOther
4:56:46.2400370 PM QueryStandardInformationFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS AllocationSize: 102,400, EndOfFile: 102,179, NumberOfLinks: 1, DeletePending: False, Directory: False
4:56:46.2401051 PM CloseFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS
4:56:46.2402238 PM CreateFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
4:56:46.2402506 PM QueryAttributeTagFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS Attributes: ANCI, ReparseTag: 0x0
4:56:46.2402643 PM SetDispositionInformationFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS Delete: True
4:56:46.2402809 PM CloseFile C:\Users\s.simon\AppData\Local\Temp\AXVLC1E40S3.bmp SUCCESS

Re: axVlcPlugin2 takeSnapshot()

Posted: 10 Jan 2013 14:01
by taiskorgon
Why will the created file deleted? How can I debug this? Any ideas?

Re: axVlcPlugin2 takeSnapshot()

Posted: 11 Mar 2013 04:42
by AUGE_OHR
hi,
just can confirm same Problem.
it use "%TEMP%" Path to save "AXVLCxxxx.BMP" but i did not found any Picture ?!

Code: Select all

FOR i := 1 TO 100 Plugin.video.takeSnapshot() SLEEP(10) NEXT

Re: axVlcPlugin2 takeSnapshot()

Posted: 14 Dec 2015 10:39
by cyborgc4
Hi,
I know that this thread is last 2 years ago.
Did you manage to solve the problem yet?
I also facing that same problem.
Any ideas?

Re: axVlcPlugin2 takeSnapshot()

Posted: 14 Dec 2015 12:20
by da2424
As far as I know, it should work with v2.2.2.