Muxes can't find services
Added by Frank Gerritsen Mulkes almost 3 years ago
Hi everybody,
i am kind of new to the community and run straight away into an issue.
i am using an m3u url as network in tvh. he finds 283 muxes but no services.
when I open the mux setting and check the url it is using and copy/paste that into vlc i wil get a completely fine video stream.
at first I thought tvh was using the wrong stream profile but that's not it.
now I'm stuck and don't know what to do.....
does anyone have a suggestion?
thanks
Replies (2)
RE: Muxes can't find services - Added by Hiro Protagonist almost 3 years ago
It's hard to say what the problem might be.
Possibly the mux is not delivering a transport stream as expected by TVH, or possibly the scan is simply timing out.
If the problem is timing out, edit the network and look for 'Maximum timeout (seconds):' - increase this value. Then on one of the muxes, change 'Scan status' from Idle to Active and save - see if a service can be found. If that works, you should be able to scan the other muxes, but you'll probably get better results doing a few at a time than all at once [some providers will limit the number of simultaneous connections you can open].
If the muxes are not delivering the correct video format, you can fix that by piping through ffmpeg. A search of the forum will find you a number of examples for how to do this.
You'll need to create a local .m3u8 file and add that as a network. The file will contain entries that look like this:
#EXTINF:0,Channel Name pipe:///usr/bin/ffmpeg -loglevel fatal -headers User-Agent:\ Chrome/51.0.2704.64\ Safari/537.36\r\n -i <URL> -map 0 -copy_unknown -c copy -metadata service_name=CN -f mpegts pipe:1
Make sure you have ffmpeg installed and change the path after pipe:// if it's somewhere other than /usr/bin/
Paste in the URL for a channel in place of <URL> and update 'Channel Name' and service_name accordingly. Try it out with a single channel 1st, and if that works, you can add others. Note that some providers require a User-Agent & some don't. Try chopping out the '-headers User-Agent:blah blah \r\n' & see if that works.
RE: Muxes can't find services - Added by Frank Gerritsen Mulkes almost 3 years ago
Thanks for your fast reply !
i have fixed the problem by piping through ffmpeg and using the file local.
your example entry did his work perfectly!
Big thanks !