Go to advanced search

by 6by9
Wed Jun 20, 2018 5:58 am
Forum: OpenMAX
Topic: OpenMax
Replies: 4
Views: 83

Re: OpenMax

No. It only has one output port. You can use video splitter to split the stream and feed into two independent video encode components, via resize if you want a different resolution. Resize is quite a processor intensive operation so you may not manage real-time, and the encode hardware is only rated...
by 6by9
Tue Jun 19, 2018 4:43 pm
Forum: Camera board
Topic: Long exposure with raspiraw
Replies: 4
Views: 249

Re: Long exposure with raspiraw

Looking at the differences between mode 2 and mode 3 I've found that the register 0x3036 (SC_CMMN_PLL_MULTIPLIER) was being written to 0x34 while on mode 3, but it had the default value (0x69) on mode 2. So I started to play with this register and the best I could get was 4s of Tint with 0x50. Lowe...
by 6by9
Tue Jun 19, 2018 1:26 pm
Forum: OpenMAX
Topic: OpenMax
Replies: 4
Views: 83

Re: OpenMax

Your question as written makes little sense. Resolution of input or output, and from what component? OpenMax is an API for many multimedia functions (camera, video encode, video decode, image encode, image decode, rendering, and some audio functions). Have a look at some of the sample applications f...
by 6by9
Tue Jun 19, 2018 11:21 am
Forum: Compute Module
Topic: What would be the next step up from CM3?
Replies: 10
Views: 382

Re: What would be the next step up from CM3?

Something just realised, that I could build my own CM3 and have that flush with custom PCB. However does anyone know the components used in this? I already know it uses the BROADCOM BCM2837, Samsung Electronics 701 KLM4G1FEPD S554F021 & the ELPIDA B8132B4PB-8D-F 17110R61500. At which point I'd advi...
by 6by9
Tue Jun 19, 2018 11:07 am
Forum: Troubleshooting
Topic: Raspberry Pi 3 B+ lockups
Replies: 398
Views: 22095

Re: Raspberry Pi 3 B+ lockups

I'm assuming this github thread seems to be the main ethernet debugging thread similar to this? https://github.com/raspberrypi/linux/issues/2482 Closest one I think. TBH If it's rebooting the Pi then it's a new issue. #2482 and #2449 were NFS and Samba (and anything else using TCP) stalling due to ...
by 6by9
Mon Jun 18, 2018 9:00 am
Forum: Camera board
Topic: PiNoIR v2 mode 4 1640x1232 fast capture with python+opencv
Replies: 13
Views: 461

Re: PiNoIR v2 mode 4 1640x1232 fast capture with python+opencv

-b 8 is known to be wrong. It drops the top two bits rather than shifting down so is not actually that useful. -b 16 would give you the full resolution but packed as the bottom 10 bits of a 16 bit word. I have seen other reports of odd buffer behaviour, but not had a chance to fully investigate. It'...
by 6by9
Sat Jun 16, 2018 7:22 pm
Forum: General discussion
Topic: Fake Pi Cameras
Replies: 4
Views: 274

Re: Fake Pi Cameras

rpdom wrote:
Sat Jun 16, 2018 5:52 pm
Are they genuine OmniVision cameras or is someone manufacturing clones of those now?
Pass. Knowing some of what goes into the design of these sensors I'd be surprised if there were companies actually cloning the sensor, but it would be possible.
by 6by9
Sat Jun 16, 2018 2:49 pm
Forum: General discussion
Topic: Fake Pi Cameras
Replies: 4
Views: 274

Re: Fake Pi Cameras

If they actually breach the trademarks then RPF act on them, but otherwise there is little that can be done. As DirkS says, it's one of the reasons that a crypto chip was added to the V2 camera module. It is a little strange that they can still build them as OmniVision declared End Of Life on the OV...
by 6by9
Fri Jun 15, 2018 11:31 am
Forum: Advanced users
Topic: Webcam mplayer tv does not show white or High light section
Replies: 2
Views: 153

Re: Webcam mplayer tv does not show white or High light section

The default values looks a bit squiffy seeing as they're out of range brightness (int) : min=0 max=255 step=1 default=-8193 value=128 contrast (int) : min=0 max=255 step=1 default=57343 value=64 saturation (int) : min=0 max=255 step=1 default=57343 value=44 Have you confirmed that the webcam does ac...
by 6by9
Fri Jun 15, 2018 9:13 am
Forum: Camera board
Topic: camera v2.1 variable fps?
Replies: 8
Views: 460

Re: camera v2.1 variable fps?

You don't say how you're telling vlc to use the Logitech camera, but at a guess you're pointing it at V4L2 (/dev/video0). In which case it is being given timestamps with each incoming buffer. When you pipe from raspivid to vlc there are no timestamps, just the raw data. vlc therefore guesses at a fr...
by 6by9
Thu Jun 14, 2018 1:40 pm
Forum: Camera board
Topic: Bayer data from the NoIR camera
Replies: 13
Views: 405

Re: Bayer data from the NoIR camera

Thank you @6by9, I was just wondering what was the default exposure time in raspiraw, i read somewhere that it was 200 microseconds but when i do -eus 200 i don't have the same result as with no -eus flag. Sorry, I need to refer you back to the disclaimer - https://github.com/6by9/raspiraw/blob/mas...
by 6by9
Thu Jun 14, 2018 11:58 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problem using DPI + PWM + Videodecode
Replies: 8
Views: 258

Re: Problem using DPI + PWM + Videodecode

Due to my usecase this can't be the final solution. Why? What audio output are you using that isn't using the PWM peripheral? Direct omxplayer at that via alsa or similar, or disable the omxplayer from decoding the audio. omxplayer is the only player I'm aware of that goes direct to the audio hardw...
by 6by9
Thu Jun 14, 2018 11:06 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problem using DPI + PWM + Videodecode
Replies: 8
Views: 258

Re: Problem using DPI + PWM + Videodecode

"dtparam=audio=off" will disable the Linux analogue audio driver only, whilst OMX player by default is using the GPU and going direct to the PWM peripheral. If you have no audio output, then play a video file with no audio and confirm that that has no issues. Use ffmpeg or avconv, eg ffmpeg -i input...
by 6by9
Thu Jun 14, 2018 9:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problem using DPI + PWM + Videodecode
Replies: 8
Views: 258

Re: Problem using DPI + PWM + Videodecode

I've just confirmed my suspicions by adding "-o local" to the omxplayer command line when on HDMI.
Again exporting the pwmchip slows audio right down, and disabling it again causes funny things to occur.

Simple is answer is that you need to avoid using analogue audio in your use case.
by 6by9
Thu Jun 14, 2018 9:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problem using DPI + PWM + Videodecode
Replies: 8
Views: 258

Re: Problem using DPI + PWM + Videodecode

Hm, no one using DPI for (cheap) standard LCD modules and controlling the LCD backlight via PWM? This would show the problem. Quite possibly not. Having said that the PWM peripheral is also used for analogue audio, so that might also be an easy test case. I assume you've disabled analogue audio on ...
by 6by9
Thu Jun 14, 2018 9:11 am
Forum: Camera board
Topic: camera v2.1 variable fps?
Replies: 8
Views: 460

Re: camera v2.1 variable fps?

I've not tested if raspivid behaves itself, but generally setting a frame rate of 0 on the camera component allows the AE algorithm to vary the framerate between the absolute max limits defined by MMAL_PARAMETER_FPS_RANGE (defaults to 5 to 30fps). The range that AE will vary the exposure time over d...
by 6by9
Wed Jun 13, 2018 11:35 am
Forum: Official Foundation Display
Topic: Changing Raspberry Pi DSI channel from 1 to 0
Replies: 3
Views: 252

Re: Changing Raspberry Pi DSI channel from 1 to 0

James: I did look at doing it on the Compute Module, but failed to get it running. I'll pass the patches your way if you want them.
by 6by9
Wed Jun 13, 2018 11:30 am
Forum: Camera board
Topic: PiNoIR v2 mode 4 1640x1232 fast capture with python+opencv
Replies: 13
Views: 461

Re: PiNoIR v2 mode 4 1640x1232 fast capture with python+opencv

I think receiving either only one channel or the luma channel of the yuv signal would really help here. Is there a way to do that with v4l2? It's not possible at all. Even in raspistillyuv and raspividyuv the application is passed the full YUV frame and it is the application that chooses to only lo...
by 6by9
Tue Jun 12, 2018 1:36 pm
Forum: Camera board
Topic: Bayer data from the NoIR camera
Replies: 13
Views: 405

Re: Bayer data from the NoIR camera

The spectral characteristics for IMX219 are in the datasheet - someone (not us) has put it on the web at https://github.com/rellimmot/Sony-IMX219-Raspberry-Pi-V2-CMOS/raw/master/RASPBERRY%20PI%20CAMERA%20V2%20DATASHEET%20IMX219PQH5_7.0.0_Datasheet_XXX.PDF See page 87, Figure 45. Each pixel has a sin...
by 6by9
Tue Jun 12, 2018 12:55 pm
Forum: Camera board
Topic: PiNoIR v2 mode 4 1640x1232 fast capture with python+opencv
Replies: 13
Views: 461

Re: PiNoIR v2 mode 4 1640x1232 fast capture with python+opencv

The performance differences are likely to be down to the GPU having constraints on the image padding, but V4L2 (or more accurately a bundle of V4L2 apps) not respecting the bytesperline setting, and therefore we repack the image. If the resolution is a multiple of 32 horizontally, and 16 vertically,...
by 6by9
Tue Jun 12, 2018 10:56 am
Forum: Camera board
Topic: Bayer data from the NoIR camera
Replies: 13
Views: 405

Re: Bayer data from the NoIR camera

I think your options have written the header to a separate file to the raw data. That works for Hermann's tools, but not dcraw.

Either use -hd (not -hd0), or afterwards you can concatenate the header and raw into one file (cp hd0.32k combined.raw; cat out.raw >> combined.raw; ./dcraw combined.raw)
by 6by9
Tue Jun 12, 2018 9:44 am
Forum: Camera board
Topic: PiNoIR v2 mode 4 1640x1232 fast capture with python+opencv
Replies: 13
Views: 461

Re: PiNoIR v2 mode 4 1640x1232 fast capture with python+opencv

As the module loads it adds a log line to dmesg similar to [ 4.677107] bcm2835-v4l2: V4L2 device registered as video2 - stills mode > 1280x720 That resolution should change. Or cat /sys/module/bcm2835_v4l2/parameters/max_video_width cat /sys/module/bcm2835_v4l2/parameters/max_video_height BTW I thin...
by 6by9
Mon Jun 11, 2018 4:02 pm
Forum: Camera board
Topic: Bayer data from the NoIR camera
Replies: 13
Views: 405

Re: Bayer data from the NoIR camera

Thanks for your answers guys, What was the problem with raspiraw? For raspiraw, i didn't get how do we build it ? The readme file doesn't specify any steps to perform in order to get the raspiraw command working, so when i'm lunching it i just get a bash error command not found. Sorry if it's suppo...
by 6by9
Mon Jun 11, 2018 3:57 pm
Forum: Camera board
Topic: Night-vision camera taking day-vision pictures
Replies: 4
Views: 256

Re: Night-vision camera taking day-vision pictures

As PiGraham says, please don't expect much support on a third party product - speak to your supplier for definitive guidance. In particular there may not be sufficient spare current available from the 3.3V supply rail of the Pi to run the IR LEDs. Please be warned. However I have seen these devices ...
by 6by9
Mon Jun 11, 2018 1:07 pm
Forum: Camera board
Topic: Bayer data from the NoIR camera
Replies: 13
Views: 405

Re: Bayer data from the NoIR camera

That looks like the stride (the number of bytes to move down exactly one line) is wrong, so you're starting each line a couple of bytes late and so causing vertical lines to become diagonal.

Go to advanced search