Go to advanced search

by 6by9
Sat Jun 15, 2019 9:41 am
Forum: Camera board
Topic: Camera dropping frames, any advice?
Replies: 16
Views: 521

Re: Camera dropping frames, any advice?

I also tried playing the .h264 version of the video within omxplayer, but instead of showing artifacts, the video played at a rapid speed. When there are no timestamps, omxplayer plays back as fast as it can decode the frames. With a VGA resolution frame, that's pretty quick. 1080p would end up bei...
by 6by9
Sat Jun 15, 2019 9:35 am
Forum: Camera board
Topic: Pi 3 B+, v2.1 camera abyssmal fps @1080p
Replies: 12
Views: 309

Re: Pi 3 B+, v2.1 camera abyssmal fps @1080p

@6by9 or @jamesh might know why some frames less than you expect get recorded. When you request video capture the system has to switch modes. If currently streaming, that means: - completing the current frame first (NB this may not be at the same frame rate as your recording) - stopping the sensor ...
by 6by9
Sat Jun 15, 2019 7:54 am
Forum: Camera board
Topic: Scrolling Horizontal Blur
Replies: 7
Views: 180

Re: Scrolling Horizontal Blur

LEDs follow the input even faster than the phosphor in fluorescent lights, so it really depends on the driver. If it converts to DC to drive the LEDs (as Hermann's does) then you'll get 0 variation. If it half wave rectifies and then current limits, you'll get significant variation still. 60Hz mains...
by 6by9
Fri Jun 14, 2019 8:55 am
Forum: Camera board
Topic: Scrolling Horizontal Blur
Replies: 7
Views: 180

Re: Scrolling Horizontal Blur

If it is more, then use the -fl option to specify the mains frequency, and ae will choose exposure times that are a multiple of the flicker period. I had seen mains flicker myself in the past and was not aware how to overcome that with a raspivid option (I bought led drivers that deliver DC to the ...
by 6by9
Fri Jun 14, 2019 6:26 am
Forum: Camera board
Topic: Scrolling Horizontal Blur
Replies: 7
Views: 180

Re: Scrolling Horizontal Blur

Mains flicker. Your illumination is most likely fluorescent lights which flash at twice the mains frequency (once for each half cycle). The sensor is a rolling shutter sensor, therefore not all lines expose at exactly the same moment. If the exposure time is not a multiple of a mains half cycle then...
by 6by9
Thu Jun 13, 2019 7:44 pm
Forum: Off topic discussion
Topic: 3B+ has some competition
Replies: 5
Views: 298

Re: 3B+ has some competition

That link says 1080p on the hdmi output, and only 100Mbit ethernet.
Having options is always a good thing.
by 6by9
Thu Jun 13, 2019 9:47 am
Forum: Compute Module
Topic: CM3 DPI connection
Replies: 6
Views: 171

Re: CM3 DPI connection

I'll draw your attention again to the config line dpi_output_format=0x6f005 As per the documentation, bits 0-3 control the mode. You have them set to "5", therefore you are selecting mode 5 which is RGB666 (18bit mode), NOT mode 7 for RGB888 (24bit mode). With mode 5 you'll be displaying the least s...
by 6by9
Wed Jun 12, 2019 2:13 pm
Forum: Compute Module
Topic: CM3 DPI connection
Replies: 6
Views: 171

Re: CM3 DPI connection

Your choice of file sharing site isn't nice seeing as Google gives all sorts of warnings about it. I've resized and added the image directly as the details isn't required. To my eyes that is simply that you've got the wiring wrong. There is no standard wiring for DPI displays, therefore you have to ...
by 6by9
Wed Jun 12, 2019 1:05 pm
Forum: HATs and other add-ons
Topic: PiTV + Tvheadend = some streams sound only
Replies: 6
Views: 164

Re: PiTV + Tvheadend = some streams sound only

As I'd posted earlier, there is a hardware assisted HEVC decoder built as an extension to FFmpeg. It requires a specific way of driving it for buffer allocation and similar, therefore I don't believe it is in the default Raspbian build, but it is in LibreElec.
by 6by9
Wed Jun 12, 2019 1:04 pm
Forum: Camera board
Topic: Pi 3 B+, v2.1 camera abyssmal fps @1080p
Replies: 12
Views: 309

Re: Pi 3 B+, v2.1 camera abyssmal fps @1080p

If you are analysing the timestamps file, please ensure you have picked up the latest version of userland. A bug was fixed recently in https://github.com/raspberrypi/userland/pull/553 where should an encoded frame be be fragmented into multiple buffers then the timestamp wasn't written to the pts fi...
by 6by9
Wed Jun 12, 2019 12:33 pm
Forum: Compute Module
Topic: CM3 DPI connection
Replies: 6
Views: 171

Re: CM3 DPI connection

Put the image on any file sharing site (eg Dropbox, Google Drive, imgur, etc), and share the link.
by 6by9
Wed Jun 12, 2019 8:36 am
Forum: Camera board
Topic: raspiraw different output after raspberry update
Replies: 6
Views: 180

Re: raspiraw different output after raspberry update

332kB = 640*480 * RAW8 + 32kB header (8bpp) 407kB = 640*480 * RAW10 + 32kB header (10bpp packed) I do vaguely recall a firmware bug that did miscompute the buffer size for RAW10 at one point, resulting in the image getting truncated. raspiraw would think it knew the parameters for the header and gen...
by 6by9
Tue Jun 11, 2019 9:25 pm
Forum: Camera board
Topic: raspiraw different output after raspberry update
Replies: 6
Views: 180

Re: raspiraw different output after raspberry update

The default is to write the raw data only.
Use -hd to write the header to each output file.
-hd0 <filename> writes the header to a separate file.

And please ensure you use the version of dcraw from https://github.com/6by9/dcraw as the standard one doesn't have the parser for the raw header.
by 6by9
Tue Jun 11, 2019 4:31 pm
Forum: HATs and other add-ons
Topic: PiTV + Tvheadend = some streams sound only
Replies: 6
Views: 164

Re: PiTV + Tvheadend = some streams sound only

There is no dedicated hardware decoding for H265 as there is for H264, MPEG4, H263, MPEG2, and VC1. The H265 spec wasn't finalised at the point the silicon was made. There is a a hardware assisted H265 decode path using an extended FFMPEG that is available via Kodi (possibly only within the LibreEle...
by 6by9
Tue Jun 11, 2019 2:01 pm
Forum: HATs and other add-ons
Topic: PiTV + Tvheadend = some streams sound only
Replies: 6
Views: 164

Re: PiTV + Tvheadend = some streams sound only

Where are you in the world, and what is the exact channel that you are trying to tune to?
Some places are now using H265 encoding, which can not be decoded via OMXplayer.
by 6by9
Mon Jun 10, 2019 9:49 am
Forum: HATs and other add-ons
Topic: TV Hat - multiple channels?
Replies: 6
Views: 218

Re: TV Hat - multiple channels?

Yes, the TV Hat does support receiving multiple channels from the same mux simultaneously. What does that mean? Digital TV broadcasts many channels on each frequency, termed a mux or multiplex. See https://ukfree.tv/transmitters/tv/Sandy_Heath or the equivalent for your local transmitter to see what...
by 6by9
Sun Jun 09, 2019 9:32 pm
Forum: Camera board
Topic: Camera not working - failed to enable component: ENOSPC
Replies: 9
Views: 1586

Re: Workarounds: Camera not working - failed to enable component: ENOSPC

I had the same ENOSPC problem when using picamera in python3 for single (still) images. I found two workarounds: 1. reduce the resolution -- it failed at 3280x2464, but succeeded at 1024x768 2. increase the amount of GPU memory. The default is 128 MB; 192MB permits 3280x2464. (do this in the Perfor...
by 6by9
Thu Jun 06, 2019 9:58 am
Forum: Camera board
Topic: Official V4L2 driver
Replies: 545
Views: 435842

Re: Official V4L2 driver

You quoted a thread where the cropping is ever so slightly different between modes, not image quality. With raspivid and "-md 2" to force mode 2 on 1296x972 30FPS it's good ! Here is the result : Mode 2 will only run at up to 15fps, so you can't have made a recording with those parameters. Binning d...
by 6by9
Wed Jun 05, 2019 9:09 am
Forum: General discussion
Topic: Python code is being executed slowly on Pi 3 B+
Replies: 14
Views: 434

Re: Python code is being executed slowly on Pi 3 B+

Use "htop" or similar to confirm that it is Python itself that is maxing out, rather than something else on the system. (VNC will be consuming a chunk of resources) Insert some time measurement within your code to see whether there are particular operations that take the majority of the time. Those ...
by 6by9
Tue Jun 04, 2019 5:27 pm
Forum: Off topic discussion
Topic: [FIXED] Ego Search / Own Posts failing
Replies: 42
Views: 3966

Re: [FIXED] Ego Search / Own Posts failing

I suspect that the master table of threads you have contributed to is a batch job (possibly once a day), but once indexed any subsequent updates show up immediately in egosearch. I'm not directly involved in the forum configuration, so have no real idea over what or where that would sit, so I leave ...
by 6by9
Tue Jun 04, 2019 9:58 am
Forum: OpenMAX
Topic: egl_render, hangs at cleanup
Replies: 5
Views: 228

Re: egl_render, hangs at cleanup

Having just had a quick look at the PR // need to flush the renderer to allow video_decode to disable its input port ilclient_flush_tunnels(tunnel, 0); ilclient_disable_port_buffers(video_decode, 130, NULL, NULL, NULL); } fclose(in); ilclient_disable_tunnel(tunnel); ilclient_disable_tunnel(tunnel+1)...
by 6by9
Tue Jun 04, 2019 9:48 am
Forum: OpenMAX
Topic: egl_render, hangs at cleanup
Replies: 5
Views: 228

Re: egl_render, hangs at cleanup

I generally try to avoid having to dig into IL because it is horrid in handling state changes and the linked completion events. The transition between Loaded and Idle always requires the allocation / deallocation of all buffers for enabled ports. See Section 3.4.1.1 and Figure 3-5. Component Initial...
by 6by9
Mon Jun 03, 2019 3:38 pm
Forum: C/C++
Topic: How to control the GPIO pins using c++
Replies: 12
Views: 49153

Re: How to control the GPIO pins using c++

The new recommended interface is 'gpio-cdev' which uses "/dev/gpiochip*", with 'libgpiod' to provide userland utilities. The latest Raspbian seems to support those but there's not been any discussion on here which I have seen and 'libgpiod' and userland utilities don't seem included by defult or av...
by 6by9
Mon Jun 03, 2019 3:03 pm
Forum: Compute Module
Topic: CM3+ with 7" display on DSI0
Replies: 20
Views: 4495

Re: CM3+ with 7" display on DSI0

Please create an issue in the firmware issue tracker with details and a link back to here
I can't promise that we'll look at it immediately, but it's less likely to get lost than a report as one of (currently) 1.38million other posts on the forum.
by 6by9
Mon Jun 03, 2019 1:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPI camera is not detected with i2cdetect
Replies: 3
Views: 159

Re: RPI camera is not detected with i2cdetect

Please refer to sections 3 and 6.2 of the peripherals datasheet. https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/BCM2835-ARM-Peripherals.pdf There are 3 I2C controllers (BSC) on the Pi, however BSC2 is used for HDMI and needs very careful handling should you wish it to be used...

Go to advanced search