It is currently September 26th, 2020, 1:48 am

Experiment: Video Capture

Share and get help with Plugins and Addons
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4116
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Experiment: Video Capture

Post by eclectic-tech »

Sorry Dave! Spoke too soon...

The 'experiment' is was successful! ... until unloaded and loaded ... crashed ... had debug logging on, but no debug info in the log on restart.

Let's see if StArL0rd84 is having any problem, it may be a problem on my system... :???:

Thanks for looking into this!
User avatar
dgrace
Developer
Posts: 265
Joined: June 28th, 2014, 8:32 am
Location: Tokyo, Japan

Re: Experiment: Video Capture

Post by dgrace »

D'oh. let me know if you can manage to catch anything in the log file to help narrow it down.

dave
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4116
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Experiment: Video Capture

Post by eclectic-tech »

I will try to catch any log entries and let you know, but so far with nothing else loaded, nothing is being saved in the log when it crashes; 3 crashes...3 restarts show just the basic Rainmeter startup info.
User avatar
dgrace
Developer
Posts: 265
Joined: June 28th, 2014, 8:32 am
Location: Tokyo, Japan

Re: Experiment: Video Capture

Post by dgrace »

Is it crashing every time you try to load the skin now? Or does it only crash after loading and then unloading/reloading?

If it's not crashing on the initial load, you should definitely be getting a bunch of log output with Debug logging enabled. Should look like this:

dave
You do not have the required permissions to view the files attached to this post.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4116
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Experiment: Video Capture

Post by eclectic-tech »

Yes, every time I try to load it... :welcome:

Re-installed, loaded your capture {Anonymity Image Activated}
images.jpg
On refresh, crashes...
EDIT: If I restart Rainmeter, it will load fine... no crash, it crashes if I refresh or if I unload/load it crashes on loading.

You know Dave, this tells me I need take a look at my camera setup, maybe something is going on with that (it's almost as old as me! :p )
You do not have the required permissions to view the files attached to this post.
Last edited by eclectic-tech on April 4th, 2016, 1:11 pm, edited 1 time in total.
User avatar
dgrace
Developer
Posts: 265
Joined: June 28th, 2014, 8:32 am
Location: Tokyo, Japan

Re: Experiment: Video Capture

Post by dgrace »

So much for my anonymity! I forgot to remove the .bmp from the skin dir before packaging. Updated on the latest one. ;)

No log output at all, even when it initially loads?

dave
User avatar
Socks the Fox
Posts: 99
Joined: August 25th, 2015, 6:40 pm

Re: Experiment: Video Capture

Post by Socks the Fox »

jsmorley wrote:No, it does not.

Don't be lazy... ;-)

https://docs.rainmeter.net/developers/#CreatePlugin
Um, doesn't that say exactly what I said? "Rainmeter won't replace the plugin if the version number is the same."

Note that I used a double negative in that first post!
Author of Chameleon :: Like my plugin? Consider donating! I don't need much :3
User avatar
StArL0rd84
Posts: 348
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: Experiment: Video Capture

Post by StArL0rd84 »

It works now. No crashes :thumbup:

Also tested ImageTint and MaskImage, no issues.

Code: Select all

[meterVC]
Meter=IMAGE
ImageName=#CURRENTPATH#frame.bmp
DynamicVariables=1
W=256
H=100
PreserveAspectRatio=2
ImageTint=255,0,98,180
MaskImageName=#CURRENTPATH#mask.png
(#WorkTime# = 1 ? #Work# : ([mEnergyLoss:%] > 100 ? #SleepMode# : #Rainmeter#))