Uncategorized

I made a Live TV Channel on Jellyfin to live stream my doorbell camera

How I Created a Live TV Channel on Jellyfin to Stream My Doorbell Camera

A Simple yet Janky Solution for Remote Monitoring

I recently found myself in need of a way to view the live footage from my Reolink doorbell camera on any TV in my house. With all my TVs having Jellyfin installed via Fire Sticks, I thought, why not use it to stream my doorbell camera? It seemed like a simple solution, but it turned out to be a bit more complicated than I expected.

I started by enabling RTSP streams on my Reolink doorbell camera. This was relatively easy, and I was able to do it by accessing the camera’s settings via its IP address or using the Reolink app. Next, I set up Restreamer, a tool that allows you to re-stream video content from one source to another. I followed the instructions on the Restreamer website and had it up and running in no time.

Within Restreamer, I was able to select my doorbell camera as the video source and input the RTSP URL. The URL for my Reolink doorbell camera is in the format rtsp://username:password@IPHERE/Preview_01_main. Restreamer was able to find the live camera feed and re-stream it. By default, it converts the feed to an HLS stream, which is perfect because Jellyfin can handle HLS streams.

However, Jellyfin’s live TV feature only supports m3u formats, so I had to create an m3u file from the HLS stream. I did this by creating a file with the following format:

#EXTM3U
#EXTINF:-1,Channel Name Here
http://restreamerlocalip:port/blahblahblah.m3u8

I replaced the URL with the one I got from Restreamer and saved the file to a location where Jellyfin could access it. Then, I imported the m3u file into Jellyfin under the Tuner settings, and voilà! I could now view my doorbell camera’s live feed on any TV in my house.

The Good and the Bad

While I was excited to have found a solution, I soon realized that there were some significant drawbacks. The biggest issue is the latency, which is around 12-30 seconds. This makes it almost unusable for real-time monitoring, such as checking who’s at the door. However, it’s still useful for passive monitoring, like keeping an eye on the camera feed on a side monitor at work.

I’m currently working on setting up Frigate, which should provide a better solution for remote streaming. But for now, this janky solution will have to do. If you’re looking for a way to stream your doorbell camera to your TV, this might be a good option for you. Just be aware of the latency issues and plan accordingly.

Conclusion

In conclusion, creating a live TV channel on Jellyfin to stream my doorbell camera was a fun project, but it’s not without its limitations. While it’s not perfect, it’s still a useful solution for passive monitoring. If you’re interested in trying it out, I hope this guide has been helpful. And if you have any tips or suggestions for improving the latency, please let me know!

Jak Stworzyłem Kanał Telewizji Na Żywo na Jellyfin do Transmisji Kamery Przydrzwiowej

Prosta, Lekko Złożona Rozwiązanie do Monitorowania Na Odległość

Niedawno potrzebowałem sposobu, aby wyświetlić transmisję na żywo z mojej kamery przydrzwiowej Reolink na dowolnym telewizorze w domu. Ponieważ wszystkie moje telewizory mają zainstalowany Jellyfin za pośrednictwem Fire Sticks, pomyślałem, dlaczego nie użyć go do transmisji kamery przydrzwiowej? Wydawało się to proste rozwiązanie, ale okazało się, że jest nieco bardziej skomplikowane, niż oczekiwałem.

Zacząłem od włączenia strumieni RTSP na mojej kamerze przydrzwiowej Reolink. Było to dość proste i mogłem to zrobić, dostając się do ustawień kamery za pośrednictwem jej adresu IP lub używając aplikacji Reolink. Następnie, skonfigurowałem Restreamer, narzędzie, które pozwala na ponowną transmisję zawartości wideo z jednego źródła do innego. Postępowałem zgodnie z instrukcjami na stronie Restreamer i miałem wszystko działające w krótkim czasie.

Wewnątrz Restreamer, mogłem wybrać moją kamerę przydrzwiową jako źródło wideo i wprowadzić adres URL RTSP. Adres URL dla mojej kamery przydrzwiowej Reolink jest w formacie rtsp://username:password@IPHERE/Preview_01_main. Restreamer był w stanie znaleźć transmisję na żywo z kamery i ją przekazać dalej. Domyślnie, konwertuje ją do strumienia HLS, co jest idealne, ponieważ Jellyfin może obsługiwać strumienie HLS.

Jednak funkcja telewizji na żywo Jellyfin obsługuje tylko formaty m3u, więc musiałem utworzyć plik m3u z strumienia HLS. Zrobiłem to, tworząc plik o następującej strukturze:

#EXTM3U
#EXTINF:-1,Channel Name Here
http://restreamerlocalip:port/blahblahblah.m3u8

Zamieniłem adres URL na ten, który otrzymałem z Restreamer i zapisałem plik w miejscu, gdzie Jellyfin mógł go znaleźć. Następnie, zaimportowałem plik m3u do Jellyfin w ustawieniach Tuner, i voilà! Mogłem teraz wyświetlić transmisję na żywo z kamery przydrzwiowej na dowolnym telewizorze w domu.

Dobrze i Źle

Chociaż byłem podekscytowany, że znalazłem rozwiązanie, wkrótce zorientowałem się, że są pewne znaczące wady. Największym problemem jest opóźnienie, które wynosi około 12-30 sekund. To sprawia, że jest to prawie niezdatne do monitorowania w czasie rzeczywistym, takiego jak sprawdzanie, kto jest przy drzwiach. Jednak nadal jest to przydatne do biernego monitorowania, jak na przykład obserwowanie transmisji z kamery na bocznym monitorze w pracy.

Obecnie pracuję nad konfiguracją Frigate, która powinna zapewnić lepsze rozwiązanie dla transmisji na odległość. Ale na razie to rozwiązanie będzie musiało wystarczyć. Jeśli szukasz sposobu, aby transmitować kamerę przydrzwiową na swój telewizor, to może to być dla ciebie dobre rozwiązanie. Tylko uważaj na problemy z opóźnieniem i planuj odpowiednio.

Podsumowanie

Podsumowując, tworzenie kanału telewizji na żywo na Jellyfin do transmisji kamery przydrzwiowej było fajnym projektem, ale nie jest to rozwiązanie idealne. Chociaż nie jest to perfekcyjne, nadal jest to przydatne rozwiązanie do biernego monitorowania. Jeśli jesteś zainteresowany wypróbowaniem, mam nadzieję, że ten przewodnik był pomocny. A jeśli masz jakieś wskazówki lub sugestie, jak poprawić opóźnienie, proszę, daj mi znać!

Leave a Reply

Your email address will not be published. Required fields are marked *

WordPress Appliance - Powered by TurnKey Linux