Go to advanced search

by gagle
Sun Jun 29, 2014 2:52 pm
Forum: Camera board
Topic: [OpenMAX] jpeg thumbnail
Replies: 3
Views: 1228

[OpenMAX] jpeg thumbnail

How can I set the thumbnail quality in OpenMAX? The struct OMX_PARAM_BRCMTHUMBNAILTYPE is the only thing in all the openmax headers with the word "thumb" and it doesn't have any quality field. :( raspistill doesn't use 2 features of this struct: - Automatic width and height. If both dimensions are ...
by gagle
Sun Jun 29, 2014 11:00 am
Forum: Camera board
Topic: [OpenMAX] ISO and shutter speed values max limits
Replies: 7
Views: 3468

Re: [OpenMAX] ISO and shutter speed values max limits

The still port of the camera is always using the full sensor mode(2592×1944). The preview port has two possibilities in raspistill: 1) binned full field of view (1296x972) at 30fps. 2) full preview (switch -fp) taking full sensor resolution at 15fps. If you now use your command, you are using the b...
by gagle
Sun Jun 29, 2014 10:51 am
Forum: Camera board
Topic: Open source H264 encoder/decoder
Replies: 10
Views: 5894

Re: Open source H264 encoder/decoder

gkreidl wrote:I don't think the OP was asking for an open source encoder for the RPi, but I might be wrong, of course.
Nope, this thread was just informative. These are very good news for the webrtc protocol. Videoconference for the masses with just a browser :D .
by gagle
Sun Jun 29, 2014 9:45 am
Forum: Camera board
Topic: [OpenMAX] ISO and shutter speed values max limits
Replies: 7
Views: 3468

Re: [OpenMAX] ISO and shutter speed values max limits

Is there a possibility that the jpeg encoder doesn't set the exposure time metadata correctly? I'm trying to set a 1s shutter speed with raspistill with all the resolutions explained here but it is always 772ms.

Code: Select all

$ raspistill -ss 1000000 -w 1296 -h 972 -o pic.jpeg
by gagle
Sun Jun 29, 2014 7:30 am
Forum: Camera board
Topic: Open source H264 encoder/decoder
Replies: 10
Views: 5894

Open source H264 encoder/decoder

Cisco has an open source implementation. Did you know about that?

http://www.openh264.org/
https://github.com/cisco/openh264
http://blogs.cisco.com/collaboration/op ... rs-webrtc/
H.264 free for use in WebRTC.
Good news.
by gagle
Sat Jun 28, 2014 6:41 pm
Forum: Camera board
Topic: [OpenMAX] ISO and shutter speed values max limits
Replies: 7
Views: 3468

Re: [OpenMAX] ISO and shutter speed values max limits

- I'm trying to configure the struct OMX_CONFIG_CAMERASETTINGSTYPE which I guess is the struct used with MMAL_PARAMETER_CAMERA_SETTINGS_T. I get an unsupported index error with the index OMX_IndexConfigCameraSettings. - I've set the framerate of the preview port to 0 and now I can set the shutter sp...
by gagle
Sat Jun 28, 2014 3:11 pm
Forum: Camera board
Topic: [OpenMAX] ISO and shutter speed values max limits
Replies: 7
Views: 3468

[OpenMAX] ISO and shutter speed values max limits

The accepted ISO values are: 0, 100, 160, 200, 250, 320, 400, 500, 640 and 800. Values higher than 800 are automatically set to 800. The range of the shutter speed is from 1μs to 66ms. Values higher than 66 are automatically set to 66. These are the results from my tests The struct and index that I'...
by gagle
Thu Jun 26, 2014 8:33 pm
Forum: Camera board
Topic: Fastest boot to camera ?
Replies: 3
Views: 3212

Re: Fastest boot to camera ?

yep, arch is the best linux distribution (imo). No GUI, excellent package manager for linux (pacman). KISS principles. Fast. Beautiful.
by gagle
Thu Jun 26, 2014 8:29 pm
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18468

Re: omxcam - OpenMAX camera abstraction layer

Please, I need feedback. This project is taking me too much time (3+ months) and I want to return to my well-loved node.js. As soon I'll write the full docs and release the v0.0.1 I'd like to receive feedback (I prefer criticism than "you're superb!"). Thanks! :oops:
by gagle
Thu Jun 26, 2014 10:53 am
Forum: Camera board
Topic: Fastest boot to camera ?
Replies: 3
Views: 3212

Re: Fastest boot to camera ?

With which camera settings?
by gagle
Tue Jun 24, 2014 7:34 pm
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18468

Re: omxcam - OpenMAX camera abstraction layer

News: - All the settings are validated before starting the camera. - The settings can be updated while recording. - Lots of fixes. Roadmap to v0.0.1: - Refactor the video/still recording to abstract common functionalities (all the thread behaviour). - The shutter speed auto mode is still wrong!? - M...
by gagle
Mon Jun 23, 2014 7:17 pm
Forum: General discussion
Topic: PiHub usb 3.0
Replies: 6
Views: 1743

Re: PiHub usb 3.0

ok, thanks
by gagle
Mon Jun 23, 2014 4:52 pm
Forum: General discussion
Topic: PiHub usb 3.0
Replies: 6
Views: 1743

Re: PiHub usb 3.0

Are you 100% sure? do you have an external usb3.0 connected directly to the hub?
by gagle
Mon Jun 23, 2014 4:37 pm
Forum: General discussion
Topic: PiHub usb 3.0
Replies: 6
Views: 1743

PiHub usb 3.0

I have a PiHub and I need to buy an external HDD usb 3.0. Can I connect the hdd directly to the pihub or I need to buy a usb 3.0 -> 2.0 adapter?
by gagle
Mon Jun 23, 2014 7:01 am
Forum: Camera board
Topic: ROI bug or expected behaviour
Replies: 3
Views: 1091

Re: ROI bug or expected behaviour

And the white edge? It is something about the rounding up to the nearest multiple of 32? 640*0.5 = 320, multiple of 32, so... :?:
by gagle
Sun Jun 22, 2014 7:03 pm
Forum: Camera board
Topic: ROI bug or expected behaviour
Replies: 3
Views: 1091

ROI bug or expected behaviour

/opt/vc/bin/raspivid -o vid.h264 -w 640 -h 480 -t 2000 --roi 0.5,0.0,1.0,1.0 1.jpg There's a white line in the right edge. PD: I don't understand how the parameter it's supposed to work. 0.5,0.0,1.0,1.0 from my understanding should be the same as 0.5,0.0,0.5,0.5 if we want to maintain the aspect ra...
by gagle
Sat Jun 14, 2014 7:03 pm
Forum: Camera board
Topic: [OpenMAX] How to check whether the camera is running
Replies: 1
Views: 686

[OpenMAX] How to check whether the camera is running

When I change the camera component to IDLE, I get an error (insufficient resources) if the camera is already running. I suspect that this is just a stroke of luck due to the way that I've written my code. How does MMAL do to check if the camera is already running? Is it something related to openmax,...
by gagle
Sun Jun 08, 2014 3:52 pm
Forum: Camera board
Topic: Does the video stabilisation only applies to video capture?
Replies: 3
Views: 1259

Does the video stabilisation only applies to video capture?

This is an OpenMAX question. The option "vstab" (video stabilisation) uses the struct OMX_CONFIG_FRAMESTABTYPE and the index OMX_IndexConfigCommonFrameStabilisation (if I'm not wrong). The specification says that it can be used both with image and video capture but I suspect that in the RaspberryPi ...
by gagle
Tue Jun 03, 2014 8:14 am
Forum: Camera board
Topic: Cyan vignetting after rpi-update
Replies: 42
Views: 16165

Re: Cyan vignetting after rpi-update

I also have this problem with arch linux.
by gagle
Tue May 27, 2014 10:07 am
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18468

Re: omxcam - OpenMAX camera abstraction layer

This week I'll push a new big update. The past two weeks I've been doing a complete refactor to follow C style conventions and best practices for C libs. I've also fixed the color produced by the jpeg encoder. I didn't know why the preview port was being used to capture videos in the h264 demo that ...
by gagle
Sun May 18, 2014 9:45 am
Forum: Camera board
Topic: Streaming ... how come it's so slow?
Replies: 14
Views: 9694

Re: Streaming ... how come it's so slow?

Skype uses delta encoding algorithms to stream video data, that's why it has no appreciable delay. The low resolution also helps, but the encoding it's its major performance boost.
by gagle
Wed May 14, 2014 11:54 am
Forum: Camera board
Topic: Error with the recent changes to the driver
Replies: 2
Views: 758

Re: Error with the recent changes to the driver

/boot/config.txt: gpu_mem_512=316 gpu_mem_256=128 (I don't have any "gpu_mem" line) free -h: total mem: 462MB. I've not made any change to the rpi (or I think so) ------- Edit: I've set these values to the /boot/config.txt file as stated here: https://wiki.archlinux.org/index.php/Raspberry_Pi cma_lw...
by gagle
Wed May 14, 2014 10:15 am
Forum: Camera board
Topic: Error with the recent changes to the driver
Replies: 2
Views: 758

Error with the recent changes to the driver

Have you made any important change in the driver internals? The last firmware update has broken the OpenMAX transition from unloaded to idle. After 5 seconds of inactivity with the led turned on, I get an error: OMX_ErrorInsufficientResources. Using the raspistill I also get an error: mmal: mmal_vc_...
by gagle
Mon May 12, 2014 4:20 pm
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 18468

Re: omxcam - OpenMAX camera abstraction layer

Ok, more news:

After some days stuck trying to compile the library with gyp, I'm starting to write the node.js bindings. Soon, I'll be able to capture images and video from node.js without the need to fork a child process and call raspistill/raspivid binaries.

node-omxcam repository

Stay tuned
by gagle
Mon May 12, 2014 12:25 pm
Forum: Camera board
Topic: camera input port 73: 0x80001005 bad parameter
Replies: 9
Views: 2559

Re: camera input port 73: 0x80001005 bad parameter

Try to comment the lines 913-915 of video.c. If you tunnel the clock-camera components, you don't need to free the buffer, it it's released automatically by the source component (the clock in this case).

Go to advanced search