![]() |
RTMP streaming problems - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: VideoPlayer InputStream (https://forum.kodi.tv/forumdisplay.php?fid=312) +---- Thread: RTMP streaming problems (/showthread.php?tid=149717) |
RTMP streaming problems - hadynz - 2012-12-27 Hey guys, I am having some trouble getting a RTMP stream to play through XBMC. The following rtmpdump command works flawlessly and will output a file that can be played using a player like VLC: Code: rtmpdump.exe -r "rtmp://www.teledunet.com:1935/teledunet" -a "teledunet" -s "http://www.teledunet.com/tv/player.swf?repeat=always&autostart=true&stretching_=none&id0=2690149505650&streamer=rtmp%3A//www.teledunet.com%3A1935/teledunet&file=afasi_tv&provider=rtmp&skin=bekle/bekle.xml" -y "afasi_tv" -o test.flv I convert the above command to a XBMC URL as follows: Code: rtmp://www.teledunet.com:1935/teledunet app=teledunet swfUrl=http://www.teledunet.com/tv/player.swf?repeat=always&autostart=true&stretching_=none&id0=2690149505650&streamer=rtmp%3A//www.teledunet.com%3A1935/teledunet&file=afasi_tv&provider=rtmp&skin=bekle/bekle.xml" playpath=afasi_tv The above URL is not working in XBMC. I get the following error: Code: 00:53:28 T:5200 NOTICE: DVDPlayer: Opening: rtmp://www.teledunet.com:1935/teledunet app=teledunet swfUrl=http://www.teledunet.com/tv/player.swf?repeat=always&autostart=true&stretching_=none&id0=2690149505650&streamer=rtmp://www.teledunet.com:1935/teledunet&file=afasi_tv&provider=rtmp&skin=bekle/bekle.xml playpath=afasi_tv flashVer=WIN 11,3,372,94 Appreciate any insight to what the problem could be. Cheers! RE: RTMP streaming problems - divingmule - 2012-12-27 NetStream.Play.StreamNotFound - usually this (for me) is incorrect playpath but if it's working in rtmpdump I'd try other things. You might try adding the 'Pageurl' and/or 'swfVfy' param to the XBMC URL. Also you might try the 'swfUrl' without any params. RE: RTMP streaming problems - hadynz - 2012-12-27 (2012-12-27, 14:55)divingmule Wrote: NetStream.Play.StreamNotFound - usually this (for me) is incorrect playpath but if it's working in rtmpdump I'd try other things.Thanks for your reply divingmule. No luck with any of the combination that you have mentioned. 1. Replaced swfUrl with swfVfy. Got the following error instead: Code: 02:15:59 T:8504 ERROR: rtmp server sent error 2. Added 'Pageurl' (http://www.teledunet.com/tv/?stretching=none&file=rtmp://www.teledunet.com:1935/teledunet/afasi_tv) made no difference. Still getting the error 'NetStream.Play.StreamNotFound'. Adding/Removing the Pageurl parameter in the above rtmpdump.exe command made no difference, hence why I left it out. RE: RTMP streaming problems - Eldorado - 2012-12-27 Don't replace swfurl with swfVfy... just add it to the list of parms swfVfy = true RE: RTMP streaming problems - hadynz - 2012-12-28 Thanks for your help and ideas guys. Eldorado... still no luck. I now tried adding swfVfy parameter above. I got the same 'NetStream.Play.StreamNotFound' error and another new one 'dll_fgets emulated function failed' Code: 12:41:16 T:1832 ERROR: dll_fgets emulated function failed Also interesting to note, in the swfUrl is an 'id0' parameter. This parameter seems to have an expiry on it. I had to do another rtmp sniff using Wireshark to get a new value for it. Another hurdle waiting for me to solve after getting the stream working in XBMC. RE: RTMP streaming problems - hadynz - 2012-12-28 OK... updating on some good fortune progress! Adding the following two parameters: swfVfy=true AND live=true Seemed to do the trick! The stream worked in XBMC... however only for 4 seconds. It seems that a clip of 4 seconds is always downloaded to XBMC and played because the XBMC player shows a length of 4 seconds for the clip. Any ideas on why this behaviour is taking place would be appreciated! RE: RTMP streaming problems - avigdork - 2013-02-21 Thanks, solved my problem with rtmp and mp4. |