# Convert RTSP to ActionTiles Compatible Stream (MJPEG, HTML5?)

**URL:** <https://community.smartthings.com/t/convert-rtsp-to-actiontiles-compatible-stream-mjpeg-html5/93436>\
**Category:** General Discussion\
**Tags:** video, cameras, actiontiles\
**Created:** [July 21, 2017, 3:28am UTC](https://community.smartthings.com/t/convert-rtsp-to-actiontiles-compatible-stream-mjpeg-html5/93436 "2017-07-21T03:28:10Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![rickydg](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@rickydg](https://community.smartthings.com/u/rickydg)\
**Post date:** [February 15, 2019, 1:59pm UTC](https://community.smartthings.com/t/convert-rtsp-to-actiontiles-compatible-stream-mjpeg-html5/93436/21 "2019-02-15T13:59:44Z")

</div>

I’ve just installed Kerberos on my Xpenology server using docker.

The install process was quite simple, and actually didn’t require any command line from me (not my strong point!), so that’s a bonus.

Just a note for anyone looking to install this, you need one instance running per camera (I now have three, looking to expand to five), which time will tell if it causes a problem resource hogging!

Once installed and cameras setup, it spits out an mpeg stream useable in ActionTiles! Hurrah 😀

---

<div class="post-metadata">

**Author:** ![brayton](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/brayton/32/98963_2.png) [@brayton](https://community.smartthings.com/u/brayton)\
**Post date:** [November 7, 2021, 4:55pm UTC](https://community.smartthings.com/t/convert-rtsp-to-actiontiles-compatible-stream-mjpeg-html5/93436/22 "2021-11-07T16:55:26Z")

</div>

A suggestion on this thread recommended [Kerberos.io](http://Kerberos.io) and I was able to get this setup pretty quickly using docker on my Synology DS920+. After [updating the firmware](https://support.wyze.com/hc/en-us/articles/360026245231-Wyze-Cam-RTSP) on my Wyze cams to the RTSP firmware I enabled RTSP on each camera I used the below docker-compose file to run an instance of the Kerberos agent for each of my Wyze v2 cameras and a Wyze PTZ camera. Once these docker containers were running I browsed to the web port (ie. [http://dockerhost:81](http://dockerhost:81)) for each camera and setup the corresponding IP camera using the rtsp:// URL provided after enabling RTSP on the Wyze cam. Finally, in ActionTiles I added a media tile for each camera as a “This Media is an MJPEG video stream” with the corresponding camera’s streaming URL (ie. [http://localhost:8891](http://localhost:8891)). [Kerberos.io](http://Kerberos.io) is a great alternative to using an Android device to run TinyCamPro

```auto
version: "2.1"
services:
  backyard:
    image: kerberos/kerberos
    container_name: backyardcam
    ports:
      - 81:80
      - 8891:8889
    restart: always
    volumes:
      - /volume2/securitycam/config/backyard:/etc/opt/kerberosio/config
      - /volume2/securitycam/capture/backyard:/etc/opt/kerberosio/capture
      - /volume2/securitycam/logs/backyard:/etc/opt/kerberosio/logs
      - /volume2/securitycam/web/backyard:/var/www/web/config
  driveway:
    image: kerberos/kerberos
    container_name: drivewaycam
    ports:
      - 82:80
      - 8892:8889
    restart: always
    volumes:
      - /volume2/securitycam/config/driveway:/etc/opt/kerberosio/config
      - /volume2/securitycam/capture/driveway:/etc/opt/kerberosio/capture
      - /volume2/securitycam/logs/driveway:/etc/opt/kerberosio/logs
      - /volume2/securitycam/web/driveway:/var/www/web/config
  greenhouse:
    image: kerberos/kerberos
    container_name: greenhousecam
    ports:
      - 83:80
      - 8893:8889
    restart: always
    volumes:
      - /volume2/securitycam/config/greenhouse:/etc/opt/kerberosio/config
      - /volume2/securitycam/capture/greenhouse:/etc/opt/kerberosio/capture
      - /volume2/securitycam/logs/greenhouse:/etc/opt/kerberosio/logs
      - /volume2/securitycam/web/greenhouse:/var/www/web/config

```

---

<div class="post-metadata">

**Author:** ![Dennis\_Lee](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dennis_lee/32/156991_2.png) [@Dennis\_Lee](https://community.smartthings.com/u/Dennis_Lee)\
**Post date:** [May 2, 2022, 5:13pm UTC](https://community.smartthings.com/t/convert-rtsp-to-actiontiles-compatible-stream-mjpeg-html5/93436/23 "2022-05-02T17:13:49Z")

</div>

I have developed a solution that I am now using after getting very frustrated with TinyCam Pro and ActionTiles.

[https://bitbucket.org/technohead/rtspserver  
 ](https://bitbucket.org/technohead/rtspserver/src/master/)

This was developed and tested on a Raspberry Pi 3B and 400, written in Python and uses FFMpeg to capture a camera’s RTSP feed and convert that to MJPEG and then streams that to the client.

Dennis

[Previous page](https://community.smartthings.com/t/convert-rtsp-to-actiontiles-compatible-stream-mjpeg-html5/93436.md?page=1)
