Code Monkey home page Code Monkey logo

octoprint-timelapseplus's People

Contributors

cmuche avatar jneilliii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

octoprint-timelapseplus's Issues

Playback Issues / Webcam Snapshot URL ?

I'm trying to get this plug in working, but with the lack of installation and settings instructions, it's a bit difficult. I have managed to figure out most of it, but I am struggling with the Webcam Snapshot URL, as the text box in your screenshot is too short to show the full URL (assuming there is more after '/webcam') I've tried to guess what it should be without much success.

What is the correct entry for the Webcam Snapshot URL please?

Promts for parallel render/print

  • Prompt when a render should be startet and a print is running
  • Halt the print and show a prompt when it's started and a render job is running

Need help with Capture Command

Hi there,
First of all thank you very much for that new Timelapse Plugin.
I was looking for a solution to remove the background out of my Videos for a long time because the Printer and the camera captures my wife at her desk is she is working from home.

It is a bit embarrassing but I cannot get the plugin taking Snapshots from snapshot Command.
It works fine if i use the capture mode "Timer"
But if I use Command and leave it as it is with "SNAPSHOT" it does not capture anything.
I also tried "@ Snapshot" and "Snapshot" and "@ SNAPSHOT" (without the blank but if i do not add a blank here it tags a User called Snapshot :-) )
I use CURA as Slicer and also tried Prusa Slicer because of the "At Layer Change" is a bit more comfortable

Timelapse+ Settings:
image

Gcode Example:
image

Outcome:
image

I am very sure I am doing something wrong but I need someone to throw the solution in my face.

Dont worry it is not an urgent case but I bet you know how it feels if you do not find the issue.

Best regards,
P0tth34d

Could not find or run FFMpeg

Hi, I just installed this plugin via the ocotprint plugin installer and I get this error message - should it download it's own update of FFMpeg or be able to discover the existing path? If not, do you have any installation instructions for the plugin? Thx!

'test paths and webcam settings' does not use the current ffprobe path

The plugin can find the ffmpeg, but keeps complaining about the ffprobe. Tripple checked the path, but it keep nagging about not being able to find the ffprobe.

ffmpeg path = /usr/bin/ffmpeg
ffprobe path = /usr/bin/ffprobe

If I run the command for ffprobe in a terminal it responds correct en shows me te used libraries etc.

Snapshot from HLS or WebRTC video

Hi, I have replaced the default MJPEG streamer with go2rtc, which allows me to use HLS and/or WebRTC to stream the video (especially for checking when I'm not home, since otherwise the bandwidth required is too high).
The only issue with this is, that go2rtc does not provide a jpg snapshot url (at least not without some extra transcoding, wich I can't do on my pi).

Would it be possible to get still frames from an HLS or WebRTC stream?

Plugin Review Comments

self._plugin_data needs to be replaced.

Plugins should not access this property directly but instead utilize get_plugin_data_folder()

use elif in comparison chain to avoid additional processing

def on_event(self, event, payload):
if event == Events.PRINT_STARTED:
self.printFinished(False)
self.printStarted()
if event == Events.PRINT_DONE:
self.printFinished(True)
if event == Events.DISCONNECTING:
self.printFinished(False)
if event == Events.DISCONNECTED:
self.printFinished(False)
if event == Events.PRINT_PAUSED:
self.printPaused()
if event == Events.PRINT_RESUMED:
self.printResumed()
if event == Events.PRINT_FAILED:
self.printFinished(False)
if event == Events.PRINT_CANCELLING:
self.printFinished(False)
if event == Events.PRINT_CANCELLED:
self.printFinished(False)
if event == Events.PRINTER_RESET:
self.printFinished(False)

Need to include a software update hook so that future updates to the plugin can be automatically distributed to your users. You can find additional information from here.

As it relates to this you will also need to create a release with tag that matches the current plugin version defined in setup.py.

I can't tell from the workflow exactly, but if a new print is started during the rendering process does your plugin pause/cancel the rendering?

All threads need to have daemon=True set in order to avoid a situation where a restart of OctoPrint is blocked.

force capturing to bypass error checking and re-check when a print starts

I have setup Octoprint events (PrintStarted, PrintDone and PrintFailed), to (auto) start or stop web-camera service (by default is off) during printing.
Sadly, Timelapse+ detects the web camera (snapshot or stream) as not working and gives up on whole recording. So I end up with no snapshots/photoes during whole printing time. Octolapse and Timelapse works good.

URL for snapshot is copied from Timelapse, so I do not think there is an issue (mjpg-streamer)

Error:
Hmm, something isn't working properly. Please fix the following error so Timelapse+ can run. Open the settings page to edit or fix the configuration.
Could not retrieve Webcam Snapshot

Update to 1.2.0 failed

Hi Devs,

the update to 1.2.0 failed because of pillow, what can I do?

Log:

2023-05-12 19:29:42,480 ! During handling of the above exception, another exception occurred:
2023-05-12 19:29:42,481 ! 
2023-05-12 19:29:42,481 ! Traceback (most recent call last):
2023-05-12 19:29:42,481 ! File "<string>", line 2, in <module>
2023-05-12 19:29:42,481 ! File "<pip-setuptools-caller>", line 34, in <module>
2023-05-12 19:29:42,481 ! File "/tmp/pip-install-y6n37m0t/pillow_a049a5758b1948dfaed76d1de5c9ef9d/setup.py", line 903, in <module>
2023-05-12 19:29:42,481 ! raise RequiredDependencyException(msg)
2023-05-12 19:29:42,481 ! __main__.RequiredDependencyException:
2023-05-12 19:29:42,481 ! 
2023-05-12 19:29:42,481 ! The headers or library files could not be found for zlib,
2023-05-12 19:29:42,482 ! a required dependency when compiling Pillow from source.
2023-05-12 19:29:42,482 ! 
2023-05-12 19:29:42,482 ! Please see the install instructions at:
2023-05-12 19:29:42,482 ! https://pillow.readthedocs.io/en/latest/installation.html
2023-05-12 19:29:42,482 ! 
2023-05-12 19:29:42,482 ! 
2023-05-12 19:29:42,482 ! [end of output]
2023-05-12 19:29:42,482 ! 
2023-05-12 19:29:42,482 ! note: This error originates from a subprocess, and is likely not a problem with pip.
2023-05-12 19:29:42,482 ! error: legacy-install-failure
2023-05-12 19:29:42,483 ! 
2023-05-12 19:29:42,483 ! × Encountered error while trying to install package.
2023-05-12 19:29:42,483 ! ╰─> pillow
2023-05-12 19:29:42,483 ! 
2023-05-12 19:29:42,483 ! note: This is an issue with the package mentioned above, not pip.
2023-05-12 19:29:42,483 ! hint: See above for output from the failure.
2023-05-12 19:29:42,484 > Running setup.py install for pillow: finished with status 'error'
2023-05-12 19:29:42,485 > Rolling back uninstall of Pillow

webcam image from script

I have few web-cameras connected to desktop. And I havenot seen ability in plugins to add from each camera a photo and merge them into one. Like I do via script and got this:
https://github.com/pracovnik/Public_items/blob/main/script_Merge_webcameras_to_one_picture/20220916-192919.jpg

Basically Octolapse triggers (start) a python script and give it few miliseconds with pause of printing. The script triggers immediatelly parallel from each web-camera a snapshoot, after that it composite them into one frame (as on picture) using some rules. After printing ends, it makes a movie of it.
My repo: https://github.com/pracovnik/Public_items/tree/main/script_Merge_webcameras_to_one_picture

ffmpeg 6 render failed

Hi Chris. I updated ffmpeg to version 6.

The rendering seems to be processed but failed.

Screenshot 2023-05-16 075452
Screenshot 2023-05-16 075459

where can I see the commandline which is used to render the pics?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.