Go to advanced search

by Seb.26
Fri Oct 26, 2018 3:49 pm
Forum: C/C++
Topic: Stuck using MMAL to encode image from cpu data buffer
Replies: 2
Views: 1942

Re: Stuck using MMAL to encode image from cpu data buffer

Hi, very interesting :mrgreen:
do you have any benchmarking about GPU compression vs CPU compression using libjpeg for exemple :?:
thanks.
by Seb.26
Tue Oct 23, 2018 12:33 pm
Forum: C/C++
Topic: MMAL JPEG encoder "luma only" ?
Replies: 0
Views: 1429

MMAL JPEG encoder "luma only" ?

Hi world,

does the GPU JPEG encoder used in userland (raspistill for exemple) allow encoding in gray JPEG ?
(produce only luma picture and not RGB 'grayed' picture) ?

Thanks :D
by Seb.26
Tue Oct 16, 2018 12:26 pm
Forum: C/C++
Topic: Raspistill -s signal mode
Replies: 4
Views: 2309

Re: Raspistill -s signal mode

Hello world, since my last post, I have wrote my program and it works fine, but it's slow to write a file from raspiyuv, then open this file from my program, edit it and write it again ... It's time to go deeper ... yes DougieLawson : you said it :mrgreen: I have copy 'userland-master' from GIT onto...
by Seb.26
Sun Sep 30, 2018 9:33 am
Forum: C/C++
Topic: Raspistill -s signal mode
Replies: 4
Views: 2309

Re: Raspistill -s signal mode

Hello, thanks for your answer. Why not pull the source code for raspistill and add your new function to it rather than trying to write a wrapper? Mainly because I'm too lazy to start deep study of userland code ... :oops: But, after quick read, looks like raspistill use temp file name for writting a...
by Seb.26
Sat Sep 29, 2018 3:08 pm
Forum: C/C++
Topic: Raspistill -s signal mode
Replies: 4
Views: 2309

Raspistill -s signal mode

Hi world, I'm trying to use the raspistill signal mode to trigger frame grab from my c++ program. Question : how could I know that raspistill have finish to grab the frame after sending USR1 signal to it ?? = the jpeg file is ready to be read from my program and raspistill is ready for next USR1 sig...
by Seb.26
Tue Sep 04, 2018 1:51 pm
Forum: Advanced users
Topic: simple RO headless pi zero system
Replies: 5
Views: 1222

Re: simple RO headless pi zero system

I will try this, thanks for your help.
by Seb.26
Tue Sep 04, 2018 8:43 am
Forum: Advanced users
Topic: simple RO headless pi zero system
Replies: 5
Views: 1222

simple RO headless pi zero system

Hi world, I have build a small camera system based on a PI zero + Camera v2. I want to make it a true read-only system the simplest way, no more update needed, no file writing ... I'm using the last Strech version and all tutorials are about 'overlay'. Can't I just use simple way like : > disable sw...
by Seb.26
Thu Jul 07, 2016 1:31 pm
Forum: C/C++
Topic: [C/C++] Camera still mode library
Replies: 0
Views: 521

[C/C++] Camera still mode library

Hi guys, what library am I supose to use actually to capture picure using pi camera. I want to take picture as fast as possible in a buffer on GPIO event. ( wuth full resolution) I saw in this post that I should obtain about 10fps : 2592×1944 1-15fps, video or stills mode, Full sensor full FOV, defa...
by Seb.26
Thu Jun 16, 2016 4:08 pm
Forum: Advanced users
Topic: [how to]USB gadget (ether) on Windows CE 5 host ?!
Replies: 5
Views: 1801

Re: [how to]USB gadget (ether) on Windows CE 5 host ?!

You are right : I will try to contact tech support ... but will be hard since this WinCE5 is pretty old (2009) :cry:
by Seb.26
Thu Jun 16, 2016 4:03 pm
Forum: C/C++
Topic: Which is faster : "GPIO 8b FIFO" or "TTL UART" ?
Replies: 0
Views: 476

Which is faster : "GPIO 8b FIFO" or "TTL UART" ?

Hi world, as the title (may) indicates, I have a question about Data read/write rates. The goal in 2 words : send/receive data from/to a computer using USB cable, C/C++ program. The global purpose is to receive/send files over USB, so the data rate is the main subject. For this, I've selected 2 FTDI...
by Seb.26
Wed Jun 15, 2016 9:48 am
Forum: Advanced users
Topic: [how to]USB gadget (ether) on Windows CE 5 host ?!
Replies: 5
Views: 1801

Re: [how to]USB gadget (ether) on Windows CE 5 host ?!

Hello, From Microsoft : https://www.microsoft.com/windowsembedded/en-us/drivercatalog.aspx?fsr=1&prodcat=28&manu=25&wince=4&WEItemsPerPage=10 This line : Windows CE 4.0, Windows CE 4.2, Windows CE 4.1, Windows CE 5.0 USB Host USB Remote NDIS Microport, Miniport Usb8023.dll, Rndismp.d...
by Seb.26
Tue Jun 14, 2016 7:33 pm
Forum: Advanced users
Topic: [how to]USB gadget (ether) on Windows CE 5 host ?!
Replies: 5
Views: 1801

[how to]USB gadget (ether) on Windows CE 5 host ?!

Hi pi world, I've setup my pi zero as usb gadget "ethernet over USB". All works fine on my laptop (Windows 7) using RNDIS Microsoft drivers. But now I must use it on a Windows CE 5.0 terminal (yes : before dinosaurs) :shock: And on this terminal nothing works, or about nothing... I thing t...
by Seb.26
Wed Jan 07, 2015 11:35 pm
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

DougieLawson wrote:I ran it for 23 hours without any problems. So I think Jean's patched code is a good fix.
same here ... actually "412138".

I will stop my rPi tomorrow.

Again VERY big thanks to both of you ! ;)
by Seb.26
Wed Jan 07, 2015 3:24 pm
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

..................
1 -> 271796
2
3
...................
1 -> 271797
2
3
I will probably need to stop it manually tomorrow ... good news !
by Seb.26
Wed Jan 07, 2015 9:32 am
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

Hi,

"170825" and still running ... :mrgreen:

let's wait some more hours but that looks good ... ;)
by Seb.26
Tue Jan 06, 2015 11:40 pm
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

- patch apply = done
- new src build = done
- running new executable = in progress

... The test program is running since now ... let's sleep ... ;)

I have sent an email to dev about this.

Many thanks for your help jeanleflambeur & DougieLawson.
by Seb.26
Tue Jan 06, 2015 11:23 pm
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

jeanleflambeur wrote:Classic example that correlation does not imply causation :)
I should be wrong but I thing you will understand that :

<< merci pour le coup de main, je vais tester le patch >>

:mrgreen:
by Seb.26
Tue Jan 06, 2015 7:58 pm
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

And "LOL" ... finaly it looks like the deadlock was not due to dark ... :lol:
( any case : an amazing coincidence that the bug happens exactly when I put my finger on the lens ... )
by Seb.26
Tue Jan 06, 2015 7:56 pm
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

WOW ... big thanks all ... :D :D :D I will point devs on this thread. Maybe can you help me to solve this in source and build library again to check if deadlock has gone ? You said : The fix is pretty simple - the wantToGrab bool has to be protected by the mutex inside Thcond, and the _mutex variabl...
by Seb.26
Tue Jan 06, 2015 5:48 pm
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

Maybe it's just a sheer coincidence ... My last test was at about 127000 successfull grab() and I then put a finger on the lens of the camera to ensure it is in the dark ... and the program test crash after about 2 seconds ... strange !!! :shock: Please run my test program ... please ... please ... ...
by Seb.26
Tue Jan 06, 2015 9:41 am
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

Sad ... I have install fresh system using the new raspian image ( RASPBIAN / Debian Wheezy / 2014-12-24 ). my test program run fine for about 9 hours and then crash during this night : [...] 2 3 ............... 1 -> 165542 2 3 ............... 1 -> 165543 2 *** deadlock *** so there is still a proble...
by Seb.26
Sat Jan 03, 2015 7:34 pm
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

Hi, I take source from

http://sourceforge.net/projects/raspicam/files/?

The library is from :

http://www.uco.es/investiga/grupos/ava/node/40

[Edit] I just saw an update for raspian, I will try to re-install all and check if problem has gone with new firmware ... :o
by Seb.26
Fri Jan 02, 2015 12:34 am
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

Happy new year to everyone !

None can test my code ? ... :cry:
by Seb.26
Sun Dec 07, 2014 9:11 pm
Forum: C/C++
Topic: [SOLVED] [rPI] [C++] [raspicam] deadlock in raspicam::grab()
Replies: 22
Views: 4578

Re: [rPI] [C++] [raspicam] deadlock in raspicam::grab()

Hi,

can anybody try my short program and report if it crash on his r-PI too.

Many thanks.
:geek:

Go to advanced search