Segers,Jan J.K.T. wrote:
thanks! i just re-read the instructions on your website but i still dont get how to use the EXT format... whats the content of the iptvstream.sh? something like "vlc -vvv mms://livemedia.omroep.nl/vprohollanddoc-bb" ?
Our README says that "The external script is responsible for supplying IPTV plugin with MPEG2 TS data in UDP/RTP format to the listening port."
So the external script must use VLC to:
1) Receive the stream
2) Transcode it to format understood by vdr (for example mpeg2 ts)
3) Feed the data to the port which iptv plugin is listening
To achieve these tasks you could use for example this script:
#!/bin/sh
exec vlc "mms://livemedia.omroep.nl/vprohollanddoc-bb" --sout "#transcode{vcodec=mp2v,acodec=mpga,vb=2400,ab=320}:standard{access=udp,mux=ts{pid-video=1,pid-audio=2,pid-spu=3},dst=127.0.0.1:4321}" --intf dummy
Store it to iptv plugin configuration directory with name vlcstream.sh and give it execute permissions.
Here's the corresponding channels.conf entry: VLC-channel;IPTV:1:IPTV|EXT|vlcstream.sh|1:P:0:1:2:0:0:1:0:0:0
Hope this helps. =) If you need further assistance, please contact me privately.