sunsettrack4 / telerising-api

API web application providing Zattoo TV streams
78 stars 7 forks source link

bad url for TVHEADEND #45

Closed Voosjey closed 2 months ago

Voosjey commented 2 months ago

OK I found an error, if you turn on HLS7 with ffmpeg, there is this MUX on TVHEADEND:

pipe://ffmpeg -loglevel fatal -re -i "http://IP-Adresse:5000/api/1u1/live/nrwision" -ignore_unknown -map 0:0 -map 0:1 -map 0:2? -map 0:3? -map 0:4? -c:a:0 copy -c:a:1 copy -c:v copy -c:s copy -f mpegts -metadata service_name="NRWision HD" pipe:1

this does not work then. if I simply enter a .m3u8 at the URL then it runs.

pipe://ffmpeg -loglevel fatal -re -i "http://IP-Adresse:5000/api/1u1/live/nrwision.m3u8" -ignore_unknown -map 0:0 -map 0:1 -map 0:2? -map 0:3? -map 0:4? -c:a:0 copy -c:a:1 copy -c:v copy -c:s copy -f mpegts -metadata service_name="NRWision HD" pipe:1

so it's the telerising, it doesn't generate the URL correctly. How could I do this quickly, without manually adding all URLs, so that everything works again?

sunsettrack4 commented 2 months ago

You need to enable the option mentioned below.

IMG_20240913_114612