View previous topic :: View next topic |
Author |
Message |
ps3fanboy
Joined: 06 Jul 2008 Posts: 66
|
Posted: Tue Dec 30, 2008 7:07 pm Post subject: |
|
|
jimparis wrote: | Are you running 32-bit userspace and 64-bit kernel on PPC? I don't know if that's been tested extensively, looks like you're hitting some problem with the compat_ioctl32 stuff. Have you tried other applications that are known to work on other platforms (e.g. mplayer)? |
yes, i'm running 32 bit application on 64 bit kernel... no, haven't tested with other apps.
how do i create a 64 bit app? looks like 32 bit app is the default. _________________ http://playstation3-homebrew-multimedia.blogspot.com/ |
|
Back to top |
|
|
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Dec 31, 2008 5:11 am Post subject: |
|
|
Depends on your distro. Try "gcc -m64". Also please try an existing app like mplayer and let us know how that goes :) |
|
Back to top |
|
|
ps3fanboy
Joined: 06 Jul 2008 Posts: 66
|
Posted: Fri Jan 02, 2009 1:57 am Post subject: |
|
|
jimparis wrote: | Are you running 32-bit userspace and 64-bit kernel on PPC? I don't know if that's been tested extensively, looks like you're hitting some problem with the compat_ioctl32 stuff. Have you tried other applications that are known to work on other platforms (e.g. mplayer)? |
i ran the driver with mplayer and found that quality is as bad as with my app.
no difference with the flickering.
the ioctl problem seems to be related to the kernel. i tried with 2.6.26 and didn't see any that i saw on 2.6.28. _________________ http://playstation3-homebrew-multimedia.blogspot.com/ |
|
Back to top |
|
|
ps3fanboy
Joined: 06 Jul 2008 Posts: 66
|
Posted: Wed Jan 07, 2009 12:42 am Post subject: |
|
|
everything seems to be fine with the latest 2.6.28 kernel:
Code: | usb 1-2.4: new high speed USB device using ps3-ehci-driver and address 32
usb 1-2.4: configuration #1 chosen from 1 choice
gspca: probing 1415:2000
ov534: sensor is ov7721
ov534: frame_rate: 30
gspca: probe ok
gspca: probing 1415:2000
gspca: probing 1415:2000
|
no ioctl problems anymore. _________________ http://playstation3-homebrew-multimedia.blogspot.com/ |
|
Back to top |
|
|
ps3fanboy
Joined: 06 Jul 2008 Posts: 66
|
|
Back to top |
|
|
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Sun Jan 11, 2009 6:40 am Post subject: |
|
|
36?!!! There are only 4, maybe you bought 9 cameras by mistake? :)
They work fine. Just open up e.g. Audacity and tell it to record 4 channels. |
|
Back to top |
|
|
ps3fanboy
Joined: 06 Jul 2008 Posts: 66
|
Posted: Sun Jan 11, 2009 6:25 pm Post subject: |
|
|
jimparis wrote: | 36?!!! There are only 4, maybe you bought 9 cameras by mistake? :)
They work fine. Just open up e.g. Audacity and tell it to record 4 channels. |
well, looks like counting beyond 3 seems a bit difficult for me :-)
thanks. _________________ http://playstation3-homebrew-multimedia.blogspot.com/ |
|
Back to top |
|
|
swordman
Joined: 27 Dec 2005 Posts: 27
|
Posted: Mon Feb 09, 2009 7:06 pm Post subject: |
|
|
I'm trying to use the PSEYE on Xubuntu 8.10 on a laptop, and the driver compiles just fine.
The installaion runs Ok and in VLC the video stream is recognized ok.
Just a pair of questions:
- In VLC I have a delay of 1 second
- The output show a weavy noise running bottom-up int the VLC output.
Are these VLC problems, or drivers problems or something with the kernel?
I've also thought about the refresh rate of the the monitor for the waves.
PS: The kernel is ubuntu-2.6.27.9-generic
Thanks! |
|
Back to top |
|
|
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Feb 11, 2009 10:05 am Post subject: |
|
|
The delay is probably a combination of buffering in the camera, in the USB stack, in the pseye driver, and in VLC. There will always be some delay because of this (although 1 second seems unusually long). Try other players like mplayer and it might be better.
For the noise, can you show us an example? |
|
Back to top |
|
|
swordman
Joined: 27 Dec 2005 Posts: 27
|
Posted: Thu Feb 12, 2009 12:01 am Post subject: |
|
|
Now...
I don't know what to say...
The weavy noise is the one that you can see when you record with a camera what you see in TV, i don't know if I expressed the idea well. (sorry for the bad english).
But, won I've noticed that it is only visible when I've light turned on (neon lamp).
In natural light the video is noise free... (EMC problem anyone?)
I don't know.
The delay isn't really a problem for me, I've to use the camera for openCV, so...
Instead I noticed that opencv capture the frame, bat non always the complete ones, sometime there are artifacts in the upper side of the picture... but this is probably a problem of the raw access of opencv to the data.
Thanks for the reply!
If i've something other.. I'll post ;)
Thanks!
PS: In openCV I don't have delay. |
|
Back to top |
|
|
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Feb 26, 2009 4:58 pm Post subject: |
|
|
swordman wrote: | The weavy noise is the one that you can see when you record with a camera what you see in TV, i don't know if I expressed the idea well. (sorry for the bad english).
But, won I've noticed that it is only visible when I've light turned on (neon lamp).
In natural light the video is noise free... (EMC problem anyone?)
I don't know. |
On the PS3 in gameos, there is an option to use a 50Hz or a 60Hz filter to avoid flicker from artificial lighting. I guess the ov534 driver probably initializes this to the wrong value for your region. Try this patch to the ov534 driver:
Code: | diff --git a/drivers/media/video/gspca/ov534.c b/drivers/media/video/gspca/ov534.c
index 3bf15e4..093fddd 100644
--- a/drivers/media/video/gspca/ov534.c
+++ b/drivers/media/video/gspca/ov534.c
@@ -259,7 +259,7 @@ static const __u8 ov772x_reg_initdata[][2] = {
{ 0x2a, 0x00 },
{ 0x2b, 0x00 },
{ 0x6b, 0xaa },
- { 0x13, 0xff },
+ { 0x13, 0xdf },
{ 0x90, 0x05 },
{ 0x91, 0x01 },
|
You can also try playing with these two registers:
Code: | diff --git a/drivers/media/video/gspca/ov534.c b/drivers/media/video/gspca/ov534.c
index 3bf15e4..7370968 100644
--- a/drivers/media/video/gspca/ov534.c
+++ b/drivers/media/video/gspca/ov534.c
@@ -297,8 +297,8 @@ static const __u8 ov772x_reg_initdata[][2] = {
{ 0x0c, 0x90 },
{ 0x2b, 0x00 },
- { 0x22, 0x7f },
- { 0x23, 0x03 },
+ { 0x22, 0x7f }, /* banding filter minimum AEC value */
+ { 0x23, 0x03 }, /* banding filter maximum step */
{ 0x11, 0x01 },
{ 0x0c, 0xd0 },
{ 0x64, 0xff },
|
but I don't know how they should be adjusted. |
|
Back to top |
|
|
swordman
Joined: 27 Dec 2005 Posts: 27
|
Posted: Sun Mar 15, 2009 5:21 pm Post subject: |
|
|
I apologize for not replying in a while... Sorry
My PSEye stopped working so I've to search for another one.
When I get it, il try the patch ;) Thanks |
|
Back to top |
|
|
jacquelina
Joined: 18 Jan 2010 Posts: 1
|
Posted: Tue Jan 19, 2010 6:00 pm Post subject: |
|
|
What camera is good and do you have any tips? I've been doing photography for about a year now and I have a Cannon digital camera.. Is this a good camera to use? And how can I get a good lighting and any useful tips to make my pictures more mind blowing or at least beautiful?
________________________
yahoo keyword tool ~ overture ~ traffic estimator ~ adwords traffic estimator
Last edited by jacquelina on Thu Jan 21, 2010 8:02 pm; edited 1 time in total |
|
Back to top |
|
|
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Jan 20, 2010 6:22 am Post subject: |
|
|
^^ spammer |
|
Back to top |
|
|
|