Octolapse icon indicating copy to clipboard operation
Octolapse copied to clipboard

Help people with ffmpeg error

Open ed-french opened this issue 4 years ago • 11 comments

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_THIS__YES_OR_NO

What were you doing when the problem occurred

  1. ___REPLACE_THIS__STEP_ONE_GOES_HERE
  2. ___REPLACE_THIS__STEP_TWO_GOES_HERE
  3. __REPLACE_THIS__STEP...

What should have happened?

___REPLACE_THIS__PUT_YOUR_DESCRIPTION_HERE

What happened instead?

___REPLACE_THIS__PUT_YOUR_DESCRIPTION_HERE

Operating System running OctoPrint and Octolapse

OS Name: ___REPLACE_THIS__OS_NAME_GOES_HERE Os Version: ___REPLACE_THIS__OS_VERSION_GOES_HERE

Printer model & used firmware incl. version

Printer Model: ___REPLACE_THIS__PRINTER_MODEL_GOES_HERE Printer Firmware Version: ___REPLACE_THIS__PRINTER_FIRMWARE_VERSION_GOES_HERE

Browser and version of browser, operating system running browser

Browser: ___REPLACE_THIS__BROWSER_VERSION_GOES_HERE Browser OS: ___REPLACE_THIS__BROWSER_OS_GOES_HERE

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

Link to Gcode File: ___REPLACE_THIS__GCODE_FILE_LINK_GOES_HERE

Link to settings.json

Link to settings.json with all passwords removed: ___REPLACE_THIS__SETTINGS_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_THIS__LINK_GOES_HERE

Link to contents of Javascript console in the browser

Link to javascript console output: ___REPLACE_THIS__LINK_GOES_HERE

Screenshots and/or videos of the problem:

Screenshot/Video Links: ___REPLACE_THIS__LINKs_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.

ed-french avatar Jan 08 '21 11:01 ed-french

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.

FormerLurker avatar Jan 08 '21 13:01 FormerLurker

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?

ed-french avatar Jan 08 '21 13:01 ed-french

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 avatar Jan 08 '21 14:01 FormerLurker

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

FormerLurker avatar Jan 08 '21 14:01 FormerLurker

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

ed-french avatar Jan 08 '21 15:01 ed-french

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.

FormerLurker avatar Jan 08 '21 15:01 FormerLurker

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

On Fri, 8 Jan 2021, 15:42 FormerLurker, [email protected] 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 .

ed-french avatar Jan 08 '21 15:01 ed-french

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

FormerLurker avatar Jan 08 '21 15:01 FormerLurker

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

On Fri, 8 Jan 2021, 15:50 FormerLurker, [email protected] 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 avatar Jan 08 '21 16:01 ed-french

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 [email protected] 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

ed-french avatar Jan 08 '21 17:01 ed-french

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

fsqonbdk avatar May 04 '23 18:05 fsqonbdk