Saved images are black

Report and discuss bugs here!
Post Reply
xarrek
Posts: 3
Joined: Mon Nov 21, 2011 2:13 pm

Saved images are black

Post by xarrek »

Hi,

I'm new here and didn't find any answers to my problem using the forum-search, so I hope someone can help me with the following:

I want to make a timelapse-movie (1 jpg every 30s) using my Logitech c270.
Yawcam works fine up to a resolution of 800x600.

Anything bigger gives me black images. Preview is fine, images black.

Any ideas?
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Post by z3r0c00l12 »

Go in Yawcam, select the "change to device" menu and expand the dropdown showing all the available resolutions. Take a screenshot of that and post it here please.
xarrek
Posts: 3
Joined: Mon Nov 21, 2011 2:13 pm

Post by xarrek »

here it is
Image
xarrek
Posts: 3
Joined: Mon Nov 21, 2011 2:13 pm

Post by xarrek »

OK, I "solved" my problem.
I don't get black pictures when I close and then open the preview window again after changing the resolution to something higher than 800x600.
It also could have been that I opened the capture window after changing the resolution - but I won't verify what it was. It works now, and I'm not touching it until I have to :wink:
Mather
Posts: 10
Joined: Thu Nov 03, 2011 12:10 pm

black pic-->stuck "preview"

Post by Mather »

Hi, I had this problem too, and I also discovered, that i had to start and then stop the preview, but for me the first or second image was stuck, after that all the pictures were the same, only the time-strap changed......here is the debugg file:

YAWCAM - Yet Another Webcam Software
Version: 0.3.7 (2011-11-09)
os.arch: x86
java.home: C:\Program Files\Java\jre6
java.vendor: Sun Microsystems Inc.
java.version: 1.6.0_29
java.io.tmpdir: C:\Users\C-LTS-~1\AppData\Local\Temp\
user.home: C:\Users\C-LTS-imaging system
base_path: C:\Users\C-LTS-imaging system\.yawcam\
File.separator: \
Local language: hu
Reading settings: C:\Users\C-LTS-imaging system\.yawcam\yawcam_settings.xml
CompatibleImageType: 1
java.io.FileNotFoundException: C:\Users\C-LTS-imaging system\.yawcam\tmp\ver.dat (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at yawcam.Main.checkForNewVersion(Main.java:2053)
at yawcam.Main.access$0(Main.java:1997)
at yawcam.Main$1.run(Main.java:330)
at java.lang.Thread.run(Unknown Source)
0.3.7 == YYYY -> -41
Resolving public IP.
Passwords:
---------------------------------
---------------------------------
Banned ip:
---------------------------------
---------------------------------
193.6.168.152
Will use J2D rendering. (javarendering.txt)
Running init for cam: 1 pin: 0 format: 12
CamManager.initCam()
dsj.dll version: 0_8_63
dsj.jar version: 0_8_63
DSEnvironment.getSystemInfo(true):
OS: Windows 7, 6.1, x86
JRE: 1.6.0_29, class version: 50.0
Locale: hu_HU, codepage: Cp1250

java home: C:\Program Files\Java\jre6

class path: .;lib/activation.jar;lib/commons-jxpath-1.1.jar;lib/commons-logging.jar;lib/commons-logging-api.jar;lib/dsj.jar;lib/jmf.jar;lib/mail.jar;lib/mx4j-impl.jar;lib/mx4j-jmx.jar;lib/mx4j-remote.jar;lib/mx4j-tools.jar;lib/sbbi-jmx-1.0.jar;lib/sbbi-upnplib-1.0.4.jar;lib/ftp4j.jar

library path: C:\Windows\system32;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;.
CamManager.queryDevices()
Devices:
[0]: Ip Camera
[0]: Ip Camera
[0]: 254 (type)
[1]: USB2.0 2MP UVC Camera
[1]: \\?\usb#vid_04f2&pid_a147&mi_00#6&24e3fedc&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
[1]: 0 (type)
[2]: none
[2]: none
[2]: -1 (type)
Audio Devices:
[0]: Microphone (USB2.0 2MP UVC Came
[0]: \\?\usb#vid_04f2&pid_a147&mi_02#6&24e3fedc&0&0002#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global
[1]: Line In (Realtek AC'97 Audio)
[1]: \\?\pci#ven_10de&dev_006a&subsys_a0021458&rev_a1#3&13c0b0c5&0&30#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wave
[2]: Microphone (Realtek AC'97 Audio
[2]: \\?\pci#ven_10de&dev_006a&subsys_a0021458&rev_a1#3&13c0b0c5&0&30#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wave
[3]: Phone Line (Realtek AC'97 Audio
[3]: \\?\pci#ven_10de&dev_006a&subsys_a0021458&rev_a1#3&13c0b0c5&0&30#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wave
[4]: SPDIF (Realtek AC'97 Audio)
[4]: \\?\pci#ven_10de&dev_006a&subsys_a0021458&rev_a1#3&13c0b0c5&0&30#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wave
[5]: none
[5]: none
INIT CAMERA, SwingUtilities.isEventDispatchThread():false
SwingUtilities.isEventDispatchThread():false
Forcing:
cam=1
pin=0
format=12
..........................................----------------
Initialized:
video: YUY2
width: 1280, height: 960
bitDepth: 24
frameRate: 9.009009
duration: 0ms (00:00:00)
----------------
#### Trying RENDERMODE: J2D
### RENDERMODE OK! ###
RENDERMODE: J2D
ready to go (INITIALIZED)
stopping cam
#######################
Audio output devices:
Primary Sound Driver
Speakers (Realtek AC'97 Audio)
Realtek Digital Output (Realtek AC'97 Audio)
Java Sound Audio Engine
#######################
Could not load C:\Users\C-LTS-imaging system\.yawcam\motion\EventList.xml
(Will create a new one when needed...)
Building device menu right now!
Building 'Change to'-menu...
ICON: 32 bbp: 32
&&&&&&&&&&&&&& PreviewFrame: SwingUtilities.isEventDispatchThread(): true
CU: 1
starting cam
cam started
PreviewFrame: Adding visualComponent!
Building popup menu for preview window.
Building device menu right now!
Building 'Change to'-menu...
&&&&&&&&&&&&&& SwingUtilities.isEventDispatchThread(): true
actionlisterner - cam
Font lagrad: Lucida Console
30
File!
=> id: 2
Browse...
=> id: 3
=> id: 4
=> id: 6
Text Overlay!
Saved: C:\Users\C-LTS-imaging system\.yawcam\yawcam_settings.xml
¤¤¤¤ tr?dar innan: 0
tmpc = 1
setHldr.cam = 1
Enter loop...
CU: 2
Parent: E:\imaging-test
Are going to write file: E:\\imaging-test\\image2011-11-11_11.27.04.png
Saved: C:\Users\C-LTS-imaging system\.yawcam\yawcam_settings.xml
Removed: yawcam.gui.PreviewFrame[frame0,1202,63,815x645,invalid,hidden,layout=java.awt.BorderLayout,title=Yawcam - Előnézet,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,30,799x607,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
frames: 0
CU: 1
File written as: E:\\imaging-test\\image2011-11-11_11.27.04.png
CU: 0
pausing cam
stopping cam
propertyChange: FORMAT CHANGED!!!
getActiveCaptureFormat(): ans[0]:1 ans[1]:0 ans[2]:12
CU: 1
starting cam
cam started
Parent: E:\imaging-test
Are going to write file: E:\\imaging-test\\image2011-11-11_11.28.09.png
File written as: E:\\imaging-test\\image2011-11-11_11.28.09.png
CU: 0
pausing cam
stopping cam
CU: 1
starting cam
cam started
Parent: E:\imaging-test
Are going to write file: E:\\imaging-test\\image2011-11-11_11.29.12.png
File written as: E:\\imaging-test\\image2011-11-11_11.29.12.png
CU: 0
pausing cam
stopping cam
CU: 1
starting cam
cam started
Parent: E:\imaging-test
Are going to write file: E:\\imaging-test\\image2011-11-11_11.30.14.png
File written as: E:\\imaging-test\\image2011-11-11_11.30.14.png
CU: 0
pausing cam
stopping cam
CU: 1
starting cam
cam started
Parent: E:\imaging-test
Are going to write file: E:\\imaging-test\\image2011-11-11_11.31.15.png
File written as: E:\\imaging-test\\image2011-11-11_11.31.15.png
CU: 0
pausing cam
stopping cam
CU: 1
starting cam
cam started
Parent: E:\imaging-test
Are going to write file: E:\\imaging-test\\image2011-11-11_11.32.16.png
File written as: E:\\imaging-test\\image2011-11-11_11.32.16.png
CU: 0
pausing cam
stopping cam
CU: 1
starting cam
cam started
Parent: E:\imaging-test
Are going to write file: E:\\imaging-test\\image2011-11-11_11.33.17.png
File written as: E:\\imaging-test\\image2011-11-11_11.33.17.png
CU: 0
pausing cam
stopping cam
size: 1
No. of outputthreds in main: 0
FILE output thread was interrupted.
Saved: C:\Users\C-LTS-imaging system\.yawcam\yawcam_settings.xml
stopping cam
Post Reply