Multiple Cameras
Multiple Cameras
Hi,
I have two simple web cameras that I use simimultanoeusly and I can get the two cameras working, using 2 instances of YAWCAM, ACE, great. The issue I have is that YAWCAM only "remembers" the settings for 1 camera so when I restart the two cameras I have to open the control pannel up and reset the second instance of the program to the second camera.
I have run the two programs from different file locations as I thought that it might save data in these files.
Any solutions
Love the program.
Thanks
Rob
I have two simple web cameras that I use simimultanoeusly and I can get the two cameras working, using 2 instances of YAWCAM, ACE, great. The issue I have is that YAWCAM only "remembers" the settings for 1 camera so when I restart the two cameras I have to open the control pannel up and reset the second instance of the program to the second camera.
I have run the two programs from different file locations as I thought that it might save data in these files.
Any solutions
Love the program.
Thanks
Rob
-
- Moderator
- Posts: 1210
- Joined: Wed Jan 14, 2009 3:50 am
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.6.0_29" class="java.beans.XMLDecoder">
<object class="yawcam.SettingsHolder">
<void property="cam">
<int>3</int>
</void>
<void property="conPublicIP">
<string>82.31.212.197</string>
</void>
<void property="firstTime">
<boolean>false</boolean>
</void>
<void property="pos_main">
<object class="java.awt.Point">
<int>839</int>
<int>376</int>
</object>
</void>
<void property="pos_prev">
<object class="java.awt.Point">
<int>484</int>
<int>-5</int>
</object>
</void>
<void property="streamPage_bgCol">
<object class="java.awt.Color">
<int>0</int>
<int>0</int>
<int>0</int>
<int>255</int>
</object>
</void>
<void property="streamPage_heading">
<string>CT Gauge Camera 1</string>
</void>
<void property="streamPage_title">
<string>CT Gauge 1</string>
</void>
<void property="stream_CPort">
<int>8082</int>
</void>
<void property="stream_ImgProdSleep">
<int>33</int>
</void>
<void property="stream_appletSize">
<int>4</int>
</void>
<void property="stream_quality">
<float>1.0</float>
</void>
<void property="stream_type">
<int>3</int>
</void>
</object>
</java>
detials as requested thanks
<java version="1.6.0_29" class="java.beans.XMLDecoder">
<object class="yawcam.SettingsHolder">
<void property="cam">
<int>3</int>
</void>
<void property="conPublicIP">
<string>82.31.212.197</string>
</void>
<void property="firstTime">
<boolean>false</boolean>
</void>
<void property="pos_main">
<object class="java.awt.Point">
<int>839</int>
<int>376</int>
</object>
</void>
<void property="pos_prev">
<object class="java.awt.Point">
<int>484</int>
<int>-5</int>
</object>
</void>
<void property="streamPage_bgCol">
<object class="java.awt.Color">
<int>0</int>
<int>0</int>
<int>0</int>
<int>255</int>
</object>
</void>
<void property="streamPage_heading">
<string>CT Gauge Camera 1</string>
</void>
<void property="streamPage_title">
<string>CT Gauge 1</string>
</void>
<void property="stream_CPort">
<int>8082</int>
</void>
<void property="stream_ImgProdSleep">
<int>33</int>
</void>
<void property="stream_appletSize">
<int>4</int>
</void>
<void property="stream_quality">
<float>1.0</float>
</void>
<void property="stream_type">
<int>3</int>
</void>
</object>
</java>
detials as requested thanks
-
- Moderator
- Posts: 1210
- Joined: Wed Jan 14, 2009 3:50 am
What I did...
This is what I did:
1> I installed yawcam, let's say in C:\Programs\yawcam.
2> I copied the entire folder, pasted & renamed it to yawcam01.
3> Then I pasted another copy of it & renamed it yawcam02.
4> I opened the file service_profile.cfg in C:\Programs\yawcam01 with notepad & edited to point in C:\Programs\yawcam01\MySettings
instead of the default MyDocuments.
5> Then I did the same with the file service_profile.cfg in C:\Programs\yawcam02.
So I can run two different instances of yawcam.exe, the one in \yawcam01 folder & the one in \yawcam02 folder. Each one has its own
settings in \yawcam01\MySettings & \yawcam02\MySettings respectively.
--Edit--
I think that I had to edit the file launcher.cfg too, in C:\Programs\yawcam01 (& C:\Programs\yawcam02) with notepad & I added the word
"service" at the end (without "" of course). So the line would end like this:
...blah...blah.../splash.gif yawcam.Main service
--------
It's been a while since I did that, so I hope I didn't forget anything.
Also I don't know if it's ok to delete (or uninstal) the original folder C:\Programs\yawcam. I just let it be, it's of small size anyway.
I hope that helped.
1> I installed yawcam, let's say in C:\Programs\yawcam.
2> I copied the entire folder, pasted & renamed it to yawcam01.
3> Then I pasted another copy of it & renamed it yawcam02.
4> I opened the file service_profile.cfg in C:\Programs\yawcam01 with notepad & edited to point in C:\Programs\yawcam01\MySettings
instead of the default MyDocuments.
5> Then I did the same with the file service_profile.cfg in C:\Programs\yawcam02.
So I can run two different instances of yawcam.exe, the one in \yawcam01 folder & the one in \yawcam02 folder. Each one has its own
settings in \yawcam01\MySettings & \yawcam02\MySettings respectively.
--Edit--
I think that I had to edit the file launcher.cfg too, in C:\Programs\yawcam01 (& C:\Programs\yawcam02) with notepad & I added the word
"service" at the end (without "" of course). So the line would end like this:
...blah...blah.../splash.gif yawcam.Main service
--------
It's been a while since I did that, so I hope I didn't forget anything.
Also I don't know if it's ok to delete (or uninstal) the original folder C:\Programs\yawcam. I just let it be, it's of small size anyway.
I hope that helped.
Last edited by memoric on Wed Dec 14, 2011 7:28 pm, edited 1 time in total.
-
- Moderator
- Posts: 1210
- Joined: Wed Jan 14, 2009 3:50 am
There is a text file hack:
disablerunningcheck.txt
Yawcam checks if another instance of Yawcam is already running at startup. You can disable this check by creating this file. More info here.
disablerunningcheck.txt
Yawcam checks if another instance of Yawcam is already running at startup. You can disable this check by creating this file. More info here.
-
- Moderator
- Posts: 1210
- Joined: Wed Jan 14, 2009 3:50 am