Go to advanced search

by gagle
Mon May 12, 2014 11:39 am
Forum: Camera board
Topic: camera input port 73: 0x80001005 bad parameter
Replies: 9
Views: 2559

Re: camera input port 73: 0x80001005 bad parameter

AFAIK nothing significant has changed there. But why are you playing with the clock port of the camera component? None of the components you appear to be playing with (camera, egl_render, and null_sink) really have any use for timestamping of the buffers, and clock components are always a pain in t...
by gagle
Sun May 04, 2014 9:34 am
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

Re: omxcam - OpenMAX camera abstraction layer

Today I'm pushing more updates: - The api to record a video is simplified to the limit. I've removed the sleep(), wake(), lock() and unlock() functions because they were causing subtle problems due to the multithreading design. They are now integrated with the startVideo() and stopVideo() functions....
by gagle
Fri Apr 25, 2014 11:34 am
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

Re: omxcam - OpenMAX camera abstraction layer

That is almost the exact opposite to what I said! With default settings, enabling port 72 and setting OMX_IndexConfigPortCapturing on port 72 whilst port 71 is active will stop emitting frames from port 71 only whilst the still is being produced. It should automatically resume afterwards. The times...
by gagle
Thu Apr 24, 2014 12:38 pm
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

Re: omxcam - OpenMAX camera abstraction layer

I hate to be that guy, but... Did you try it? Yes I tried and it did not work. Sometimes, depending on the exact moment the capture code is called, I can have one more texture filled, but after that the FillBufferDone is not called anymore. Actually I am not recording the video, just displaying it,...
by gagle
Wed Apr 23, 2014 10:27 am
Forum: Camera board
Topic: Green h264 video with white balance set to off
Replies: 3
Views: 1244

Re: Green h264 video with white balance set to off

Ok, perfect.

Image

red gain = 1.1
blue gain = 0.1

For anyone interested, the struct is OMX_CONFIG_CUSTOMAWBGAINSTYPE and the index is OMX_IndexConfigCustomAwbGains.
by gagle
Tue Apr 22, 2014 3:30 pm
Forum: Camera board
Topic: Green h264 video with white balance set to off
Replies: 3
Views: 1244

Green h264 video with white balance set to off

Last week I upgraded the system after a month without doing anything with the raspberry pi. I'm using Arch linux so I simply need to do: "sudo pacman -Syu" to get the last firmware tools. I have an open max example that captures a video that has the white balance control set to off. It was working w...
by gagle
Thu Apr 10, 2014 5:11 pm
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

Re: omxcam - OpenMAX camera abstraction layer

Don't worry, this library will try to solve most of the problems with image processing, basically because the success of a bigger project that I have in mind depends on the success of this library. Right now you can capture video and images but I still need to fix and improve a lot of things. The pa...
by gagle
Wed Apr 09, 2014 8:25 am
Forum: Camera board
Topic: WebM (again)
Replies: 2
Views: 823

WebM (again)

Today I've seen this thread. What's the status of the WebM implementation? Will we see some day an rpi streaming webm video data?
by gagle
Mon Apr 07, 2014 1:18 pm
Forum: Camera board
Topic: Using the new camera mode in code
Replies: 20
Views: 4947

Re: Using the new camera mode in code

Perfect! Very efficient as usual.

Thanks
by gagle
Sat Apr 05, 2014 10:31 am
Forum: Camera board
Topic: Using the new camera mode in code
Replies: 20
Views: 4947

Re: Using the new camera mode in code

Changes just merged internally should add support for: MMAL_ENCODING_RGBA MMAL_ENCODING_RGB16 (RGB565) MMAL_ENCODING_YV12 MMAL_ENCODING_NV21 They may or may not help you for your project. This means that now we can get data from the camera component in RGBA format? I see 3 different enum values her...
by gagle
Mon Mar 31, 2014 10:17 am
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

Re: rpicam - Camera abstraction layer using OpenMAX IL

Hey people, I'm still here :P. The last week I had no time to do anything and this week will be the same more or less. h264 recording works fine in a self-contained program but I still need to apply the changes to the library. For doing that I need to use pthreads. It's a very simple design: http://...
by gagle
Tue Mar 25, 2014 9:30 pm
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

Re: rpicam - Camera abstraction layer using OpenMAX IL

NEWS - I've tried to add the splitter component but I cannot set a tunnel to the image encoder because you cannot tunnel video and image domain ports. I've tried with manual allocation and buffer transfer but then the encoder fails because it needs to be tunnelled directly from the camera due to th...
by gagle
Fri Mar 21, 2014 10:00 pm
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

Re: rpicam - Camera Abstraction layer using OpenMAX IL

Don't panic :mrgreen: We as developers don't need to access to the driver layer. OpenMAX/MMAL it's just what we need. It's a hard job, especially if no one pays you to do so. I agree that the raspberry pi could be a little more open source, but we should not forget that behind it there's a company, ...
by gagle
Thu Mar 20, 2014 7:40 pm
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

Re: rpicam - Camera Abstraction layer using OpenMAX IL

jamesh wrote: I guarantee OpenMAX code will be more complicated! I've not really looked - is there a lot of usage documentation available for it?
Nope. Just the 400-pages spec and some examples.
by gagle
Thu Mar 20, 2014 1:35 pm
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

Re: rpicam - Camera Abstraction layer using OpenMAX IL

... This is not a driver, it's just a lib around the OpenMAX IL. The driver layer it's located under OpenMAX: http://elinux.org/Raspberry_Pi_VideoCore_APIs There are a lot of things to fix/improve/implement, so the answer here it's: use at your own risk. The lib is still not versioned (eg: v0.1.2) ...
by gagle
Thu Mar 20, 2014 11:18 am
Forum: General discussion
Topic: Rasberry Pi Solar Charger
Replies: 18
Views: 3032

Re: Rasberry Pi Solar Charger

A solar battery charger through usb it's a must-have gadget for the RPI. Of course there's a market, no one did this before for the raspberry pi :). I'll buy it if it has a good price and it's 100% compatible with the rpi.
by gagle
Wed Mar 19, 2014 11:33 am
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18470

omxcam - OpenMAX camera abstraction layer

I'd like to share a C library with the appropiate Node.js bindings that encapsulates the camera usage. It doesn't use MMAL, it talks directly to OpenMAX IL. C library Node.js module Why OpenMAX IL and not MMAL? MMAL is not a camera library, it's a wrapper around OpenMAX IL plus other things. If you ...
by gagle
Tue Mar 18, 2014 1:10 pm
Forum: Camera board
Topic: Camera settings with OpenMAX
Replies: 10
Views: 5396

Re: Camera settings with OpenMAX

EV has a range of +/- 4 in steps of 1/6ths (because some people want steps of 1/3s, and others 1/2s). It's MMAL that is awkward as it hasn't taken that into account and just uses an index counting in 1/6ths (ie 10 = 10/6 = +1 2/3). Do bear in mind that it the values will be clipped by the exposure ...
by gagle
Tue Mar 18, 2014 10:54 am
Forum: Camera board
Topic: Camera settings with OpenMAX
Replies: 10
Views: 5396

Re: Camera settings with OpenMAX

Why do you feel the need to use IL instead of MMAL? - MMAL is a big wrapper around OMX and is not documented. - I want to write the minimum code required to capture an image/video. - Learning purposes and to contribute to the open source comunity. ---------------- Good news, the EV compensation now...
by gagle
Thu Mar 13, 2014 8:59 pm
Forum: Camera board
Topic: Camera settings with OpenMAX
Replies: 10
Views: 5396

Re: Camera settings with OpenMAX

These three pics are made with a bulb/lamp source light and shutter speed 1/8. Very weird: raspistill http://img190.imagevenue.com/loc195/th_744728600_rpi_test_122_195lo.jpg raspistill with --awb sun http://img20.imagevenue.com/loc440/th_744220368_rpi_test_122_440lo.jpg omx default values http://img...
by gagle
Thu Mar 13, 2014 5:08 pm
Forum: Camera board
Topic: Camera settings with OpenMAX
Replies: 10
Views: 5396

Re: Camera settings with OpenMAX

Would it be possible to have an option to trigger the camera (in still or video mode) from a pin of the GPIO ? I'd like to synchronize several cameras. Also, is there an C/C++ API in the works, instead of the command line tools ? Thanks, Luc I was hoping someone would stand up to the plate and writ...
by gagle
Wed Mar 12, 2014 2:04 pm
Forum: Camera board
Topic: Camera settings with OpenMAX
Replies: 10
Views: 5396

Camera settings with OpenMAX

I'm trying to write a simple program for capturing a still image, but instead of using MMAL I'm talking directly with OpenMAX IL. http://www.raspberrypi.org/forum/viewtopic.php?f=70&t=71495 My goal is to obtain exactly the same image that I get with raspistill but with my program. I've managed to en...
by gagle
Fri Mar 07, 2014 6:43 pm
Forum: OpenMAX
Topic: Example: How to capture a JPEG image
Replies: 0
Views: 2410

Example: How to capture a JPEG image

This example shows how to use OpenMAX IL to capture a JPEG image.

https://github.com/gagle/raspberrypi-openmax-jpeg

Image
by gagle
Thu Mar 06, 2014 6:22 pm
Forum: OpenMAX
Topic: Still camera and OpenMAX-IL
Replies: 8
Views: 5650

Re: Still camera and OpenMAX-IL

Good news people. I've achieved to capture an image. The image_write component is not working properly or I don't understand how to use it. I've tried to put the component in the WaitForResources state with no result. Which is the solution? To manually consume the output buffers from the image_encod...

Go to advanced search