Hello,
I'm trying to put up a rtmp:// channel on TvH.
I've been using MythTV and Kodi for a number of years but now, for several reasons, I decided to build a Rpi samba file server with TvHeadend, with a couple other Rpi's as frontends with Kodi.
It's working with several IPTV muxes, the simple http:// kind but I can't set up rtmp:// ones. For instance, the following works directly with Kodi, either with IPTV Simple Client or PlayList Loader:
#EXTM3U
#EXTINF:-1 tvg-id="rtp1.pt"
rtmp://rtppullswflivefs.fplive.net/rtppullswflive-live playpath=2ch5h264 swfUrl=http://programas.rtp.pt/play/player.swf?v3 pageUrl=http://www.rtp.pt/play/direto/rtp1?mag swfVfy=1 live=1 timeout=15
So, the best I could do is to successfully record a file with CLI:
$ rtmpdump -r "rtmp://rtppullswflivefs.fplive.net/rtppullswflive-live" -y "2ch5h264" -W "http://programas.rtp.pt/play/player.swf" -p "http://www.rtp.pt/play/direto/rtp1" --live --timeout 15 -o test.flv
Then I tried to transpose the following to the mux url:
pipe:///usr/bin/rtmpdump -r "rtmp://rtppullswflivefs.fplive.net/rtppullswflive-live" -y "2ch5h264" -W "http://programas.rtp.pt/play/player.swf" -p "http://www.rtp.pt/play/direto/rtp1" --live --timeout 15
But it doesn't work after many hours of fiddling with parameters and url's.
Can somebody help, please?
Thks,
jss