Go to advanced search

by el_cid
Wed Feb 04, 2015 3:52 pm
Forum: Camera board
Topic: How to check if camera is running
Replies: 2
Views: 2468

Re: How to check if camera is running

Thanks for the incredibly fast answer. I will try that.
by el_cid
Wed Feb 04, 2015 3:06 pm
Forum: Camera board
Topic: How to check if camera is running
Replies: 2
Views: 2468

How to check if camera is running

Hello everybody, I wanted to know if there's a command in bash/Terminal to check wheter the camera is recording. The background of my question is that I want to disable the camera LED and "transfer" its functionality to another LED connected to GPIO pins. So that this other LED goes on when the came...
by el_cid
Mon Dec 15, 2014 3:11 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

--> Could the camera be faulty? I didn't treat it especially well. How does the flat ribbon cable looks like? Are there any kinks or broken lines? Could you try to remove the cable and reattach it, on both ends? I have tried your commands and I never get a dropped frame. It really seems to be a pro...
by el_cid
Mon Dec 15, 2014 3:07 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

I ran my usual script, and while running it, I frequently entered the above command, but grep never found an entry with "drop". Nevertheless looking at the pts-data I find the following frame losses: writing to data sample frame loss in % /run/shm 1 28.34 /run/shm 2 32.63 /dev/null 1 30.76 /dev/null...
by el_cid
Mon Dec 15, 2014 2:37 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

Thank you for your answer, 6by9.

So while recording a video I need enter in the terminal

Code: Select all

sudo vcdbg log msg 2>&1 | grep -i drop
Is that correct?

Just for better understanding: vcdbg log msg shows the logs since how much time? since start up of the pi?
by el_cid
Mon Dec 15, 2014 1:14 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

Hello everybody, As my problem still persists, I invested quite some hours trying to get to the ground of the frame loss problem, with the help of ethanol100's modified version of raspivid, which outputs the frame timestamps. I wrote a small script which records videos to 3 different locations, /run...
by el_cid
Tue Dec 09, 2014 4:42 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

Thank you for this, ethanol100!! I analyzed pts.dat, and I found that I do have a problem....Picture here: https://www.dropbox.com/s/ux6zmxdpe9o5kds/frame_timestamps.jpg?dl=0 - run your new raspivid (it will have been installed to the normal /opt/vc directory by buildme) and see what the timestamps ...
by el_cid
Tue Dec 09, 2014 1:48 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

Every frame has a time stamp attached to it to enable it to (simplistically) sync up properly with everything. That time stamp doesn't appear to be present. It should be attached by the GPU during the processing of the frame. If it is not attaching it then there is actually something wrong. So that...
by el_cid
Tue Dec 09, 2014 1:26 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

-9223372036854775808 = 8000000000000000 = 1<<63 = MMAL_TIME_UNKNOWN (see https://github.com/raspberrypi/userland/blob/master/interface/mmal/mmal_types.h#L88) Bum! Either something odd is going on, or we should be looking at dts. I will try to spin up my own Pi tonight to have a look at this. The fr...
by el_cid
Tue Dec 09, 2014 10:51 am
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

The main camera crystal is running at 25MHz instead of the intended 24.8MHz, so that will run 0.81% fast (ie too many frames per time interval) - not a big enough difference to explain your diffs. All frames are timestamped, but as raspivid doesn't write to a container and the raw H264 bitstream do...
by el_cid
Tue Dec 09, 2014 7:29 am
Forum: Camera board
Topic: RPi Cam Web Interface Full HD pics
Replies: 3
Views: 748

Re: RPi Cam Web Interface Full HD pics

Is it possible to get full hd images after motion detection with raspimjpeg & RPi cam web interface & lavrsen motion? I noticed images resolution depends on video_preview setting in /etc/raspimjpeg. If video_preview_width is 1024px then pics will be 1024x576 Moreover I cannot set video with more th...
by el_cid
Mon Dec 08, 2014 5:47 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

You can request nearly anything! ;)

it gives: Linux raspberrypi 3.12.28+ #709 PREEMT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux
by el_cid
Mon Dec 08, 2014 5:39 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

Just to say it: jamesh and 6by9, I greatly appreciate your help.
by el_cid
Mon Dec 08, 2014 5:37 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

The main camera crystal is running at 25MHz instead of the intended 24.8MHz, so that will run 0.81% fast (ie too many frames per time interval) - not a big enough difference to explain your diffs. All frames are timestamped, but as raspivid doesn't write to a container and the raw H264 bitstream do...
by el_cid
Mon Dec 08, 2014 5:28 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

Dunno, what happens if you take the bitrate down to 5Mbits/s. The camera is clearly OK at 1080p30 (actually, its not exactly 30 but very close), so I suspect something else, probably bandwidth to the SD card, or overall CPU bandwidth. Are you doing anything other than just running raspivid with def...
by el_cid
Mon Dec 08, 2014 4:13 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

I believe I just found an important factor: the metering (mode), and the difficult light conditions in the place where I record the videos. The best is to watch the video: http://youtu.be/FGoB8mLPGxY In the moments when the brightness changes, the video speeds up - when I walk around on the side of ...
by el_cid
Mon Dec 08, 2014 3:42 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

jamesh wrote:What about low bitrates on lower resolutions (e.g. 720p).

I just tried 720p with 10Mbit/s. 2 min just take 1:43 in the video (recorded with raspivid). The movements seem more natural, but there a still some accelerations.

What do you think?
by el_cid
Mon Dec 08, 2014 3:06 pm
Forum: Camera board
Topic: dropped frames
Replies: 84
Views: 16589

Re: dropped frames

Hello everybody, I'm still struggling with serious frame losses and inconsistent framerates. First I was using the RPi Cam Web Interface to record videos. I then discovered my issues, and I tried then raspivid. Problems got a bit better, but the still remained. The problems are: What I did to "measu...
by el_cid
Mon Dec 08, 2014 1:01 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5081
Views: 1360438

Re: RPi Cam Web Interface

How well can I expect this to run on a model A+? Framerate, latency? I do not yet own a Pi, and am not very well versed in its capabilities. :) Maybe nothing in particular in the A+ model that would limit it compared to B+? Also a more generic question. As far as I understand, many of the available...
by el_cid
Thu Nov 27, 2014 11:22 am
Forum: Advanced users
Topic: Configure Network access headless, cableless and w. Windows
Replies: 2
Views: 751

Configure Network access headless, cableless and w. Windows

Hello everybody, The Pi used in my Project: An A+, headless, with an USB Wlan-Antenna. The goal of my project: To be able to easily (means: headless, without screen and keyboard) configure the Pi's Network Setup in order to acces a new WLAN. With more words: I want to be able to go somewhere, get th...
by el_cid
Thu Nov 27, 2014 11:10 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5081
Views: 1360438

Re: RPi Cam Web Interface

You are my precious! ;) Thank you, I will try this as soon as possible. Just another question, you wrote something of "dropped frames". I am experiencing a lot of dropped frames in my recorded videos, so much that for example a clip showing 2 minutes of a clock lasts only 1:55 or so. Did you also ex...
by el_cid
Wed Nov 26, 2014 5:14 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5081
Views: 1360438

Re: RPi Cam Web Interface

- To record video without converting to mp4, make sure you have "MP4Box false" in /etc/raspimjpeg. Depending on the size of your SD card, you can record several hours and after you stop recording, download the file onto your PC where you can convert to mp4 format so you can view it with a player. Y...
by el_cid
Fri Nov 21, 2014 3:19 pm
Forum: Networking and servers
Topic: Configure Network access data via SD-Card and Windows
Replies: 0
Views: 657

Configure Network access data via SD-Card and Windows

Hello everybody, The Pi used in my Project: An A+, headless, with an USB Wlan-Antenna. The goal of my project: To be able to easily (means: headless, without screen and keyboard) configure the Pi's Network Setup in order to acces a new WLAN. With more words: I want to be able to go somewhere, get th...
by el_cid
Mon Jun 30, 2014 8:13 am
Forum: Advanced users
Topic: Experience with Adafruit's USB Wifi Module with Antenna
Replies: 3
Views: 1457

Re: Experience with Adafruit's USB Wifi Module with Antenna

NOT if you want to build a mobile video streaming solution...

Go to advanced search