m1k1o / go-transcode

On-demand transcoding origin server for live inputs and static files in Go using ffmpeg. Also with NVIDIA GPU hardware acceleration.
Apache License 2.0
208 stars 38 forks source link

Dreambox (Enigma2) as live Input #47

Closed c-o-m-m-a-n-d-e-r closed 1 year ago

c-o-m-m-a-n-d-e-r commented 1 year ago

Hi, are you interessted in building a Input Config for automatic load Channels from a Dreambox (or Enigma 2 based STB) ? Will be my first steps in go but i can try building it if you want.

Having here a Dreambox 920 with two FBC Tuner (1x Sat and 1x Cable).

Config can be look like:

enigma2:
  ip: x.x.x.x
  port: 8001
  bouquet: "Favorites TV"

and then its loading Channels for Live Streaming

c-o-m-m-a-n-d-e-r commented 1 year ago

added an PR https://github.com/m1k1o/go-transcode/pull/48

m1k1o commented 1 year ago

Thank you for your PR, I modified it following way. Replaced ip and port with webif-url and stream-url, where stream-url is optional. If it is not specified, it will use hostname from webif-url and port 8001.

With this approach you can have:

Simplest configuration (optionally with password):

enigma2:
  webif-url: http://192.168.1.10/
  bouquet: "Skylink Slovak Republic"

You could have your enigma2 exposed to the internet, using HTTPs and password protected:

enigma2:
  webif-url: https://user:pass@example.com/enigma2/
  stream-url: https://user:pass@example.com:5000
  bouquet: "Skylink Slovak Republic"