FormerLurker / Octolapse

Stabilized timelapses for Octoprint
GNU Affero General Public License v3.0
638 stars 99 forks source link

Not showing timelapse preview #820

Open Lucasroemerisaksen opened 2 years ago

Lucasroemerisaksen commented 2 years ago

If this is a feature request describe it here

_REPLACE_THISFEATURE_REQUEST_DESCRIPTION_GOES_HERE

Version of Octolapse

Octolapse Version: ___0.4.1

Version of OctoPrint

OctoPrint Version: ___1.7.3

When you ran into the problem, did you have diagnostic logging enabled?

Diagnostic Logging was Enabled: ___NO

What were you doing when the problem occurred

  1. I clicked on the timelapse button on octoprint
  2. Scrolled down to the bottom of the page to the already rendered timelapses
  3. Clicked on the show / view / play button shaped as a camera, it did not load, just gray image not timelapse.

What should have happened?

it should have shown the timelapse that was rendered and clicked on

What happened instead?

it does not play the timelapse, just shows a short loading circle, and then grey screen where the timelapse should be.

Operating System running OctoPrint and Octolapse

OS Name: windows Os Version: windows 10 and 11

Printer model & used firmware incl. version

Printer Model: Ender 3 pro Printer Firmware Version: Marlin, version unknown

Browser and version of browser, operating system running browser

Browser: chrome Browser OS: windows

Link to the gcode file you were printing when the problem occurred

Link to Gcode File: _REPLACE_THISGCODE_FILE_LINK_GOES_HERE

Link to settings.json

Link to settings.json with all passwords removed: _REPLACE_THISSETTINGS_JSON_LINK_GOES_HERE

Link to plugin_octolapse.log

Link to plugin_octolapse.log: LINK_GOES_HERE

Link to octoprint.log

Link to octoprint.log: _REPLACE_THISLINK_GOES_HERE

Link to contents of Javascript console in the browser

Link to javascript console output: _REPLACE_THISLINK_GOES_HERE

Screenshots and/or videos of the problem:

Screenshot/Video Links: _REPLACE_THISLINKs_GO_HERE

Please consider becoming a patron

If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.

You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.

FormerLurker commented 2 years ago

Sorry for the delay in responding. I've been out of action for a while, and am finally able to get back to my various open source projects.

Can to take a few screenshots showing what you are seeing? Also, it might be good to open the developer tools in your browser (typically F12), and search the console for errors.

lin-ycv commented 2 years ago

@FormerLurker I'm also experiencing this issue where the video won't render in the timelapse tab, but will play if I download it image I'm wondering if it's a codec problem? octolapse is using a codec that timelapse player doesn't recognize?

Haagimus commented 1 year ago

@FormerLurker I also am having the same issue as these folks. I am getting an HTTP error 304 when trying to play the video in the player. Downloading it works fine.

lselinger commented 1 year ago

Add one more to the list. Trying to play in any browser (from Chrome on Android to FF and Chrome on Linux, etc) It loads a preview window but nothing plays. Downloading through each browser to their respective/host devices works and each plays fine.

**EDIT: I have a correction to make. If I click the download button on the timelapse (beside the filename in Octoprint) the file downloads but will not play either. If I select the file's check box and click "Download Selected", it downloads a zip file which contains the timelapse and THAT file I can play.

FormerLurker commented 1 year ago

So, I will see what I can do about this, but I am not the code owner for the built-in timelapse preview. My guess is that the format or options for the rendering profile are not able to be previewed using the settings Octolapse uses when rendering. I am 100% certain that some of the rendering options will NOT ever work with the preview button, as they are not supported by any browsers.