Thanks, I didn't think of that. I haven't formatted the old card, I'll load it back up later.
Gary
Interesting, I haven't seen anything like that. What are your video and still image resolutions set to? Can you post the contents of your uconfig file?
I've manage to get hold of another system to try the video on, and it's not blurry. Must be some sort of video effect enabled on the player?
Code: Select all
#User buttons definitions
#maximum of six buttons
#button name,macro,button styles,other attributes
Button One,test.sh,btn btn-danger btn-lg,style="width:50%" autofocus
Warning Button,button2.sh,btn btn-warning btn-lg,style="width:50%"
Success Button,button3.sh,btn btn-success btn-lg,style="width:50%"
Have you tried http://my.ip.add.ress/cam/cam_pic_new.php ?
I have indeed. But that only seems to show the latest image as far as I can remember
cam_pic.php returns a static image; cam_pic_new.php returns a stream. My (imperfect) understanding is that this is "the plain MJPEG stream". From the docs at https://elinux.org/RPi-Cam-Web-Interface#Data_Flow :
Code: Select all
These captures may be accessed via URLs on the Apache Web server. cam_pic.php process returns the latest one and cam_pic_new.php merges them into a mjpeg stream.
You can do many things (including start/stop recording) from the command line by writing to the FIFO queue. For example to start recording: (Note that your directory name may be different depending upon your installation)
Code: Select all
echo 'ca 1' > /var/www/FIFO
Code: Select all
echo 'ca 0' > /var/www/FIFO
Code: Select all
echo 'ca 1 25' > /var/www/FIFO
I'd recommend against changing the directories in the Cam Web Interface configuration. There are several settings you have to change and some of them can get overwritten during updates; also, it doesn't seem to work right unless it's off your base Cam Web Interface directory anyway. Instead, just mount the external drive directly to your existing media directory.PeytonSeabolt wrote: ↑Fri Apr 12, 2019 7:16 pmSo I'm having an issue. I have two cameras, both running the interface. I have multi view set up fine, and I also have an external HDD attached to one of the cameras, but I can't figure out how to use the fstab bind to bind the directory of stored video to my external HDD. I'm sort of a noobie when it comes to this stuff. I found the storage location for pics and video in the config file for the cam web interface, but I'm just not sure what I need to append to the fstab file. Can someone help me?
Code: Select all
/dev/sda1 /var/www/html/media ntfs defaults,noatime,auto,nofail,uid=www-data,gid=www-data,umask=0022 0 0
Add %c %f to your annotation. The first value represents motion; when it gets above the value you have set for motion threshold, it should start recording.
Erm, thanks for the hint, but where should I put it? I am currently a bit out of webinterface-context:-)Add %c %f to your annotation. The first value represents motion; when it gets above the value you have set for motion threshold, it should start recording.
In the web interface, under Camera Settings, the 4th item is Annotation. The default is4920441 wrote: ↑Wed Apr 17, 2019 11:42 amErm, thanks for the hint, but where should I put it? I am currently a bit out of webinterface-context:-)Add %c %f to your annotation. The first value represents motion; when it gets above the value you have set for motion threshold, it should start recording.
Code: Select all
RPi Cam %Y.%M.%D_%h:%m:%s
Code: Select all
RPi Cam %Y.%M.%D_%h:%m:%s %c %f
I haven't heard of anyone doing that, but it's a great idea. There are several captive portal options for the Pi that I'm sure would work, but really, since you already have a web server set up via RPi Cam Web, I think all you really need is a very minimal DNS server (such as DNSMASQ) that's configured to always return your Pi's IP no matter what. If you Google "DNSMASQ captive portal" it looks like a one-line config would do the job. If you make it work it would be great if you could detail the process here.