axVlcPlugin2 takeSnapshot()

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
taiskorgon
New Cone
New Cone
Posts: 2
Joined: 11 Dec 2012 17:12

axVlcPlugin2 takeSnapshot()

Postby taiskorgon » 11 Dec 2012 17:24

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

taiskorgon
New Cone
New Cone
Posts: 2
Joined: 11 Dec 2012 17:12

Re: axVlcPlugin2 takeSnapshot()

Postby taiskorgon » 10 Jan 2013 14:01

Why will the created file deleted? How can I debug this? Any ideas?

AUGE_OHR
New Cone
New Cone
Posts: 2
Joined: 11 Mar 2013 03:34

Re: axVlcPlugin2 takeSnapshot()

Postby AUGE_OHR » 11 Mar 2013 04:42

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

cyborgc4
New Cone
New Cone
Posts: 2
Joined: 14 Dec 2015 10:35

Re: axVlcPlugin2 takeSnapshot()

Postby cyborgc4 » 14 Dec 2015 10:39

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?

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: axVlcPlugin2 takeSnapshot()

Postby da2424 » 14 Dec 2015 12:20

As far as I know, it should work with v2.2.2.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 4 guests