mainsail-crew / moonraker-timelapse

Timelapse Plugin for moonraker
GNU General Public License v3.0
353 stars 83 forks source link

moonraker timelapse is generating a jpg with an unknown file format #130

Open Mstar3D opened 1 year ago

Mstar3D commented 1 year ago

My webcam is working and I installed the moonraker timelapse plug in. A zip file is generated after the print with jpg images of every layer. The jpg's are in an unknown file format (Ican not open them). They also can't be viewed in fluidd.

dev-w0olf commented 1 year ago

Got the same problem :(

dimasmith commented 5 months ago

Got the same issue. Fixed by changing the snapshoturl property in the moonraker.conf file to http://localhost:4408/webcam/?action=snapshot (notice the webcam part).

The cause of the issue, in my case, was an incorrect URL. Generated jpg files actually had an HTML code inside, instead of image data. All due to the wrong default settings.

Hope that helps.

johnbeer13 commented 5 months ago

Всем привет! У меня была аналогичная проблема, пока я не дополнил файл moonraker.conf в [timelapse] строкой snapshoturl: /webcam/?action=snapshot Раньше ее не было, т.к. в инструкции она отсутствует. Сейчас у меня получилось так и все работает отлично

[timelapse] output_path: ~/timelapse/ frame_path: /tmp/timelapse/ ffmpeg_binary_path: /usr/bin/ffmpeg snapshoturl: /webcam/?action=snapshot