eroji / rtsp2mjpg

RTSP to MJPEG stream conversion using FFmpeg and FFserver
99 stars 41 forks source link

Docker on Synology NAS. #25

Open ZeekWorld opened 3 years ago

ZeekWorld commented 3 years ago

Is there a way to get this working on Synology NAS with docker. I played with the docker variables of the container but had no luck. Let me know if anyone has it running. Thanks!

Zeek

psmith3 commented 2 years ago

I was looking for this answer too...

ecard0 commented 2 years ago

I just installed it and it working on my Synology. I used the parms from the compose file.

epheterson commented 2 years ago

I also got this working on Synology no problem, these were my steps:

  1. Launch Docker app on Synology
  2. Search Registry for rtsp2mjpg, download
  3. On Image tab, double-click rtsp2mjpg after it's done downloading
  4. Choose default bridge network, next
  5. Assign name, enable Auto-Restart, then click Advanced Settings
  6. Modify the RTSP_URL variable to be your verified RTSP link (verify it with VLC or another app)
  7. Delete FFMPEG_INPUT_OPTS and FFMPEG_OUTPUT_OPTS, as they're empty and Synology complains
  8. Save, Next, Continue to Port Settings
  9. Add port, set 8090 as the remote port, and choose anything for local port (I set 8090 on both)
  10. Next, no Volumes needed, click Next again, then Done.

That's it! Works great, use the URLs on the main github page in Octoprint or wherever. Live stream: http://<IP>:8090/live.mjpg Still snapshot: http://<IP>:8090/still.jpg