![]() |
Re: python / gstreamer / camera / xvimagesink issues
Quote:
|
Re: python / gstreamer / camera / xvimagesink issues
It's lardman's fault. He should have posted on my thread not this ancient, crusty thread.
And sorry, daperl, I haven't tested your scripts yet. My brain was refusing to go into "work" mode all weekend. It just wanted to sit around on the couch and drink beer. :( |
Re: python / gstreamer / camera / xvimagesink issues
Sorry, I thought this was the thread you were talking about!
|
Re: python / gstreamer / camera / xvimagesink issues
Quote:
Quote:
|
Re: python / gstreamer / camera / xvimagesink issues
Quote:
|
Re: Fremantle GStreamer
So while we're at it, what are the thoughts on camera focusing?
There are v4l2 hooks there in ad5820.c iirc, and it looks like the camerabin component (or photography interface) can use them. However as I'm currently writing in Python, that's not so great. There is the v4l2camsrc, which looks like it's linked to the above, but I'm not sure I can do anything with it (as it just appears as a source afaict). Otherwise I'm considering talking to the ad5820 directly using ioctls, but then I need to work out how to pull in the isp_af functionality, or implement my own (which would be interesting, but ultimately a waste of time). So, anyone have any bright ideas? |
Re: Fremantle GStreamer
lardman: this is output from Fremantle VLC that you might find useful:
Code:
opening device '/dev/video0' |
Re: Fremantle GStreamer
Good, at least the focus components are available through v4l2 on the device. No auto focus there, but just altering it would be good as a starting point.
|
Re: Fremantle GStreamer
Hmm, using v4l2camsrc, I get a frame which is 61440 in size.
Now that is 640 x 480 x 2 But the camera is not supposed to return that frame size, and also it seems an odd encoding, either you get a one-to-one YUV, or the U and V data are a 1/4 the size of the Y data, so I'd expect the total frame to be 640 x 480 x 1.5. Though I guess there are other encodings available (and this seems to be the same one I saw before). Perhaps it's just the fact it's morning ;) Indeed just morning. As the encoding is UYVY (or something like that), for every 2 Y pixels we have a total of 4*8 byes = 32bytes. 32/2 = 16bytes total per pixel -> the frame is twice the size of the resolution. Doh! |
Re: Fremantle GStreamer
What does the line, "device codec BA10 (Bayer10 (GrR/BGb)) not supported" mean I wonder? What's Bayer10 (GrR/BGb)?
|
All times are GMT. The time now is 10:34. |
vBulletin® Version 3.8.8