![]() |
Function to save rtmp stream to local flv? - 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: Function to save rtmp stream to local flv? (/showthread.php?tid=158563) |
Function to save rtmp stream to local flv? - verbal - 2013-03-07 Hi As part of an XBMC addon I am trying to write, I am looking to develop a function that saves a rtmp stream to a local flv file. If my understanding is correct, there is an rtmpdump packaged with XBMC which can be invoked by the xbmc.Player.play(). Is there a way to get it to save the output to a local file instead of sending it to the player? I tried passing in "flv" option to the player in addition to playpath/swfUrl/pageUrl but from the xbmc log, that is not a supported option. Is there a way to access the rtmpdump packaged with XBMC via python API? Thanks in advance RE: Function to save rtmp stream to local flv? - spiff - 2013-03-07 os.system(rtmpdump bla). the built in librtmp is not avail for file ops. RE: Function to save rtmp stream to local flv? - divingmule - 2013-03-07 You may want to check out simple downloader add-on -> http://wiki.xbmc.org/index.php?title=Add-on:Simple_Downloader_for_xbmc_plugins RE: Function to save rtmp stream to local flv? - pakee - 2013-03-07 Thanks! Appreciate the quick response. |