Go to advanced search

by towolf
Tue Apr 01, 2014 7:18 pm
Forum: Camera board
Topic: MPEG2 to H264 with GStreamer
Replies: 15
Views: 9563

Re: MPEG2 to H264 with GStreamer

Replace this part

Code: Select all

matroskamux streamable=true name=mux ! filesink location=test.mkv
with

Code: Select all

flxmux name=mux ! rtmpsink location='rtmp://<server>/<path> live=1'
by towolf
Tue Apr 01, 2014 2:30 pm
Forum: Camera board
Topic: Uploading pictures to Picasa
Replies: 3
Views: 1980

Re: Uploading pictures to Picasa

Just saying, you can also use a command line tool called "googlecl" to upload photos to Picasa:

https://code.google.com/p/googlecl/wiki ... pts#Picasa
by towolf
Wed Mar 26, 2014 9:02 pm
Forum: Camera board
Topic: Raspberry Pi Stereo Cameras
Replies: 2
Views: 2089

Re: Raspberry Pi Stereo Cameras

We tried this out when they passed an Oculus Rift through our office. I captured timestamped video from two Pis via the v4l2 driver and aggregated both on a PC, which received the two video streams. Together with clock synch between all three boxes and RTP streaming I could get very solidly synchron...
by towolf
Wed Mar 26, 2014 1:33 am
Forum: Camera board
Topic: Permanently turn AWB off
Replies: 125
Views: 35783

Re: Permanently turn AWB off

Capture a JPEG. less foo.jpg (it'll whinge about being a binary file - ignore it) I used grep -ao -m1 "ev=.*ISP" foo.jpg for the whole tag, to just get those values this should work grep -ao -m1 "gain_r=..... gain_b=....." foo.jpg If you want to automate this with enhanced grep: referenceWB=$(grep ...
by towolf
Wed Mar 26, 2014 1:26 am
Forum: Camera board
Topic: Permanently turn AWB off
Replies: 125
Views: 35783

Re: Permanently turn AWB off

In doing this I also tripped over a bug in the EXIF writing. The Makernote data and a few other fields weren't being rewritten on each capture - they are now with a second firmware change. As I'd previously commented, the Makernote field is plain text, and include "gain_r=" and "gain_b=" giving the...
by towolf
Mon Mar 24, 2014 11:24 am
Forum: Camera board
Topic: Camera Server Compatible with Pi-Cam
Replies: 3
Views: 1269

Re: Camera Server Compatible with Pi-Cam

Start with this: https://www.google.de/search?q=1+megabi ... +*+1+month

You would stream all the time, even if no-one is watching, I presume.
by towolf
Sun Mar 23, 2014 3:34 pm
Forum: Camera board
Topic: H 264 Motion Detection - Compressed Domain
Replies: 60
Views: 25413

Re: H 264 Motion Detection - Compressed Domain

As I understand it, more web browsers support MJPEG than H264. Sadly; since H264 is a wondrous bit of work. And H265 is even better (no we don't support that) The problem at the moment is not so much that they don’t support H.264 (most do by now), the problem is that HTML5 video so far was for stat...
by towolf
Sun Mar 23, 2014 3:24 pm
Forum: Camera board
Topic: Camera Server Compatible with Pi-Cam
Replies: 3
Views: 1269

Re: Camera Server Compatible with Pi-Cam

Personally, would suggest nginx-rtmp . That allows you to stream live, full-motion H264 video to either Flash plugin in the browser, or HLS for Apple or Android devices that do not have Flash, or DASH (which works partially at the moment). You can run the nginx+rtmp web server wherever you want and ...
by towolf
Sat Mar 22, 2014 4:00 pm
Forum: Camera board
Topic: H 264 Motion Detection - Compressed Domain
Replies: 60
Views: 25413

Re: H 264 Motion Detection - Compressed Domain

Still better than the mjpeg so many people here have a hard-on over.
by towolf
Sat Mar 22, 2014 1:07 pm
Forum: Camera board
Topic: H 264 Motion Detection - Compressed Domain
Replies: 60
Views: 25413

Re: H 264 Motion Detection - Compressed Domain

If you stream in Baseline profile, isn’t CABAC disabled then?

The the table under Profiles here: https://en.wikipedia.org/wiki/H264#Profiles
by towolf
Thu Mar 20, 2014 9:26 pm
Forum: Camera board
Topic: streaming and saving at the same time
Replies: 13
Views: 8204

Re: streaming and saving at the same time

tee and nc really are poor man’s solutions to working with video. If you have advanced things in mind, go and use dedicated software. ffmpeg can segment and stream and do all kinds of things at the same time. Same with Gstreamer or VLC.
by towolf
Thu Mar 20, 2014 3:49 am
Forum: Camera board
Topic: streaming and saving at the same time
Replies: 13
Views: 8204

Re: streaming and saving at the same time

Code: Select all

raspivid -t 0 -o - | tee /video.h264  | nc 192.168.178.30 5001
Visualized: https://google.com/search?q=tee+fitting&tbm=isch
by towolf
Mon Mar 17, 2014 12:40 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 554
Views: 455789

Re: Official V4L2 driver

Bug report: https://bugzilla.gnome.org/show_bug.cgi?id=726521 I think stepwise is just a rare thing and was not encountered in the wild so much? There’s another recent bug that points to this issue. I think, what the developer is saying here that the handling of scaling and cropping is normally done...
by towolf
Mon Mar 17, 2014 12:08 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 554
Views: 455789

Re: Official V4L2 driver

That sounds highly plausible, but more of a GStreamer issue than V4L2. Your issue with width = height appears at first glance to come from the loop at line 1881 for (w = size.stepwise.min_width, h = size.stepwise.min_height; w <= size.stepwise.max_width && h <= size.stepwise.max_height; w += size.s...
by towolf
Mon Mar 17, 2014 12:59 am
Forum: Camera board
Topic: Official V4L2 driver
Replies: 554
Views: 455789

Re: Official V4L2 driver

I have a strong hunch that the new stepwise frame sizes become a combinatorical nightmare during format negotiation. At least for GStreamer. Maybe it’s building a data structure ∀w%2, ∀h%2, ∀formats, ∃fps. This is how it looks with full debugging. But I don’t really understand this . But it looks li...
by towolf
Mon Mar 17, 2014 12:33 am
Forum: Camera board
Topic: Official V4L2 driver
Replies: 554
Views: 455789

Re: Official V4L2 driver

As per gsh's comment, I'm not going to investigate, but I would probably point you at " Correct V4L2_PIX_FMT_BGR24 to being V4L2_PIX_FMT_RGB24. I did look at doing BGR888 support, but it was just getting too involved for the time available.". Does GStreamer support RGB24 as well as BGR24? Your log ...
by towolf
Sun Mar 16, 2014 8:19 pm
Forum: Camera board
Topic: Full FOV preview, 60 and 90fps modes released
Replies: 65
Views: 19773

Re: Full FOV preview, 60 and 90fps modes released

Playing with raspivid now, because I cannot get bcm2835_v4l2 to work anymore. The new modes are really cool and look good mostly. Really happy all this is available now. Is there information about where the VGA mode gets its pixels from? Is it reading every 4th line and column from the sensor, or wh...
by towolf
Sun Mar 16, 2014 5:22 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 554
Views: 455789

Re: Official V4L2 driver

As per gsh's comment, I'm not going to investigate, but I would probably point you at " Correct V4L2_PIX_FMT_BGR24 to being V4L2_PIX_FMT_RGB24. I did look at doing BGR888 support, but it was just getting too involved for the time available.". Does GStreamer support RGB24 as well as BGR24? Your log ...
by towolf
Sun Mar 16, 2014 5:12 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 554
Views: 455789

Re: Official V4L2 driver

Sorry if you want to report bugs in Raspbian here then that's fine, but if you can't reproduce on Raspbian then you need to go to Arch's forums / bug reporting Alright then, I’ve tried with Raspbian with up-to-date rpi-update, and Gstreamer still can’t negotiate with the camera. Neither with the ol...
by towolf
Sun Mar 16, 2014 4:45 pm
Forum: Camera board
Topic: MPEG2 to H264 with GStreamer
Replies: 15
Views: 9563

Re: MPEG2 to H264 with GStreamer

You’ll have to name the tsdemux and name the matroskamux. Then start two chains from the demuxer name, one that feeds the omxh264enc and then into the named matroskamux and another one that starts with the named tsdemux and then without re-encoding into the named matroskamux. That is, you need two c...
by towolf
Sat Mar 15, 2014 11:39 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 554
Views: 455789

Re: Official V4L2 driver

I’ll have to report a bug, or a bad interaction for that matter. I had been using Gstreamer, which is a very decent multimedia engine on Linux, to stream video with low latency over the network. Now I’m also using Arch and Arch always lags behind a bit on the Raspberry firmwares and kernels. I have ...
by towolf
Fri Mar 14, 2014 5:52 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 554
Views: 455789

Re: Official V4L2 driver

Also, any chance of having a mode that crops 2x2 1296x976 to 1280x720 directly? That is, a variant of the 16:9 1296x730?
by towolf
Fri Mar 14, 2014 5:51 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 554
Views: 455789

Re: Official V4L2 driver

Will you write more about how to request these (very exciting) modes later? I don’t understand how I would request 1296x976 or 1296x730 considering your other statement: If you exceed around 1280x960, then you will switch back to the old 1920x1080 partial FOV mode And regarding FPS, the old 30fps ha...
by towolf
Thu Mar 06, 2014 11:42 am
Forum: Camera board
Topic: take snapshot using webcam
Replies: 8
Views: 1702

Re: take snapshot using webcam

Raspberry Pi is a machine for education. Try to get started with

Code: Select all

uvccapture --help
by towolf
Tue Mar 04, 2014 11:18 pm
Forum: Camera board
Topic: uv4l + gstreamer(-omx) + nginx(-rtmp-module) = livestream
Replies: 4
Views: 13221

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

Wait, your raspivid to gst-launch line is completely wrong. This raspivid -t 0 -w 640 -h 480 -fps 15 -hf -b 1000000 -o - | \ gst-launch-1.0 fdsrc ! "video/x-raw,width=640,height=480,framerate=15/1" ! omxh264enc target-bitrate=1000000 control-rate=variable ! video/x-h264,profile=high ! h264parse conf...

Go to advanced search