FormerLurker / Octolapse

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

Help people with ffmpeg error #663

Open ed-french opened 3 years ago

ed-french commented 3 years ago

If this is a feature request describe it here

Clean Octoprint install on pi v4 Installed Octolapse Tried to print Warned that ffmpeg path was not set correctly Took a while looking for that option in the many octolapse settings(!) Eventually found it in the octoprint settings (then took a bit more time to figure out what it should be!)

Version of Octolapse

Octolapse Version: 0.4.1

Version of OctoPrint

OctoPrint Version: 1.5.2

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

Diagnostic Logging was Enabled: _REPLACE_THISYES_OR_NO

What were you doing when the problem occurred

  1. _REPLACE_THISSTEP_ONE_GOES_HERE
  2. _REPLACE_THISSTEP_TWO_GOES_HERE
  3. _REPLACE_THISSTEP_...

What should have happened?

_REPLACE_THISPUT_YOUR_DESCRIPTION_HERE

What happened instead?

_REPLACE_THISPUT_YOUR_DESCRIPTION_HERE

Operating System running OctoPrint and Octolapse

OS Name: _REPLACE_THISOS_NAME_GOES_HERE Os Version: _REPLACE_THISOS_VERSION_GOES_HERE

Printer model & used firmware incl. version

Printer Model: _REPLACE_THISPRINTER_MODEL_GOES_HERE Printer Firmware Version: _REPLACE_THISPRINTER_FIRMWARE_VERSION_GOES_HERE

Browser and version of browser, operating system running browser

Browser: _REPLACE_THISBROWSER_VERSION_GOES_HERE Browser OS: _REPLACE_THISBROWSER_OS_GOES_HERE

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 3 years ago

Set the ffmpeg path here:

image

Then restart octoprint, because there is an error in Octolapse that can sometimes prevent the ffmpeg path from being updated. I haven't figured that out yet.

ed-french commented 3 years ago

Thanks, I did find it in the end, but I was expecting it to be in octolapses settings somewhere. Given how vanilla the setup is I would think it's a common problem, and it might be possible to improve the feedback to the user?

FormerLurker commented 3 years ago

It is not a common issue because this is pre-configured within OctoPrint. If you have a snapshot of the error you were seeing (this would just save me a bit of time) and some suggestions for how to make the problem more clear, I'm happy to add this. I'm doing a bunch of plugin work today, so it's a good time!

FormerLurker commented 3 years ago

EDIT: It is pre-configured within OctoPi, not OctoPrint :) I presume you are running on Windows, MacOs, or a custom linux install?

ed-french commented 3 years ago

Nope, on raspbian on pi using image i downloaded a while ago and updated over Christmas

FormerLurker commented 3 years ago

Hmm.. I can't understand then why the ffmpeg path wasn't set. I just flashed a card yesterday and it was set. I will try to find the error message and see if I can't clarify somewhat.

ed-french commented 3 years ago

It was set to something like /usr/bin/(something like avideo but cant remember exactly)

On Fri, 8 Jan 2021, 15:42 FormerLurker, notifications@github.com wrote:

Hmm.. I can't understand then why the ffmpeg path wasn't set. I just flashed a card yesterday and it was set. I will try to find the error message and see if I can't clarify somewhat.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FormerLurker/Octolapse/issues/663#issuecomment-756824140, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABW3JZR2U7SWD6ABGVABYHTSY4RXDANCNFSM4V2KTHCA .

FormerLurker commented 3 years ago

Probably avconv, which should have worked.... Anyway, I can def add a 'help' button with detailed instructions to the error popup.

ed-french commented 3 years ago

Yep, that sounds right The help thing would be good Thanks

On Fri, 8 Jan 2021, 15:50 FormerLurker, notifications@github.com wrote:

Probably avconv, which should have worked.... Anyway, I can def add a 'help' button with detailed instructions to the error popup.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FormerLurker/Octolapse/issues/663#issuecomment-756828750, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABW3JZR3EYK5MNRULCF3S2TSY4SVNANCNFSM4V2KTHCA .

ed-french commented 3 years ago

The rendering did fail of the print I had on this am, presumably because it needed a restart. Is there anything you'd like me to test/record/check whilst it is in the broken state before I restart? Here are my settings as showing now- test button reports it's OK [image: image.png]

On Fri, 8 Jan 2021 at 13:33, FormerLurker notifications@github.com wrote:

Set the ffmpeg path here:

[image: image] https://user-images.githubusercontent.com/33363128/104021039-b853d700-5183-11eb-865d-145201e95a79.png

Then restart octoprint, because there is an error in Octolapse that can sometimes prevent the ffmpeg path from being updated. I haven't figured that out yet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FormerLurker/Octolapse/issues/663#issuecomment-756757554, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABW3JZQCABEOAFUZCIPEKNLSY4CR7ANCNFSM4V2KTHCA .

-- Ed French

fsqonbdk commented 1 year ago

Mine was pre-configured to /usr/bin/avconv and generated an error when I clicked on test. Changing it to /usr/bin/ffmpeg worked and no more error when pressing Test.

Octolapse 0.4.2 Octoprint 1.8.7 OctoPi 0.18.0