App for testing RTMP URLs - good for (Flash) plugin development
#1
Thumbs Up 
I found an interesting java applet to save RTMP streams. i thought it might be useful for people testing. I am going to email the guy and see if he can add swfurl and pageurl options to the application.

http://www.smaxe.com/juvapplet1.jsf
Reply
#2
Thanks for the info!! Smile
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply
#3
I'm trying to figure out the correct way to play this rtmp stream on xbmc or any other player. While playing a rtmp stream from justin.tv, I found this xml file in the headers...

Code:
<nodes>
    <node>
        <play>[b]akamai3_100@6692[/b]</play>
        <name>live_user_rudyslv19</name>
        <node_name>dev2_proxy_r1938</node_name>
        <connect>[b]rtmp://live-cdn.justin.tv:1935/live[/b]</connect>
        <type>location</type>
        <location>live-cdn.justin.tv:1935</location>
    </node>
</nodes>

can I do anything with this?

I also found a website that had some php code to play this:
Code:
http://www.channelsurfing.net/watch-sports.php?w=[b]akamai3_100@6692[/b]&i=[b]rtmp://live-cdn.justin.tv:1935/live[/b]
Reply
#4
ok you have all the info to be able to play the media.

in python you need to set the playpath for an item like this
playpath = "akamai3_100@6692"
rtmp_url = "rtmp://live-cdn.justin.tv:1935/live"
item.setProperty("PlayPath", playpath)
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_url, item)

it seems it is streaming from justin.tv i thought i saw a plugin for this but seem to be missing it now. you might want to look around

this site is interesting though
http://www.channelsurfing.net/watch-spor...:1935/live

so w= playpath and i= tcurl

so you can modify that url to play most rtmp streams using their flash player. unless it checks the swfurl or pageurl when connecting to the rtmp server

example:
http://www.channelsurfing.net/watch-spor...dgefcs.net
Reply
#5
Question 
Is this open source (C++/GPL) "RTMPDump" tool/library/code something that could be used by XBMC and/or python scripters?

http://sourceforge.net/projects/rtmpdump
Quote:RTMPDump

A small dumper for media content streamed over the RTMP protocol. Supplying an rtmp url will result in a dumped flv file, which can be played/transcoded using ffmpeg/mplayer, etc. Download scripts for BBC's iPlayer and hulu.com streams are included.
Download => https://sourceforge.net/project/showfile..._id=303903

Huh
Reply
#6
Awesome thanks for the info Gamester17

I have been looking for something like this for a while.
Reply
#7
Gamester17 Wrote:Is this open source (C++/GPL) "RTMPDump" tool/library/code something that could be used by XBMC and/or python scripters?

http://sourceforge.net/projects/rtmpdumpDownload => https://sourceforge.net/project/showfile..._id=303903

Huh
RTMPDump uses the sources of XBMC Laugh

sfaxman
Reply
#8
sfaxman Wrote:RTMPDump uses the sources of XBMC :laugh
Really? I see no note crediting XBMC nor Boxee for the source code? Oo
Nor does it seem to include a GPL license file as required by the GPL No
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#9
well, all the code headers are in place atleast.

i sent him a mail and asked him to include a COPYING file as well as give some credits in the readme..
Reply
#10
BlueCop Wrote:ok you have all the info to be able to play the media.

in python you need to set the playpath for an item like this
playpath = "akamai3_100@6692"
rtmp_url = "rtmp://live-cdn.justin.tv:1935/live"
item.setProperty("PlayPath", playpath)
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_url, item)

it seems it is streaming from justin.tv i thought i saw a plugin for this but seem to be missing it now. you might want to look around

this site is interesting though
http://www.channelsurfing.net/watch-spor...:1935/live

so w= playpath and i= tcurl

so you can modify that url to play most rtmp streams using their flash player. unless it checks the swfurl or pageurl when connecting to the rtmp server

example:
http://www.channelsurfing.net/watch-spor...dgefcs.net

can u give us an example of the script?
i can't make it work
thank you
Reply
#11
acun Wrote:can u give us an example of the script?
i can't make it work
thank you

Read this:
http://trac.xbmc.org/ticket/5659
Reply
#12
@BlueCop, were you ever able to get rtmpdump working?
I keep getting perl errors.
First it was that I didn't have simple.pm, so I googled that and stuck it where perl is installed, then I get this :

Code:
rwparris2@rwparris2:~/rtmpdump$ ./get_hulu http://www.hulu.com/watch/48466/30-rock-christmas-special 1
Found CID: 12677984
Can't locate object method "new" via package "XML::Simple" (perhaps you forgot to load "XML::Simple"?) at ./get_hulu line 70.
Gamester17 Wrote:Really? I see no note crediting XBMC nor Boxee for the source code? Oo
Nor does it seem to include a GPL license file as required by the GPL No

It credits boxee in the readme
Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
Reply
#13
after me requesting it as i said further up. COPYING is also in place
Reply
#14
rwparris,

Try adding perl modules like so:

Code:
sudo perl -MCPAN -e shell

once the shell does its autosetup stuff you'll be given a command prompt.

for XML::Simple, you do:

Code:
install XML::Simple

it'll download, compile, install for you... then exit shell and try again.. if it fails, it'll likely be something else... you just keep on until you meet the dependencies. Worked for me Smile
Reply
#15
mr.b Wrote:rwparris,

Try adding perl modules like so:

Code:
sudo perl -MCPAN -e shell
once the shell does its autosetup stuff you'll be given a command prompt.

for XML::Simple, you do:

Code:
install XML::Simple
it'll download, compile, install for you... then exit shell and try again.. if it fails, it'll likely be something else... you just keep on until you meet the dependencies. Worked for me Smile

I got it earlier w/ help from BlueCop, thank you.
Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
Reply

Logout Mark Read Team Forum Stats Members Help
App for testing RTMP URLs - good for (Flash) plugin development0