wpballa1
Posts: 49
Joined: Sat Jun 27, 2015 12:49 am

Re: RPi Cam Web Interface automatic purge

Sun Nov 11, 2018 1:08 am

Bob,
The automatic purging is no longer working, whether using % or fixed GB levels as criteria. The disk fills to the requested level but then stops recording anything else.
Bill Ballard

dexterong
Posts: 1
Joined: Sun Nov 11, 2018 5:24 am

Re: RPi Cam Web Interface

Sun Nov 11, 2018 5:36 am

Hi,
How do I default the web interface to camera "stopped" at start up? I am not refering to setting the Autostart=no, but rather I would like the web interface to start up normally and default the button to "Start Camera" where the camera is de-activated at start.
Thanks.

hang12
Posts: 3
Joined: Mon Oct 08, 2018 4:13 pm

Re: RPi Cam Web Interface

Mon Nov 12, 2018 6:12 pm

I have been searching for a while now, but was unable to find how I can add camera settings like exposure mode, shutter speed and ISO to the annotations. Is there any way to include the beforementioned camera settings in the preview and in the still image?

pootle
Posts: 320
Joined: Wed Sep 04, 2013 10:20 am
Location: Staffordshire
Contact: Website

Re: RPi Cam Web Interface

Sat Nov 17, 2018 6:57 pm

Did anything come of the ability to trigger from gpio?

This post talked about doing it, but can't find anything further.

rpiuser2016
Posts: 75
Joined: Tue Jan 12, 2016 1:53 pm

Re: RPi Cam Web Interface

Fri Nov 23, 2018 7:19 am

Why i am getting this warning is syslog everysecond?

Code: Select all

Nov 23 10:00:37 raspberrypi CRON[16459]: (CRON) info (No MTA installed, discardi                                                ng output)
Nov 23 10:00:40 raspberrypi motion: [1:ml1] [WRN] [ALL] motion_loop: Retrying un                                                til successful connection with camera
Nov 23 10:00:40 raspberrypi motion: [1:ml1] [ALR] [NET] netcam_start: Network Ca                                                mera thread starting... for url (http://localhost:80/html/rpi2cam/cam_pic.php)
Nov 23 10:00:40 raspberrypi motion: [1:ml1] [NTC] [NET] netcam_setup_html: conne                                                cted, going on to read image.
Nov 23 10:00:40 raspberrypi motion: [1:ml1] [NTC] [NET] netcam_read_html_jpeg: d                                                isconnecting netcam since keep-alive not set.
Nov 23 10:00:40 raspberrypi motion: [1:ml1] [NTC] [NET] netcam_read_html_jpeg: l                                                eaving netcam connected.
Nov 23 10:00:40 raspberrypi motion: [1:ml1] [CRT] [NET] netcam_start: libjpeg de                                                compression failure on first frame - giving up!

oldjake
Posts: 88
Joined: Fri Aug 03, 2018 12:39 pm

Re: RPi Cam Web Interface

Mon Nov 26, 2018 1:46 pm

Hi

I'm just wondering if there is a way to retain the .h264 file after boxing?

Cheers
Andy

Dinky01
Posts: 1
Joined: Sun Dec 16, 2018 12:20 pm

Re: RPi Cam Web Interface

Sun Dec 16, 2018 12:27 pm

Searched in the forum but can not find an answer to my question.

Is there a possibility to add more periods under fixed times mode?
By default, there are now 12 periods but would like to add 3 additional periods.

Hope someone knows a possibility.

Cheers,
Dinky

Kaushik
Posts: 26
Joined: Sun Jul 07, 2013 4:07 am

Re: RPi Cam Web Interface

Sun Dec 16, 2018 6:07 pm

Hi,
I have been for long dealing with motion detection having issues and crashing the OS. I wish to confirm that this is the case with camera board rev 1.3 the older 5MP version . With camera rev 2.1 (the 8MP one) motion detection works just fine as many have stated previously.

Can we file a bug - With camera board rev 1.3 and motion detection on, the following are the issues:
a) After running for a while, (could be from a few seconds to 10 minutes) kernel crashes (could get a photo of the crash if needed )
b) With night mode on, the preview randomly becomes dark and bright, leading to massive changes between frames - hence motion detectiion is triggered constantly. This would happen only for a short while before the kernel crash.

Can we fix this for camera 1.3? Coz it is just 1/4th of the price of rev 2.1. 5MP is good enough for a lot of things. This would make this security camera dirt cheap.
Kaushik
Last edited by Kaushik on Mon Dec 31, 2018 7:18 am, edited 1 time in total.

MRV
Posts: 23
Joined: Thu Jul 19, 2018 3:09 am

Re: RPi Cam Web Interface

Tue Dec 25, 2018 7:12 pm

Is it possible to use RPi-Cam-Web-Interface to stream live, stereo video to a webpage (via Raspivid)? We use Raspivid because it allows acquisition from two cameras simultaneously and merges them side-by-side:

raspivid -t 6000 -w 1536 -h 768 -fps 30 -b 10000000 -3d sbs -o stereo.h264
Attachments
x.jpg
x.jpg (231.31 KiB) Viewed 5571 times

pfletch101
Posts: 451
Joined: Sat Feb 24, 2018 4:09 am

Using motion detection in RPi Cam Web Interface scrambles existing motion.conf settings

Mon Dec 31, 2018 11:24 pm

I am experimenting with a camera on my pi, with a view to various potential uses. I initially installed motion, and spent a considerable amount of time getting it working and its settings right (the config file is 700+ lines and is not entirely self-documenting!). I then installed RPi CWI, and ran it. Installation of your program was straightforward and it ran fine (there was a recurrently reported php bad variable error in schedule.php, but this appeared not to be causing any problems), but after turning on its motion detection option and subsequently stopping it, I discovered that it had made a number of changes in my motion.conf file, resulting in the motion application no longer working! The most troublesome one of these was the specification of a RPi CWI page as the video source, since this overrides the physical camera specification, and the error that is reported by motion when the specified page is not live is very non-specific.

IMHO, an application which makes changes in another independent application's configuration file(s) must do most or all of the following:
1) Make clear in its own documentation the fact that it makes such changes, stating the specific configuration options that will or may be changed.
2) Flag configuration changes that are made with a comment so that they can be easily found and also (preferably) keep the original version as a comment.
3) Make and keep a copy of the original version of the file and (preferably) restore this on exiting.
4) If not already doing 3), issue a warning to the user when (s)he does something (turning on motion detection, in this case) that will result in the second program's configuration being changed, and allow him/her to either save a copy of the original configuration file or to back out without allowing any changes.

To the authors/maintainers of RPi CWI:
At the very least, please clearly and explicitly set out in your documentation the fact that if motion is used for motion detection (which is apparently the default, at least if it is installed), its configuration file will be modified. Please also have your application save a copy of motion's original configuration file in some appropriate location before making changes to it.

Kaushik
Posts: 26
Joined: Sun Jul 07, 2013 4:07 am

Re: RPi Cam Web Interface

Mon Jan 07, 2019 8:45 am

Hi, Can someone direct us to the latest source code of bin/raspimjpeg used in rpi cam web interface?

Gary Littlemore
Posts: 327
Joined: Thu Oct 11, 2012 11:52 am
Location: Cheshire, UK

Re: RPi Cam Web Interface

Tue Jan 08, 2019 10:28 am

Kaushik wrote:
Mon Jan 07, 2019 8:45 am
Hi, Can someone direct us to the latest source code of bin/raspimjpeg used in rpi cam web interface?
Looking on Github I think this is the master library https://github.com/silvanmelchior/userl ... s/raspicam as quoted on this library https://github.com/peterschlosser/raspimjpeg

Direct Link https://github.com/silvanmelchior/RPi_C ... master/bin
3b+, 2b, b+, b, Zero & Zero-W

Gary Littlemore
Posts: 327
Joined: Thu Oct 11, 2012 11:52 am
Location: Cheshire, UK

Re: RPi Cam Web Interface

Tue Jan 08, 2019 10:34 am

@btidey Is there a version log Robert so we can see what's been updated in each version released?
3b+, 2b, b+, b, Zero & Zero-W

itsmedoofer
Posts: 337
Joined: Wed Sep 25, 2013 8:43 am

Re: RPi Cam Web Interface

Tue Jan 08, 2019 12:23 pm

Gary Littlemore wrote: @btidey Is there a version log Robert so we can see what's been updated in each version released?
You can get a good idea of what has changed by looking at the commits on the GIT page...

Kaushik
Posts: 26
Joined: Sun Jul 07, 2013 4:07 am

Re: RPi Cam Web Interface

Tue Jan 08, 2019 12:52 pm

Gary Littlemore wrote:
Tue Jan 08, 2019 10:28 am
Kaushik wrote:
Mon Jan 07, 2019 8:45 am
Hi, Can someone direct us to the latest source code of bin/raspimjpeg used in rpi cam web interface?
Looking on Github I think this is the master library https://github.com/silvanmelchior/userl ... s/raspicam
Thanks for the confirmation. ( The last commit is on Jan 2015 though ). Once I had tried this and couldn't get it compile right away. I will take a look.

Gary Littlemore
Posts: 327
Joined: Thu Oct 11, 2012 11:52 am
Location: Cheshire, UK

Re: RPi Cam Web Interface

Tue Jan 08, 2019 3:24 pm

Kaushik wrote:
Tue Jan 08, 2019 12:52 pm
Gary Littlemore wrote:
Tue Jan 08, 2019 10:28 am
Kaushik wrote:
Mon Jan 07, 2019 8:45 am
Hi, Can someone direct us to the latest source code of bin/raspimjpeg used in rpi cam web interface?
Looking on Github I think this is the master library https://github.com/silvanmelchior/userl ... s/raspicam
Thanks for the confirmation. ( The last commit is on Jan 2015 though ). Once I had tried this and couldn't get it compile right away. I will take a look.
The https://github.com/silvanmelchior/RPi_C ... master/bin 'raspimjpeg' has a time stamp of 5 months ago.
3b+, 2b, b+, b, Zero & Zero-W

Kaushik
Posts: 26
Joined: Sun Jul 07, 2013 4:07 am

Re: RPi Cam Web Interface

Tue Jan 08, 2019 5:49 pm

Gary Littlemore wrote:
Tue Jan 08, 2019 3:24 pm

The https://github.com/silvanmelchior/RPi_C ... master/bin 'raspimjpeg' has a time stamp of 5 months ago.
Hi,I want the source code. Not the binary.
https://github.com/silvanmelchior/userl ... s/raspicam
I understand that is the source. The last commit in that is Jan 2015.

tvoverbeek
Posts: 98
Joined: Mon Feb 04, 2013 9:50 am
Location: Fieberbrunn, Austria

Re: RPi Cam Web Interface

Thu Jan 10, 2019 6:47 pm

Gary Littlemore wrote:
Tue Jan 08, 2019 3:24 pm
Kaushik wrote:
Tue Jan 08, 2019 12:52 pm
Gary Littlemore wrote:
Tue Jan 08, 2019 10:28 am


Looking on Github I think this is the master library https://github.com/silvanmelchior/userl ... s/raspicam
Thanks for the confirmation. ( The last commit is on Jan 2015 though ). Once I had tried this and couldn't get it compile right away. I will take a look.
The https://github.com/silvanmelchior/RPi_C ... master/bin 'raspimjpeg' has a time stamp of 5 months ago.

The source is in https://github.com/roberttidey/userland ... s/raspicam with latest commit 21 Oct 2018.

cwlittle
Posts: 1
Joined: Sun Jan 13, 2019 6:51 pm

Re: RPi Cam Web Interface

Sun Jan 13, 2019 7:02 pm

Looking for help as im pretty new at this. Ive got the RPi cam working on autostart and can view it from an app im building using MIT app inventor 2. But i need a way to use camera not auto starting. I want to start the RPi cam web interface using some python code.
while True:
id, text = reader.read()
print(id)
print(text)
if id == 895330622307:
camera.start_preview()
GPIO.output(cam_led, True)
doorRoutine()
time.sleep(10)
GPIO.output(cam_led, False)
camera.stop_preview()
This part of my code works great to view camera on my monitor. If i could just incorporate the RPi interface to start using some code somewhere in here.
Any help greatly appreciated.

Gary Littlemore
Posts: 327
Joined: Thu Oct 11, 2012 11:52 am
Location: Cheshire, UK

Re: RPi Cam Web Interface

Tue Jan 15, 2019 1:03 pm

The below is taken from the wiki, it references Jessie Lite, I'm on Stretch Lite. Is the process still the same for Stretch Lite?

Code: Select all

[b]Time Lapse conversion issues[/b]
The time lapse converter now uses gstreamer to do the work which utilises the GPU and makes it very fast.

All the necessary components are included in a full Jessie image but not in Jessie Lite. The camera install adds on the extra gstreamer-tools package but not the base gstreamer s/w which is quite a lot of stuff.

There are a few options here.

a) Install gstreamer onto Jessie Lite. (sudo apt-get install gstreamer1.0) I have done this and it then works, but I now normally use method c)

b) Use full Jessie

c) Use full Jessie and remove the major unnecessary components as described in Installation tips section.

In addition because the conversion uses the GPU the image format needs to be compatible with the GPU conversion processing. Full static image resolution conversion will not work but resolutions up to 1920 x 1080 will. If you wish to use higher resolution formats then I suggest downloading the image set for external conversion.
3b+, 2b, b+, b, Zero & Zero-W

Kaushik
Posts: 26
Joined: Sun Jul 07, 2013 4:07 am

Re: RPi Cam Web Interface

Wed Jan 16, 2019 3:13 pm

cwlittle wrote:
Sun Jan 13, 2019 7:02 pm
But i need a way to use camera not auto starting. I want to start the RPi cam web interface using some python code.
Hi,
look at the file rc.local. you will find two commands ( one starting raspimjpeg and the other starting scheduler. )

Comment out those lines in rc.local so it doesnt auto start and call them from shell. Like below:

$ /usr/bin/raspimjpeg
$ php /var/www/html/schedule.php


If you want to make these calls from python, I believe you use os,system( ) or subprocess.open(php scheduler.php') and similarly raspimjpeg.

Kaushik
Posts: 26
Joined: Sun Jul 07, 2013 4:07 am

Re: RPi Cam Web Interface

Wed Jan 16, 2019 3:18 pm

tvoverbeek wrote:
Thu Jan 10, 2019 6:47 pm
The source is in https://github.com/roberttidey/userland ... s/raspicam with latest commit 21 Oct 2018.
Thanks. I was able to build raspimjpeg but found two issues:

1) raspistill and raspimjpeg don't get built by calling ./buildme.
The following error.
CMakeFiles/Makefile2:4417: recipe for target 'host_applications/linux/apps/raspicam/CMakeFiles/raspistill.dir/all' failed
Makefile:149: recipe for target 'all' failed


2) So, I went inside the makefiles directory and did 'make raspimjeg' and it got built. But raspistill didn't get built this way either.

Thanks

Kaushik
Posts: 26
Joined: Sun Jul 07, 2013 4:07 am

Re: RPi Cam Web Interface

Wed Jan 16, 2019 3:26 pm

Two bugs with the rpi cam web interface. I am using camera rev 2.1 on a pi0, commit 78b5. Am facing a few issues.

1) If scene is not very bright, video capture always gets much darker. For the same scene, still image looks fine. But video, is very dark. This happens with exposure modes off, auto, nightpreview.

2) If scene is totally dark and exposure is night preview, motion is getting triggered every couple of minutes. You can just close the camera lens completely, motion detection keeps happening every few minutes.

Can someone suggest a fix to try or advise.
Thanks
Last edited by Kaushik on Fri Jan 18, 2019 11:20 am, edited 1 time in total.

PeytonSeabolt
Posts: 6
Joined: Thu Apr 30, 2015 2:36 pm

Re: RPi Cam Web Interface

Thu Jan 17, 2019 4:58 pm

Can someone please go into a little more detail and show me their multiview.json file? Im not sure if I need to install he interface on both cameras, or what. I am completely lost on how to set up a second camera on my website. Someone help!

ras07
Posts: 34
Joined: Tue May 22, 2018 4:04 am

Re: RPi Cam Web Interface

Sun Jan 20, 2019 7:50 am

Why does the apparent zoom change when you change the resolution? Full HD 1080p looks more "zoomed in" than 720p. If anything, I'd expect it to be the other way around.

Is there a way to "zoom out" the 1080p view to get as wide a field of view as the 720p setting?

Return to “Camera board”