issues installing on PI 3 B+
-
and here is my config
-basedir /home/pi/DuetLapse
-duet 10.0.1.126
-port 8082
-seconds 30
-detect none
-weburl1 http://10.0.1.110:8081
-verbose
-camera1 stream
-host 10.0.1.110my printer is 10.0.1.126 and my pi is on 10.0.1.110
i tried to stop the printer and start it while the DuetPalse is running so it was running a bet no video
here is the log
2023-12-19 10:45:42,698 - MainThread - DuetLapse3 Version --- 5.3.3
2023-12-19 10:45:42,699 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
2023-12-19 10:45:42,699 - MainThread - Process Id --- 2856
2023-12-19 10:45:42,700 - MainThread - -------------------------------------------------------------------------------2023-12-19 10:45:42,701 - MainThread - seconds has been changed to 30
2023-12-19 10:45:42,702 - MainThread - poll has been changed to 10
2023-12-19 10:45:42,703 - MainThread - dontwait has been changed to True
2023-12-19 10:45:42,704 - MainThread - ################### Options at start of this print job #####################
2023-12-19 10:45:42,705 - MainThread - # Simulate
2023-12-19 10:45:42,705 - MainThread - -simulate = off
2023-12-19 10:45:42,705 - MainThread - # Environment
2023-12-19 10:45:42,705 - MainThread - -duet = 10.0.1.126
2023-12-19 10:45:42,706 - MainThread - -password = reprap
2023-12-19 10:45:42,706 - MainThread - -basedir = /home/pi/DuetLapse
2023-12-19 10:45:42,706 - MainThread - -poll = 10
2023-12-19 10:45:42,706 - MainThread - -instances = single
2023-12-19 10:45:42,707 - MainThread - -logtype = both
2023-12-19 10:45:42,707 - MainThread - -nolog = False
2023-12-19 10:45:42,707 - MainThread - -verbose = True
2023-12-19 10:45:42,707 - MainThread - -host = 0.0.0.0
2023-12-19 10:45:42,708 - MainThread - -port = 8082
2023-12-19 10:45:42,708 - MainThread - -keeplogs = False
2023-12-19 10:45:42,708 - MainThread - -novideo = False
2023-12-19 10:45:42,708 - MainThread - -deletepics = False
2023-12-19 10:45:42,709 - MainThread - -maxffmpeg = 2
2023-12-19 10:45:42,709 - MainThread - -keepfiles = False
2023-12-19 10:45:42,709 - MainThread - # Execution
2023-12-19 10:45:42,709 - MainThread - -dontwait = True
2023-12-19 10:45:42,709 - MainThread - -seconds = 30
2023-12-19 10:45:42,710 - MainThread - -detect = none
2023-12-19 10:45:42,710 - MainThread - -pause = no
2023-12-19 10:45:42,710 - MainThread - -numlayers = 1
2023-12-19 10:45:42,710 - MainThread - -movehead = [0, 0]
2023-12-19 10:45:42,711 - MainThread - -rest = 1
2023-12-19 10:45:42,711 - MainThread - -standby = False
2023-12-19 10:45:42,711 - MainThread - -restart = False
2023-12-19 10:45:42,711 - MainThread - # Camera
2023-12-19 10:45:42,712 - MainThread - -camera1 = stream
2023-12-19 10:45:42,712 - MainThread - -camera2
2023-12-19 10:45:42,712 - MainThread - -weburl1 = http://10.0.1.110/stream
2023-12-19 10:45:42,712 - MainThread - -weburl2
2023-12-19 10:45:42,713 - MainThread - # Video
2023-12-19 10:45:42,713 - MainThread - -extratime = 0
2023-12-19 10:45:42,713 - MainThread - -fps = 10
2023-12-19 10:45:42,714 - MainThread - -minvideo = 5
2023-12-19 10:45:42,714 - MainThread - -maxvideo = 0
2023-12-19 10:45:42,714 - MainThread - # Overrides
2023-12-19 10:45:42,714 - MainThread - -camparam1
2023-12-19 10:45:42,715 - MainThread - -camparam2
2023-12-19 10:45:42,715 - MainThread - -vidparam1
2023-12-19 10:45:42,716 - MainThread - -vidparam2
2023-12-19 10:45:42,716 - MainThread - # UI
2023-12-19 10:45:42,716 - MainThread - -hidebuttons = False
2023-12-19 10:45:42,717 - MainThread - # Special Functions
2023-12-19 10:45:42,717 - MainThread - -execkey
2023-12-19 10:45:42,717 - MainThread - -M3291 = M3291
2023-12-19 10:45:42,717 - MainThread - -----------------------------------------------------------------------2023-12-19 10:45:42,718 - MainThread - ************************************************************************************
2023-12-19 10:45:42,718 - MainThread - Warning: -seconds 30 and -detect none
2023-12-19 10:45:42,718 - MainThread - This combination implies -dontwait and will be set automatically
2023-12-19 10:45:42,718 - MainThread - ************************************************************************************2023-12-19 10:45:42,720 - MainThread - ##########################################################
2023-12-19 10:45:42,720 - MainThread - Will start capturing images immediately
2023-12-19 10:45:42,721 - MainThread - ##########################################################2023-12-19 10:45:42,721 - MainThread - ##########################################################
2023-12-19 10:45:42,722 - MainThread - Video will be created when printing ends
2023-12-19 10:45:42,722 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
2023-12-19 10:45:42,722 - MainThread - ##########################################################2023-12-19 10:45:42,723 - MainThread - ##########################################################
2023-12-19 10:45:42,723 - MainThread - If running from a console using the command line
2023-12-19 10:45:42,723 - MainThread - Press Ctrl+C one time to stop the program and create a video.
2023-12-19 10:45:42,724 - MainThread - ##########################################################2023-12-19 10:45:42,724 - MainThread - ***** Initializing state and counters *****
2023-12-19 10:45:42,727 - MainThread - ##########################################################
2023-12-19 10:45:42,729 - MainThread - ***** Started http listener *****
2023-12-19 10:45:42,731 - MainThread - ##########################################################2023-12-19 10:45:42,733 - MainThread - Logging in to Printer
2023-12-19 10:45:42,736 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
2023-12-19 10:45:47,756 - MainThread - Cannot connect to the printer2023-12-19 10:45:47,757 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_disconnect (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x75d364a8>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
2023-12-19 10:45:47,758 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2023-12-19 10:45:48,760 - MainThread - 1 url: http://10.0.1.126/rr_disconnect post: False
2023-12-19 10:45:53,776 - MainThread - Cannot connect to the printer2023-12-19 10:45:53,777 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_disconnect (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x75d368c8>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
2023-12-19 10:45:53,778 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2023-12-19 10:45:54,780 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
2023-12-19 10:45:59,794 - MainThread - Cannot connect to the printer2023-12-19 10:45:59,795 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_connect?password=reprap (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x75d36d60>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
2023-12-19 10:45:59,795 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2023-12-19 10:46:00,797 - MainThread - 1 url: http://10.0.1.126/rr_connect?password=reprap post: False
2023-12-19 10:46:05,812 - MainThread - Cannot connect to the printer2023-12-19 10:46:05,813 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_connect?password=reprap (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7549b1a8>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
2023-12-19 10:46:05,814 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2023-12-19 10:46:06,816 - MainThread - !!!!! Could not connect. code = 9999 reason = Connection Error !!!!!
2023-12-19 10:46:06,816 - MainThread - 0 url: http://10.0.1.126/machine/disconnect post: False
2023-12-19 10:46:11,832 - MainThread - Cannot connect to the printer2023-12-19 10:46:11,833 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /machine/disconnect (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7549b628>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
2023-12-19 10:46:11,833 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2023-12-19 10:46:12,836 - MainThread - 1 url: http://10.0.1.126/machine/disconnect post: False
2023-12-19 10:46:17,854 - MainThread - Cannot connect to the printer2023-12-19 10:46:17,855 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /machine/disconnect (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x75d36f88>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
2023-12-19 10:46:17,855 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2023-12-19 10:46:18,857 - MainThread - 0 url: http://10.0.1.126/machine/connect?password=reprap post: False
2023-12-19 10:46:19,039 - MainThread - !!!!! Connected to SBC printer !!!!!
2023-12-19 10:46:44,088 - Thread-1 - !!!!! http call: {} !!!!!
2023-12-19 10:46:44,422 - Thread-2 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:46:54,357 - Thread-4 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:46:54,417 - Thread-5 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:46:56,365 - Thread-6 - !!!!! http call: {'displayControls': ['true']} !!!!!
2023-12-19 10:46:58,255 - Thread-7 - !!!!! http call: {'displayVideo': ['true']} !!!!!
2023-12-19 10:46:59,793 - Thread-8 - !!!!! http call: {'displayFiles': ['true']} !!!!!
2023-12-19 10:46:59,794 - Thread-8 - list_dir called with path = /home/pi/DuetLapse/raspberrypi/10-0-1-126
2023-12-19 10:46:59,795 - Thread-8 - Finished parsing the files directory
2023-12-19 10:47:01,597 - Thread-9 - !!!!! http call: {'displayInfo': ['true']} !!!!!
2023-12-19 10:47:11,116 - Thread-10 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:47:21,119 - Thread-11 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:47:29,449 - Thread-12 - !!!!! http call: {'displayFiles': ['true']} !!!!!
2023-12-19 10:47:29,450 - Thread-12 - list_dir called with path = /home/pi/DuetLapse/raspberrypi/10-0-1-126
2023-12-19 10:47:29,452 - Thread-12 - Finished parsing the files directory
2023-12-19 10:47:30,556 - Thread-13 - !!!!! http call: {'displayInfo': ['true']} !!!!!
2023-12-19 10:47:31,976 - Thread-14 - !!!!! http call: {'displayVideo': ['true']} !!!!!
2023-12-19 10:47:33,620 - Thread-15 - !!!!! http call: {'displayControls': ['true']} !!!!!
2023-12-19 10:47:36,322 - Thread-16 - !!!!! http call: {'command': ['restart']} !!!!!
2023-12-19 10:47:36,323 - Thread-16 - nextAction is available
2023-12-19 10:47:36,324 - nextAction - Calling nextaction restart from _bootstrap_inner --> run --> nextAction
2023-12-19 10:47:36,325 - nextAction - ++++++ restart state requested ++++++
2023-12-19 10:47:36,326 - nextAction - nextAction requested stopCaptureLoop
2023-12-19 10:47:36,327 - nextAction - captureLoop is not running
2023-12-19 10:47:36,327 - nextAction - nextAction satisfied waitforCaptureLoop
2023-12-19 10:47:36,328 - nextAction - nextaction aborted because connectionState is False
2023-12-19 10:47:38,880 - Thread-17 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:47:48,866 - Thread-18 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:47:49,996 - Thread-19 - !!!!! http call: {'displayControls': ['true']} !!!!!
2023-12-19 10:47:51,311 - Thread-20 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:48:01,378 - Thread-21 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:48:11,376 - Thread-22 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:48:21,374 - Thread-23 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:48:31,376 - Thread-24 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:48:41,373 - Thread-25 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:48:51,375 - Thread-26 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:49:50,376 - Thread-27 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:50:37,430 - Thread-28 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:50:38,026 - Thread-29 - !!!!! http call: {} !!!!!
2023-12-19 10:50:38,203 - Thread-30 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-19 10:50:41,892 - Thread-32 - !!!!! http call: {'displayControls': ['true']} !!!!!
2023-12-19 10:50:43,290 - Thread-33 - !!!!! http call: {'displayVideo': ['true']} !!!!!
2023-12-19 10:50:45,193 - Thread-34 - !!!!! http call: {'snapshot': ['true']} !!!!!
2023-12-19 10:50:47,790 - Thread-35 - !!!!! http call: {'displayVideo': ['true']} !!!!!
2023-12-19 10:50:49,861 - Thread-36 - !!!!! http call: {'displayFiles': ['true']} !!!!!
2023-12-19 10:50:49,862 - Thread-36 - list_dir called with path = /home/pi/DuetLapse/raspberrypi/10-0-1-126
2023-12-19 10:50:49,862 - Thread-36 - Finished parsing the files directory
2023-12-19 10:50:54,814 - Thread-37 - !!!!! http call: {'getfile': ['/home/pi/DuetLapse/raspberrypi/10-0-1-126/startup.log']} !!!!!
2023-12-19 10:50:54,815 - Thread-37 - Trying to get file /home/pi/DuetLapse/raspberrypi/10-0-1-126/startup.log
2023-12-19 10:50:54,874 - Thread-37 - application/octet-streambare in mind the following :
1-i dont have a password on the printer not sure why it says password is reprap
2-that was taking while the printer is printing
3-noticed this too in the log "SBC "
4-do i need to install motion ? i have ffmpeg installedafter it run 5 min then it give me same error again forced terminated
so basicly the DuetLapse runs while the printer is OFF when the printer comes online the !!! forced Termination !!! comes on
-
@sankafola
For clarity - we will be using Version 5.3.3 of DuetLapse3.py found here:https://github.com/stuartofmt/DuetLapse3/blob/main/plugin 3.5.0-rc.1/dsf/DuetLapse3.py
This is what you have in the last logfile. So that part is good.
The default password is reprap - so that part is fine.
The printer should be on when DuetLapse starts. The Log indicates that this was not the case because it could not connect to the printer with:
http://10.0.1.126/rr_connect?password=reprapI'm not sure why it reported success with the SBC connection. I will need to look into that (This is a symptom, not the problem).
The main problem is that it is not actually connecting to the printer.
2023-12-19 10:47:36,328 - nextAction - nextaction aborted because connectionState is False
From a browser, with the printer on (it does not need to be printing) What output do you get from this url
http://10.0.1.126//rr_model?key=boards (this is just to check connectivity).
Are you successfully streaming the video from http://10.0.1.110/stream?
If you enter that url into a browser - do you see the video? If not then you need to resolve that issue.
Unfortunately - the screenshot of the log output when the error occured did not use -verbose
-
when i open http://10.0.1.126//rr_model?key=boards i get this
for the camera i dont get stream do i need to install , fswebcam and ffmpeg and motion and set it to 8081 ?
-
A couple of things I just noticed.
- You are using an SKF PRO - not a Duet Board - correct ?.
Can you show me a screen shot of the object model with the following object:
boards
Does the Duet3d firmware support the SKF board ?
From a browser - what output do you get from:
http://10.0.1.126//machine/statusTo stream video you need something to stream it. If you have not set up a streaming service, you can use something like motion or videostream
https://github.com/stuartofmt/videostream - You are using an SKF PRO - not a Duet Board - correct ?.
-
1-am using the SKR PRO and yes running rerap
not sure about the object model but i do have a file under the system called boards.txt
// Board Hardware configuration file for SKR Pro
// generated by RepRapFirmware Configuration Tool (LPC Version) v3.1.10+1-LPC
// on Tue Dec 22 2020 13:55:26 GMT-0500 (Eastern Standard Time)//Note: Each line should be less than 120 characters.
// : Unwanted options can be commented out or set to NoPin. Lines commented out will get default values
// : for pins the default is NoPin.
// : Values for Arrays need to be contained within { and }
// : Comments can be defined with // or # (comments are not supported inside arrays)
// : Each config entry must be all on a single line.lpc.board = biquskrpro_1.1;
//LED blinks to indicate Platform is spinning or other diagnostic
//Comment out or set to NoPin if not wanted.
leds.diagnostic = NoPin;//Internal SDCard SPI Frequency.
lpc.internalSDCard.spiFrequencyHz = 25000000;//Only supports 1 External SDCard
//externalSDCard.csPin = NoPin;
//externalSDCard.cardDetectPin = NoPin;
//lpc.externalSDCard.spiFrequencyHz = 4000000;
//lpc.externalSDCard.spiChannel = 0;heat.tempSensePins = {bedtemp, e0temp}; //Max of 3 entries
//heat.spiTempSensorCSPins = { }; //Max of 2 entries//Analogue to Digital prefilter
adc.prefilter.enable = true//ESP Settings
//8266wifi.espDataReadyPin = A.8;
//8266wifi.lpcTfrReadyPin = G.4;
//8266wifi.espResetPin = F.12;
//ESP RX/TX Settings
//8266wifi.serialRxTxPins = { C.7, C.6 } ;
//serial.aux.rxTxPins = {NoPin, NoPin};
//serial.aux.rxTxPins = {PA.10, PA.9}//WiFi pins
8266wifi.espDataReadyPin = PG_10
8266wifi.TfrReadyPin = PF_11
8266wifi.espResetPin = PF_12//ESP32 RX/TX Settings
8266wifi.serialRxTxPins = { PD_9, PD_8 }
serial.aux.rxTxPins = { PA_10, PA_9 }
heat.tempSensePins = { PF_6, PF_3, PF_4, PF_5 }//TMC Smart Drivers
stepper.numSmartDrivers = 4;
accelerometer.spiChannel = 2//heat.spiTempSensorCSPins = {NoPin, NoPin, NoPin, NoPin, NoPin, NoPin, NoPin, NoPin}
as for the http://10.0.1.126//machine/status i get the same results as before which is above when i open the rr...
-
@stuartofmt
hi , some update1-i fixed the video stream so i do have now http://10.0.1.110/stream giving a pic
the DuetLapse running a bet more now here is the log
2023-12-19 17:03:20,353 - MainThread - DuetLapse3 Version --- 5.3.3
2023-12-19 17:03:20,354 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
2023-12-19 17:03:20,354 - MainThread - Process Id --- 2393
2023-12-19 17:03:20,355 - MainThread - -------------------------------------------------------------------------------2023-12-19 17:03:20,357 - MainThread - seconds has been changed to 30
2023-12-19 17:03:20,358 - MainThread - poll has been changed to 10
2023-12-19 17:03:20,360 - MainThread - dontwait has been changed to True
2023-12-19 17:03:20,361 - MainThread - ################### Options at start of this print job #####################
2023-12-19 17:03:20,361 - MainThread - # Simulate
2023-12-19 17:03:20,362 - MainThread - -simulate = off
2023-12-19 17:03:20,363 - MainThread - # Environment
2023-12-19 17:03:20,363 - MainThread - -duet = 10.0.1.126
2023-12-19 17:03:20,364 - MainThread - -password = reprap
2023-12-19 17:03:20,364 - MainThread - -basedir = /home/pi/DuetLapse
2023-12-19 17:03:20,364 - MainThread - -poll = 10
2023-12-19 17:03:20,364 - MainThread - -instances = single
2023-12-19 17:03:20,365 - MainThread - -logtype = both
2023-12-19 17:03:20,365 - MainThread - -nolog = False
2023-12-19 17:03:20,365 - MainThread - -verbose = True
2023-12-19 17:03:20,366 - MainThread - -host = 0.0.0.0
2023-12-19 17:03:20,366 - MainThread - -port = 8081
2023-12-19 17:03:20,366 - MainThread - -keeplogs = False
2023-12-19 17:03:20,366 - MainThread - -novideo = False
2023-12-19 17:03:20,367 - MainThread - -deletepics = False
2023-12-19 17:03:20,367 - MainThread - -maxffmpeg = 2
2023-12-19 17:03:20,367 - MainThread - -keepfiles = False
2023-12-19 17:03:20,367 - MainThread - # Execution
2023-12-19 17:03:20,368 - MainThread - -dontwait = True
2023-12-19 17:03:20,368 - MainThread - -seconds = 30
2023-12-19 17:03:20,368 - MainThread - -detect = none
2023-12-19 17:03:20,369 - MainThread - -pause = no
2023-12-19 17:03:20,369 - MainThread - -numlayers = 1
2023-12-19 17:03:20,369 - MainThread - -movehead = [0, 0]
2023-12-19 17:03:20,369 - MainThread - -rest = 1
2023-12-19 17:03:20,370 - MainThread - -standby = False
2023-12-19 17:03:20,370 - MainThread - -restart = False
2023-12-19 17:03:20,370 - MainThread - # Camera
2023-12-19 17:03:20,371 - MainThread - -camera1 = web
2023-12-19 17:03:20,371 - MainThread - -camera2
2023-12-19 17:03:20,371 - MainThread - -weburl1 = http://10.0.1.110/stream
2023-12-19 17:03:20,371 - MainThread - -weburl2
2023-12-19 17:03:20,372 - MainThread - # Video
2023-12-19 17:03:20,372 - MainThread - -extratime = 0
2023-12-19 17:03:20,372 - MainThread - -fps = 10
2023-12-19 17:03:20,373 - MainThread - -minvideo = 5
2023-12-19 17:03:20,374 - MainThread - -maxvideo = 0
2023-12-19 17:03:20,374 - MainThread - # Overrides
2023-12-19 17:03:20,374 - MainThread - -camparam1
2023-12-19 17:03:20,374 - MainThread - -camparam2
2023-12-19 17:03:20,375 - MainThread - -vidparam1
2023-12-19 17:03:20,375 - MainThread - -vidparam2
2023-12-19 17:03:20,375 - MainThread - # UI
2023-12-19 17:03:20,376 - MainThread - -hidebuttons = False
2023-12-19 17:03:20,376 - MainThread - # Special Functions
2023-12-19 17:03:20,376 - MainThread - -execkey
2023-12-19 17:03:20,377 - MainThread - -M3291 = M3291
2023-12-19 17:03:20,377 - MainThread - -----------------------------------------------------------------------2023-12-19 17:03:20,378 - MainThread - ************************************************************************************
2023-12-19 17:03:20,378 - MainThread - Warning: -seconds 30 and -detect none
2023-12-19 17:03:20,379 - MainThread - This combination implies -dontwait and will be set automatically
2023-12-19 17:03:20,379 - MainThread - ************************************************************************************2023-12-19 17:03:20,381 - MainThread - ##########################################################
2023-12-19 17:03:20,381 - MainThread - Will start capturing images immediately
2023-12-19 17:03:20,382 - MainThread - ##########################################################2023-12-19 17:03:20,382 - MainThread - ##########################################################
2023-12-19 17:03:20,383 - MainThread - Video will be created when printing ends
2023-12-19 17:03:20,383 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
2023-12-19 17:03:20,384 - MainThread - ##########################################################2023-12-19 17:03:20,384 - MainThread - ##########################################################
2023-12-19 17:03:20,384 - MainThread - If running from a console using the command line
2023-12-19 17:03:20,385 - MainThread - Press Ctrl+C one time to stop the program and create a video.
2023-12-19 17:03:20,386 - MainThread - ##########################################################2023-12-19 17:03:20,386 - MainThread - ***** Initializing state and counters *****
2023-12-19 17:03:20,402 - MainThread - ##########################################################
2023-12-19 17:03:20,403 - MainThread - ***** Started http listener *****
2023-12-19 17:03:20,404 - MainThread - ##########################################################2023-12-19 17:03:20,405 - MainThread - Logging in to Printer
2023-12-19 17:03:20,405 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
2023-12-19 17:03:23,554 - MainThread - Cannot connect to the printer2023-12-19 17:03:23,555 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_disconnect (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75cd3988>: Failed to establish a new connection: [Errno 113] No route to host'))
2023-12-19 17:03:23,555 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2023-12-19 17:03:24,557 - MainThread - 1 url: http://10.0.1.126/rr_disconnect post: False
2023-12-19 17:03:26,675 - MainThread - Cannot connect to the printer2023-12-19 17:03:26,676 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_disconnect (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75cd3da8>: Failed to establish a new connection: [Errno 113] No route to host'))
2023-12-19 17:03:26,677 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2023-12-19 17:03:27,680 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
2023-12-19 17:03:28,415 - MainThread - Terminating because of Ctl + C (SIGINT)
2023-12-19 17:03:28,416 - MainThread - !!!!! Forced Termination !!!!! -
I think you are out of luck.
Duetlapse3 was developed to run with duet hardware and firmware. Part of this means that it needs to support the DWC/ DSF api framework.
I’m away from my printer and test-bed. But it’s failing to log on and likely unable to resolve basic information from the object model.If all is as it should be - you should have an object model menu item (left hand pane) in DWC and be able to get object model information.
There is not much I can do if this is not the case.
Maybe the SKF pro is fully supported. I do not know. Perhaps @T3P3Tony can clarify.
-
no no dont give up i found it here it is i had to start a plugin to see it on the left
now what i need to do ,
-
@sankafola
Great ! I can see now see that it should be returning a vaild version. The question is why it is not?Try this version. Its just got a bit more error checking in it.
For this check:
Make sure the printer is on but not printing.
Start DuetLapse3 Make sure you are running with-verbose
.
Send me the log file.Something strange is happening with the connection to the printer. I need to understand what is happening.
-
@stuartofmt
hi , the printer is on not printing , the 10.0.1.110:8082 not opening2023-12-20 07:53:33,364 - MainThread - DuetLapse3 Version --- 5.3.4
2023-12-20 07:53:33,365 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
2023-12-20 07:53:33,366 - MainThread - Process Id --- 3438
2023-12-20 07:53:33,366 - MainThread - -------------------------------------------------------------------------------2023-12-20 07:53:33,368 - MainThread - seconds has been changed to 30
2023-12-20 07:53:33,369 - MainThread - poll has been changed to 10
2023-12-20 07:53:33,370 - MainThread - dontwait has been changed to True
2023-12-20 07:53:33,371 - MainThread - ################### Options at start of this print job #####################
2023-12-20 07:53:33,372 - MainThread - # Simulate
2023-12-20 07:53:33,373 - MainThread - -simulate = off
2023-12-20 07:53:33,373 - MainThread - # Environment
2023-12-20 07:53:33,374 - MainThread - -duet = 10.0.1.126
2023-12-20 07:53:33,375 - MainThread - -password = reprap
2023-12-20 07:53:33,375 - MainThread - -basedir = /home/pi/DuetLapse
2023-12-20 07:53:33,376 - MainThread - -poll = 10
2023-12-20 07:53:33,377 - MainThread - -instances = single
2023-12-20 07:53:33,377 - MainThread - -logtype = both
2023-12-20 07:53:33,378 - MainThread - -nolog = False
2023-12-20 07:53:33,379 - MainThread - -verbose = True
2023-12-20 07:53:33,379 - MainThread - -host = 0.0.0.0
2023-12-20 07:53:33,380 - MainThread - -port = 8082
2023-12-20 07:53:33,381 - MainThread - -keeplogs = False
2023-12-20 07:53:33,382 - MainThread - -novideo = False
2023-12-20 07:53:33,383 - MainThread - -deletepics = False
2023-12-20 07:53:33,383 - MainThread - -maxffmpeg = 2
2023-12-20 07:53:33,384 - MainThread - -keepfiles = False
2023-12-20 07:53:33,384 - MainThread - # Execution
2023-12-20 07:53:33,385 - MainThread - -dontwait = True
2023-12-20 07:53:33,386 - MainThread - -seconds = 30
2023-12-20 07:53:33,386 - MainThread - -detect = none
2023-12-20 07:53:33,387 - MainThread - -pause = no
2023-12-20 07:53:33,387 - MainThread - -numlayers = 1
2023-12-20 07:53:33,388 - MainThread - -movehead = [0, 0]
2023-12-20 07:53:33,389 - MainThread - -rest = 1
2023-12-20 07:53:33,389 - MainThread - -standby = False
2023-12-20 07:53:33,390 - MainThread - -restart = False
2023-12-20 07:53:33,391 - MainThread - # Camera
2023-12-20 07:53:33,391 - MainThread - -camera1 = stream
2023-12-20 07:53:33,393 - MainThread - -camera2
2023-12-20 07:53:33,393 - MainThread - -weburl1 = http://10.0.1.110/stream
2023-12-20 07:53:33,394 - MainThread - -weburl2
2023-12-20 07:53:33,395 - MainThread - # Video
2023-12-20 07:53:33,395 - MainThread - -extratime = 0
2023-12-20 07:53:33,396 - MainThread - -fps = 10
2023-12-20 07:53:33,396 - MainThread - -minvideo = 5
2023-12-20 07:53:33,397 - MainThread - -maxvideo = 0
2023-12-20 07:53:33,398 - MainThread - # Overrides
2023-12-20 07:53:33,398 - MainThread - -camparam1
2023-12-20 07:53:33,399 - MainThread - -camparam2
2023-12-20 07:53:33,399 - MainThread - -vidparam1
2023-12-20 07:53:33,401 - MainThread - -vidparam2
2023-12-20 07:53:33,402 - MainThread - # UI
2023-12-20 07:53:33,403 - MainThread - -hidebuttons = False
2023-12-20 07:53:33,404 - MainThread - # Special Functions
2023-12-20 07:53:33,405 - MainThread - -execkey
2023-12-20 07:53:33,407 - MainThread - -M3291 = M3291
2023-12-20 07:53:33,408 - MainThread - -----------------------------------------------------------------------2023-12-20 07:53:33,409 - MainThread - ************************************************************************************
2023-12-20 07:53:33,410 - MainThread - Warning: -seconds 30 and -detect none
2023-12-20 07:53:33,411 - MainThread - This combination implies -dontwait and will be set automatically
2023-12-20 07:53:33,412 - MainThread - ************************************************************************************2023-12-20 07:53:33,416 - MainThread - ##########################################################
2023-12-20 07:53:33,417 - MainThread - Will start capturing images immediately
2023-12-20 07:53:33,418 - MainThread - ##########################################################2023-12-20 07:53:33,419 - MainThread - ##########################################################
2023-12-20 07:53:33,419 - MainThread - Video will be created when printing ends
2023-12-20 07:53:33,421 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
2023-12-20 07:53:33,422 - MainThread - ##########################################################2023-12-20 07:53:33,422 - MainThread - ##########################################################
2023-12-20 07:53:33,422 - MainThread - If running from a console using the command line
2023-12-20 07:53:33,423 - MainThread - Press Ctrl+C one time to stop the program and create a video.
2023-12-20 07:53:33,423 - MainThread - ##########################################################2023-12-20 07:53:33,423 - MainThread - ***** Initializing state and counters *****
2023-12-20 07:53:33,425 - MainThread - ##########################################################
2023-12-20 07:53:33,426 - MainThread - ***** Started http listener *****
2023-12-20 07:53:33,426 - MainThread - ##########################################################2023-12-20 07:53:33,427 - MainThread - Logging in to Printer
2023-12-20 07:53:33,427 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
2023-12-20 07:53:33,486 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
2023-12-20 07:53:33,522 - MainThread - !!!!! Connected to printer Standalone !!!!!
2023-12-20 07:53:33,523 - MainThread - !!!!! Checking for firmware version 3.5.0-rc.1 !!!!!
2023-12-20 07:53:33,524 - MainThread - 0 url: http://10.0.1.126/rr_model?key=boards post: False
2023-12-20 07:53:33,545 - MainThread - Version Check returned --> 3.5.0-rc.1+102
2023-12-20 07:53:33,545 - MainThread - ###############################################################
2023-12-20 07:53:33,546 - MainThread - Connected to printer at 10.0.1.126
2023-12-20 07:53:33,546 - MainThread - Using Duet version 3.5.0-rc.1+102
2023-12-20 07:53:33,546 - MainThread - Using API interface rr_model
2023-12-20 07:53:33,547 - MainThread - ###############################################################2023-12-20 07:53:33,547 - MainThread - isPlugin ignored - only valid for SBC
2023-12-20 07:53:33,547 - MainThread - Initializing DL3msg queue
2023-12-20 07:53:33,547 - MainThread - 0 url: http://10.0.1.126/rr_gcode?gcode=M3291 B"Clear" post: False
2023-12-20 07:53:33,578 - mainLoop - ###########################
2023-12-20 07:53:33,579 - mainLoop - Starting mainLoop
2023-12-20 07:53:33,579 - MainThread - Initiating with action set to start
2023-12-20 07:53:33,579 - mainLoop - ###########################2023-12-20 07:53:33,580 - MainThread - Calling nextaction start from main --> startup --> nextAction
2023-12-20 07:53:33,580 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 07:53:33,581 - MainThread - ++++++ start state requested ++++++
2023-12-20 07:53:33,581 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 07:53:33,581 - MainThread - nextAction requested stopCaptureLoop
2023-12-20 07:53:33,583 - MainThread - captureLoop is not running
2023-12-20 07:53:33,589 - MainThread - nextAction satisfied waitforCaptureLoop
2023-12-20 07:53:33,592 - MainThread - ++++++ Determining next logical action ++++++
2023-12-20 07:53:33,593 - MainThread - ++++++ Entering start state ++++++
2023-12-20 07:53:33,593 - MainThread - nextAction exiting normally
2023-12-20 07:53:33,617 - mainLoop - Standalone Status is idle
2023-12-20 07:53:33,618 - mainLoop - Error Processing message queue
2023-12-20 07:53:33,618 - mainLoop - 'global'
2023-12-20 07:53:38,624 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 07:53:38,625 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 07:53:38,720 - mainLoop - Standalone Status is idle
2023-12-20 07:53:38,721 - mainLoop - Error Processing message queue
2023-12-20 07:53:38,721 - mainLoop - 'global'
2023-12-20 07:53:43,727 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 07:53:43,728 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 07:53:43,823 - mainLoop - Standalone Status is idle
2023-12-20 07:53:43,824 - mainLoop - Error Processing message queue
2023-12-20 07:53:43,824 - mainLoop - 'global'
2023-12-20 07:53:43,825 - mainLoop - ****** Duet status changed to: idle from unknown *****
2023-12-20 07:53:43,826 - mainLoop - ****** stateMachine:
2023-12-20 07:53:43,827 - mainLoop - newstate = Capturing
2023-12-20 07:53:43,827 - mainLoop - currentState = Waiting
2023-12-20 07:53:43,827 - mainLoop - duetStatus = idle
2023-12-20 07:53:43,828 - mainLoop - lastDuetStatus = unknown
2023-12-20 07:53:43,828 - mainLoop - dontwait = True
2023-12-20 07:53:43,829 - mainLoop - detect = none
2023-12-20 07:53:43,829 - mainLoop - terminateState = -1
2023-12-20 07:53:43,830 - mainLoop - ******
2023-12-20 07:53:43,831 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
2023-12-20 07:53:43,831 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 07:53:43,832 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 07:53:43,832 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 07:53:43,855 - mainLoop - Current Layer is -1
2023-12-20 07:53:43,856 - mainLoop - elapsed: 10.432576417922974
2023-12-20 07:53:43,857 - mainLoop - ****** stateMachine:
2023-12-20 07:53:43,858 - mainLoop - newstate = Waiting
2023-12-20 07:53:43,858 - mainLoop - currentState = Capturing
2023-12-20 07:53:43,859 - mainLoop - duetStatus = idle
2023-12-20 07:53:43,859 - mainLoop - lastDuetStatus = unknown
2023-12-20 07:53:43,859 - mainLoop - dontwait = True
2023-12-20 07:53:43,860 - mainLoop - detect = none
2023-12-20 07:53:43,861 - mainLoop - terminateState = -1
2023-12-20 07:53:43,861 - mainLoop - ******
2023-12-20 07:53:43,861 - mainLoop - ****** Print State changed to: Waiting from Capturing*****
2023-12-20 07:53:48,868 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 07:53:48,869 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 07:53:48,944 - mainLoop - Standalone Status is idle
2023-12-20 07:53:48,945 - mainLoop - Error Processing message queue
2023-12-20 07:53:48,945 - mainLoop - 'global'
2023-12-20 07:53:53,951 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 07:53:53,952 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 07:53:54,074 - mainLoop - Standalone Status is idle
2023-12-20 07:53:54,075 - mainLoop - Error Processing message queue
2023-12-20 07:53:54,075 - mainLoop - 'global'
2023-12-20 07:53:54,075 - mainLoop - ****** stateMachine:
2023-12-20 07:53:54,076 - mainLoop - newstate = Capturing
2023-12-20 07:53:54,076 - mainLoop - currentState = Waiting
2023-12-20 07:53:54,076 - mainLoop - duetStatus = idle
2023-12-20 07:53:54,077 - mainLoop - lastDuetStatus = idle
2023-12-20 07:53:54,077 - mainLoop - dontwait = True
2023-12-20 07:53:54,077 - mainLoop - detect = none
2023-12-20 07:53:54,077 - mainLoop - terminateState = -1
2023-12-20 07:53:54,078 - mainLoop - ******
2023-12-20 07:53:54,078 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
2023-12-20 07:53:54,079 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 07:53:54,079 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 07:53:54,080 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 07:53:54,107 - mainLoop - Current Layer is -1
2023-12-20 07:53:54,108 - mainLoop - elapsed: 20.684492111206055
2023-12-20 07:53:54,110 - mainLoop - ****** stateMachine:
2023-12-20 07:53:54,110 - mainLoop - newstate = Waiting
2023-12-20 07:53:54,111 - mainLoop - currentState = Capturing
2023-12-20 07:53:54,111 - mainLoop - duetStatus = idle
2023-12-20 07:53:54,112 - mainLoop - lastDuetStatus = idle
2023-12-20 07:53:54,112 - mainLoop - dontwait = True
2023-12-20 07:53:54,113 - mainLoop - detect = none
2023-12-20 07:53:54,113 - mainLoop - terminateState = -1
2023-12-20 07:53:54,114 - mainLoop - ******
2023-12-20 07:53:54,114 - mainLoop - ****** Print State changed to: Waiting from Capturing*****
2023-12-20 07:53:59,120 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 07:53:59,121 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 07:53:59,184 - mainLoop - Standalone Status is idle
2023-12-20 07:53:59,185 - mainLoop - Error Processing message queue
2023-12-20 07:53:59,185 - mainLoop - 'global'
2023-12-20 07:54:04,191 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 07:54:04,192 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 07:54:04,311 - mainLoop - Standalone Status is idle
2023-12-20 07:54:04,311 - mainLoop - Error Processing message queue
2023-12-20 07:54:04,312 - mainLoop - 'global'
2023-12-20 07:54:04,312 - mainLoop - ****** stateMachine:
2023-12-20 07:54:04,312 - mainLoop - newstate = Capturing
2023-12-20 07:54:04,313 - mainLoop - currentState = Waiting
2023-12-20 07:54:04,313 - mainLoop - duetStatus = idle
2023-12-20 07:54:04,313 - mainLoop - lastDuetStatus = idle
2023-12-20 07:54:04,314 - mainLoop - dontwait = True
2023-12-20 07:54:04,314 - mainLoop - detect = none
2023-12-20 07:54:04,314 - mainLoop - terminateState = -1
2023-12-20 07:54:04,314 - mainLoop - ******
2023-12-20 07:54:04,314 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
2023-12-20 07:54:04,315 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 07:54:04,315 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 07:54:04,315 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 07:54:04,332 - mainLoop - Current Layer is -1
2023-12-20 07:54:04,333 - mainLoop - elapsed: 30.909065008163452
2023-12-20 07:54:04,333 - mainLoop - Time - Camera1: capturing frame 1 at layer None after 30 seconds
2023-12-20 07:54:04,333 - mainLoop - Calling stack oneInterval --> onePhoto --> createworkingDir
2023-12-20 07:54:04,334 - mainLoop - Created working directory: /home/pi/DuetLapse/raspberrypi/10-0-1-126/3438_1
2023-12-20 07:54:04,334 - mainLoop - Calling stack onePhoto --> createworkingDir --> renamelogfile
2023-12-20 07:54:04,336 - mainLoop - Calling Jobname from onePhoto --> renameworkingDir --> getDuet
2023-12-20 07:54:04,336 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.file.fileName post: False
2023-12-20 07:54:04,360 - mainLoop - jobname was not available
2023-12-20 07:54:06,054 - mainLoop - Command Exception: ffmpeg -threads 1 -loglevel quiet -y -i http://10.0.1.110/stream -vframes 1 -threads 1 /home/pi/DuetLapse/raspberrypi/10-0-1-126/3438_1/Camera1_00000001.jpeg
2023-12-20 07:54:06,055 - mainLoop - Exception = Command 'ffmpeg -threads 1 -loglevel quiet -y -i http://10.0.1.110/stream -vframes 1 -threads 1 /home/pi/DuetLapse/raspberrypi/10-0-1-126/3438_1/Camera1_00000001.jpeg' returned non-zero exit status 1.
2023-12-20 07:54:06,056 - mainLoop - !!!!! There was a problem capturing an image !!!!!
2023-12-20 07:54:06,057 - mainLoop - ****** stateMachine:
2023-12-20 07:54:06,058 - mainLoop - newstate = Waiting
2023-12-20 07:54:06,059 - mainLoop - currentState = Capturing
2023-12-20 07:54:06,061 - mainLoop - duetStatus = idle
2023-12-20 07:54:06,062 - mainLoop - lastDuetStatus = idle
2023-12-20 07:54:06,063 - mainLoop - dontwait = True
2023-12-20 07:54:06,064 - mainLoop - detect = none
2023-12-20 07:54:06,065 - mainLoop - terminateState = -1
2023-12-20 07:54:06,065 - mainLoop - ******
2023-12-20 07:54:06,066 - mainLoop - ****** Print State changed to: Waiting from Capturing*****
2023-12-20 07:54:08,702 - MainThread - Terminating because of Ctl + C (SIGINT)
2023-12-20 07:54:08,704 - MainThread - !!!!! Forced Termination !!!!!and when i open manualy that address i get this
-
Broadly speaking. It's working ... up to a point. Note that I did not change anything other than some additional debugging.
Notwithstanding the error calling the M3291 macro (which we will tackle last) - tha main error is that ffmpeg is unable to get an image from your image stream.This could be a problem with your version of ffmpeg or the stream.
Can you repeat the test with this version (just some more instrumentation).
Can you verify that http://10.0.1.110/stream displays a video stream in your browser?
what is the output fromffmpeg -version
-
the ffmpeg is as follow
as for the stream i have a real hard time to make the videostream works because of the failing link
sudo pip3 install opencv-contrib-python==3.4.4.19
i used the last file you gave me and here are the results seem to be working and connecting now but the main issue now maybe the videostream here are the screen shots and the log file
2023-12-20 11:58:45,832 - MainThread - DuetLapse3 Version --- 5.3.5
2023-12-20 11:58:45,833 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
2023-12-20 11:58:45,834 - MainThread - Process Id --- 2368
2023-12-20 11:58:45,834 - MainThread - -------------------------------------------------------------------------------2023-12-20 11:58:45,835 - MainThread - seconds has been changed to 30
2023-12-20 11:58:45,836 - MainThread - poll has been changed to 10
2023-12-20 11:58:45,838 - MainThread - dontwait has been changed to True
2023-12-20 11:58:45,839 - MainThread - ################### Options at start of this print job #####################
2023-12-20 11:58:45,840 - MainThread - # Simulate
2023-12-20 11:58:45,840 - MainThread - -simulate = off
2023-12-20 11:58:45,841 - MainThread - # Environment
2023-12-20 11:58:45,841 - MainThread - -duet = 10.0.1.126
2023-12-20 11:58:45,842 - MainThread - -password = reprap
2023-12-20 11:58:45,842 - MainThread - -basedir = /home/pi/DuetLapse
2023-12-20 11:58:45,843 - MainThread - -poll = 10
2023-12-20 11:58:45,843 - MainThread - -instances = single
2023-12-20 11:58:45,843 - MainThread - -logtype = both
2023-12-20 11:58:45,843 - MainThread - -nolog = False
2023-12-20 11:58:45,844 - MainThread - -verbose = True
2023-12-20 11:58:45,844 - MainThread - -host = 0.0.0.0
2023-12-20 11:58:45,844 - MainThread - -port = 8082
2023-12-20 11:58:45,844 - MainThread - -keeplogs = False
2023-12-20 11:58:45,845 - MainThread - -novideo = False
2023-12-20 11:58:45,845 - MainThread - -deletepics = False
2023-12-20 11:58:45,845 - MainThread - -maxffmpeg = 2
2023-12-20 11:58:45,846 - MainThread - -keepfiles = False
2023-12-20 11:58:45,846 - MainThread - # Execution
2023-12-20 11:58:45,846 - MainThread - -dontwait = True
2023-12-20 11:58:45,846 - MainThread - -seconds = 30
2023-12-20 11:58:45,847 - MainThread - -detect = none
2023-12-20 11:58:45,847 - MainThread - -pause = no
2023-12-20 11:58:45,848 - MainThread - -numlayers = 1
2023-12-20 11:58:45,849 - MainThread - -movehead = [0, 0]
2023-12-20 11:58:45,850 - MainThread - -rest = 1
2023-12-20 11:58:45,850 - MainThread - -standby = False
2023-12-20 11:58:45,851 - MainThread - -restart = False
2023-12-20 11:58:45,851 - MainThread - # Camera
2023-12-20 11:58:45,852 - MainThread - -camera1 = stream
2023-12-20 11:58:45,852 - MainThread - -camera2
2023-12-20 11:58:45,853 - MainThread - -weburl1 = http://10.0.1.110/stream
2023-12-20 11:58:45,853 - MainThread - -weburl2
2023-12-20 11:58:45,854 - MainThread - # Video
2023-12-20 11:58:45,854 - MainThread - -extratime = 0
2023-12-20 11:58:45,855 - MainThread - -fps = 10
2023-12-20 11:58:45,855 - MainThread - -minvideo = 5
2023-12-20 11:58:45,855 - MainThread - -maxvideo = 0
2023-12-20 11:58:45,856 - MainThread - # Overrides
2023-12-20 11:58:45,856 - MainThread - -camparam1
2023-12-20 11:58:45,857 - MainThread - -camparam2
2023-12-20 11:58:45,857 - MainThread - -vidparam1
2023-12-20 11:58:45,858 - MainThread - -vidparam2
2023-12-20 11:58:45,859 - MainThread - # UI
2023-12-20 11:58:45,859 - MainThread - -hidebuttons = False
2023-12-20 11:58:45,860 - MainThread - # Special Functions
2023-12-20 11:58:45,860 - MainThread - -execkey
2023-12-20 11:58:45,861 - MainThread - -M3291 = M3291
2023-12-20 11:58:45,861 - MainThread - -----------------------------------------------------------------------2023-12-20 11:58:45,862 - MainThread - ************************************************************************************
2023-12-20 11:58:45,862 - MainThread - Warning: -seconds 30 and -detect none
2023-12-20 11:58:45,863 - MainThread - This combination implies -dontwait and will be set automatically
2023-12-20 11:58:45,863 - MainThread - ************************************************************************************2023-12-20 11:58:45,865 - MainThread - ##########################################################
2023-12-20 11:58:45,866 - MainThread - Will start capturing images immediately
2023-12-20 11:58:45,867 - MainThread - ##########################################################2023-12-20 11:58:45,868 - MainThread - ##########################################################
2023-12-20 11:58:45,869 - MainThread - Video will be created when printing ends
2023-12-20 11:58:45,870 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
2023-12-20 11:58:45,871 - MainThread - ##########################################################2023-12-20 11:58:45,873 - MainThread - ##########################################################
2023-12-20 11:58:45,874 - MainThread - If running from a console using the command line
2023-12-20 11:58:45,874 - MainThread - Press Ctrl+C one time to stop the program and create a video.
2023-12-20 11:58:45,875 - MainThread - ##########################################################2023-12-20 11:58:45,877 - MainThread - ***** Initializing state and counters *****
2023-12-20 11:58:45,880 - MainThread - ##########################################################
2023-12-20 11:58:45,880 - MainThread - ***** Started http listener on port 8082*****
2023-12-20 11:58:45,881 - MainThread - ##########################################################2023-12-20 11:58:45,882 - MainThread - Logging in to Printer
2023-12-20 11:58:45,882 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
2023-12-20 11:58:46,036 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
2023-12-20 11:58:46,086 - MainThread - !!!!! Connected to printer Standalone !!!!!
2023-12-20 11:58:46,087 - MainThread - !!!!! Checking for firmware version 3.5.0-rc.1 !!!!!
2023-12-20 11:58:46,087 - MainThread - 0 url: http://10.0.1.126/rr_model?key=boards post: False
2023-12-20 11:58:46,151 - MainThread - Version Check returned --> 3.5.0-rc.1+102
2023-12-20 11:58:46,152 - MainThread - ###############################################################
2023-12-20 11:58:46,152 - MainThread - Connected to printer at 10.0.1.126
2023-12-20 11:58:46,152 - MainThread - Using Duet version 3.5.0-rc.1+102
2023-12-20 11:58:46,152 - MainThread - Using API interface rr_model
2023-12-20 11:58:46,153 - MainThread - ###############################################################2023-12-20 11:58:46,153 - MainThread - isPlugin ignored - only valid for SBC
2023-12-20 11:58:46,153 - MainThread - Initializing DL3msg queue
2023-12-20 11:58:46,153 - MainThread - 0 url: http://10.0.1.126/rr_gcode?gcode=M3291 B"Clear" post: False
2023-12-20 11:58:46,198 - mainLoop - ###########################
2023-12-20 11:58:46,199 - MainThread - Initiating with action set to start
2023-12-20 11:58:46,199 - mainLoop - Starting mainLoop
2023-12-20 11:58:46,199 - MainThread - Calling nextaction start from main --> startup --> nextAction
2023-12-20 11:58:46,200 - mainLoop - ###########################2023-12-20 11:58:46,200 - MainThread - ++++++ start state requested ++++++
2023-12-20 11:58:46,200 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 11:58:46,201 - MainThread - nextAction requested stopCaptureLoop
2023-12-20 11:58:46,201 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 11:58:46,201 - MainThread - captureLoop is not running
2023-12-20 11:58:46,203 - MainThread - nextAction satisfied waitforCaptureLoop
2023-12-20 11:58:46,209 - MainThread - ++++++ Determining next logical action ++++++
2023-12-20 11:58:46,210 - MainThread - ++++++ Entering start state ++++++
2023-12-20 11:58:46,210 - MainThread - nextAction exiting normally
2023-12-20 11:58:46,227 - mainLoop - Standalone Status is busy
2023-12-20 11:58:46,228 - mainLoop - Error Processing message queue
2023-12-20 11:58:46,228 - mainLoop - 'global'
2023-12-20 11:58:51,234 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 11:58:51,235 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 11:58:51,267 - mainLoop - Standalone Status is idle
2023-12-20 11:58:51,267 - mainLoop - Error Processing message queue
2023-12-20 11:58:51,268 - mainLoop - 'global'
2023-12-20 11:58:56,273 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 11:58:56,273 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 11:58:56,529 - mainLoop - Standalone Status is idle
2023-12-20 11:58:56,529 - mainLoop - Error Processing message queue
2023-12-20 11:58:56,530 - mainLoop - 'global'
2023-12-20 11:58:56,530 - mainLoop - ****** Duet status changed to: idle from unknown *****
2023-12-20 11:58:56,530 - mainLoop - ****** stateMachine:
2023-12-20 11:58:56,531 - mainLoop - newstate = Capturing
2023-12-20 11:58:56,531 - mainLoop - currentState = Waiting
2023-12-20 11:58:56,531 - mainLoop - duetStatus = idle
2023-12-20 11:58:56,532 - mainLoop - lastDuetStatus = unknown
2023-12-20 11:58:56,532 - mainLoop - dontwait = True
2023-12-20 11:58:56,532 - mainLoop - detect = none
2023-12-20 11:58:56,532 - mainLoop - terminateState = -1
2023-12-20 11:58:56,533 - mainLoop - ******
2023-12-20 11:58:56,533 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
2023-12-20 11:58:56,533 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 11:58:56,533 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 11:58:56,534 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 11:58:56,612 - mainLoop - Current Layer is -1
2023-12-20 11:58:56,613 - mainLoop - elapsed: 10.735199928283691
2023-12-20 11:58:56,613 - mainLoop - ****** stateMachine:
2023-12-20 11:58:56,613 - mainLoop - newstate = Waiting
2023-12-20 11:58:56,614 - mainLoop - currentState = Capturing
2023-12-20 11:58:56,614 - mainLoop - duetStatus = idle
2023-12-20 11:58:56,614 - mainLoop - lastDuetStatus = unknown
2023-12-20 11:58:56,614 - mainLoop - dontwait = True
2023-12-20 11:58:56,615 - mainLoop - detect = none
2023-12-20 11:58:56,615 - mainLoop - terminateState = -1
2023-12-20 11:58:56,615 - mainLoop - ******
2023-12-20 11:58:56,615 - mainLoop - ****** Print State changed to: Waiting from Capturing*****
2023-12-20 11:59:01,621 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 11:59:01,622 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 11:59:01,783 - mainLoop - Standalone Status is idle
2023-12-20 11:59:01,785 - mainLoop - Error Processing message queue
2023-12-20 11:59:01,785 - mainLoop - 'global'
2023-12-20 11:59:06,792 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 11:59:06,793 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 11:59:07,242 - mainLoop - Standalone Status is idle
2023-12-20 11:59:07,243 - mainLoop - Error Processing message queue
2023-12-20 11:59:07,244 - mainLoop - 'global'
2023-12-20 11:59:07,245 - mainLoop - ****** stateMachine:
2023-12-20 11:59:07,245 - mainLoop - newstate = Capturing
2023-12-20 11:59:07,246 - mainLoop - currentState = Waiting
2023-12-20 11:59:07,246 - mainLoop - duetStatus = idle
2023-12-20 11:59:07,247 - mainLoop - lastDuetStatus = idle
2023-12-20 11:59:07,247 - mainLoop - dontwait = True
2023-12-20 11:59:07,248 - mainLoop - detect = none
2023-12-20 11:59:07,249 - mainLoop - terminateState = -1
2023-12-20 11:59:07,249 - mainLoop - ******
2023-12-20 11:59:07,250 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
2023-12-20 11:59:07,250 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 11:59:07,251 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 11:59:07,252 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 11:59:07,611 - mainLoop - Current Layer is -1
2023-12-20 11:59:07,612 - mainLoop - elapsed: 21.73440194129944
2023-12-20 11:59:07,613 - mainLoop - ****** stateMachine:
2023-12-20 11:59:07,614 - mainLoop - newstate = Waiting
2023-12-20 11:59:07,614 - mainLoop - currentState = Capturing
2023-12-20 11:59:07,615 - mainLoop - duetStatus = idle
2023-12-20 11:59:07,615 - mainLoop - lastDuetStatus = idle
2023-12-20 11:59:07,616 - mainLoop - dontwait = True
2023-12-20 11:59:07,616 - mainLoop - detect = none
2023-12-20 11:59:07,617 - mainLoop - terminateState = -1
2023-12-20 11:59:07,617 - mainLoop - ******
2023-12-20 11:59:07,618 - mainLoop - ****** Print State changed to: Waiting from Capturing*****even though its giving this ( empty frame am using USB camera i have a ribbon camera too how to force videostream to use the ribbon camera ?
-
From memory - that version of ffmpeg is OK.
As before, it looks like DuetLapse is working and the previous issues were installation / configuration.videostream uses opencv but that library is notorious for being difficult to install. Many of the guides simply do not work. That's not really the fault of the guides, mainly its to do with all the possible variations of operating systems etc that opencv has to deal with.
There are several documents here that may help.
https://github.com/stuartofmt/Pi-Notes
but it all depends on the version if the pi operating system you are using.On my pi (using a pi camera and Debian Bullseye) I use a plugin that I've developed because it does not need to use opencv. It uses apis developed by the pi team BUT those do not support USB cameras.
Having said all that - you might try Motion as that is a bit more self contained and may give you quicker success.
What version of the pi operating system are you using?
-
see my PI os Ver below
i will try motion but if videostream is better or a must i can try the plugin you mention if you dont mind
i tried motion and now i have video in the http//:localhost:8081/stream not on 10.0.1.110:8081/stream even though it should be the same but on the DuetLapse still no video
here is my config for DuetLapse see if i need to change anything there-basedir /home/pi/DuetLapse
-duet 10.0.1.126
-port 8082
-seconds 30
-detect none
-weburl1 http://localhost:8081/stream
-verbose
-camera1 streamlog file
2023-12-20 15:10:07,155 - MainThread - DuetLapse3 Version --- 5.3.5
2023-12-20 15:10:07,156 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
2023-12-20 15:10:07,157 - MainThread - Process Id --- 3116
2023-12-20 15:10:07,157 - MainThread - -------------------------------------------------------------------------------2023-12-20 15:10:07,159 - MainThread - seconds has been changed to 30
2023-12-20 15:10:07,161 - MainThread - poll has been changed to 10
2023-12-20 15:10:07,162 - MainThread - dontwait has been changed to True
2023-12-20 15:10:07,163 - MainThread - ################### Options at start of this print job #####################
2023-12-20 15:10:07,164 - MainThread - # Simulate
2023-12-20 15:10:07,165 - MainThread - -simulate = off
2023-12-20 15:10:07,166 - MainThread - # Environment
2023-12-20 15:10:07,166 - MainThread - -duet = 10.0.1.126
2023-12-20 15:10:07,167 - MainThread - -password = reprap
2023-12-20 15:10:07,168 - MainThread - -basedir = /home/pi/DuetLapse
2023-12-20 15:10:07,169 - MainThread - -poll = 10
2023-12-20 15:10:07,170 - MainThread - -instances = single
2023-12-20 15:10:07,171 - MainThread - -logtype = both
2023-12-20 15:10:07,171 - MainThread - -nolog = False
2023-12-20 15:10:07,172 - MainThread - -verbose = True
2023-12-20 15:10:07,172 - MainThread - -host = 0.0.0.0
2023-12-20 15:10:07,173 - MainThread - -port = 8082
2023-12-20 15:10:07,174 - MainThread - -keeplogs = False
2023-12-20 15:10:07,175 - MainThread - -novideo = False
2023-12-20 15:10:07,176 - MainThread - -deletepics = False
2023-12-20 15:10:07,177 - MainThread - -maxffmpeg = 2
2023-12-20 15:10:07,178 - MainThread - -keepfiles = False
2023-12-20 15:10:07,179 - MainThread - # Execution
2023-12-20 15:10:07,180 - MainThread - -dontwait = True
2023-12-20 15:10:07,180 - MainThread - -seconds = 30
2023-12-20 15:10:07,181 - MainThread - -detect = none
2023-12-20 15:10:07,181 - MainThread - -pause = no
2023-12-20 15:10:07,181 - MainThread - -numlayers = 1
2023-12-20 15:10:07,182 - MainThread - -movehead = [0, 0]
2023-12-20 15:10:07,182 - MainThread - -rest = 1
2023-12-20 15:10:07,182 - MainThread - -standby = False
2023-12-20 15:10:07,183 - MainThread - -restart = False
2023-12-20 15:10:07,183 - MainThread - # Camera
2023-12-20 15:10:07,183 - MainThread - -camera1 = stream
2023-12-20 15:10:07,184 - MainThread - -camera2
2023-12-20 15:10:07,184 - MainThread - -weburl1 = http://localhost:8081/stream
2023-12-20 15:10:07,184 - MainThread - -weburl2
2023-12-20 15:10:07,185 - MainThread - # Video
2023-12-20 15:10:07,185 - MainThread - -extratime = 0
2023-12-20 15:10:07,185 - MainThread - -fps = 10
2023-12-20 15:10:07,186 - MainThread - -minvideo = 5
2023-12-20 15:10:07,186 - MainThread - -maxvideo = 0
2023-12-20 15:10:07,186 - MainThread - # Overrides
2023-12-20 15:10:07,187 - MainThread - -camparam1
2023-12-20 15:10:07,187 - MainThread - -camparam2
2023-12-20 15:10:07,188 - MainThread - -vidparam1
2023-12-20 15:10:07,188 - MainThread - -vidparam2
2023-12-20 15:10:07,188 - MainThread - # UI
2023-12-20 15:10:07,189 - MainThread - -hidebuttons = False
2023-12-20 15:10:07,190 - MainThread - # Special Functions
2023-12-20 15:10:07,190 - MainThread - -execkey
2023-12-20 15:10:07,191 - MainThread - -M3291 = M3291
2023-12-20 15:10:07,191 - MainThread - -----------------------------------------------------------------------2023-12-20 15:10:07,192 - MainThread - ************************************************************************************
2023-12-20 15:10:07,192 - MainThread - Warning: -seconds 30 and -detect none
2023-12-20 15:10:07,193 - MainThread - This combination implies -dontwait and will be set automatically
2023-12-20 15:10:07,194 - MainThread - ************************************************************************************2023-12-20 15:10:07,195 - MainThread - ##########################################################
2023-12-20 15:10:07,196 - MainThread - Will start capturing images immediately
2023-12-20 15:10:07,197 - MainThread - ##########################################################2023-12-20 15:10:07,198 - MainThread - ##########################################################
2023-12-20 15:10:07,199 - MainThread - Video will be created when printing ends
2023-12-20 15:10:07,200 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
2023-12-20 15:10:07,200 - MainThread - ##########################################################2023-12-20 15:10:07,201 - MainThread - ##########################################################
2023-12-20 15:10:07,201 - MainThread - If running from a console using the command line
2023-12-20 15:10:07,202 - MainThread - Press Ctrl+C one time to stop the program and create a video.
2023-12-20 15:10:07,202 - MainThread - ##########################################################2023-12-20 15:10:07,202 - MainThread - ***** Initializing state and counters *****
2023-12-20 15:10:07,205 - MainThread - ##########################################################
2023-12-20 15:10:07,207 - MainThread - ***** Started http listener on port 8082*****
2023-12-20 15:10:07,210 - MainThread - ##########################################################2023-12-20 15:10:07,211 - MainThread - Logging in to Printer
2023-12-20 15:10:07,213 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
2023-12-20 15:10:07,335 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
2023-12-20 15:10:07,393 - MainThread - !!!!! Connected to printer Standalone !!!!!
2023-12-20 15:10:07,394 - MainThread - !!!!! Checking for firmware version 3.5.0-rc.1 !!!!!
2023-12-20 15:10:07,395 - MainThread - 0 url: http://10.0.1.126/rr_model?key=boards post: False
2023-12-20 15:10:07,442 - MainThread - Version Check returned --> 3.5.0-rc.1+102
2023-12-20 15:10:07,444 - MainThread - ###############################################################
2023-12-20 15:10:07,445 - MainThread - Connected to printer at 10.0.1.126
2023-12-20 15:10:07,447 - MainThread - Using Duet version 3.5.0-rc.1+102
2023-12-20 15:10:07,448 - MainThread - Using API interface rr_model
2023-12-20 15:10:07,450 - MainThread - ###############################################################2023-12-20 15:10:07,451 - MainThread - isPlugin ignored - only valid for SBC
2023-12-20 15:10:07,453 - MainThread - Initializing DL3msg queue
2023-12-20 15:10:07,454 - MainThread - 0 url: http://10.0.1.126/rr_gcode?gcode=M3291 B"Clear" post: False
2023-12-20 15:10:07,539 - mainLoop - ###########################
2023-12-20 15:10:07,539 - MainThread - Initiating with action set to start
2023-12-20 15:10:07,541 - mainLoop - Starting mainLoop
2023-12-20 15:10:07,542 - MainThread - Calling nextaction start from main --> startup --> nextAction
2023-12-20 15:10:07,544 - mainLoop - ###########################2023-12-20 15:10:07,545 - MainThread - ++++++ start state requested ++++++
2023-12-20 15:10:07,546 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:10:07,547 - MainThread - nextAction requested stopCaptureLoop
2023-12-20 15:10:07,548 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:10:07,549 - MainThread - captureLoop is not running
2023-12-20 15:10:07,552 - MainThread - nextAction satisfied waitforCaptureLoop
2023-12-20 15:10:07,553 - MainThread - ++++++ Determining next logical action ++++++
2023-12-20 15:10:07,554 - MainThread - ++++++ Entering start state ++++++
2023-12-20 15:10:07,555 - MainThread - nextAction exiting normally
2023-12-20 15:10:07,614 - mainLoop - Standalone Status is processing
2023-12-20 15:10:07,615 - mainLoop - Error Processing message queue
2023-12-20 15:10:07,616 - mainLoop - 'global'
2023-12-20 15:10:09,259 - Thread-1 - !!!!! http call: {'displayControls': ['true']} !!!!!
2023-12-20 15:10:10,087 - Thread-2 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-20 15:10:12,623 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:10:12,624 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:10:12,654 - mainLoop - Standalone Status is processing
2023-12-20 15:10:12,655 - mainLoop - Error Processing message queue
2023-12-20 15:10:12,655 - mainLoop - 'global'
2023-12-20 15:10:17,661 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:10:17,662 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:10:17,710 - mainLoop - Standalone Status is processing
2023-12-20 15:10:17,711 - mainLoop - Error Processing message queue
2023-12-20 15:10:17,712 - mainLoop - 'global'
2023-12-20 15:10:17,713 - mainLoop - ****** Duet status changed to: processing from unknown *****
2023-12-20 15:10:17,713 - mainLoop - ****** stateMachine:
2023-12-20 15:10:17,714 - mainLoop - newstate = Capturing
2023-12-20 15:10:17,715 - mainLoop - currentState = Waiting
2023-12-20 15:10:17,715 - mainLoop - duetStatus = processing
2023-12-20 15:10:17,716 - mainLoop - lastDuetStatus = unknown
2023-12-20 15:10:17,717 - mainLoop - dontwait = True
2023-12-20 15:10:17,718 - mainLoop - detect = none
2023-12-20 15:10:17,718 - mainLoop - terminateState = -1
2023-12-20 15:10:17,719 - mainLoop - ******
2023-12-20 15:10:17,720 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
2023-12-20 15:10:17,721 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 15:10:17,722 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 15:10:17,723 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 15:10:17,812 - mainLoop - Current Layer is 1
2023-12-20 15:10:17,813 - mainLoop - elapsed: 10.610595464706421
2023-12-20 15:10:17,814 - mainLoop - ****** stateMachine:
2023-12-20 15:10:17,815 - mainLoop - newstate = Capturing
2023-12-20 15:10:17,816 - mainLoop - currentState = Capturing
2023-12-20 15:10:17,816 - mainLoop - duetStatus = processing
2023-12-20 15:10:17,817 - mainLoop - lastDuetStatus = unknown
2023-12-20 15:10:17,817 - mainLoop - dontwait = True
2023-12-20 15:10:17,818 - mainLoop - detect = none
2023-12-20 15:10:17,819 - mainLoop - terminateState = -1
2023-12-20 15:10:17,820 - mainLoop - ******
2023-12-20 15:10:20,089 - Thread-3 - !!!!! http call: {'displayStatus': ['true']} !!!!! -
and this is the log while printing
2023-12-20 15:50:25,955 - MainThread - DuetLapse3 Version --- 5.3.5
2023-12-20 15:50:25,956 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
2023-12-20 15:50:25,956 - MainThread - Process Id --- 9084
2023-12-20 15:50:25,956 - MainThread - -------------------------------------------------------------------------------2023-12-20 15:50:25,957 - MainThread - seconds has been changed to 30
2023-12-20 15:50:25,958 - MainThread - poll has been changed to 10
2023-12-20 15:50:25,959 - MainThread - dontwait has been changed to True
2023-12-20 15:50:25,960 - MainThread - ################### Options at start of this print job #####################
2023-12-20 15:50:25,961 - MainThread - # Simulate
2023-12-20 15:50:25,961 - MainThread - -simulate = off
2023-12-20 15:50:25,962 - MainThread - # Environment
2023-12-20 15:50:25,962 - MainThread - -duet = 10.0.1.126
2023-12-20 15:50:25,963 - MainThread - -password = reprap
2023-12-20 15:50:25,963 - MainThread - -basedir = /home/pi/DuetLapse
2023-12-20 15:50:25,963 - MainThread - -poll = 10
2023-12-20 15:50:25,964 - MainThread - -instances = single
2023-12-20 15:50:25,964 - MainThread - -logtype = both
2023-12-20 15:50:25,965 - MainThread - -nolog = False
2023-12-20 15:50:25,965 - MainThread - -verbose = True
2023-12-20 15:50:25,965 - MainThread - -host = 0.0.0.0
2023-12-20 15:50:25,966 - MainThread - -port = 8082
2023-12-20 15:50:25,966 - MainThread - -keeplogs = False
2023-12-20 15:50:25,966 - MainThread - -novideo = False
2023-12-20 15:50:25,967 - MainThread - -deletepics = False
2023-12-20 15:50:25,967 - MainThread - -maxffmpeg = 2
2023-12-20 15:50:25,968 - MainThread - -keepfiles = False
2023-12-20 15:50:25,968 - MainThread - # Execution
2023-12-20 15:50:25,968 - MainThread - -dontwait = True
2023-12-20 15:50:25,979 - MainThread - -seconds = 30
2023-12-20 15:50:25,980 - MainThread - -detect = none
2023-12-20 15:50:25,980 - MainThread - -pause = no
2023-12-20 15:50:25,981 - MainThread - -numlayers = 1
2023-12-20 15:50:25,981 - MainThread - -movehead = [0, 0]
2023-12-20 15:50:25,982 - MainThread - -rest = 1
2023-12-20 15:50:25,982 - MainThread - -standby = False
2023-12-20 15:50:25,983 - MainThread - -restart = False
2023-12-20 15:50:25,983 - MainThread - # Camera
2023-12-20 15:50:25,984 - MainThread - -camera1 = stream
2023-12-20 15:50:25,984 - MainThread - -camera2
2023-12-20 15:50:25,985 - MainThread - -weburl1 = http://localhost:8081/stream
2023-12-20 15:50:25,985 - MainThread - -weburl2
2023-12-20 15:50:25,985 - MainThread - # Video
2023-12-20 15:50:25,986 - MainThread - -extratime = 0
2023-12-20 15:50:25,986 - MainThread - -fps = 10
2023-12-20 15:50:25,986 - MainThread - -minvideo = 5
2023-12-20 15:50:25,987 - MainThread - -maxvideo = 0
2023-12-20 15:50:25,987 - MainThread - # Overrides
2023-12-20 15:50:25,987 - MainThread - -camparam1
2023-12-20 15:50:25,988 - MainThread - -camparam2
2023-12-20 15:50:25,988 - MainThread - -vidparam1
2023-12-20 15:50:25,990 - MainThread - -vidparam2
2023-12-20 15:50:25,991 - MainThread - # UI
2023-12-20 15:50:25,991 - MainThread - -hidebuttons = False
2023-12-20 15:50:25,992 - MainThread - # Special Functions
2023-12-20 15:50:25,993 - MainThread - -execkey
2023-12-20 15:50:25,994 - MainThread - -M3291 = M3291
2023-12-20 15:50:25,994 - MainThread - -----------------------------------------------------------------------2023-12-20 15:50:25,995 - MainThread - ************************************************************************************
2023-12-20 15:50:25,995 - MainThread - Warning: -seconds 30 and -detect none
2023-12-20 15:50:25,996 - MainThread - This combination implies -dontwait and will be set automatically
2023-12-20 15:50:25,996 - MainThread - ************************************************************************************2023-12-20 15:50:25,997 - MainThread - ##########################################################
2023-12-20 15:50:25,998 - MainThread - Will start capturing images immediately
2023-12-20 15:50:25,998 - MainThread - ##########################################################2023-12-20 15:50:25,999 - MainThread - ##########################################################
2023-12-20 15:50:26,000 - MainThread - Video will be created when printing ends
2023-12-20 15:50:26,001 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
2023-12-20 15:50:26,002 - MainThread - ##########################################################2023-12-20 15:50:26,003 - MainThread - ##########################################################
2023-12-20 15:50:26,004 - MainThread - If running from a console using the command line
2023-12-20 15:50:26,005 - MainThread - Press Ctrl+C one time to stop the program and create a video.
2023-12-20 15:50:26,006 - MainThread - ##########################################################2023-12-20 15:50:26,009 - MainThread - ***** Initializing state and counters *****
2023-12-20 15:50:26,018 - MainThread - ##########################################################
2023-12-20 15:50:26,020 - MainThread - ***** Started http listener on port 8082*****
2023-12-20 15:50:26,022 - MainThread - ##########################################################2023-12-20 15:50:26,023 - MainThread - Logging in to Printer
2023-12-20 15:50:26,025 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
2023-12-20 15:50:26,120 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
2023-12-20 15:50:26,164 - MainThread - !!!!! Connected to printer Standalone !!!!!
2023-12-20 15:50:26,166 - MainThread - !!!!! Checking for firmware version 3.5.0-rc.1 !!!!!
2023-12-20 15:50:26,169 - MainThread - 0 url: http://10.0.1.126/rr_model?key=boards post: False
2023-12-20 15:50:26,211 - MainThread - Version Check returned --> 3.5.0-rc.1+102
2023-12-20 15:50:26,216 - MainThread - ###############################################################
2023-12-20 15:50:26,217 - MainThread - Connected to printer at 10.0.1.126
2023-12-20 15:50:26,218 - MainThread - Using Duet version 3.5.0-rc.1+102
2023-12-20 15:50:26,219 - MainThread - Using API interface rr_model
2023-12-20 15:50:26,220 - MainThread - ###############################################################2023-12-20 15:50:26,221 - MainThread - isPlugin ignored - only valid for SBC
2023-12-20 15:50:26,222 - MainThread - Initializing DL3msg queue
2023-12-20 15:50:26,222 - MainThread - 0 url: http://10.0.1.126/rr_gcode?gcode=M3291 B"Clear" post: False
2023-12-20 15:50:26,365 - mainLoop - ###########################
2023-12-20 15:50:26,367 - mainLoop - Starting mainLoop
2023-12-20 15:50:26,368 - mainLoop - ###########################2023-12-20 15:50:26,368 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:50:26,369 - MainThread - Initiating with action set to start
2023-12-20 15:50:26,379 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:50:26,380 - MainThread - Calling nextaction start from main --> startup --> nextAction
2023-12-20 15:50:26,393 - MainThread - ++++++ start state requested ++++++
2023-12-20 15:50:26,397 - MainThread - nextAction requested stopCaptureLoop
2023-12-20 15:50:26,398 - MainThread - captureLoop is not running
2023-12-20 15:50:26,399 - MainThread - nextAction satisfied waitforCaptureLoop
2023-12-20 15:50:26,400 - MainThread - ++++++ Determining next logical action ++++++
2023-12-20 15:50:26,401 - MainThread - ++++++ Entering start state ++++++
2023-12-20 15:50:26,401 - MainThread - nextAction exiting normally
2023-12-20 15:50:26,451 - mainLoop - Standalone Status is processing
2023-12-20 15:50:26,452 - mainLoop - Error Processing message queue
2023-12-20 15:50:26,452 - mainLoop - 'global'
2023-12-20 15:50:29,336 - Thread-1 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-20 15:50:31,459 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:50:31,461 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:50:31,689 - mainLoop - Standalone Status is processing
2023-12-20 15:50:31,690 - mainLoop - Error Processing message queue
2023-12-20 15:50:31,690 - mainLoop - 'global'
2023-12-20 15:50:36,696 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:50:36,703 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:50:36,812 - mainLoop - Standalone Status is processing
2023-12-20 15:50:36,813 - mainLoop - Error Processing message queue
2023-12-20 15:50:36,815 - mainLoop - 'global'
2023-12-20 15:50:36,816 - mainLoop - ****** Duet status changed to: processing from unknown *****
2023-12-20 15:50:36,818 - mainLoop - ****** stateMachine:
2023-12-20 15:50:36,820 - mainLoop - newstate = Capturing
2023-12-20 15:50:36,823 - mainLoop - currentState = Waiting
2023-12-20 15:50:36,826 - mainLoop - duetStatus = processing
2023-12-20 15:50:36,828 - mainLoop - lastDuetStatus = unknown
2023-12-20 15:50:36,829 - mainLoop - dontwait = True
2023-12-20 15:50:36,830 - mainLoop - detect = none
2023-12-20 15:50:36,835 - mainLoop - terminateState = -1
2023-12-20 15:50:36,837 - mainLoop - ******
2023-12-20 15:50:36,839 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
2023-12-20 15:50:36,841 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 15:50:36,843 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 15:50:36,845 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 15:50:36,927 - mainLoop - Current Layer is 124
2023-12-20 15:50:36,929 - mainLoop - elapsed: 10.918282985687256
2023-12-20 15:50:36,932 - mainLoop - ****** stateMachine:
2023-12-20 15:50:36,934 - mainLoop - newstate = Capturing
2023-12-20 15:50:36,937 - mainLoop - currentState = Capturing
2023-12-20 15:50:36,944 - mainLoop - duetStatus = processing
2023-12-20 15:50:36,946 - mainLoop - lastDuetStatus = unknown
2023-12-20 15:50:36,948 - mainLoop - dontwait = True
2023-12-20 15:50:36,949 - mainLoop - detect = none
2023-12-20 15:50:36,951 - mainLoop - terminateState = -1
2023-12-20 15:50:36,952 - mainLoop - ******
2023-12-20 15:50:39,334 - Thread-2 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-20 15:50:41,959 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:50:41,960 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:50:42,060 - mainLoop - Standalone Status is processing
2023-12-20 15:50:42,061 - mainLoop - Error Processing message queue
2023-12-20 15:50:42,062 - mainLoop - 'global'
2023-12-20 15:50:47,069 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:50:47,070 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:50:47,131 - mainLoop - Standalone Status is processing
2023-12-20 15:50:47,132 - mainLoop - Error Processing message queue
2023-12-20 15:50:47,134 - mainLoop - 'global'
2023-12-20 15:50:47,136 - mainLoop - ****** stateMachine:
2023-12-20 15:50:47,137 - mainLoop - newstate = Capturing
2023-12-20 15:50:47,139 - mainLoop - currentState = Capturing
2023-12-20 15:50:47,140 - mainLoop - duetStatus = processing
2023-12-20 15:50:47,140 - mainLoop - lastDuetStatus = processing
2023-12-20 15:50:47,141 - mainLoop - dontwait = True
2023-12-20 15:50:47,142 - mainLoop - detect = none
2023-12-20 15:50:47,143 - mainLoop - terminateState = -1
2023-12-20 15:50:47,143 - mainLoop - ******
2023-12-20 15:50:47,146 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 15:50:47,149 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 15:50:47,150 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 15:50:47,206 - mainLoop - Current Layer is 124
2023-12-20 15:50:47,207 - mainLoop - elapsed: 21.196640968322754
2023-12-20 15:50:47,208 - mainLoop - ****** stateMachine:
2023-12-20 15:50:47,209 - mainLoop - newstate = Capturing
2023-12-20 15:50:47,209 - mainLoop - currentState = Capturing
2023-12-20 15:50:47,210 - mainLoop - duetStatus = processing
2023-12-20 15:50:47,210 - mainLoop - lastDuetStatus = processing
2023-12-20 15:50:47,214 - mainLoop - dontwait = True
2023-12-20 15:50:47,216 - mainLoop - detect = none
2023-12-20 15:50:47,218 - mainLoop - terminateState = -1
2023-12-20 15:50:47,219 - mainLoop - ******
2023-12-20 15:50:49,329 - Thread-3 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-20 15:50:52,226 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:50:52,228 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:50:52,396 - mainLoop - Standalone Status is processing
2023-12-20 15:50:52,397 - mainLoop - Error Processing message queue
2023-12-20 15:50:52,397 - mainLoop - 'global'
2023-12-20 15:50:57,403 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 15:50:57,405 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:50:57,521 - mainLoop - Standalone Status is processing
2023-12-20 15:50:57,527 - mainLoop - Error Processing message queue
2023-12-20 15:50:57,528 - mainLoop - 'global'
2023-12-20 15:50:57,531 - mainLoop - ****** stateMachine:
2023-12-20 15:50:57,532 - mainLoop - newstate = Capturing
2023-12-20 15:50:57,533 - mainLoop - currentState = Capturing
2023-12-20 15:50:57,534 - mainLoop - duetStatus = processing
2023-12-20 15:50:57,534 - mainLoop - lastDuetStatus = processing
2023-12-20 15:50:57,559 - mainLoop - dontwait = True
2023-12-20 15:50:57,560 - mainLoop - detect = none
2023-12-20 15:50:57,560 - mainLoop - terminateState = -1
2023-12-20 15:50:57,561 - mainLoop - ******
2023-12-20 15:50:57,562 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 15:50:57,563 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 15:50:57,564 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 15:50:57,613 - mainLoop - Current Layer is 125
2023-12-20 15:50:57,616 - mainLoop - elapsed: 31.605782985687256
2023-12-20 15:50:57,621 - mainLoop - Calling Status from oneInterval --> checkForPause --> getDuet
2023-12-20 15:50:57,623 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 15:50:57,681 - mainLoop - Standalone Status is processing
2023-12-20 15:50:57,682 - mainLoop - Error Processing message queue
2023-12-20 15:50:57,684 - mainLoop - 'global'
2023-12-20 15:50:57,686 - mainLoop - Time - Camera1: capturing frame 1 at layer 125 after 30 seconds
2023-12-20 15:50:57,689 - mainLoop - Calling stack oneInterval --> onePhoto --> createworkingDir
2023-12-20 15:50:57,692 - mainLoop - Created working directory: /home/pi/DuetLapse/raspberrypi/10-0-1-126/9084_1
2023-12-20 15:50:57,696 - mainLoop - Calling stack onePhoto --> createworkingDir --> renamelogfile
2023-12-20 15:50:57,705 - mainLoop - Calling Jobname from onePhoto --> renameworkingDir --> getDuet
2023-12-20 15:50:57,709 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.file.fileName post: False
2023-12-20 15:50:57,768 - mainLoop - Renaming working directory: /home/pi/DuetLapse/raspberrypi/10-0-1-126/9084_1_Body1
2023-12-20 15:50:57,770 - mainLoop - Calling stack onePhoto --> renameworkingDir --> renamelogfile
2023-12-20 15:50:59,336 - Thread-4 - !!!!! http call: {'displayStatus': ['true']} !!!!!
2023-12-20 15:51:00,941 - mainLoop - Command Failure: ffmpeg -threads 1 -y -i http://localhost:8081/stream -vframes 1 -threads 1 /home/pi/DuetLapse/raspberrypi/10-0-1-126/9084_1_Body1/Camera1_00000001.jpeg
2023-12-20 15:51:00,944 - mainLoop - Error = ffmpeg version 4.3.6-0+deb11u1+rpt5 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 10 (Raspbian 10.2.1-6+rpi1)
configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d -- -
hi here are some updates
1-i fixed the issue with the localhost and ip so now we are back to this config am using a ribbon pi cam
-basedir /home/pi/DuetLapse
-duet 10.0.1.126
-port 8082
-seconds 30
-detect none
-weburl1 http://10.0.1.110/stream
-verbose
-camera1 streamwhile printing here is the log
2023-12-20 17:06:00,452 - mainLoop - Output =
2023-12-20 17:06:00,454 - mainLoop - !!!!! There was a problem capturing an image !!!!!
2023-12-20 17:06:00,455 - mainLoop - ****** stateMachine:
2023-12-20 17:06:00,456 - mainLoop - newstate = Capturing
2023-12-20 17:06:00,456 - mainLoop - currentState = Capturing
2023-12-20 17:06:00,457 - mainLoop - duetStatus = processing
2023-12-20 17:06:00,457 - mainLoop - lastDuetStatus = processing
2023-12-20 17:06:00,458 - mainLoop - dontwait = True
2023-12-20 17:06:00,458 - mainLoop - detect = none
2023-12-20 17:06:00,458 - mainLoop - terminateState = -1
2023-12-20 17:06:00,459 - mainLoop - ******
2023-12-20 17:06:03,802 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 17:06:03,819 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 17:06:03,861 - mainLoop - Standalone Status is processing
2023-12-20 17:06:03,864 - mainLoop - Error Processing message queue
2023-12-20 17:06:03,866 - mainLoop - 'global'
2023-12-20 17:06:08,878 - mainLoop - Calling Status from run --> mainLoop --> getDuet
2023-12-20 17:06:08,879 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 17:06:09,063 - mainLoop - Standalone Status is processing
2023-12-20 17:06:09,064 - mainLoop - Error Processing message queue
2023-12-20 17:06:09,064 - mainLoop - 'global'
2023-12-20 17:06:10,734 - mainLoop - ****** stateMachine:
2023-12-20 17:06:10,735 - mainLoop - newstate = Capturing
2023-12-20 17:06:10,735 - mainLoop - currentState = Capturing
2023-12-20 17:06:10,736 - mainLoop - duetStatus = processing
2023-12-20 17:06:10,736 - mainLoop - lastDuetStatus = processing
2023-12-20 17:06:10,737 - mainLoop - dontwait = True
2023-12-20 17:06:10,737 - mainLoop - detect = none
2023-12-20 17:06:10,738 - mainLoop - terminateState = -1
2023-12-20 17:06:10,738 - mainLoop - ******
2023-12-20 17:06:10,738 - mainLoop - Calling oneInterval for Camera 1
2023-12-20 17:06:10,739 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
2023-12-20 17:06:10,739 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
2023-12-20 17:06:10,844 - mainLoop - Current Layer is 1
2023-12-20 17:06:10,845 - mainLoop - elapsed: 403.8418319225311
2023-12-20 17:06:10,846 - mainLoop - Calling Status from oneInterval --> checkForPause --> getDuet
2023-12-20 17:06:10,846 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
2023-12-20 17:06:10,876 - mainLoop - Standalone Status is processing
2023-12-20 17:06:10,877 - mainLoop - Error Processing message queue
2023-12-20 17:06:10,878 - mainLoop - 'global'
2023-12-20 17:06:10,879 - mainLoop - Time - Camera1: capturing frame 1 at layer 1 after 30 seconds
2023-12-20 17:06:12,984 - mainLoop - Command Failure: ffmpeg -threads 1 -y -i http://10.0.1.110/stream -vframes 1 -threads 1 /home/pi/DuetLapse/raspberrypi/10-0-1-126/1739_1_Body1/Camera1_00000001.jpeg
2023-12-20 17:06:12,986 - mainLoop - Error = ffmpeg version 4.3.6-0+deb11u1+rpt5 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 10 (Raspbian 10.2.1-6+rpi1)
configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --libdir=/usr/lib/arm-linux-gnueabihf --cpu=arm1176jzf-s --arch=arm
WARNING: library configuration mismatch
avutil configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
avcodec configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
avformat configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
avdevice configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
avfilter configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
avresample configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
swscale configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
swresample configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
postproc configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-mmal --enable-neon --enable-rpi --enable-v4l2-request --enable-libudev --enable-epoxy --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, mpjpeg, from 'http://10.0.1.110/stream':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (native))
Press [q] to stop, [?] for help
Output #0, image2, to '/home/pi/DuetLapse/raspberrypi/10-0-1-126/1739_1_Body1/Camera1_00000001.jpeg':
Metadata:
encoder : Lavf58.45.100
Stream #0:0: Video: mjpeg, yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc58.91.100 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 1 fps=0.0 q=5.2 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=0.422x
video:20kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown2023-12-20 17:06:12,988 - mainLoop - Output =
2023-12-20 17:06:12,989 - mainLoop - !!!!! There was a problem capturing an image !!!!!
2023-12-20 17:06:12,991 - mainLoop - ****** stateMachine: -
It looks very much like ffmpeg is unhappy with your video stream. Unfortunately ffmpeg output (despite being very long) is light on clues.
Can you confirm that, from a browser (not on the pi), that this url results in the display of video ?
http://10.0.1.110/streamWhat streaming software are you using? Does it generate any error messages ?
Are any images being created like: /home/pi/DuetLapse/raspberrypi/10-0-1-126/<>/Camera1_00000001.jpeg
if so - what happens when you try to open one ?
Assuming you are streaming video OK ...
Lets try getting ffmpeg to work without DuetLapse. Make sure you are streaming. From your home directory run
ffmpeg -y -i http://10.0.1.110/stream -vframes 1 ~/test.jpeg
You should get errors the same as above. Do you ? If yes - try reinstalling ffmpeg. Its possible there are some library dependency conflicts.
-
I don't know about that board in SBC.mode, maybe @jay_s_uk knows more?
-
That board works in SBC mode and should be no different to duet boards in SBC mode.
I believe at the moment, the board is being ran in standalone mode -
yes its running on standalone not sbc