Jump to content

Admehnistrator

Dormant
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    1

Admehnistrator last won the day on May 6 2020

Admehnistrator had the most liked content!

Personal Information

  • 3D printer
    Ultimaker S5

Recent Profile Visitors

92 profile views

Admehnistrator's Achievements

5

Reputation

  1. My S5 has always had this spotty problem with nginx... (whether on ethernet or wifi) the device is pingable in both cases.. but nginx fails to serve requests timely. I'll start poking at it and see if i can come up with a 'temporary' fix for it.
  2. no guides... this is just digging through the system and googling the source. mjpg-streamer is a common opensource app that is used in many many applications/DIY/projects. I'm just googling and trying things since it was annoying to me (and everyone else here) that Ultimaker had yet to fix this issue with all the firmware updates they regularly post.
  3. Absolutely agree... the resolution increase was to just see how it will behave, it's not much better (cant really tell a difference). you can set it lower though. resolutions[] = { { "QQVGA", 160, 120 }, { "QCIF", 176, 144 }, { "CGA", 320, 200 }, { "QVGA", 320, 240 }, { "CIF", 352, 288 }, { "PAL", 720, 576 }, { "VGA", 640, 480 }, { "SVGA", 800, 600 }, { "XGA", 1024, 768 }, { "HD", 1280, 720 }, { "SXGA", 1280, 1024 }, { "UXGA", 1600, 1200 }, { "FHD", 1920, 1280 }, }; But the restart timer looks to be a way to improve performance... maybe longer than 10 sec will work better, i just passed 5 days with out a failure, but i had to restart the printer for other reasons (relocation). the web page camera viewing is set to a smaller size (600 x 450) so really... if we wanted to optimize the best for the web page... we should force the res to VGA in the config file. This would be the closest size, and theoretically be the lightest from a memory/utilization standpoint.
  4. I've been using the system like this for 3 days, and the camera has not failed once. previously, it failed after a few hours if i was lucky to make it that long. I think the problem is when it tries to restart with the default setting (3 sec) its not actually releasing the device fast enough for the new service to grab it. the 10 sec seems to work really well for me.... ymmv
  5. the resolution change is just to maximize what the camera is capable of on the S5. If you try a resolution larger, mjpg-streamer will just force it to max allowed by the camera.
  6. yes, it allows the restart to be more reliable... the resolution change is just to maximize what the camera is capable of on the S5. If you try a resolution larger, mjpg-streamer will just force it to max allowed by the camera. I've been using the system like this for 3 days, and the camera has not failed once. previously, it failed after a few hours if i was lucky to make it that long. I think the problem is when it tries to restart with the default setting (3 sec) its not actually releasing the device fast enough for the new service to grab it. the 10 sec seems to work really well for me.... ymmv
  7. modify /lib/systemd/system/mjpg-streamer\@.service to the below: enable Dev via the front touch panel. SSH to the S5 as user root pass ultimaker vi /lib/systemd/system/mjpg-streamer\@.service ======================================================== [Unit] Description=mjpg-streamer, Webcam streaming for all on /dev/video%i BindsTo=dev-video%i.device [Service] Type=simple User=ultimaker Environment=LD_LIBRARY_PATH=/usr/lib/mjpg-streamer ExecStart=/usr/bin/mjpg-streamer -i "input_uvc.so -r SXGA -d /dev/video%i" -o "output_http.so -p 808%i" Restart=always RestartSec=10 TimeoutSec=1 ======================================================== systemctl daemon-reload systemctl restart mjpg-streamer@0 Disable Dev mode via the front touch panel.
  8. modify /lib/systemd/system/mjpg-streamer\@.service to the below: enable Dev via the front touch panel. SSH to the S5 as user root pass ultimaker vi /lib/systemd/system/mjpg-streamer\@.service ======================================================== [Unit] Description=mjpg-streamer, Webcam streaming for all on /dev/video%i BindsTo=dev-video%i.device [Service] Type=simple User=ultimaker Environment=LD_LIBRARY_PATH=/usr/lib/mjpg-streamer ExecStart=/usr/bin/mjpg-streamer -i "input_uvc.so -r SXGA -d /dev/video%i" -o "output_http.so -p 808%i" Restart=always RestartSec=10 TimeoutSec=1 ======================================================== systemctl daemon-reload systemctl restart mjpg-streamer@0 Disable Dev mode via the front touch panel.
×
×
  • Create New...