Go to advanced search

by towolf
Tue Mar 04, 2014 8:24 pm
Forum: Camera board
Topic: uv4l + gstreamer(-omx) + nginx(-rtmp-module) = livestream
Replies: 4
Views: 13067

Re: uv4l + gstreamer(-omx) + nginx(-rtmp-module) = livestrea

If you want you can follow my recipe from here: http://ftp.tuebingen.mpg.de/pub/kyb/tow ... -streaming

Make sure you change the hostnames and/or IP addresses in the appropriate places.

I think uv4l is good for nothing now that a proper kernel driver is available.
by towolf
Tue Mar 04, 2014 4:34 pm
Forum: Camera board
Topic: take snapshot using webcam
Replies: 8
Views: 1619

Re: take snapshot using webcam

There's uvccapture package for this, for example.
by towolf
Sat Feb 22, 2014 5:11 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 547
Views: 442768

Re: Official V4L2 driver

Another question that I have: I suspect that -- as scene brightness decreases -- the exposure code first ramps up the analog gain (ISO) and then ramps up exposure time (in "night" mode). For an application that I have I would prefer it the other way around. Does that make sense? Would it be possible...
by towolf
Sat Feb 22, 2014 5:00 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 547
Views: 442768

Re: Official V4L2 driver

Thanks a lot, 6by9. Those are all very useful additions. The variable frame rate mode is highly appreciated. Of course in many video applications fixed fps is needed, but modern digital video often operates on timestamps and frame pts is stored in the container. In MP4, for example, the container fr...
by towolf
Sat Feb 22, 2014 4:51 pm
Forum: Camera board
Topic: Camera module on Arch Linux?
Replies: 12
Views: 16778

Re: Camera module on Arch Linux?

hello towolf, oh man, thanks, driver loaded and shooting! follow up Q on that, is there a way to do that on boot? Put it the module name into a file under /etc/modprobe.d big time Q: -how does gpu_mem efects camera module? I think you need minimum 64M -if I have camera module in /dev/video0 will ff...
by towolf
Sat Feb 22, 2014 4:45 pm
Forum: Camera board
Topic: camera video play back?
Replies: 4
Views: 7230

Re: camera video play back?

For raw .h264 your player has to assume some default fps, because raw h264 doesn’t have intrinsic fps. If you record at 8 fps then the player assumes, e.g., 25 fps and will play too fast.
by towolf
Fri Feb 21, 2014 4:09 pm
Forum: Camera board
Topic: Camera module on Arch Linux?
Replies: 12
Views: 16778

Re: Camera module on Arch Linux?

You need to load the v4l2 driver manually for /dev/video0 to show up.

Code: Select all

modprobe bcm2835-v4l2
The raspi* tools are in /opt/vc/bin. Add this to your PATH in e.g. /etc/profile

Code: Select all

PATH="$PATH:/opt/vc/bin"
You seem to have missed that.
by towolf
Tue Feb 18, 2014 6:54 pm
Forum: Automation, sensing and robotics
Topic: Flying Pi
Replies: 11
Views: 3363

Re: Flying Pi

Walking away would underestimate the range.

The ground affects this: https://en.wikipedia.org/wiki/Fresnel_zone
by towolf
Tue Feb 11, 2014 4:47 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 547
Views: 442768

Re: Official V4L2 driver

I see. Interesting, thanks.
by towolf
Fri Feb 07, 2014 7:27 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 547
Views: 442768

Re: Official V4L2 driver

I don’t mean intra period or GOP length. I mean intra refresh, that column thing that can start to be decoded earlier.

I think you mentioned that the h264 block supports this?
by towolf
Fri Feb 07, 2014 2:03 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 547
Views: 442768

Re: Official V4L2 driver

Personally, I’m wondering how much of an impact intra-refresh would have on h264 encoding latencies. That is in the MMAL headers too.
by towolf
Wed Jan 29, 2014 7:24 pm
Forum: Camera board
Topic: Long exposures
Replies: 73
Views: 28332

Re: Long exposures

by towolf
Wed Jan 29, 2014 5:10 pm
Forum: Camera board
Topic: Long exposures
Replies: 73
Views: 28332

Re: Long exposures

Finally Arch has the firmware to test 1s limit in -ex night mode. Looking at EXIF I only get ISO 1000 throughout a night-day cycle. But during the day it does not look like ISO 1000. Pretty sure that before I got a range of ISO in EXIF with mosly ISO 100 and a ramp up at dusk. Is EXIF saving broken ...
by towolf
Wed Jan 29, 2014 3:58 am
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7171

Re: image goes black after a couple of minutes

I think you will be surprised to know how many phone manufacturers use binned then scaled modes with no real loss of definition, and say it's 1080p. It's certainly slighter higher definition than 720p at 1296x972 compared to 1280x720. But it is a tradeoff - do you want full FOV 1080p or not? Person...
by towolf
Tue Jan 28, 2014 5:51 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7171

Re: image goes black after a couple of minutes

I think its probably worth using the binned mode for 1080p as well, and just scaling it up a little at the end. Doubt there will be much difference in image quality - less than 100 pixels vertically. If you do that please make it explicit what is happening behind the scenes. If you can generate rou...
by towolf
Fri Jan 24, 2014 7:56 pm
Forum: Camera board
Topic: RPi camera board using simulink
Replies: 5
Views: 4827

Re: RPi camera board using simulink

If you are trying to run Matlab on the Raspberry Pi you are going to have a bad time.

The only chance you have is to work off a network stream on another x86 box.
by towolf
Fri Jan 24, 2014 7:54 pm
Forum: Camera board
Topic: Long exposures
Replies: 73
Views: 28332

Re: Long exposures

I think "--exposure night" goes to 1s now. I haven’t had the chance to try it out yet.
by towolf
Fri Jan 24, 2014 7:51 pm
Forum: Camera board
Topic: Webcam output upload problem
Replies: 2
Views: 515

Re: Webcam output upload problem

You really don’t make it easy to help you.

> I really made a lot of efforts and they all failed

What efforts and how did they fail?

cf. http://www.catb.org/~esr/faqs/smart-que ... #beprecise
by towolf
Wed Jan 22, 2014 2:43 pm
Forum: Camera board
Topic: GStreamer pipeline for Windows
Replies: 14
Views: 30251

Re: GStreamer pipeline for Windows

So, you don't have all the codecs. The proprietary codecs like H.264 are supported by the gstreamer-ffmpeg package, install that. Or install the GStreamer SDK for Windows and make sure that you tick /all the boxes/.
by towolf
Tue Jan 21, 2014 12:18 am
Forum: Camera board
Topic: GStreamer pipeline for Windows
Replies: 14
Views: 30251

Re: GStreamer pipeline for Windows

Do you have ffdec_h264? There’s this annoying fork between ffmpeg and libav projects.

Use gst-inspect-1.0 to list all plugins and search for h264. Is it even possible to grep in windows?
by towolf
Mon Jan 20, 2014 3:40 pm
Forum: Camera board
Topic: Can I get some tips to reduce lag while streaming video?
Replies: 5
Views: 2336

Re: Can I get some tips to reduce lag while streaming video?

First of all don’t pipe raspivid, use the official v4l driver to feed v4l2src

sudo modprobe bcm2835-v4l2

Check here: http://www.raspberrypi.org/phpBB3/viewt ... 43&t=62364

For multicast UDP streaming check here:
https://developer.ridgerun.com/wiki/ind ... _GStreamer
by towolf
Sat Jan 18, 2014 10:06 am
Forum: Camera board
Topic: Can I get some tips to reduce lag while streaming video?
Replies: 5
Views: 2336

Re: Can I get some tips to reduce lag while streaming video?

Get Gstreamer 1.0 from vontaene.de deb http://vontaene.de/raspbian-updates/ . main Use this for streaming gst-launch-1.0 -e v4l2src do-timestamp=true ! video/x-h264,width=1280,height=720,framerate=30/1 ! h264parse ! rtph264pay config-interval=2 ! gdppay ! udpsink host=192.168.178.20 port=5000 for re...
by towolf
Tue Jan 14, 2014 9:12 pm
Forum: Camera board
Topic: How do I view raspivid files on windows
Replies: 6
Views: 2625

Re: How do I view raspivid files on windows

err, maybe mine is newer. What about

Code: Select all

-vcodec copy

Go to advanced search