C290 With Duet lapse
-
@stuartofmt Thanks for your recommendations. I actually found another camera that worked instead.
-
@stuartofmt Hello, I got fswebcam to take a picture. However, I am having trouble with vidstream. I'm on Pi4 so I'm using libcam, I put in python3 ./videostream.py -port 8090 -pires "--width 800 --height 600"`. And I got a > on the console, I then went to pi'sip:8090/stream] and http://pi'sip:8090/stream, it says failed to open the page. Please help.
-
@stuartofmt Just checked my OS, I' on Buster. So I tried installing opencv but the running setup.py bdist_wheel for opencv-contrib-python is taking a while
-
This post is deleted! -
@stuartofmt I installed DuetLapse and got videostream streaming, how do I tell duetlapse to start recording when I start a print, take a pic every 10 seconds, and when print is finished or canceled, compile it into a video?
So far I didmkdir DuetLapse - or other directory of your choice
cd DuetLapse
wget https://github.com/stuartofmt/DuetLapse3/raw/main/DuetLapse3.py
chmod 744 DuetLapse3.py -
@stuartofmt Also, how do I have videostream autmatically run when pi starts?
-
@tratoon
I have been offline for a couple of weeks.. have you tried following the examples in the documentation? If so, what issues are you seeing. -
@stuartofmt every time I shut down and power the pi on, I have to send the nohup command to run video stream anyway to automate this.
-
@stuartofmt I will try to figure duet lapse 3 over weekend
-
In my view - the best way to control videostream at startup is with systemctl.
There is an example unit file and instructions in the documentation.You don't need to run it with nohup.
Give systemctl a go and if you have issues I can help.
-
@stuartofmt sudo -H -u pi python3 /home/pi/DuetLapse/DuetLapse3.py -duet 192.168.1.217 -seconds 20 -detect none -camera1 web -weburl1 http://192.168.1.217:8090/stream I have this line In rctest.local along with a line that starts videostream.
In my DuetLapse/duet3/192-168-1-217 I have 2 folders: 603 & 1639 Both with JPEGS that give errors when I try opening something about it starts with some character. I also have a bunch of logs in there.
-
@tratoon said in C290 With Duet lapse:
@stuartofmt sudo -H -u pi python3 /home/pi/DuetLapse/DuetLapse3.py -duet 192.168.1.217 -seconds 20 -detect none -camera1 web -weburl1 http://192.168.1.217:8090/stream I have this line In rctest.local along with a line that starts videostream.
In my DuetLapse/duet3/192-168-1-217 I have 2 folders: 603 & 1639 Both with JPEGS that give errors when I try opening something about it starts with some character. I also have a bunch of logs in there.
Also - if you are having problems, its best to run the program from the command line and include -verbose. That way you will get a log file and be able to see if there are issues being reported on the console.
When you view http://192.168.1.217:8090/stream from a browser, does it display ok?
I cannot do much to help you without seeing the logfile (using -verbose). My guess is that there is an issue with ffmpeg.
What output do you get from running:
ffmpeg --version