Discussion in 'UDOO NEO' started by jas-mx, Feb 28, 2016.
If you want to capture jpeg (or h264) have tried using a usb camera which output jpeg?
fyi, usb camera's have two streams, h.252 and mpeg, or mpeg vs raw. (The H3 AW chip has some of the same issues this chip) here is a discussion about using USB cameras.
I'm waiting on cables; but I was going to try stream the images to sdcard and WiFi (goal ~20 fps) and post process the stream later on another device. Does anyone see an issue with this?
A usb camera is no option for me. I only bought the UDOO NEO because of its VADC. My goal is to implement an analogue video capture device which streams the input on a network (as kind of a surveillance camera, where >4fps would be sufficient), so I thought the udoo neo would be the perfect choice. Next week I will try to capture some images (raw and jpeg). I will post my process.
My first attempts to stream a usb webcam (to test the streaming capabilities of gstreamer), were not very good (at this point I have never worked with gstreamer before), but it worked, although it had a huge latency (I think, I did it via UDP). Any helpful information about this topic is welcome for me as well.
@Hannes Bo, to answer your question no, we are not.
Hi, I ssh'd into my neo and have it connected to the HDMI so I can see it's output. I set everything up correctly and when I go to run it I get the appropriate output of :
imx6sx_vadc_pxp.c:206 Found v4l2 capture device /dev/video0.
imx6sx_vadc_pxp.c:220 pixelformat (output by camera): YUV4
imx6sx_vadc_pxp.c:285 VIDIOC_G_PARM failed
imx6sx_vadc_pxp.c:289 WxH@fps = 720x480@30 Image size = 1382400
imx6sx_vadc_pxp.c:476 opening this fb_dev - /dev/fb0
imx6sx_vadc_pxp.c:565 imx6sx_vdac_pxp finished!
However, on my monitor all I see is a blue box assumedly 720x480 as I am using a NTSC camera. Any help would be wonderful.
Blue box would indicate the code is reading the VADC output however there's no valid signal from the camera. This may indicate:
1. The camera is not powered.
2. The camera isn't wired correctly to the J12 connector.
What does your dmesg output show from the VADC ? eg:
dmesg | grep -i vadc
I know the camera is powered, I have it hooked up to a 12V supply and I wired it to the J12 connector myself, only connecting the video in and ground to the camera and wiring the VCC and ground from the camera to the power supply.
When I run dmesg | grep -i vadc I get:
[ 6.910741] CSI: Registered sensor subdevice: fsl_vadc
[ 6.923358] wait vadc auto detect video mode....
[ 9.023354] vadc driver loaded
The output from that dmesg isn't enough, can you 'pastebin' the full dmesg output (without grep) somewhere.
Here's the pastebin for it: http://pastebin.com/Xp93G8SL
Unfortunately the dmesg output posted doesn't shown the initial kernel boot and more importantly the output of when the vadc driver is initialising. Without that I can't see if the vadc has detected the camera correctly or not.
@jas-mx Can you How can I write the camera capture in file ??
Where can camera.zip founded ??
In the first message of this discussion as an attached file.
Thanks @jas-mx, i have gone through your blog and it is helpful but can you tell me how did you connect camera to UDOO board. the link you provided is expired.
Separate names with a comma.