MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.

Video encoding ffmpeg and streaming hls



  • I created a 3rd party module called MMM-Ring. It is for MM owners who have a ring device that whenever the doorbell is activated the video is streamed to the mirror. This works on my end with no issues. However, I have at least one person stating they get either no video or the video is frozen almost as if its just a snapshot.

    I had them check to make sure the stream data is being saved (.m3u8 and .ts files) and it is. I’m thinking this is a latency related issue tied to internet connectivity. I thought by making the -preset option on ffmpeg to ultra fast perhaps we could reduce down the size of the files generated for stream, but it only showed minor improvement on the end users side.

    Hoping someone with more experience in streaming could potentially add some guidance/assistance.

    https://github.com/DustinBryant/MMM-Ring/issues/1

    Thanks in advance!