duncanthrax / iptv-m3u-restream

Proxies and optionally transcodes IPTV providers that supply an M3U playlist file
GNU General Public License v3.0
40 stars 23 forks source link

Having trouble viewing the resulting m3u stream. #7

Open Nostradamus1973 opened 1 year ago

Nostradamus1973 commented 1 year ago

Good morning,

I've been trying to get this script working with my setup for a few days now and now I'm hoping that I can get some help. I'm going to give you a brief summary of what I'm trying to accomplish. I'm running a Kubuntu VM within Linux Mint, I have the NIC bridged so it has it's very own fixed ip address, the Kubuntu VM is where I'm trying to run your script. My intent is to connect that Kubuntu VM to an Italian VPN(already accomplished) and freely view the Italian channels, which mainly consist of Rai channels. I have all that in working order. However that's where things go sideways.

I need your script to load m3u's from Italy(sourced here) forward the m3u from the Kubuntu VM to my Jellyfin server on my LAN, both PC and VM are on the same LAN, then view the channels through Jellyfin. I am able to load your script and it identifies 60 channels, however, when I go to the m3u, the links are there, but, not working. I was wondering if it could be the stream type.

Would you know where I can find the definitions for the streams types?

Also, is there a way to turn off transcoding all together and allow the stream to pass-through?

I know this project hasn't had much activity, so, any help will be greatly appreciated.

Thank you and have a nice day.

duncanthrax commented 1 year ago

Hi, there are two main stream types, "ts" and "hls". My script only supports ts. Most providers use ts by default, and you can switch to hls as an option. Usually there is a marker in your provider m3u link that specifies the output (stream) type, for example "&output=ts".

On transcoding: The default config specifies the "default" profile transcoder settings as

"transcoder"     : "/bin/cat",
"transcoderOpts" : [
  "-"
]

which results in simple passthrough.

Nostradamus1973 commented 1 year ago

Good morning,

Thx for getting back to me, sorry for the late response, I'll watch your git so I don't miss any future messages. Adding "&output=ts" to the m3u makes things worse, I believe those streams are already in ts format. When I add &output=ts it finds Zero channels, removing it and using the standard m3u: https://github.com/Tundrak/IPTV-Italia/raw/main/iptvitaplus.m3u doesn't work either, but your script finds 60 channels. I have spent days(not hours) trying to get this to work. Is there something else that can be done? I should add, I DO get an m3u generated by your script, however, none of the links play. Is there something else that can be done? Would you be able to test that m3u I provided?

Thx again