Project

General

Profile

cannot retrive service from IPTV mux

Added by andrea boh over 8 years ago

Hello, i have problem retriving the service from an IPTV stream, all other stream works fine, seems that i need a bit more time for the scanning (also in VLC this stream need a bit for open and starts playing).
How can i add this delay in the scanning?

Here my iptv.sh script that i recall in the pipe:

#!/bin/bash

name=$1
url=`echo $2 | cut -d'|' -f1`
forward=`echo $2 | cut -d'|' -f2`
forward=${forward/=/:}

/usr/bin/ffmpeg -loglevel fatal -re -headers $forward$'\r\n' -i $url -vcodec copy -acodec copy -metadata service_provider=IPTV -metadata service_name=$name -f mpegts pipe:1

and here what i insert in the mux:

pipe:///home/hts/.hts/tvheadend/iptv.sh CHAN_NAME http://CHAN_IP.m3u8

thanks in advance who can help, cheers.