Kodi Community Forum
Errors playing pbs rtmp - 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: Errors playing pbs rtmp (/showthread.php?tid=51144)



Errors playing pbs rtmp - stacked - 2009-05-16

I can't get pbs rtmp streams to work. Not sure what I'm doing wrong...

The base rtmp link is
base="rtmp://pbs.fcod.llnwd.net/a1863/o6/"

and the source file is
src="tp-live/PBS_CP_FRONTLINE/fline-2714-stream.mp4"

My script to play the stream is:
Code:
import xbmc, xbmcgui

playpath = "tp-live/PBS_CP_FRONTLINE/fline-2714-stream.mp4"
rtmp_url = "rtmp://pbs.fcod.llnwd.net/a1863/o6/"
item = xbmcgui.ListItem("PBS")
item.setProperty("PlayPath", playpath)
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_url, item)

debug: http://pastebin.com/m272466d1
btw, I'm using Rev 20365. And you can preview the stream here


- frosty - 2009-05-18

The relevant section of the log shows the server says that stream does not exist:
Code:
13:22:18 T:776 M:189222912   DEBUG: RTMP_LIB::CRTMP::SendPlay, invoking play 'tp-live/PBS_CP_FRONTLINE/fline-2714-stream.mp4'
...
13:22:19 T:776 M:188964864   DEBUG: START AMF Object Dump:
13:22:19 T:776 M:188964864   DEBUG: Property: <Name: level,  STRING: error>
13:22:19 T:776 M:188964864   DEBUG: Property: <Name: code,  STRING: NetStream.Play.StreamNotFound>
13:22:19 T:776 M:188964864   DEBUG: Property: <Name: description,  STRING: Failed to play tp-live/PBS_CP_FRONTLINE/fline-2714-stream.mp4; stream not found.>
13:22:19 T:776 M:188964864   DEBUG: Property: <Name: details,  STRING: tp-live/PBS_CP_FRONTLINE/fline-2714-stream.mp4>
13:22:19 T:776 M:188964864   DEBUG: Property: <Name: clientid,  STRING: moxowm+u>

Wireshark shows flash sends a playpath "mp4:tp-live/PBS_CP_FRONTLINE/fline-2714-stream" - try that. I can't right now, as the blasted build is broken with VS2003 so I don't have a working XBMC to hand.


- stacked - 2009-05-18

thanks, that works. Wink