Go to advanced search

by HermannSW
Fri Apr 06, 2018 4:16 pm
Forum: Camera board
Topic: M12 lens adapter for camera module
Replies: 81
Views: 86480

Re: M12 lens adapter for camera module

Today I did put the M12 extensions rings and 20° lense onto v2 camera M12 mount. Same 18mm distance to object with maximal screw out. And 2604 pixels for 2mm, that is 0.77μm/pixel for v2 camera: $ echo "2000/2604" | bc -ql .76804915514592933947 $ http://stamm-wilbrandt.de/en/forum/20deg.lense.plus.2...
by HermannSW
Tue Apr 03, 2018 10:44 pm
Forum: Camera board
Topic: Howto upload raspivid high framerate videos to youtube
Replies: 5
Views: 2281

Re: Howto upload raspivid high framerate videos to youtube

... Then again you want to add your overlay, so unless you can do that with a subtitle track or similar, I guess you need access to the raw pixels. Just to confirm that I am not running into the wrong way. I was able to rotate and upload to youtube with only changing metadata (lossless) I found "lo...
by HermannSW
Mon Apr 02, 2018 7:26 pm
Forum: Camera board
Topic: Howto upload raspivid high framerate videos to youtube
Replies: 5
Views: 2281

Re: Howto upload raspivid high framerate videos to youtube

This is the diff: $ od -vtx1 t.mp4 > t $ od -vtx1 tr.mp4 > tr $ diff t tr 180804,180805c180804,180805 < 13022060 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 < 13022100 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 --- > 13022060 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 > 13022100 ff ff ...
by HermannSW
Mon Apr 02, 2018 7:18 pm
Forum: Camera board
Topic: Howto upload raspivid high framerate videos to youtube
Replies: 5
Views: 2281

Re: Howto upload raspivid high framerate videos to youtube

I tried the lossless rotation part first.
While .mp4 might be rotated that way, .mp4 created from .mkv does not rotate if below commands are correct :(

Code: Select all

$ ffmpeg -i t.mkv  -codec copy t.mp4
$ ffmpeg -i t.mp4 -metadata:s:v rotate="90" -codec copy tr.mp4
by HermannSW
Mon Apr 02, 2018 6:49 pm
Forum: Camera board
Topic: IMX219 rolling shutter effect severity
Replies: 18
Views: 6263

Re: IMX219 rolling shutter effect severity

I created 90fps(A) 640x480 videos with 2/1/0.5/0.25 ms shutter time, much less than 11.091ms frame time. The v1 camera was mounted on a soldering 3rd hand which I quickly turned left/right/left/right/... While the skew is same, the 2000ms shutter time image is blurred, and the images get darker with...
by HermannSW
Sun Apr 01, 2018 7:45 pm
Forum: Camera board
Topic: Howto upload raspivid high framerate videos to youtube
Replies: 5
Views: 2281

Howto upload raspivid high framerate videos to youtube

The video output format of raspivid is .h264 by default. If you upload such a video directly to youtube, it will allow for that (youtube does not allow to upload .mkv Matroska videos). But the video is played at constant framerate of 25fps, with no indication of the real timestamps. In this posting ...
by HermannSW
Sun Apr 01, 2018 3:57 pm
Forum: Camera board
Topic: IMX219 rolling shutter effect severity
Replies: 18
Views: 6263

Re: IMX219 rolling shutter effect severity

I don't know your application, but what I learned is that I could easily compensate for (very) short shutter times by just adding more light. I did test excentricity and rotations per second for a motor+wheel. First video is with bright halogen light, still dark because of only 1ms shutter time ( ht...
by HermannSW
Sun Apr 01, 2018 3:07 pm
Forum: General discussion
Topic: Be careful with 3rd hand alligator clips and camera cable
Replies: 1
Views: 374

Re: Be careful with 3rd hand alligator clips and camera cable

With v1 camera, M12 lens mount, two extension rings and a 20° lens you can get much more detailed view of the broken connections (this image is a bit less, but that setup allows for up to 1μm/pixel resolution): https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=45887&p=1295384#p1295384 https://...
by HermannSW
Sat Mar 31, 2018 3:01 pm
Forum: Camera board
Topic: M12 lens adapter for camera module
Replies: 81
Views: 86480

Re: M12 lens adapter for camera module

I got a 20° lense and wanted to get less μm/pixel. https://www.aliexpress.com/item/16mm-Lens-1080P-20-Degree-MTV-M12-x-0-5-Mount-Infrared-Night-Vision-Lens-For/32822002070.html Unfortunately that lense, even when screwed out maximally in M12 mount, required 7cm distance to object for getting sharp i...
by HermannSW
Thu Mar 29, 2018 10:18 pm
Forum: Camera board
Topic: v2 camera raspivid now captures up to 200fps ...
Replies: 7
Views: 8353

Re: v2 camera raspivid now captures up to 200fps ...

It turned out to be a not so good idea to add tmeoverlay timestamps while recording at very high framerates. In one video I took at 180fps that reduced the actual framerate in generated video to 120fps. These steps seem to be the correct for adding timeoverlay timestamps to raspivid high framerate v...
by HermannSW
Wed Mar 28, 2018 5:49 pm
Forum: Camera board
Topic: M12 lens adapter for camera module
Replies: 81
Views: 86480

Re: M12 lens adapter for camera module

Same camera, same lens.
Having a deep look into lens from 2cm above :D
1079x559 image cut out from 1980x1080 frame, 1000lm Ikea light from below:
Image
by HermannSW
Wed Mar 28, 2018 3:01 pm
Forum: Camera board
Topic: v2 camera raspivid now captures up to 200fps ...
Replies: 7
Views: 8353

Re: v2 camera raspivid now captures up to 200fps ...

Because v4l2src and rpicamsrc were capping maximal framerate at 90fps, and I wanted to use gstreamer pipeline to add millisecond resolution timestamp overlays to the frames (nice, with 0.005s deltas), I did a video pipeing 200fps raspivid output to gstreamer pipeline and got a first good 200fps vide...
by HermannSW
Wed Mar 28, 2018 2:31 pm
Forum: Camera board
Topic: Why does v4l2src change FOV starting at 41fps?
Replies: 5
Views: 1315

Re: Why does v4l2src change FOV starting at 41fps?

Thanks @6by9, no hurry. Based on our talk yesterday Jan increased max fps for rpicamsrc with this github change: https://github.com/thaytan/gst-rpicamsrc/commit/395399e9c05613d5c598f05cae5cc0a180be5386 Although increasing maximum from 90fps to 1000fps is higher than the (current) 202fps restriction ...
by HermannSW
Wed Mar 28, 2018 7:36 am
Forum: Camera board
Topic: Why does v4l2src change FOV starting at 41fps?
Replies: 5
Views: 1315

Re: Why does v4l2src change FOV starting at 41fps?

Last night was the first time I was able to capture with 200fps without frame skips. But in that video there was a scene without change. Another recording at 200fps was interesting, 200fps with frame skips in recording, but outside of generated .avi video. AND with timeoverlay buffer-time that gives...
by HermannSW
Mon Mar 26, 2018 11:38 pm
Forum: Camera board
Topic: Why does v4l2src change FOV starting at 41fps?
Replies: 5
Views: 1315

Re: Why does v4l2src change FOV starting at 41fps?

Thanks, that explains it. And is correct wrt 40fps side of mode 7 of v2 camera: 7 640x480 4:3 40 < fps <= 90 x Partial 2x2 But the other end is wrong, with Stretch version before 2018-03-13 this is correct ! (see this thread ) 7 640x480 4:3 40 < fps <= 120 x Partial 2x2 For Stretch starting with 201...
by HermannSW
Mon Mar 26, 2018 10:18 pm
Forum: Camera board
Topic: Why does v4l2src change FOV starting at 41fps?
Replies: 5
Views: 1315

Why does v4l2src change FOV starting at 41fps?

Running this command on Raspberry gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480, framerate=41/1 ! jpegenc ! rtpjpegpay ! udpsink host=192.168.178.30 port=5200 and this command on laptop gst-launch -v udpsrc port=5200 ! application/x-rtp, encoding-name=JPEG,payload=2...
by HermannSW
Mon Mar 26, 2018 8:02 am
Forum: Camera board
Topic: Maximum capture speed
Replies: 10
Views: 3996

Re: Maximum capture speed

I don't use picamera and don't know why it is so slow. With latest Raspbian Stretch raspivid can not only capture 640x480 at 90fps, but at 150fps ... https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=209041 ... and even at 180fps: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=206047&...
by HermannSW
Sun Mar 25, 2018 12:17 pm
Forum: Raspberry Pi OS
Topic: 2018-03-13-raspbian "raspivid --mode 7" can do up to 200fps!
Replies: 3
Views: 2593

2018-03-13-raspbian "raspivid --mode 7" can do up to 200fps!

raspivid was restricted to 120fps (although documentation says 90fps) for mode 7 (640x480). @6by9 did relax that after I demonstrated that the GPU can process even 180fps 640x480 videos without issues (with a hack, injecting my own I2C commands to camera at 5th frame of video having already started)...
by HermannSW
Sat Mar 24, 2018 11:28 pm
Forum: General discussion
Topic: [SOLVED] Pi 3B+ single core performance better than Pi 3B?
Replies: 15
Views: 4836

Re: [SOLVED] Pi 3B+ single core performance better than Pi 3B?

I did reboot with the other new power supply I ordered from amazon. That can even do 5V/3A instead of 5.1V/2.5A of official Raspberry power supply. Previous run was done with forcing CPU frequency to 1400. Seems not to be needed, similar runtime distribution without forcing CPU frequency to 1400MHz:...
by HermannSW
Sat Mar 24, 2018 9:41 pm
Forum: General discussion
Topic: [SOLVED] Pi 3B+ single core performance better than Pi 3B?
Replies: 15
Views: 4836

Re: [SOLVED] Pi 3B+ single core performance better than Pi 3B?

Especially the thread with undervoltage was important to me. https://s9.postimg.org/b062013wb/under_volt.png I saw that symbol on HDMI monitor often, not being aware of its meaning. Today I received the official Pi power supply (delivery after 1 day 👍). I am happy that I have not seen under voltage...
by HermannSW
Sat Mar 24, 2018 2:28 am
Forum: General discussion
Topic: RPi 3B+ gigabit ethernet bad download speeds.
Replies: 193
Views: 87469

Re: RPi 3B+ gigabit ethernet bad download speeds.

I was able to get 191Mbit/s with Raspbian Stretch 2018-03-13 on my new Pi 3B+. So more than 100Mbit/s, but laptop gets 386Mbit/s on same switch with speedtest-cli (400 down, 20 up connection). https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=208778 pi@raspberrypi3Bplus:~ $ speedtest-cli Retri...
by HermannSW
Fri Mar 23, 2018 5:53 pm
Forum: General discussion
Topic: [SOLVED] Pi 3B+ single core performance better than Pi 3B?
Replies: 15
Views: 4836

Re: [SOLVED] Pi 3B+ single core performance better than Pi 3B?

Thanks for the information and the links. Especially the thread with undervoltage was important to me. https://lowpowerlab.com/wp-content/uploads/2016/09/Pi3LoadTest_LowVoltage.jpg I saw that symbol on HDMI monitor often, not being aware of its meaning. Determining CPU frequency is not that importan...
by HermannSW
Fri Mar 23, 2018 7:09 am
Forum: Troubleshooting
Topic: [Solved] New Pi 3B+ steady reboots ...
Replies: 1
Views: 705

[SOLVED] Re: New Pi 3B+ steady reboots ...

It was bad power supply/USB hub.. I used another USB hub that stated 5V/2.5A with 5V/2.5A power adapter, and at least the Pi 3B+ did boot. But it was no able to get CPU up to 1400MHz. Temoprarily solution is to power Pi 3B+ by 25C 1S lipo and 5V step up converter. That works reliably and achieves re...
by HermannSW
Fri Mar 23, 2018 1:28 am
Forum: General discussion
Topic: [SOLVED] Pi 3B+ single core performance better than Pi 3B?
Replies: 15
Views: 4836

[SOLVED] Re: Pi 3B+ single core performance better than Pi 3B?

OK, I disconnected 5V step up converter from one of my robots and used 600mAh 25C lipo to power Pi 3B+ (see image below). Now all is fine, the 25C guarantee that Pi 3B+ gets whatever it needs (25C can deliver 5A at 5V). And now EVERY single run shows 14μs ! root@raspberrypi3Bplus:/home/pi# vcgencmd ...
by HermannSW
Fri Mar 23, 2018 12:45 am
Forum: General discussion
Topic: [SOLVED] Pi 3B+ single core performance better than Pi 3B?
Replies: 15
Views: 4836

Re: Pi 3B+ single core performance better than Pi 3B?

1M loops take 40s which is even worse than before,. This is the changed code: https://stamm-wilbrandt.de/en/forum/q32.1M.c pi@raspberrypi3Bplus:~ $ diff q32.c q32.1M.c 17a18 > unsigned i, N=1000000; 23a25 > for(i=1; i<=N; ++i) 40a43,44 > if (i==N) > { 48a53 > } pi@raspberrypi3Bplus:~ $ But running f...

Go to advanced search