tellytv / telly

An IPTV proxy
MIT License
769 stars 107 forks source link

RTSP : Error opening input: No such file or directory #297

Open jaeuwi74 opened 2 months ago

jaeuwi74 commented 2 months ago

telly release with the issue:

telly, version 1.1.0.8 (branch: dev, revision: 96424a4719f33de9c1b66d8d2186e0452e45a234) build user: root@7abd9a6a6502 build date: 20200704-05:23:36 go version: go1.12.17

Ubuntu 24.04.1 LTS" Linux amd64

Description of problem:

RTSP : Error opening input: No such file or directory when the stream is an rtsp stream with and witout ffmpeg

playlist.m3u :

EXTM3U

EXTINF:-1 tvg-logo="https://i.ibb.co/pQ7kLNY/tv5fbs.png" vg-name="France 2" group-title="(HD)",France 2

rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd

Log:

INFO[2024-09-10T21:35:45Z] Loading M3U from playlist.m3u DEBU[2024-09-10T21:35:45Z] These channels (1) passed the filter and successfully parsed: France 2 DEBU[2024-09-10T21:35:45Z] These channels (0) did NOT pass the filter: INFO[2024-09-10T21:35:45Z] Loaded 1 channels into the lineup from DEBU[2024-09-10T21:35:45Z] creating device xml DEBU[2024-09-10T21:35:45Z] creating webserver routes [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

[GIN-debug] GET /metrics --> github.com/tellytv/telly/internal/go-gin-prometheus.prometheusHandler.func1 (4 handlers) [GIN-debug] GET / --> main.deviceXML.func1 (4 handlers) [GIN-debug] GET /discover.json --> main.discovery.func1 (4 handlers) [GIN-debug] GET /lineup_status.json --> main.serve.func1 (4 handlers) [GIN-debug] POST /lineup.post --> main.serve.func2 (4 handlers) [GIN-debug] GET /device.xml --> main.deviceXML.func1 (4 handlers) [GIN-debug] GET /lineup.json --> main.serveLineup.func1 (4 handlers) [GIN-debug] GET /lineup.xml --> main.serveLineup.func1 (4 handlers) [GIN-debug] GET /auto/:channelID --> main.stream.func1 (4 handlers) [GIN-debug] GET /epg.xml --> main.xmlTV.func2 (4 handlers) [GIN-debug] GET /debug.json --> main.serve.func3 (4 handlers) DEBU[2024-09-10T21:35:45Z] Advertising telly as telly (12345678-AE2A-4E54-BBC9-33AF7D5D6A92) [GIN-debug] GET /manage/filepath --> github.com/gin-gonic/gin.(RouterGroup).createStaticHandler.func1 (4 handlers) [GIN-debug] HEAD /manage/filepath --> github.com/gin-gonic/gin.(RouterGroup).createStaticHandler.func1 (4 handlers) INFO[2024-09-10T21:35:45Z] telly is live and on the air! INFO[2024-09-10T21:35:45Z] Broadcasting from http://192.168.1.34:6077/ INFO[2024-09-10T21:35:45Z] EPG URL: http://192.168.1.34:6077/epg.xml INFO[2024-09-10T21:35:45Z] Lineup JSON: http://192.168.1.34:6077/lineup.json [GIN-debug] Listening and serving HTTP on 0.0.0.0:6077 INFO[2024-09-10T21:35:48Z] Serving channel number 1

DEBU[2024-09-10T21:35:48Z] Redirecting caller to

if i change only the rtsp to http stream in the playlist.m3u i can see the full url pass

Log:

INFO[2024-09-10T21:35:04Z] Loading M3U from playlist.m3u DEBU[2024-09-10T21:35:04Z] These channels (1) passed the filter and successfully parsed: France 2 DEBU[2024-09-10T21:35:04Z] These channels (0) did NOT pass the filter: INFO[2024-09-10T21:35:04Z] Loaded 1 channels into the lineup from DEBU[2024-09-10T21:35:04Z] creating device xml DEBU[2024-09-10T21:35:04Z] creating webserver routes [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

[GIN-debug] GET /metrics --> github.com/tellytv/telly/internal/go-gin-prometheus.prometheusHandler.func1 (4 handlers) [GIN-debug] GET / --> main.deviceXML.func1 (4 handlers) [GIN-debug] GET /discover.json --> main.discovery.func1 (4 handlers) [GIN-debug] GET /lineup_status.json --> main.serve.func1 (4 handlers) [GIN-debug] POST /lineup.post --> main.serve.func2 (4 handlers) [GIN-debug] GET /device.xml --> main.deviceXML.func1 (4 handlers) [GIN-debug] GET /lineup.json --> main.serveLineup.func1 (4 handlers) [GIN-debug] GET /lineup.xml --> main.serveLineup.func1 (4 handlers) [GIN-debug] GET /auto/:channelID --> main.stream.func1 (4 handlers) [GIN-debug] GET /epg.xml --> main.xmlTV.func2 (4 handlers) [GIN-debug] GET /debug.json --> main.serve.func3 (4 handlers) DEBU[2024-09-10T21:35:04Z] Advertising telly as telly (12345678-AE2A-4E54-BBC9-33AF7D5D6A92) [GIN-debug] GET /manage/filepath --> github.com/gin-gonic/gin.(RouterGroup).createStaticHandler.func1 (4 handlers) [GIN-debug] HEAD /manage/filepath --> github.com/gin-gonic/gin.(RouterGroup).createStaticHandler.func1 (4 handlers) INFO[2024-09-10T21:35:04Z] telly is live and on the air! INFO[2024-09-10T21:35:04Z] Broadcasting from http://192.168.1.34:6077/ INFO[2024-09-10T21:35:04Z] EPG URL: http://192.168.1.34:6077/epg.xml INFO[2024-09-10T21:35:04Z] Lineup JSON: http://192.168.1.34:6077/lineup.json [GIN-debug] Listening and serving HTTP on 0.0.0.0:6077 INFO[2024-09-10T21:35:10Z] Serving channel number 1

DEBU[2024-09-10T21:35:10Z] Redirecting caller to http://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd