## Question on OV5647 90fps picture taking

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Question on OV5647 90fps picture taking

This frame is from 1ms shutter speed 90fps slowmo dark – not with NoIR camera! posting:

This forum reduces all images to 260x195 pixels, you can click of the picture to view it in its original 640x480 size.

I extracted this 260x195 image from above image at position (300,50):

I extracted this 260x195 image from a frame much earlier in the taken 640x480 90fps Raspberry NoIR v1 camera video, just after the robot started moving, also from position (300,50):

The diameter of the wheel is 43mm, so the height of bullet fixating middle of wheel is more than 2cm above ground.

My Question:
The video was taken with 1000μs=1ms shutter speed.
The robot did move with 14m/s speed at the 1st frame above.
During 1ms the robot therefore moves 1.4cm.
How can it be that the horizontal displacement between top anmd bottom of the wheel in 1st frame is far more than 2cm?
(for the >2cm I have shown 2nd 260x195 image above)

Hermann,

https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

Burngate
Posts: 6560
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore

### Re: Question on OV5647 90fps picture taking

Your 1ms shutter speed doesn't mean the whole frame is captured in that time; it just means that each pixel collects light for 1ms before being read.
A pixel observing the bottom of the wheel will collect light and be read some time after one observing the top of the wheel.

Given that the whole operation occurs 90 times a second, you can possibly calculate the time difference, given that 480 lines are being read every 11ms
Each line is read 23μs after the previous one. 150 lines (very approximately the height of the wheel) takes 3½ms, and that accounts for the distance the wheel has moved. Approximately. Within hand-waving distance.

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

Thank you so much for your explanation!
Basically my base assumption (the whole frame is taken at one point in time) is wrong.
And the 150 lines is maybe even less than the real number of lines between topmost and bottom most lines of wheel.
Doing the calculation with 150 lines shows that the bottom has moved more than 4.8cm!

Code: Select all

``````\$ bc -ql
(1000/90)
11.11111111111111111111
(1000/90)/480
.02314814814814814814
(1000/90)/480*150
3.47222222222222222100
(1000/90)/480*150*1.4
4.86111111111111110940``````
Hermann.

P.S:
The Raspberry NoIR camera frames are surprisingly bright compared to the Raspberry camera frames sitting above Motor Test Station taken with same 1ms shutter speed, although the scene was lit really bright:

After having recabled the robot (breadboard cables and mini breadboard do not like several amps and burn, see here) I will do more runs with 14m/s or higher. But because of the 3.5ms it takes between topmost and bottom most line of wheel changes in shutter speed below 1ms will most likely not make a difference in the frames taken, besides maybe reducing brightness of frame even for NoIR.
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

jamesh
Raspberry Pi Engineer & Forum Moderator
Posts: 33207
Joined: Sat Jul 30, 2011 7:41 pm

### Re: Question on OV5647 90fps picture taking

Look up "Rolling shutter" for an explanation.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Meet me and the Pi team at Embedded World in Nürnberg, April 9th-11th, 2024
Hall 3A Stand 138
https://events.raspberrypi.com/official/24d5151d-dd0f-483d-88a7-a5fddaa5c554

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

Thank you, here is the link:
https://en.wikipedia.org/wiki/Rolling_shutter

So I have seen "Smear" with default shutter speed, and "Skew" is what this thread is about.
With same speed and same resolution/fps it depends on direction of quick move what happens.
My robot moved horizonatlly, camera rolled vertically, so this is the result:

If I would turn camera 90° counter clockwise, the wheel top and bottom would be fine, but horizontally the wheel would be stretched.

If I would turn camera 90° clockwise strange pictures would result, with right side of wheel being left of the left side of the wheel in frame captured ...

There are some counter measures that I can think of to minimize skew effect:
• move camera further away, then wheel top and bottom row difference would be smaller
• using 320x240 @90fps instead of 640x480 @90fps might make a difference as well
• wait for Raspberry engineers developing new @120fps mode (for 320x240) as they did with 640x480 @90fps
https://www.raspberrypi.org/blog/new-ca ... -released/
Hermann.
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

6by9
Raspberry Pi Engineer & Forum Moderator
Posts: 15893
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

### Re: Question on OV5647 90fps picture taking

HermannSW wrote:
• move camera further away, then wheel top and bottom row difference would be smaller
• using 320x240 @90fps instead of 640x480 @90fps might make a difference as well
You'll still be using the same 640x480 @ 90fps sensor mode, so it'll make no difference.
HermannSW wrote:
There are no planned changes along those lines.
I seem to recall we're at the realistic limit - I think I was sent a register set by Omnivision for 640x240 (ie half vertical height), but that's not that useful as they aren't square pixels.

If you want to play, then you could start with the details at https://www.raspberrypi.org/forums/view ... 3&t=109137 and the datasheet and amend the raspiraw register set to increase the skip in both direction. You'll also need to amend the output size. Look generally at the TIMING_X_xxx and TIMING_Y_xxx registes and you should get an idea for how they hang together.
Theory would say that with quarter the pixels you can quadruple the frame rate to 360, but I doubt that is realistic.
If you do get a register set together that frames correctly, then I'll happily merge it into raspiraw, and would consider adding it to the firmware.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

That sounds really interesting.

So I need to cross compile https://github.com/6by9/userland/tree/rawcam with this cross compiler https://github.com/raspberrypi/tools/tr ... f-raspbian in order to get "dcraw" binary?
Is that possible on Ubuntu?
Can "dcraw" binary be downloaded from somewhere for just playing with it?

Hermann.

P.S:
Especially your mention of 360fps sounds cool, OV5647 spec only speaks of 320x240 @120fps:
http://cdn.sparkfun.com/datasheets/Dev/ ... pdf#page=5

Anything ≥120fps would be cool to have
[for my V1 Pi cameras as well as for my V1 Pi NoIR camera]
Last edited by HermannSW on Fri Jul 21, 2017 6:28 pm, edited 1 time in total.
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

6by9
Raspberry Pi Engineer & Forum Moderator
Posts: 15893
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

### Re: Question on OV5647 90fps picture taking

Dcraw is totally different from rawcam.
Rawcam is interfacing to the camera on a Pi. You can build it on the pi - no need to cross compile.
Dcraw is an offline image processing app.

There is an updated dcraw that cam take the Pi jpeg+raw files at github.com/6by9/RPiTest in the dcraw directory. That will build on most linux platforms although you need to install a few dependencies first.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

So I can compile a "raspiraw" binary from https://github.com/6by9/userland/tree/rawcam directly on a Pi Zero without a need for cross compiling?
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

6by9
Raspberry Pi Engineer & Forum Moderator
Posts: 15893
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

### Re: Question on OV5647 90fps picture taking

HermannSW wrote:So I can compile a "raspiraw" binary from https://github.com/6by9/userland/tree/rawcam directly on a Pi Zero without a need for cross compiling?
Yes.
You may need to "sudo apt-get install build-essentials cmake" first, and it'll probably take about 10mins, but it'll be quite happy.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

Thank you, again!

Code: Select all

``sudo apt-get install build-essential cmake``
worked (without "build-essentials" s suffix).

I logged wirelessly into my Pi Zero W, downloaded and unzipped rawcam.zip, and did the build:

Code: Select all

``````pi@raspberrypi03:~/userland-rawcam \$ time ( ./buildme )
~/userland-rawcam/build/raspberry/release ~/userland-rawcam
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
...
``````
From my day job I am used to scan for build warnings (they are disallowed completely in "my" product [DataPower]), and so I noticed three warnings on unused variables, three on unused functions, two ' "_GNU_SOURCE" redefined ', one warning on "case value ‘1’ not in enumerated type ‘VC_SERVICE_VCHI_STATUS_T’ [-Wswitch]" and this one, which may be more serious:

Code: Select all

``````/home/pi/userland-rawcam/containers/asf/asf_reader.c:1855:12: warning: ‘track_best_pts[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int64_t track_best_pts[ASF_TRACKS_MAX];
^
``````
Btw, the build ended after half an hour on Pi Zero W without any further issues:

Code: Select all

``````...
-- Set runtime path of "/opt/vc/bin/dtmerge" to ""
-- Installing: /opt/vc/lib/libdtovl.so
~/userland-rawcam

real	30m16.301s
user	26m52.440s
sys	1m30.250s
pi@raspberrypi03:~/userland-rawcam \$
``````
Now its time to play with raspiraw:

Code: Select all

``````pi@raspberrypi03:~/userland-rawcam \$ sudo ln -s /opt/vc/bin/raspiraw /usr/bin
pi@raspberrypi03:~/userland-rawcam \$ which raspiraw
/usr/bin/raspiraw
pi@raspberrypi03:~/userland-rawcam \$
pi@raspberrypi03:~ \$ raspiraw
RaspiRaw: Probing sensor ov5647 on addr 36
RaspiRaw: Probing sensor imx219 on addr 10
RaspiRaw: Probing sensor adv7282 on addr 21
RaspiRaw: No sensor found. Aborting
pi@raspberrypi03:~ \$
``````
Hmm, the build did replace all camera tools:

Code: Select all

``````pi@raspberrypi03:~ \$ ll /opt/vc/bin/raspi*
-rwxr-xr-x 1 root root  31596 Jul 21 20:38 /opt/vc/bin/raspiraw
-rwxr-xr-x 1 root root 107120 Jul 21 20:37 /opt/vc/bin/raspistill
-rwxr-xr-x 1 root root  70104 Jul 21 20:37 /opt/vc/bin/raspivid
-rwxr-xr-x 1 root root  55064 Jul 21 20:37 /opt/vc/bin/raspividyuv
-rwxr-xr-x 1 root root  51960 Jul 21 20:36 /opt/vc/bin/raspiyuv
pi@raspberrypi03:~ \$
``````
And neither raspivid nor raspistill work anymore, lots of messages, see below.
Even after reboot of Pi Zero.
Will try to copy raspistill binary from another Pi Zero to see whether its a problem of newly built raspistill, or a real camera problem (camera worked fine yesterday).

Hermann.

Code: Select all

``````pi@raspberrypi03:~ \$ raspistill -o test.jpg
mmal: mmal_port_alloc: component:vc.camera_info type:1 extra:0
mmal: mmal_port_alloc: vc.camera_info:ctr:0: created at 0x16434f0
mmal: mmal_vc_component_create: vc.camera_info
mmal: mmal_vc_component_create: vc.camera_info: handle 0x40 status 0 reply status 0
mmal: mmal_port_free: vc.camera_info:ctr:0 at 0x16434f0
mmal: mmal_port_alloc: component:vc.camera_info type:1 extra:384
mmal: mmal_port_alloc: vc.camera_info:ctr:0: created at 0x16438a0
mmal: mmal_vc_component_create:  handle 64
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 96 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 96 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 96 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 96 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.camera_info' 0 0x1643330
mmal: mmal_port_parameter_get: vc.camera_info(1:0) port 0x16438a0, param 0xbef140e0 (1001c,148)
mmal: mmal_vc_port_parameter_get: failed to get port parameter 64:0 65564:148 EINVAL
mmal: mmal_port_parameter_get: vc.camera_info(1:0) port 0x16438a0, param 0xbef140e0 (1001c,152)
mmal: mmal_component_destroy: vc.camera_info 0
mmal: mmal_component_release_internal: vc.camera_info 0 preparing for destruction
mmal: mmal_component_destroy_internal: vc.camera_info 0
mmal: mmal_port_free: vc.camera_info:ctr:0 at 0x16438a0
mmal: mmal_component_create: vc.ril.camera
mmal: mmal_port_alloc: component:vc.ril.camera type:1 extra:0
mmal: mmal_port_alloc: vc.ril.camera:ctr:0: created at 0x1643700
mmal: mmal_vc_component_create: vc.ril.camera
mmal: mmal_vc_component_create: vc.ril.camera: handle 0x40 status 0 reply status 0
mmal: mmal_port_free: vc.ril.camera:ctr:0 at 0x1643700
mmal: mmal_port_alloc: component:vc.ril.camera type:1 extra:384
mmal: mmal_port_alloc: vc.ril.camera:ctr:0: created at 0x1643a20
mmal: mmal_port_alloc: component:vc.ril.camera type:3 extra:384
mmal: mmal_port_alloc: vc.ril.camera:out:0: created at 0x1643d30
mmal: mmal_port_alloc: component:vc.ril.camera type:3 extra:384
mmal: mmal_port_alloc: vc.ril.camera:out:0: created at 0x1644040
mmal: mmal_port_alloc: component:vc.ril.camera type:3 extra:384
mmal: mmal_port_alloc: vc.ril.camera:out:0: created at 0x1644350
mmal: mmal_port_alloc: component:vc.ril.camera type:4 extra:384
mmal: mmal_port_alloc: vc.ril.camera:clk:0: created at 0x1644660
mmal: mmal_vc_component_create:  handle 64
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_vc_port_info_get: get port info (3:1)
mmal: mmal_vc_port_info_get: get port info (3:2)
mmal: mmal_vc_port_info_get: get port info (4:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.camera' 1 0x1643330
mmal: mmal_port_parameter_set: vc.ril.camera(3:0) port 0x1643d30, param 0xbef13fe4 (1004a,20)
mmal: mmal_port_parameter_set: vc.ril.camera(3:1) port 0x1644040, param 0xbef13fe4 (1004a,20)
mmal: mmal_port_parameter_set: vc.ril.camera(3:2) port 0x1644350, param 0xbef13fe4 (1004a,20)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef140c0 (10010,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13ffc (10037,12)
mmal: mmal_port_enable: vc.ril.camera:ctr:0 port 0x1643a20, cb 0x19bf8, buffers (4/0/4,740/0/740)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef140e0 (10015,48)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fd0 (1002f,16)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fd0 (1002c,16)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fd0 (1002d,16)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fd0 (1002e,16)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fdc (10030,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fdc (1001d,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fdc (1000d,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fe4 (10012,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fe4 (10008,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fe4 (10013,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fe4 (10005,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fe4 (10006,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fd4 (10007,20)
mmal: mmal_port_parameter_set: vc.ril.camera(3:0) port 0x1643d30, param 0xbef13fcc (10002,12)
mmal: mmal_port_parameter_set: vc.ril.camera(3:1) port 0x1644040, param 0xbef13fcc (10002,12)
mmal: mmal_port_parameter_set: vc.ril.camera(3:2) port 0x1644350, param 0xbef13fcc (10002,12)
mmal: mmal_port_parameter_set: vc.ril.camera(3:0) port 0x1643d30, param 0xbef13fdc (1000f,12)
mmal: mmal_port_parameter_set: vc.ril.camera(3:1) port 0x1644040, param 0xbef13fdc (1000f,12)
mmal: mmal_port_parameter_set: vc.ril.camera(3:2) port 0x1644350, param 0xbef13fdc (1000f,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fd8 (10025,24)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fdc (10043,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fe4 (1002a,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13fdc (10036,12)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13e98 (10049,312)
mmal: mmal_port_format_commit: vc.ril.camera(3:0) port 0x1643d30 format 3:OPQV
mmal: mmal_vc_port_info_set: set port info (3:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_port_format_commit: vc.ril.camera(3:1) port 0x1644040 format 3:OPQV
mmal: mmal_vc_port_info_set: set port info (3:1)
mmal: mmal_vc_port_info_get: get port info (3:1)
mmal: mmal_port_format_commit: vc.ril.camera(3:2) port 0x1644350 format 3:OPQV
mmal: mmal_vc_port_info_set: set port info (3:2)
mmal: mmal_vc_port_info_get: get port info (3:2)
mmal: mmal_component_enable: vc.ril.camera 1
mmal: mmal_component_create: vc.ril.video_render
mmal: mmal_port_alloc: component:vc.ril.video_render type:1 extra:0
mmal: mmal_port_alloc: vc.ril.video_render:ctr:0: created at 0x1646610
mmal: mmal_vc_component_create: vc.ril.video_render
mmal: mmal_vc_component_create: vc.ril.video_render: handle 0x38 status 0 reply status 0
mmal: mmal_port_free: vc.ril.video_render:ctr:0 at 0x1646610
mmal: mmal_port_alloc: component:vc.ril.video_render type:1 extra:384
mmal: mmal_port_alloc: vc.ril.video_render:ctr:0: created at 0x16469d0
mmal: mmal_port_alloc: component:vc.ril.video_render type:2 extra:384
mmal: mmal_port_alloc: vc.ril.video_render:in:0: created at 0x1646ce0
mmal: mmal_vc_component_create:  handle 56
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.video_render' 2 0x1646440
mmal: mmal_port_parameter_set: vc.ril.video_render(2:0) port 0x1646ce0, param 0xbef13fa4 (20000,84)
mmal: mmal_component_enable: vc.ril.video_render 2
mmal: mmal_component_create: vc.ril.image_encode
mmal: mmal_port_alloc: component:vc.ril.image_encode type:1 extra:0
mmal: mmal_port_alloc: vc.ril.image_encode:ctr:0: created at 0x1648670
mmal: mmal_vc_component_create: vc.ril.image_encode
mmal: mmal_vc_component_create: vc.ril.image_encode: handle 0x30 status 0 reply status 0
mmal: mmal_port_free: vc.ril.image_encode:ctr:0 at 0x1648670
mmal: mmal_port_alloc: component:vc.ril.image_encode type:1 extra:384
mmal: mmal_port_alloc: vc.ril.image_encode:ctr:0: created at 0x1648a30
mmal: mmal_port_alloc: component:vc.ril.image_encode type:2 extra:384
mmal: mmal_port_alloc: vc.ril.image_encode:in:0: created at 0x1648d40
mmal: mmal_port_alloc: component:vc.ril.image_encode type:3 extra:384
mmal: mmal_port_alloc: vc.ril.image_encode:out:0: created at 0x1649060
mmal: mmal_vc_component_create:  handle 48
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.image_encode' 3 0x16484a0
mmal: mmal_port_format_commit: vc.ril.image_encode(3:0) port 0x1649060 format 3:JPEG
mmal: mmal_vc_port_info_set: set port info (3:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_port_parameter_set: vc.ril.image_encode(3:0) port 0x1649060, param 0xbef13ffc (10019,12)
mmal: mmal_port_parameter_set: vc.ril.image_encode(3:0) port 0x1649060, param 0xbef13ffc (10050,12)
mmal: mmal_port_parameter_set: vc.ril.image_encode(1:0) port 0x1648a30, param 0xbef140e0 (10000,24)
mmal: mmal_component_enable: vc.ril.image_encode 3
mmal: mmal_port_pool_create: vc.ril.image_encode(3:0) port 0x1649060, headers 1, size 81920
mmal: mmal_pool_create_with_allocator: allocating 48 + 8 + 472 * 1 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 81920 bytes for payload 0/1
mmal: mmal_port_payload_alloc: vc.ril.image_encode(3:0) port 0x1649060, size 81920
mmal: mmal_vc_port_payload_alloc: vc.ril.image_encode:out:0(JPEG): allocating 81920 bytes, format JPEG, is_zero_copy 0
mmal: mmal_vc_port_payload_alloc: vc.ril.image_encode:out:0(JPEG): allocated at 0x164abb0
mmal: mmal_port_acquire: port vc.ril.image_encode:out:0(JPEG)(0x1649060), refcount 0
mmal: mmal_connection_create: out 0x1643d30, in 0x1646ce0, flags 3, vc.ril.camera:out:0/vc.ril.video_render:in:0
mmal: mmal_port_format_commit: vc.ril.video_render(2:0) port 0x1646ce0 format 3:OPQV
mmal: mmal_vc_port_info_set: set port info (2:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_port_connect: connecting vc.ril.camera:out:0(OPQV)(0x1643d30) to vc.ril.video_render:in:0(OPQV)(0x1646ce0)
mmal: mmal_connection_enable: 0x165ebe0, vc.ril.camera:out:0/vc.ril.video_render:in:0
mmal: mmal_port_enable: vc.ril.camera:out:0(OPQV) port 0x1643d30, cb (nil), buffers (10/10/3,128/128/128)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_connection_create: out 0x1644350, in 0x1648d40, flags 3, vc.ril.camera:out:2/vc.ril.image_encode:in:0
mmal: mmal_port_format_commit: vc.ril.image_encode(2:0) port 0x1648d40 format 3:OPQV
mmal: mmal_vc_port_info_set: set port info (2:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_port_connect: connecting vc.ril.camera:out:2(OPQV)(0x1644350) to vc.ril.image_encode:in:0(OPQV)(0x1648d40)
mmal: mmal_connection_enable: 0x165ec80, vc.ril.camera:out:2/vc.ril.image_encode:in:0
mmal: mmal_port_enable: vc.ril.camera:out:2(OPQV) port 0x1644350, cb (nil), buffers (10/10/3,128/128/128)
mmal: mmal_vc_port_info_get: get port info (3:2)
mmal: mmal_port_parameter_set: vc.ril.image_encode(3:0) port 0x1649060, param 0x165ee88 (10004,44)
mmal: mmal_port_parameter_set: vc.ril.image_encode(3:0) port 0x1649060, param 0x165ee88 (10004,45)
mmal: mmal_port_parameter_set: vc.ril.image_encode(3:0) port 0x1649060, param 0x165eeb0 (10004,66)
mmal: mmal_port_parameter_set: vc.ril.image_encode(3:0) port 0x1649060, param 0x165eeb0 (10004,65)
mmal: mmal_port_parameter_set: vc.ril.image_encode(3:0) port 0x1649060, param 0x165eeb0 (10004,57)
mmal: mmal_port_parameter_set: vc.ril.camera(1:0) port 0x1643a20, param 0xbef13ffc (10043,12)
mmal: mmal_port_enable: vc.ril.image_encode:out:0(JPEG) port 0x1649060, cb 0x19d54, buffers (1/1/1,81920/81920/81920)
mmal: mmal_port_parameter_set: vc.ril.camera(3:2) port 0x1644350, param 0xbef13ffc (10011,12)
mmal: mmal_port_disable: vc.ril.image_encode(3:0) port 0x1649060
mmal: mmal_port_disable_internal: vc.ril.image_encode:out:0(JPEG) waiting for 0 buffers left in transit
mmal: mmal_port_disable_internal: vc.ril.image_encode:out:0(JPEG) has no buffers left in transit
mmal: mmal_connection_destroy: 0x165ebe0, vc.ril.camera:out:0/vc.ril.video_render:in:0
mmal: mmal_connection_disable: 0x165ebe0, vc.ril.camera:out:0/vc.ril.video_render:in:0
mmal: mmal_port_disable: vc.ril.camera(3:0) port 0x1643d30
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_port_disable_internal: vc.ril.camera:out:0(OPQV) waiting for 0 buffers left in transit
mmal: mmal_port_disable_internal: vc.ril.camera:out:0(OPQV) has no buffers left in transit
mmal: mmal_port_disconnect: vc.ril.camera:out:0(OPQV)(0x1643d30)
mmal: mmal_connection_destroy: 0x165ec80, vc.ril.camera:out:2/vc.ril.image_encode:in:0
mmal: mmal_connection_disable: 0x165ec80, vc.ril.camera:out:2/vc.ril.image_encode:in:0
mmal: mmal_port_disable: vc.ril.camera(3:2) port 0x1644350
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_port_disable_internal: vc.ril.camera:out:2(OPQV) waiting for 0 buffers left in transit
mmal: mmal_port_disable_internal: vc.ril.camera:out:2(OPQV) has no buffers left in transit
mmal: mmal_port_disconnect: vc.ril.camera:out:2(OPQV)(0x1644350)
mmal: mmal_component_disable: vc.ril.image_encode 3
mmal: mmal_component_disable: vc.ril.video_render 2
mmal: mmal_component_disable: vc.ril.camera 1
mmal: mmal_port_pool_destroy: vc.ril.image_encode(3:0) port 0x1649060, pool 0x164a950
mmal: mmal_port_payload_free: vc.ril.image_encode(3:0) port 0x1649060, payload 0x164abb0
mmal: mmal_port_release: port vc.ril.image_encode:out:0(JPEG)(0x1649060), refcount 1
mmal: mmal_component_destroy: vc.ril.image_encode 3
mmal: mmal_component_release_internal: vc.ril.image_encode 3 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.image_encode:in:0(OPQV)(0x1648d40)
mmal: mmal_port_disconnect: vc.ril.image_encode:in:0(OPQV)(0x1648d40) is not connected
mmal: mmal_port_disconnect: vc.ril.image_encode:out:0(JPEG)(0x1649060)
mmal: mmal_port_disconnect: vc.ril.image_encode:out:0(JPEG)(0x1649060) is not connected
mmal: mmal_component_destroy_internal: vc.ril.image_encode 3
mmal: mmal_port_free: vc.ril.image_encode:in:0(OPQV) at 0x1648d40
mmal: mmal_port_free: vc.ril.image_encode:out:0(JPEG) at 0x1649060
mmal: mmal_port_free: vc.ril.image_encode:ctr:0 at 0x1648a30
mmal: mmal_component_destroy: vc.ril.video_render 2
mmal: mmal_component_release_internal: vc.ril.video_render 2 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.video_render:in:0(OPQV)(0x1646ce0)
mmal: mmal_port_disconnect: vc.ril.video_render:in:0(OPQV)(0x1646ce0) is not connected
mmal: mmal_component_destroy_internal: vc.ril.video_render 2
mmal: mmal_port_free: vc.ril.video_render:in:0(OPQV) at 0x1646ce0
mmal: mmal_port_free: vc.ril.video_render:ctr:0 at 0x16469d0
mmal: mmal_component_destroy: vc.ril.camera 1
mmal: mmal_component_release_internal: vc.ril.camera 1 preparing for destruction
mmal: mmal_port_disable: vc.ril.camera(1:0) port 0x1643a20
mmal: mmal_port_disable_internal: vc.ril.camera:ctr:0 waiting for 0 buffers left in transit
mmal: mmal_port_disable_internal: vc.ril.camera:ctr:0 has no buffers left in transit
mmal: mmal_port_disconnect: vc.ril.camera:out:0(OPQV)(0x1643d30)
mmal: mmal_port_disconnect: vc.ril.camera:out:0(OPQV)(0x1643d30) is not connected
mmal: mmal_port_disconnect: vc.ril.camera:out:1(OPQV)(0x1644040)
mmal: mmal_port_disconnect: vc.ril.camera:out:1(OPQV)(0x1644040) is not connected
mmal: mmal_port_disconnect: vc.ril.camera:out:2(OPQV)(0x1644350)
mmal: mmal_port_disconnect: vc.ril.camera:out:2(OPQV)(0x1644350) is not connected
mmal: mmal_port_disconnect: vc.ril.camera:clk:0(0x1644660)
mmal: mmal_port_disconnect: vc.ril.camera:clk:0(0x1644660) is not connected
mmal: mmal_component_destroy_internal: vc.ril.camera 1
mmal: mmal_port_free: vc.ril.camera:out:0(OPQV) at 0x1643d30
mmal: mmal_port_free: vc.ril.camera:out:1(OPQV) at 0x1644040
mmal: mmal_port_free: vc.ril.camera:out:2(OPQV) at 0x1644350
mmal: mmal_port_free: vc.ril.camera:clk:0 at 0x1644660
mmal: mmal_port_free: vc.ril.camera:ctr:0 at 0x1643a20
pi@raspberrypi03:~ \$ ``````
P.S:
Copied raspistill binary from other Pi Zero, same error messages, seems to be a camera problem :-(

P.P.S:
Now I copied freshly built raspiraw binary to Pi Zero with working camera, raspiraw does not work there as well:

Code: Select all

``````pi@raspberrypi01:~ \$ which raspiraw
pi@raspberrypi01:~ \$ ./raspiraw
RaspiRaw: Probing sensor ov5647 on addr 36
RaspiRaw: Probing sensor imx219 on addr 10
RaspiRaw: Probing sensor adv7282 on addr 21
RaspiRaw: No sensor found. Aborting
pi@raspberrypi01:~ \$ raspistill -o test.jpg
pi@raspberrypi01:~ \$ ``````
Possible explanation, I bought V1 cameras (normal and NoIR from aliexpress because now only v2 cameras are sold).
https://www.raspberrypi.org/forums/view ... 6#p1189246

P.P.P.S:
Unplugged Pi NoIR camera cable with Pi NoIR camera from Pi Zero W, and connected to Pi Zero.
No problem with raspistll there, during image taking picture was visible on HDMI monitor:
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

6by9
Raspberry Pi Engineer & Forum Moderator
Posts: 15893
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

### Re: Question on OV5647 90fps picture taking

From a quick scan through I can't see any errors thrown from the raspistill.
What does "vcgencmd get_camera" return?

With regard raspiraw, please read at least the first post of the main thread on it - https://www.raspberrypi.org/forums/view ... 3&t=109137
It does not include in the source the GPIO manipulations required to be able to address the sensor, but there is a script "camera_i2c" that uses wiringPi to do that (I started doing it within the app, but that then required running it as root, and I didn't like that). You do need to jump through the hoops to enable /dev/i2c-0 first (see the "Interfacing" forum, but it should just be adding "dtparam=i2c_vc=on" to /boot/config.txt, and "sudo modprobe i2c-dev").
From what you have written on this thread you appear not to have run camera_i2c, or potentially not enabled i2c-0 at all.

The simpler way to get source from github is to use git clone
"git clone [email protected]:6by9/userland.git"
add "-b rawcam" in this case as you don't want the default branch.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

> What does "vcgencmd get_camera" return?
>
I reconnected the Pi NoIR camera (that worked on Pi Zero before) to Pi Zero W and got this:

Code: Select all

``````pi@raspberrypi03:~ \$ vcgencmd get_camera
supported=1 detected=1
pi@raspberrypi03:~ \$
``````
raspistill still does not work, neither the newly built, nor the binary copied from Pi Zero.

Is it possible that "buildme" did more changes to the OS than to place new binaries into /opt/vc/bin ?
I first want to get my raspistill/raspivid back for Pi Zero W, then I will follow the instructions for raspiraw.

Hermann.
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

OK, did modify /boot/config.txt, rebooted, did "sudo sudo modprobe i2c-dev".
Then executing camera_i2c seems to have worked:

Code: Select all

``````pi@raspberrypi03:~/userland-rawcam \$ ./camera_i2c
setting GPIO for board revsion: 9000c1
PiZero / PiZero W - I2C 0 on GPIO 28 & 29. GPIOs 40 & 44 for LED and power
pi@raspberrypi03:~/userland-rawcam \$ raspiraw
RaspiRaw: Probing sensor ov5647 on addr 36
RaspiRaw: Found sensor ov5647 at address 36

raspiraw Camera App 0.0.1

-?, --help	: This help information
-md, --mode	: Set sensor mode <mode>
-hf, --hflip	: Set horizontal flip
-vf, --vflip	: Set vertical flip
-e, --ss	: Set the sensor exposure time (not calibrated units)
-g, --gain	: Set the sensor gain code (not calibrated units)
-o, --output	: Set the output filename
-hd, --header	: Write the BRCM header to the output file
-t, --timeout	: Time (in ms) before shutting down (if not specified, set to 5s)
-sr, --saverate	: Save every Nth frame
-b, --bitdepth	: Set output raw bit depth (8, 10, 12 or 16, if not specified, set to sensor native)
-c, --cameranum	: Set camera number to use (0=CAM0, 1=CAM1).
pi@raspberrypi03:~/userland-rawcam \$ ``````
Hermann.

P.S:
Both versions of raspistill do still not work.
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

https://github.com/6by9/RPiTest/tree/master/dcraw

and tried to compile:

Code: Select all

``````pi@raspberrypi03:~/RPiTest-master \$ cd dcraw/
pi@raspberrypi03:~/RPiTest-master/dcraw \$ ./buildme
dcraw.c:77:58: fatal error: jasper/jasper.h: No such file or directory
#include <jasper/jasper.h> /* Decode Red camera movies */
^
compilation terminated.
pi@raspberrypi03:~/RPiTest-master/dcraw \$
``````
Do I need to do all the many installation steps described here?
http://www.knight-of-pi.org/jasper-manu ... an-jessie/

Or is there a simpler way to get dcraw compiled?

Hermann.

P.S:
dcraw is needed because capturing raw video stream has worked now:

Code: Select all

``````pi@raspberrypi03:~/userland-rawcam \$ raspiraw -o o.raw
RaspiRaw: Probing sensor ov5647 on addr 36
RaspiRaw: Found sensor ov5647 at address 36
RaspiRaw: Encoding 41414770
mmal: mmal_port_alloc: component:vc.ril.rawcam type:1 extra:0
mmal: mmal_port_alloc: vc.ril.rawcam:ctr:0: created at 0x1e8f4f0
mmal: mmal_vc_component_create: vc.ril.rawcam
mmal: mmal_vc_component_create: vc.ril.rawcam: handle 0x40 status 0 reply status 0
mmal: mmal_port_free: vc.ril.rawcam:ctr:0 at 0x1e8f4f0
mmal: mmal_port_alloc: component:vc.ril.rawcam type:1 extra:384
mmal: mmal_port_alloc: vc.ril.rawcam:ctr:0: created at 0x1e8f8b0
mmal: mmal_port_alloc: component:vc.ril.rawcam type:3 extra:384
mmal: mmal_port_alloc: vc.ril.rawcam:out:0: created at 0x1e8fbc0
mmal: mmal_vc_component_create:  handle 64
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.rawcam' 0 0x1e8f330
mmal: mmal_component_create: vc.ril.isp
mmal: mmal_port_alloc: component:vc.ril.isp type:1 extra:0
mmal: mmal_port_alloc: vc.ril.isp:ctr:0: created at 0x1e91560
mmal: mmal_vc_component_create: vc.ril.isp
mmal: mmal_vc_component_create: vc.ril.isp: handle 0x38 status 0 reply status 0
mmal: mmal_port_free: vc.ril.isp:ctr:0 at 0x1e91560
mmal: mmal_port_alloc: component:vc.ril.isp type:1 extra:384
mmal: mmal_port_alloc: vc.ril.isp:ctr:0: created at 0x1e91920
mmal: mmal_port_alloc: component:vc.ril.isp type:2 extra:384
mmal: mmal_port_alloc: vc.ril.isp:in:0: created at 0x1e91c30
mmal: mmal_port_alloc: component:vc.ril.isp type:3 extra:384
mmal: mmal_port_alloc: vc.ril.isp:out:0: created at 0x1e91f40
mmal: mmal_vc_component_create:  handle 56
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.isp' 1 0x1e913a0
mmal: mmal_component_create: vc.ril.video_render
mmal: mmal_port_alloc: component:vc.ril.video_render type:1 extra:0
mmal: mmal_port_alloc: vc.ril.video_render:ctr:0: created at 0x1e939a0
mmal: mmal_vc_component_create: vc.ril.video_render
mmal: mmal_vc_component_create: vc.ril.video_render: handle 0x30 status 0 reply status 0
mmal: mmal_port_free: vc.ril.video_render:ctr:0 at 0x1e939a0
mmal: mmal_port_alloc: component:vc.ril.video_render type:1 extra:384
mmal: mmal_port_alloc: vc.ril.video_render:ctr:0: created at 0x1e93d60
mmal: mmal_port_alloc: component:vc.ril.video_render type:2 extra:384
mmal: mmal_port_alloc: vc.ril.video_render:in:0: created at 0x1e94070
mmal: mmal_vc_component_create:  handle 48
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.video_render' 2 0x1e937d0
mmal: mmal_port_parameter_get: vc.ril.rawcam(3:0) port 0x1e8fbc0, param 0xbeacb5d0 (1004d,40)
mmal: Set pack to 0, unpack to 0
mmal: mmal_port_parameter_set: vc.ril.rawcam(3:0) port 0x1e8fbc0, param 0xbeacb5d0 (1004d,40)
mmal: mmal_component_enable: vc.ril.rawcam 0
mmal: mmal_component_enable: vc.ril.isp 1
mmal: mmal_component_enable: vc.ril.video_render 2
mmal: mmal_port_format_commit: vc.ril.rawcam(3:0) port 0x1e8fbc0 format 3:pGAA
mmal: mmal_vc_port_info_set: set port info (3:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_port_parameter_set: vc.ril.rawcam(3:0) port 0x1e8fbc0, param 0xbeacb56c (4,12)
mmal: mmal_vc_port_parameter_set: enable zero copy on port 0x1e8fbc0
mmal: Create pool of 4 buffers of size 6371328
mmal: mmal_port_pool_create: vc.ril.rawcam(3:0) port 0x1e8fbc0, headers 4, size 6371328
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 6371328 bytes for payload 0/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0x1e8fbc0, size 6371328
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 6371328 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb2dec000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 0
mmal: mmal_pool_initialise_buffer_headers: allocating 6371328 bytes for payload 1/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0x1e8fbc0, size 6371328
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 6371328 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb27d8000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 1
mmal: mmal_pool_initialise_buffer_headers: allocating 6371328 bytes for payload 2/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0x1e8fbc0, size 6371328
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 6371328 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb21c4000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 2
mmal: mmal_pool_initialise_buffer_headers: allocating 6371328 bytes for payload 3/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0x1e8fbc0, size 6371328
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 6371328 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb1bb0000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 3
mmal: mmal_port_enable: vc.ril.rawcam:out:0(pGAA) port 0x1e8fbc0, cb 0x12f84, buffers (4/4/4,6371328/6371328/6371328)
mmal: Sent buffer 0x1e95928
mmal: Sent buffer 0x1e95b00
mmal: Sent buffer 0x1e95cd8
mmal: Sent buffer 0x1e95eb0
mmal: Now streaming...
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 486668477, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 486668477, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 486796405, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 486796405, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 486860370, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 486860370, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 486924334, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 486924334, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 486988299, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 486988299, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487052263, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487052263, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487116227, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487116227, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487180192, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487180192, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487244156, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 48[7244156, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487308121, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487308121, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487372084, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487372084, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487436049, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487436049, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487500013, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487500013, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487563978, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487563978, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487627942, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487627942, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487691906, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487691906, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487755871, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487755871, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487819835, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487819835, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487883799, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487883799, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487947763, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487947763, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488011728, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488011728, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488395513, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488395513, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488459478, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488459478, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488523443, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488523443, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488587407, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488587407, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488651371, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488651371, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488715336, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488715336, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488779300, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488779300, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488843265, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488843265, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488907229, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488907229, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488971193, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488971193, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489035157, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489035157, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489099121, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489099121, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489163086, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489163086, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489227050, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489227050, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489291015, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489291015, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489354980, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489354980, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489418943, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489418943, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489482907, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489482907, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489546872, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489546872, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489610836, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489610836, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489738764, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489738764, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489802731, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489802731, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489866693, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489866693, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489930658, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489930658, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489994622, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489994622, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490058586, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490058586, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490122551, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490122551, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490186515, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490186515, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490250481, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490250481, flags 00842383812655,
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490314444, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490314444, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490378408, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490378408, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490442373, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490442373, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490506337, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490506337, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490570301, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490570301, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490634265, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490634265, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490698231, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490698231, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490762194, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490762194, flags 00842383812655,
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490826158, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490826158, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490890123, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490890123, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490954087, flags 0004
mmal: mmal_port_disable: vc.ril.rawcam(3:0) port 0x1e8fbc0
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490954087, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 0, timestamp 0, flags 0000
mmal: Buffer 0x1e95eb0 returned, filled 0, timestamp 0, flags 0000
mmal: mmal_port_disable_internal: vc.ril.rawcam:out:0(pGAA) waiting for 0 buffers left in transit
mmal: mmal_port_disable_internal: vc.ril.rawcam:out:0(pGAA) has no buffers left in transit
mmal: mmal_port_pool_destroy: vc.ril.rawcam(3:0) port 0x1e8fbc0, pool 0x1e958c0
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0x1e8fbc0, payload 0xb2dec000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 4
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0x1e8fbc0, payload 0xb27d8000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 3
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0x1e8fbc0, payload 0xb21c4000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 2
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0x1e8fbc0, payload 0xb1bb0000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 1
mmal: mmal_component_disable: vc.ril.video_render 2
mmal: mmal_component_disable: vc.ril.isp 1
mmal: mmal_component_disable: vc.ril.rawcam 0
mmal: mmal_component_destroy: vc.ril.rawcam 0
mmal: mmal_component_release_internal: vc.ril.rawcam 0 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0)
mmal: mmal_port_disconnect: vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0) is not connected
mmal: mmal_component_destroy_internal: vc.ril.rawcam 0
mmal: mmal_port_free: vc.ril.rawcam:out:0(pGAA) at 0x1e8fbc0
mmal: mmal_port_free: vc.ril.rawcam:ctr:0 at 0x1e8f8b0
mmal: mmal_component_destroy: vc.ril.isp 1
mmal: mmal_component_release_internal: vc.ril.isp 1 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.isp:in:0(0x1e91c30)
mmal: mmal_port_disconnect: vc.ril.isp:in:0(0x1e91c30) is not connected
mmal: mmal_port_disconnect: vc.ril.isp:out:0(0x1e91f40)
mmal: mmal_port_disconnect: vc.ril.isp:out:0(0x1e91f40) is not connected
mmal: mmal_component_destroy_internal: vc.ril.isp 1
mmal: mmal_port_free: vc.ril.isp:in:0 at 0x1e91c30
mmal: mmal_port_free: vc.ril.isp:out:0 at 0x1e91f40
mmal: mmal_port_free: vc.ril.isp:ctr:0 at 0x1e91920
mmal: mmal_component_destroy: vc.ril.video_render 2
mmal: mmal_component_release_internal: vc.ril.video_render 2 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.video_render:in:0(0x1e94070)
mmal: mmal_port_disconnect: vc.ril.video_render:in:0(0x1e94070) is not connected
mmal: mmal_component_destroy_internal: vc.ril.video_render 2
mmal: mmal_port_free: vc.ril.video_render:in:0 at 0x1e94070
mmal: mmal_port_free: vc.ril.video_render:ctr:0 at 0x1e93d60
pi@raspberrypi03:~/userland-rawcam \$ ll o.raw
-rw-r--r-- 1 pi pi 6371328 Jul 22 00:34 o.raw
pi@raspberrypi03:~/userland-rawcam \$ ``````
P.P.S:
Tried raspiraw modes 6 and 7 and looked up microsend timestamp deltas as reported above as well.
Delta was 23747 for mode 6, 16636 for mode 7, which means 42fps or 60fps:

Code: Select all

``````\$ bc -ql
1000000/23747
42.11058238935444477197
1000000/16636
60.11060351045924501081
``````
host_applications/linux/apps/raspicam/ov5647_modes.h seems not to have a 90fps mode ...

Code: Select all

``````struct mode_def ov5647_modes[] = {
{ ov5647_5MPix, NUM_ELEMENTS(ov5647_5MPix), 2592, 1944, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 1968 },
{ ov5647_mode1, NUM_ELEMENTS(ov5647_mode1), 1920, 1080, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 1104 },
{ ov5647_mode2, NUM_ELEMENTS(ov5647_mode2), 2592, 1944, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 1968 },
{ ov5647_mode3, NUM_ELEMENTS(ov5647_mode3), 2592, 1944, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 1968 },
{ ov5647_mode4, NUM_ELEMENTS(ov5647_mode4), 1296,  976, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 996 },
{ ov5647_mode5, NUM_ELEMENTS(ov5647_mode5), 1296,  730, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 870 },
{ ov5647_mode6, NUM_ELEMENTS(ov5647_mode6),  640,  480, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 484 },
{ ov5647_mode7, NUM_ELEMENTS(ov5647_mode7),  640,  480, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 484 },
};
``````
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

6by9
Raspberry Pi Engineer & Forum Moderator
Posts: 15893
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

### Re: Question on OV5647 90fps picture taking

HermannSW wrote:

Code: Select all

``````pi@raspberrypi03:~/RPiTest-master \$ cd dcraw/
pi@raspberrypi03:~/RPiTest-master/dcraw \$ ./buildme
dcraw.c:77:58: fatal error: jasper/jasper.h: No such file or directory
#include <jasper/jasper.h> /* Decode Red camera movies */
^
compilation terminated.
pi@raspberrypi03:~/RPiTest-master/dcraw \$
``````
Do I need to do all the many installation steps described here?
http://www.knight-of-pi.org/jasper-manu ... an-jessie/
Or is there a simpler way to get dcraw compiled?
sudo apt-get install libjasper-dev
You'll probably need
sudo apt-get install libjpeg8-dev liblcms2-dev gettext
too.
HermannSW wrote: P.S:
dcraw is needed because capturing raw video stream has worked now:

Code: Select all

``````pi@raspberrypi03:~/userland-rawcam \$ raspiraw -o o.raw
RaspiRaw: Probing sensor ov5647 on addr 36
RaspiRaw: Found sensor ov5647 at address 36
RaspiRaw: Encoding 41414770
mmal: mmal_port_alloc: component:vc.ril.rawcam type:1 extra:0
mmal: mmal_port_alloc: vc.ril.rawcam:ctr:0: created at 0x1e8f4f0
mmal: mmal_vc_component_create: vc.ril.rawcam
mmal: mmal_vc_component_create: vc.ril.rawcam: handle 0x40 status 0 reply status 0
mmal: mmal_port_free: vc.ril.rawcam:ctr:0 at 0x1e8f4f0
mmal: mmal_port_alloc: component:vc.ril.rawcam type:1 extra:384
mmal: mmal_port_alloc: vc.ril.rawcam:ctr:0: created at 0x1e8f8b0
mmal: mmal_port_alloc: component:vc.ril.rawcam type:3 extra:384
mmal: mmal_port_alloc: vc.ril.rawcam:out:0: created at 0x1e8fbc0
mmal: mmal_vc_component_create:  handle 64
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.rawcam' 0 0x1e8f330
mmal: mmal_component_create: vc.ril.isp
mmal: mmal_port_alloc: component:vc.ril.isp type:1 extra:0
mmal: mmal_port_alloc: vc.ril.isp:ctr:0: created at 0x1e91560
mmal: mmal_vc_component_create: vc.ril.isp
mmal: mmal_vc_component_create: vc.ril.isp: handle 0x38 status 0 reply status 0
mmal: mmal_port_free: vc.ril.isp:ctr:0 at 0x1e91560
mmal: mmal_port_alloc: component:vc.ril.isp type:1 extra:384
mmal: mmal_port_alloc: vc.ril.isp:ctr:0: created at 0x1e91920
mmal: mmal_port_alloc: component:vc.ril.isp type:2 extra:384
mmal: mmal_port_alloc: vc.ril.isp:in:0: created at 0x1e91c30
mmal: mmal_port_alloc: component:vc.ril.isp type:3 extra:384
mmal: mmal_port_alloc: vc.ril.isp:out:0: created at 0x1e91f40
mmal: mmal_vc_component_create:  handle 56
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.isp' 1 0x1e913a0
mmal: mmal_component_create: vc.ril.video_render
mmal: mmal_port_alloc: component:vc.ril.video_render type:1 extra:0
mmal: mmal_port_alloc: vc.ril.video_render:ctr:0: created at 0x1e939a0
mmal: mmal_vc_component_create: vc.ril.video_render
mmal: mmal_vc_component_create: vc.ril.video_render: handle 0x30 status 0 reply status 0
mmal: mmal_port_free: vc.ril.video_render:ctr:0 at 0x1e939a0
mmal: mmal_port_alloc: component:vc.ril.video_render type:1 extra:384
mmal: mmal_port_alloc: vc.ril.video_render:ctr:0: created at 0x1e93d60
mmal: mmal_port_alloc: component:vc.ril.video_render type:2 extra:384
mmal: mmal_port_alloc: vc.ril.video_render:in:0: created at 0x1e94070
mmal: mmal_vc_component_create:  handle 48
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.video_render' 2 0x1e937d0
mmal: mmal_port_parameter_get: vc.ril.rawcam(3:0) port 0x1e8fbc0, param 0xbeacb5d0 (1004d,40)
mmal: Set pack to 0, unpack to 0
mmal: mmal_port_parameter_set: vc.ril.rawcam(3:0) port 0x1e8fbc0, param 0xbeacb5d0 (1004d,40)
mmal: mmal_component_enable: vc.ril.rawcam 0
mmal: mmal_component_enable: vc.ril.isp 1
mmal: mmal_component_enable: vc.ril.video_render 2
mmal: mmal_port_format_commit: vc.ril.rawcam(3:0) port 0x1e8fbc0 format 3:pGAA
mmal: mmal_vc_port_info_set: set port info (3:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_port_parameter_set: vc.ril.rawcam(3:0) port 0x1e8fbc0, param 0xbeacb56c (4,12)
mmal: mmal_vc_port_parameter_set: enable zero copy on port 0x1e8fbc0
mmal: Create pool of 4 buffers of size 6371328
mmal: mmal_port_pool_create: vc.ril.rawcam(3:0) port 0x1e8fbc0, headers 4, size 6371328
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 6371328 bytes for payload 0/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0x1e8fbc0, size 6371328
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 6371328 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb2dec000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 0
mmal: mmal_pool_initialise_buffer_headers: allocating 6371328 bytes for payload 1/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0x1e8fbc0, size 6371328
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 6371328 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb27d8000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 1
mmal: mmal_pool_initialise_buffer_headers: allocating 6371328 bytes for payload 2/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0x1e8fbc0, size 6371328
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 6371328 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb21c4000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 2
mmal: mmal_pool_initialise_buffer_headers: allocating 6371328 bytes for payload 3/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0x1e8fbc0, size 6371328
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 6371328 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb1bb0000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 3
mmal: mmal_port_enable: vc.ril.rawcam:out:0(pGAA) port 0x1e8fbc0, cb 0x12f84, buffers (4/4/4,6371328/6371328/6371328)
mmal: Sent buffer 0x1e95928
mmal: Sent buffer 0x1e95b00
mmal: Sent buffer 0x1e95cd8
mmal: Sent buffer 0x1e95eb0
mmal: Now streaming...
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 486668477, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 486668477, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 486796405, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 486796405, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 486860370, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 486860370, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 486924334, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 486924334, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 486988299, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 486988299, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487052263, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487052263, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487116227, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487116227, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487180192, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487180192, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487244156, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 48[7244156, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487308121, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487308121, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487372084, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487372084, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487436049, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487436049, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487500013, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487500013, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487563978, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487563978, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487627942, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487627942, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487691906, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487691906, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487755871, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487755871, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487819835, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487819835, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 487883799, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 487883799, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 487947763, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 487947763, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488011728, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488011728, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488395513, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488395513, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488459478, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488459478, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488523443, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488523443, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488587407, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488587407, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488651371, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488651371, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488715336, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488715336, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488779300, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488779300, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488843265, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488843265, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 488907229, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 488907229, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 488971193, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 488971193, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489035157, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489035157, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489099121, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489099121, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489163086, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489163086, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489227050, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489227050, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489291015, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489291015, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489354980, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489354980, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489418943, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489418943, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489482907, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489482907, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489546872, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489546872, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489610836, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489610836, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489738764, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489738764, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489802731, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489802731, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489866693, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489866693, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 489930658, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 489930658, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 489994622, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 489994622, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490058586, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490058586, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490122551, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490122551, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490186515, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490186515, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490250481, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490250481, flags 00842383812655,
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490314444, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490314444, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490378408, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490378408, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490442373, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490442373, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490506337, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490506337, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490570301, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490570301, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490634265, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490634265, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490698231, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490698231, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490762194, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490762194, flags 00842383812655,
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490826158, flags 0004
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490826158, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 6371328, timestamp 490890123, flags 0004
mmal: Buffer 0x1e95eb0 returned, filled 6371328, timestamp 490890123, flags 0084
mmal: Buffer 0x1e95928 returned, filled 6371328, timestamp 490954087, flags 0004
mmal: mmal_port_disable: vc.ril.rawcam(3:0) port 0x1e8fbc0
mmal: Buffer 0x1e95b00 returned, filled 6371328, timestamp 490954087, flags 0084
mmal: Buffer 0x1e95cd8 returned, filled 0, timestamp 0, flags 0000
mmal: Buffer 0x1e95eb0 returned, filled 0, timestamp 0, flags 0000
mmal: mmal_port_disable_internal: vc.ril.rawcam:out:0(pGAA) waiting for 0 buffers left in transit
mmal: mmal_port_disable_internal: vc.ril.rawcam:out:0(pGAA) has no buffers left in transit
mmal: mmal_port_pool_destroy: vc.ril.rawcam(3:0) port 0x1e8fbc0, pool 0x1e958c0
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0x1e8fbc0, payload 0xb2dec000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 4
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0x1e8fbc0, payload 0xb27d8000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 3
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0x1e8fbc0, payload 0xb21c4000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 2
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0x1e8fbc0, payload 0xb1bb0000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0), refcount 1
mmal: mmal_component_disable: vc.ril.video_render 2
mmal: mmal_component_disable: vc.ril.isp 1
mmal: mmal_component_disable: vc.ril.rawcam 0
mmal: mmal_component_destroy: vc.ril.rawcam 0
mmal: mmal_component_release_internal: vc.ril.rawcam 0 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0)
mmal: mmal_port_disconnect: vc.ril.rawcam:out:0(pGAA)(0x1e8fbc0) is not connected
mmal: mmal_component_destroy_internal: vc.ril.rawcam 0
mmal: mmal_port_free: vc.ril.rawcam:out:0(pGAA) at 0x1e8fbc0
mmal: mmal_port_free: vc.ril.rawcam:ctr:0 at 0x1e8f8b0
mmal: mmal_component_destroy: vc.ril.isp 1
mmal: mmal_component_release_internal: vc.ril.isp 1 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.isp:in:0(0x1e91c30)
mmal: mmal_port_disconnect: vc.ril.isp:in:0(0x1e91c30) is not connected
mmal: mmal_port_disconnect: vc.ril.isp:out:0(0x1e91f40)
mmal: mmal_port_disconnect: vc.ril.isp:out:0(0x1e91f40) is not connected
mmal: mmal_component_destroy_internal: vc.ril.isp 1
mmal: mmal_port_free: vc.ril.isp:in:0 at 0x1e91c30
mmal: mmal_port_free: vc.ril.isp:out:0 at 0x1e91f40
mmal: mmal_port_free: vc.ril.isp:ctr:0 at 0x1e91920
mmal: mmal_component_destroy: vc.ril.video_render 2
mmal: mmal_component_release_internal: vc.ril.video_render 2 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.video_render:in:0(0x1e94070)
mmal: mmal_port_disconnect: vc.ril.video_render:in:0(0x1e94070) is not connected
mmal: mmal_component_destroy_internal: vc.ril.video_render 2
mmal: mmal_port_free: vc.ril.video_render:in:0 at 0x1e94070
mmal: mmal_port_free: vc.ril.video_render:ctr:0 at 0x1e93d60
pi@raspberrypi03:~/userland-rawcam \$ ll o.raw
-rw-r--r-- 1 pi pi 6371328 Jul 22 00:34 o.raw
pi@raspberrypi03:~/userland-rawcam \$ ``````
P.P.S:
Tried raspiraw modes 6 and 7 and looked up microsend timestamp deltas as reported above as well.
Delta was 23747 for mode 6, 16636 for mode 7, which means 42fps or 60fps:

Code: Select all

``````\$ bc -ql
1000000/23747
42.11058238935444477197
1000000/16636
60.11060351045924501081
``````
And?
raspiraw is set to extend frame length based on exposure time, but otherwise there is no frame rate control. If you want frame rate control then please go and read the datasheet over how to adjust frame rate, and amend the register set accordingly - I'm unable to help due to NDAs (see the headers).
HermannSW wrote:host_applications/linux/apps/raspicam/ov5647_modes.h seems not to have a 90fps mode ...

Code: Select all

``````struct mode_def ov5647_modes[] = {
{ ov5647_5MPix, NUM_ELEMENTS(ov5647_5MPix), 2592, 1944, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 1968 },
{ ov5647_mode1, NUM_ELEMENTS(ov5647_mode1), 1920, 1080, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 1104 },
{ ov5647_mode2, NUM_ELEMENTS(ov5647_mode2), 2592, 1944, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 1968 },
{ ov5647_mode3, NUM_ELEMENTS(ov5647_mode3), 2592, 1944, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 1968 },
{ ov5647_mode4, NUM_ELEMENTS(ov5647_mode4), 1296,  976, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 996 },
{ ov5647_mode5, NUM_ELEMENTS(ov5647_mode5), 1296,  730, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 870 },
{ ov5647_mode6, NUM_ELEMENTS(ov5647_mode6),  640,  480, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 484 },
{ ov5647_mode7, NUM_ELEMENTS(ov5647_mode7),  640,  480, 0, BAYER_ORDER_GBRG, 10, 0x2B, 2, 484 },
};
``````
Where are you reading anything about frame rate in that mode list?
Compare the resolutions against http://picamera.readthedocs.io/en/lates ... nsor-modes and they match up pretty well. And your measured frame rate of 60fps matches the minimum frame rate of mode 7, with 42fps being in the middle of the supported range of 30-60 for mode 6.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

After both sudo apt-gets I was able to build dcraw on the Pi Zero W:

Code: Select all

``````pi@raspberrypi03:~/RPiTest-master/dcraw \$ time ( ./buildme  )
/usr/bin/ld: warning: libjpeg.so.62, needed by /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../arm-linux-gnueabihf/libjasper.so, may conflict with libjpeg.so.8

real	3m36.394s
user	3m31.840s
sys	0m1.220s
pi@raspberrypi03:~/RPiTest-master/dcraw \$``````
But it does not decode the two files I created yesterday with raspiraw:

Code: Select all

``````pi@raspberrypi03:~/userland-rawcam \$ ../RPiTest-master/dcraw/dcraw  o6.raw
Cannot decode file o6.raw
pi@raspberrypi03:~/userland-rawcam \$ ../RPiTest-master/dcraw/dcraw  o7.raw
Cannot decode file o7.raw
pi@raspberrypi03:~/userland-rawcam \$ ../RPiTest-master/dcraw/dcraw -i o7.raw
Cannot decode file o7.raw
pi@raspberrypi03:~/userland-rawcam \$
``````
What is missing?
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

6by9
Raspberry Pi Engineer & Forum Moderator
Posts: 15893
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

### Re: Question on OV5647 90fps picture taking

HermannSW wrote:What is missing?
Did you include the "-hd" option to raspiraw that writes the required header? If not all you've got is a raw block of image data with no information about how to interpret it.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

Thank you, raspiraw "-hd" did make following dcraw work.

Code: Select all

``````pi@raspberrypi03:~/userland-rawcam \$ raspiraw -hd -md 7 -o o7b.raw
RaspiRaw: Probing sensor ov5647 on addr 36
RaspiRaw: Found sensor ov5647 at address 36
RaspiRaw: Encoding 41414770
mmal: mmal_port_alloc: component:vc.ril.rawcam type:1 extra:0
mmal: mmal_port_alloc: vc.ril.rawcam:ctr:0: created at 0xfb84f0
mmal: mmal_vc_component_create: vc.ril.rawcam
mmal: mmal_vc_component_create: vc.ril.rawcam: handle 0x40 status 0 reply status 0
mmal: mmal_port_free: vc.ril.rawcam:ctr:0 at 0xfb84f0
mmal: mmal_port_alloc: component:vc.ril.rawcam type:1 extra:384
mmal: mmal_port_alloc: vc.ril.rawcam:ctr:0: created at 0xfb88b0
mmal: mmal_port_alloc: component:vc.ril.rawcam type:3 extra:384
mmal: mmal_port_alloc: vc.ril.rawcam:out:0: created at 0xfb8bc0
mmal: mmal_vc_component_create:  handle 64
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.rawcam' 0 0xfb8330
mmal: mmal_component_create: vc.ril.isp
mmal: mmal_port_alloc: component:vc.ril.isp type:1 extra:0
mmal: mmal_port_alloc: vc.ril.isp:ctr:0: created at 0xfba560
mmal: mmal_vc_component_create: vc.ril.isp
mmal: mmal_vc_component_create: vc.ril.isp: handle 0x38 status 0 reply status 0
mmal: mmal_port_free: vc.ril.isp:ctr:0 at 0xfba560
mmal: mmal_port_alloc: component:vc.ril.isp type:1 extra:384
mmal: mmal_port_alloc: vc.ril.isp:ctr:0: created at 0xfba920
mmal: mmal_port_alloc: component:vc.ril.isp type:2 extra:384
mmal: mmal_port_alloc: vc.ril.isp:in:0: created at 0xfbac30
mmal: mmal_port_alloc: component:vc.ril.isp type:3 extra:384
mmal: mmal_port_alloc: vc.ril.isp:out:0: created at 0xfbaf40
mmal: mmal_vc_component_create:  handle 56
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.isp' 1 0xfba3a0
mmal: mmal_component_create: vc.ril.video_render
mmal: mmal_port_alloc: component:vc.ril.video_render type:1 extra:0
mmal: mmal_port_alloc: vc.ril.video_render:ctr:0: created at 0xfbc9a0
mmal: mmal_vc_component_create: vc.ril.video_render
mmal: mmal_vc_component_create: vc.ril.video_render: handle 0x30 status 0 reply status 0
mmal: mmal_port_free: vc.ril.video_render:ctr:0 at 0xfbc9a0
mmal: mmal_port_alloc: component:vc.ril.video_render type:1 extra:384
mmal: mmal_port_alloc: vc.ril.video_render:ctr:0: created at 0xfbcd60
mmal: mmal_port_alloc: component:vc.ril.video_render type:2 extra:384
mmal: mmal_port_alloc: vc.ril.video_render:in:0: created at 0xfbd070
mmal: mmal_vc_component_create:  handle 48
mmal: mmal_vc_port_info_get: get port info (1:0)
mmal: mmal_vc_port_info_get: get port info (2:0)
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 0/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 1/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 2/4
mmal: mmal_pool_initialise_buffer_headers: allocating 740 bytes for payload 3/4
mmal: mmal_component_create_core: created 'vc.ril.video_render' 2 0xfbc7d0
mmal: mmal_port_parameter_get: vc.ril.rawcam(3:0) port 0xfb8bc0, param 0xbef585c0 (1004d,40)
mmal: Set pack to 0, unpack to 0
mmal: mmal_port_parameter_set: vc.ril.rawcam(3:0) port 0xfb8bc0, param 0xbef585c0 (1004d,40)
mmal: mmal_component_enable: vc.ril.rawcam 0
mmal: mmal_component_enable: vc.ril.isp 1
mmal: mmal_component_enable: vc.ril.video_render 2
mmal: mmal_port_format_commit: vc.ril.rawcam(3:0) port 0xfb8bc0 format 3:pGAA
mmal: mmal_vc_port_info_set: set port info (3:0)
mmal: mmal_vc_port_info_get: get port info (3:0)
mmal: mmal_port_parameter_set: vc.ril.rawcam(3:0) port 0xfb8bc0, param 0xbef5855c (4,12)
mmal: mmal_vc_port_parameter_set: enable zero copy on port 0xfb8bc0
mmal: Create pool of 4 buffers of size 384000
mmal: mmal_port_pool_create: vc.ril.rawcam(3:0) port 0xfb8bc0, headers 4, size 384000
mmal: mmal_pool_create_with_allocator: allocating 48 + 24 + 472 * 4 bytes for pool
mmal: mmal_pool_initialise_buffer_headers: allocating 384000 bytes for payload 0/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0xfb8bc0, size 384000
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 384000 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb4c42000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0xfb8bc0), refcount 0
mmal: mmal_pool_initialise_buffer_headers: allocating 384000 bytes for payload 1/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0xfb8bc0, size 384000
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 384000 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb32a2000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0xfb8bc0), refcount 1
mmal: mmal_pool_initialise_buffer_headers: allocating 384000 bytes for payload 2/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0xfb8bc0, size 384000
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 384000 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb3244000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0xfb8bc0), refcount 2
mmal: mmal_pool_initialise_buffer_headers: allocating 384000 bytes for payload 3/4
mmal: mmal_port_payload_alloc: vc.ril.rawcam(3:0) port 0xfb8bc0, size 384000
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocating 384000 bytes, format pGAA, is_zero_copy 1
mmal: mmal_vc_port_payload_alloc: vc.ril.rawcam:out:0(pGAA): allocated at 0xb31e6000
mmal: mmal_port_acquire: port vc.ril.rawcam:out:0(pGAA)(0xfb8bc0), refcount 3
mmal: mmal_port_enable: vc.ril.rawcam:out:0(pGAA) port 0xfb8bc0, cb 0x12f84, buffers (4/4/4,384000/384000/384000)
mmal: Sent buffer 0xfc6938
mmal: Sent buffer 0xfc6b10
mmal: Sent buffer 0xfc6ce8
mmal: Sent buffer 0xfc6ec0
mmal: Now streaming...
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003735851, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7003735851, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7003752487, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7003752487, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003769122, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7003769122, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7003785758, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7003785758, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003802394, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7003802394, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7003819030, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7003819030, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003835666, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7003835666, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7003852302, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7003852302, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003868938, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7003868938, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7003885574, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7003885574, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003902210, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7003902210, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7003918846, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7003918846, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003935482, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7003935482, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7003952117, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7003952117, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003968753, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7003968753, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7003985389, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7003985389, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004002026, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004002026, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004018661, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004018661, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004035297, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004035297, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004051933, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004051933, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004068569, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004068569, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004085205, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004085205, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004101841, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004101841, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004118477, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004118477, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004135113, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004135113, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004151749, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004151749, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004168385, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004168385, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004185021, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004185021, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004201656, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004201656, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004218293, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004218293, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004234929, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004234929, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004251564, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004251564, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004268200, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004268200, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004284836, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004284836, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004301472, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004301472, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004318108, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004318108, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004334744, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004334744, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004351380, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004351380, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004368016, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004368016, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004384652, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004384652, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004401288, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004401288, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004417924, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004417924, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004434560, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004434560, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004451195, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004451195, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004467831, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004467831, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004484467, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004484467, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004501103, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004501103, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004517739, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004517739, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004534375, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004534375, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004551011, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004551011, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004567647, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004567647, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004584283, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004584283, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004600919, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004600919, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004617555, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004617555, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004634191, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004634191, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004650826, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004650826, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004667463, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004667463, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004684099, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004684099, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004700734, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004700734, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7004717371, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7004717371, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7004734006, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7004734006, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005665618, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005665618, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005682254, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005682254, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005698890, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005698890, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005715527, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005715527, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005732162, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005732162, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005748798, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005748798, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005765434, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005765434, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005782070, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005782070, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005798706, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005798706, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005815342, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005815342, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005831978, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005831978, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005848614, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005848614, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005865250, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005865250, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005881886, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005881886, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005898522, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005898522, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005915158, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005915158, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005931793, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005931793, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005948429, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005948429, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7005965065, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7005965065, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7005981701, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7005981701, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007112944, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007112944, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007129580, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007129580, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007146216, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007146216, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007162852, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007162852, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007179488, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007179488, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007196124, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007196124, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007212760, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007212760, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007229396, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007229396, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007246032, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007246032, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007262668, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007262668, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007279304, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007279304, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007295940, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007295940, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007312576, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007312576, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007329212, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007329212, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007345848, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007345848, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007362483, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007362483, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007379120, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007379120, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007395755, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007395755, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007412391, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007412391, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007429027, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007429027, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007645294, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007645294, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007661930, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007661930, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007678566, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007678566, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007695202, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007695202, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007711838, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007711838, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007728474, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007728474, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007745110, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007745110, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007761746, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007761746, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007778382, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007778382, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007795018, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007795018, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007811653, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007811653, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007828290, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007828290, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007844926, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007844926, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007861561, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007861561, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007878198, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007878198, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007894833, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007894833, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007911469, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007911469, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007928105, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007928105, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007944741, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007944741, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007961377, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007961377, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7007978013, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7007978013, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7007994649, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7007994649, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008011285, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008011285, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008027921, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008027921, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008044557, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008044557, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008061193, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008061193, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008077829, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008077829, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008094464, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008094464, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008111100, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008111100, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008127736, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008127736, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008144372, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008144372, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008161008, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008161008, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008177644, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008177644, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008194280, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008194280, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008210916, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008210916, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008227552, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008227552, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008244188, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008244188, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008260824, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008260824, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008277460, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008277460, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008294096, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008294096, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008310732, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008310732, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008327367, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008327367, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008344003, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008344003, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008360639, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008360639, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008377275, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008377275, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008393911, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008393911, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008410547, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008410547, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008427183, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008427183, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008443819, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008443819, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008460455, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008460455, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008477091, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008477091, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008493727, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008493727, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008510363, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008510363, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008526999, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008526999, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008543634, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008543634, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008560271, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008560271, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008576906, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008576906, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008593542, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008593542, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008610178, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008610178, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008626814, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008626814, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008643450, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008643450, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008660086, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008660086, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008676722, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008676722, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7008693359, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7008693359, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7008709995, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7008709995, flags 0084
mmal: mmal_port_disable: vc.ril.rawcam(3:0) port 0xfb8bc0
mmal: Buffer 0xfc6938 returned, filled 0, timestamp 0, flags 0000
mmal: Buffer 0xfc6b10 returned, filled 0, timestamp 0, flags 0000
mmal: Buffer 0xfc6ce8 returned, filled 0, timestamp 0, flags 0000
mmal: Buffer 0xfc6ec0 returned, filled 0, timestamp 0, flags 0000
mmal: mmal_port_disable_internal: vc.ril.rawcam:out:0(pGAA) waiting for 0 buffers left in transit
mmal: mmal_port_disable_internal: vc.ril.rawcam:out:0(pGAA) has no buffers left in transit
mmal: mmal_port_pool_destroy: vc.ril.rawcam(3:0) port 0xfb8bc0, pool 0xfc68c0
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0xfb8bc0, payload 0xb4c42000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0xfb8bc0), refcount 4
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0xfb8bc0, payload 0xb32a2000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0xfb8bc0), refcount 3
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0xfb8bc0, payload 0xb3244000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0xfb8bc0), refcount 2
mmal: mmal_port_payload_free: vc.ril.rawcam(3:0) port 0xfb8bc0, payload 0xb31e6000
mmal: mmal_port_release: port vc.ril.rawcam:out:0(pGAA)(0xfb8bc0), refcount 1
mmal: mmal_component_disable: vc.ril.video_render 2
mmal: mmal_component_disable: vc.ril.isp 1
mmal: mmal_component_disable: vc.ril.rawcam 0
mmal: mmal_component_destroy: vc.ril.rawcam 0
mmal: mmal_component_release_internal: vc.ril.rawcam 0 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.rawcam:out:0(pGAA)(0xfb8bc0)
mmal: mmal_port_disconnect: vc.ril.rawcam:out:0(pGAA)(0xfb8bc0) is not connected
mmal: mmal_component_destroy_internal: vc.ril.rawcam 0
mmal: mmal_port_free: vc.ril.rawcam:out:0(pGAA) at 0xfb8bc0
mmal: mmal_port_free: vc.ril.rawcam:ctr:0 at 0xfb88b0
mmal: mmal_component_destroy: vc.ril.isp 1
mmal: mmal_component_release_internal: vc.ril.isp 1 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.isp:in:0(0xfbac30)
mmal: mmal_port_disconnect: vc.ril.isp:in:0(0xfbac30) is not connected
mmal: mmal_port_disconnect: vc.ril.isp:out:0(0xfbaf40)
mmal: mmal_port_disconnect: vc.ril.isp:out:0(0xfbaf40) is not connected
mmal: mmal_component_destroy_internal: vc.ril.isp 1
mmal: mmal_port_free: vc.ril.isp:in:0 at 0xfbac30
mmal: mmal_port_free: vc.ril.isp:out:0 at 0xfbaf40
mmal: mmal_port_free: vc.ril.isp:ctr:0 at 0xfba920
mmal: mmal_component_destroy: vc.ril.video_render 2
mmal: mmal_component_release_internal: vc.ril.video_render 2 preparing for destruction
mmal: mmal_port_disconnect: vc.ril.video_render:in:0(0xfbd070)
mmal: mmal_port_disconnect: vc.ril.video_render:in:0(0xfbd070) is not connected
mmal: mmal_component_destroy_internal: vc.ril.video_render 2
mmal: mmal_port_free: vc.ril.video_render:in:0 at 0xfbd070
mmal: mmal_port_free: vc.ril.video_render:ctr:0 at 0xfbcd60
pi@raspberrypi03:~/userland-rawcam \$ ``````
But "o7b.raw" seems to be a single picture and not a sequence of frames:

Code: Select all

``````pi@raspberrypi03:~/userland-rawcam \$ ../RPiTest-master/dcraw/dcraw o7b.raw
pi@raspberrypi03:~/userland-rawcam \$ ls -lst | head -2
total 18228
904 -rw-r--r--  1 pi pi  921615 Jul 25 18:54 o7b.ppm
408 -rw-r--r--  1 pi pi  416768 Jul 25 18:53 o7b.raw
pi@raspberrypi03:~/userland-rawcam \$
pi@raspberrypi03:~/userland-rawcam \$ ../RPiTest-master/dcraw/dcraw -i -v o7b.raw

Filename: o7b.raw
Timestamp: Thu Jan  1 00:00:00 1970
Camera: RaspberryPi Pi
ISO speed: 0
Shutter: 0.0 sec
Aperture: f/0.0
Focal length: 0.0 mm
Embedded ICC profile: no
Number of raw images: 1
Full size:    640 x 480
Image size:   640 x 480
Output size:  640 x 480
Raw colors: 3
Filter pattern: GB/RG
Daylight multipliers: 1.000000 1.000000 1.000000
pi@raspberrypi03:~/userland-rawcam \$
``````
https://stamm-wilbrandt.de/en/forum/o7b.raw
https://stamm-wilbrandt.de/en/forum/o7b.ppm

So is raspiraw a "raspistill" equivalent, or can it take many frames and create a video like "raspivid"?

Hermann.
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

ethanol100
Posts: 668
Joined: Wed Oct 02, 2013 12:28 pm

### Re: Question on OV5647 90fps picture taking

You an use a filename like %04d.raw. Each frame will be saved in a separat file.

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

You an use a filename like %04d.raw. Each frame will be saved in a separat file.
Thank you so much!

If I would have read that earlier I would have taken Pi Zero W with camera with me, now I will have to wait until back home Friday evening to try that.

Looking into dcraw source
https://github.com/6by9/RPiTest/blob/ma ... aw/dcraw.c

I can see that all files after last command line option are processed.
That allows to eg. decode all %04d.raw raw images into .tiff or .ppm format.
I have seen that μs precision timestamp for each frame gets logged while running raspiraw.

Is it possible to create a movie (in some format) from the dcraw decoded images, taking the "frame taken" timestamp into account?
(I know you can create video from frame pictures with gstreamer pipeline, but you have to specify framerate)

Hermann.

Code: Select all

``````...
mmal: Sent buffer 0xfc6ec0
mmal: Now streaming...
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003735851, flags 0004
mmal: Buffer 0xfc6b10 returned, filled 384000, timestamp 7003735851, flags 0084
mmal: Buffer 0xfc6ce8 returned, filled 384000, timestamp 7003752487, flags 0004
mmal: Buffer 0xfc6ec0 returned, filled 384000, timestamp 7003752487, flags 0084
mmal: Buffer 0xfc6938 returned, filled 384000, timestamp 7003769122, flags 0004
...``````
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

6by9
Raspberry Pi Engineer & Forum Moderator
Posts: 15893
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

### Re: Question on OV5647 90fps picture taking

PLEASE will you read the whole of the thread on raspiraw that you have been pointed at at least twice now, and preferably refer to the code too. (If you don't understand the code, or at least the principles, then I would suggest that this is not the application for you to be looking at).
First post on it:
It saves every 15th frame as rawXXXX.raw and runs for 30 seconds.
That has been updated so it now takes command line arguments in exactly the same way as segmented mode works in raspivid. You'd obviously worked out part of that as you'd added the -o <filename> for yourself.
As ethanol100 says, put "%d" in the filename to insert the capture number.
Use --saverate or -sr to specify N when saving 1 in N. Trying to save all frames is unlikely to be realistic to SD card due to the data rate.

raspiraw is not meant to be a fully polished app as it will almost always need tweaking for any specific use case.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

RaTTuS
Posts: 10829
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

### Re: Question on OV5647 90fps picture taking

How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

DougieLawson
Posts: 42849
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK

### Re: Question on OV5647 90fps picture taking

RaTTuS wrote:
Thu Jul 27, 2017 1:29 pm
Thanks for that.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

HermannSW
Posts: 6250
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

### Re: Question on OV5647 90fps picture taking

Thanks RaTTus and Dougielawson, the videos are informative.

In a recent run in Motor Test Station with >17m/s this 640x480 frame taken @90fps shows a really big rolling shutter skew (the 34mmx34mm wooden bar is straight):

Hermann.
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/