Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

New here, requesting some noobie help

(http://stream-recorder.com/forum/showthread.php?t=19164)

lhw455 12-24-2014 03:30 PM

New here, requesting some noobie help


 
Hi there, and merry Christmas eve!

I have a small problem/question I'd like to ask. I wanted to play the stream in XBMC from here (http://cdn.divertiendo.me/rcn3.php?width=500&height=350)

Using RTMP Dumphelper, I identified the following:

Code:

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
      app : live
  flashVer : WIN 16,0,0,235
    swfUrl : http://www.janjuaplayer.com/resources/scripts/eplayer.swf
    tcUrl : rtmp://46.28.53.160/live
  pageUrl : http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380
      live : yes
  Playpath : rknalhdcol?id=26000
 Saving as : rknalhdcol
INFO: Metadata:
INFO:  duration              0.00
INFO:  fileSize              0.00
INFO:  width                640.00
INFO:  height                360.00
INFO:  videocodecid          avc1
INFO:  videodatarate        300.00
INFO:  framerate            30.00
INFO:  audiocodecid          mp4a
INFO:  audiodatarate        48.00
INFO:  audiosamplerate      44100.00
INFO:  audiosamplesize      16.00
INFO:  audiochannels        2.00
INFO:  stereo                TRUE
INFO:  encoder              Open Broadcaster Software v0.638b
WARNING: ignoring too small audio packet: size: 0

Which as far as I can work out, should translate to the following:

Code:

rtmp://46.28.53.160/live playpath=rknalhdcol?id=26000 swfUrl=http://www.janjuaplayer.com/resources/scripts/eplayer.swf conn=S:OK live=true pageUrl=http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380
What I wanted to know was as follows:
1) How do I test this to make sure it's working
2) How do I then use this in XBMC (maybe a question for the XBMC forums, but I saw a few posts regarding this so I thought I'd ask

Thanks in advance!

lhw455 12-24-2014 03:47 PM

Re: New here, requesting some noobie help


 
Getting somewhere I think, trying to test it using the following:

Code:

rtmpdump.exe -r "rtmp://46.28.53.160/live" -f "WIN 16,0,0,235" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380" --playpath "rknalhdcol?id=26000" --live
But I'm getting an error, what steps do I need to take to troubleshoot?

lhw455 12-24-2014 03:58 PM

Re: New here, requesting some noobie help


 
Getting closer I think...

Code:

rtmpdump.exe -r "rtmp://46.28.53.160/live" -f "WIN 16,0,0,235" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380" --playpath "rknalhdcol?id=26000" -C S:OK --live | C:\Users\James\Desktop\Apps\VLCPortable\VLCportable.exe
It's saying connected, but VLC gives an error.

hasomaso 12-24-2014 04:37 PM

Re: New here, requesting some noobie help


 
u need the -K option

Code:

K "soLagaDaSeStoriAga"
Code:

rtmpdump -v -r "rtmp://91.109.247.174/live" -a "live" -f "WIN 16,0,0,235" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380" -C S:OK -y "rknalhdcol?id=26000" -K "soLagaDaSeStoriAga" -| C:\Users\James\Desktop\Apps\VLCPortable\VLCportable.exe
Code:

RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  duration                0.00
INFO:  fileSize                0.00
INFO:  width                  640.00
INFO:  height                  360.00
INFO:  videocodecid            avc1
INFO:  videodatarate          300.00
INFO:  framerate              30.00
INFO:  audiocodecid            mp4a
INFO:  audiodatarate          48.00
INFO:  audiosamplerate        44100.00
INFO:  audiosamplesize        16.00
INFO:  audiochannels          2.00
INFO:  stereo                  TRUE
INFO:  encoder                Open Broadcaster Software v0.638b
3761.573 kB / 84.52 sec



and that u can use under XBMC with LSP

Code:

<item>
 <title>Canal RCN En Vivo</title>
 <link>rtmp://91.109.247.174/live app=live playpath=rknalhdcol?id=26000 swfUrl=http://www.janjuaplayer.com/resources/scripts/eplayer.swf pageUrl=http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380 conn=S:OK tcommand=soLagaDaSeStoriAga swfVfy=true live=true timeout=15</link>
 <thumbnail></thumbnail>
 </item>


al101 12-24-2014 06:02 PM

Re: New here, requesting some noobie help


 
I think it should be.
ccommand=soLagaDaSeStoriAga

Code:

rtmp://91.109.247.176/live/ playPath=rknalhdcol?id=26000 swfVfy=1 timeout=15 ccommand=soLagaDaSeStoriAga conn=S:OK live=true swfUrl=http://www.janjuaplayer.com/resources/scripts/eplayer.swf pageUrl=http://www.janjuaplayer.com
00:56:34 T:7248 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
00:56:34 T:6480  NOTICE: Thread CDVDPlayer start, auto delete: false
00:56:34 T:6480  NOTICE: Creating InputStream
00:56:34 T:6480  NOTICE: Creating Demuxer
00:56:34 T:6480  NOTICE: Metadata:
00:56:34 T:6480  NOTICE:  duration                0.00
00:56:34 T:6480  NOTICE:  fileSize                0.00
00:56:34 T:6480  NOTICE:  width                  640.00
00:56:34 T:6480  NOTICE:  height                  360.00
00:56:34 T:6480  NOTICE:  videocodecid            avc1
00:56:34 T:6480  NOTICE:  videodatarate          300.00
00:56:34 T:6480  NOTICE:  framerate              30.00
00:56:34 T:6480  NOTICE:  audiocodecid            mp4a
00:56:34 T:6480  NOTICE:  audiodatarate          48.00
00:56:34 T:6480  NOTICE:  audiosamplerate        44100.00
00:56:34 T:6480  NOTICE:  audiosamplesize        16.00
00:56:34 T:6480  NOTICE:  audiochannels          2.00
00:56:34 T:6480  NOTICE:  stereo                  TRUE
00:56:34 T:6480  NOTICE:  encoder                Open Broadcaster Software v0.638b
00:56:34 T:6480  NOTICE: Opening video stream: 0 source: 256
00:56:34 T:6480  NOTICE: Creating video codec with codec id: 28
00:56:34 T:6480  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
00:56:34 T:6480  NOTICE: Creating video thread


hasomaso 12-24-2014 06:10 PM

Re: New here, requesting some noobie help


 
Quote:

Originally Posted by al101 (Post 72837)
I think it should be.
ccommand=soLagaDaSeStoriAga

Code:

rtmp://91.109.247.176/live/ playPath=rknalhdcol?id=26000 swfVfy=1 timeout=15 ccommand=soLagaDaSeStoriAga conn=S:OK live=true swfUrl=http://www.janjuaplayer.com/resources/scripts/eplayer.swf pageUrl=http://www.janjuaplayer.com
00:56:34 T:7248 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
00:56:34 T:6480  NOTICE: Thread CDVDPlayer start, auto delete: false
00:56:34 T:6480  NOTICE: Creating InputStream
00:56:34 T:6480  NOTICE: Creating Demuxer
00:56:34 T:6480  NOTICE: Metadata:
00:56:34 T:6480  NOTICE:  duration                0.00
00:56:34 T:6480  NOTICE:  fileSize                0.00
00:56:34 T:6480  NOTICE:  width                  640.00
00:56:34 T:6480  NOTICE:  height                  360.00
00:56:34 T:6480  NOTICE:  videocodecid            avc1
00:56:34 T:6480  NOTICE:  videodatarate          300.00
00:56:34 T:6480  NOTICE:  framerate              30.00
00:56:34 T:6480  NOTICE:  audiocodecid            mp4a
00:56:34 T:6480  NOTICE:  audiodatarate          48.00
00:56:34 T:6480  NOTICE:  audiosamplerate        44100.00
00:56:34 T:6480  NOTICE:  audiosamplesize        16.00
00:56:34 T:6480  NOTICE:  audiochannels          2.00
00:56:34 T:6480  NOTICE:  stereo                  TRUE
00:56:34 T:6480  NOTICE:  encoder                Open Broadcaster Software v0.638b
00:56:34 T:6480  NOTICE: Opening video stream: 0 source: 256
00:56:34 T:6480  NOTICE: Creating video codec with codec id: 28
00:56:34 T:6480  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
00:56:34 T:6480  NOTICE: Creating video thread






depending on librtmp.dll

al101 12-24-2014 06:31 PM

Re: New here, requesting some noobie help


 
Oh I see, I have KSV one.
Thanks

lhw455 12-25-2014 02:05 AM

Re: New here, requesting some noobie help


 
Thanks folks, and merry christmas!

I have the KSV version (although I think the XBMC version may be different)

Code:

RTMPDump v2.4 GIT-2012-12-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playp
ath") containing a hostname

Using the command:
Code:

rtmpdump -v -r "rtmp://46.28.53.160/live" -a "live" -f "WIN 16,0,0,235" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380" -C S:OK -y "rknalhdcol?id=26000" -K "soLagaDaSeStoriAga" -| C:\Users\James\Desktop\Apps\VLCPortable\VLCportable.exe
Gives me an invalid option command, which therefore appears to correlate with the fact that I have the KSV version (why the different IP BTW?)

So, using the suggested change by al101, I tried
Code:

rtmpdump -v -r "rtmp://91.109.247.174/live" -a "live" -f "WIN 16,0,0,235" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380" -C S:OK -y "rknalhdcol?id=26000" ccommand=soLagaDaSeStoriAga -| C:\Users\James\Desktop\Apps\VLCPortable\VLCportable.exe
It appears to work (connected) and VLC opens, but nothing happens. I've also tried with my original IP
Code:

rtmpdump -v -r "rtmp://46.28.53.160/live" -a "live" -f "WIN 16,0,0,235" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380" -C S:OK -y "rknalhdcol?id=26000" ccommand=soLagaDaSeStoriAga -| C:\Users\James\Desktop\Apps\VLCPortable\VLCportable.exe
But that does the same, connected and then VLC does nothing.

I've also tried

Code:

rtmpdump -v -r "rtmp://46.28.53.160/live" -a "live" -f "WIN 16,0,0,235" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380" -C S:OK -y "rknalhdcol?id=26000" ccommand=soLagaDaSeStoriAga --quiet | "C:\Users\James\Desktop\Apps\VLCPortable\VLCportable.exe" -
and

Code:

rtmpdump -v -r "rtmp://91.109.247.174/live" -a "live" -f "WIN 16,0,0,235" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/rknalhdcol/3/500/380" -C S:OK -y "rknalhdcol?id=26000" ccommand=soLagaDaSeStoriAga --quiet | "C:\Users\James\Desktop\Apps\VLCPortable\VLCportable.exe" -
And get

Code:

VLC is unable to open the MRL 'fd://0'. Check the log for details.
Also, what does the ccomand/-k option do, and how do I find the value "soLagaDaSeStoriAga"? Also, if I got the IP wrong, what do I need to do in the future to make sure I get the right one?

**edit** just to make sure, I have also installed VLC (as opposed to a portable version) changed the paths in the above commands, also no go, although now VLC appears to be doing *something* (its says fd://0 at the title bar)

Thanks

biezom 12-25-2014 07:50 AM

Re: New here, requesting some noobie help


 
you use an old KSV version

Code:

RTMPDump v2.4 GIT-2012-12-09 (Compiled by KSV)
this version doesn't accept -K option

Hasomaso uses a newer version

Code:

RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV)

al101 12-25-2014 10:18 AM

Re: New here, requesting some noobie help


 
librtmp.dll in XBMC is very old, it can be updated by replacing old one with new one here (Program Files\XBMC\system\players\dvdplayer).

IP address for this link is dynamic so ever time you connect to server you'll get a different IP.

Here is the solution that will work in XBMC with LiveStreams addon and latest librtmp.dll from KSV.
Code:

http://forums.tvaddons.ag/threads/24190-Release-LiveStreamsPro
Code:

<item>
<title>rknalhd</title>
<link>rtmp://$doregex[ip]/live playPath=rknalhdcol?id=26000 swfVfy=1 timeout=15 ccommand=soLagaDaSeStoriAga conn=S:OK live=true swfUrl=http://www.janjuaplayer.com/resources/scripts/eplayer.swf pageUrl=http://www.janjuaplayer.com</link>
<regex>
<name>ip</name>
<expres>redirect=(.+)<expres>
<page>http://www.janjuapublisher.com:1935/loadbalancer</page>
</regex>
</item>


lhw455 12-25-2014 10:51 AM

Re: New here, requesting some noobie help


 
Thank you! I had updated librtmpdll in the interim, but was struggling to get the XML working in LSP in XBMC, however al101's XML worked perfectly.

Could someone educate me as to what the significance of "soLagaDaSeStoriAga" is and where it is found so that I may troubleshoot this myself in the future (and maybe even help others!)

Thanks

denobis 12-26-2014 01:26 AM

Re: New here, requesting some noobie help


 
Run getsendcommand.exe http://www.janjuaplayer.com/resource...ts/eplayer.swf

with

http://www.mediafire.com/download/f6...endcommand.exe

lhw455 12-26-2014 05:43 AM

Re: New here, requesting some noobie help


 
Quote:

Originally Posted by denobis (Post 72853)

Thanks!

hasomaso 12-26-2014 06:05 AM

Re: New here, requesting some noobie help


 
@lhw455

example

Code:

getsendcommand http://www.janjuaplayer.com/resources/scripts/eplayer.swf

nullacht 12-26-2014 07:01 AM

Re: New here, requesting some noobie help


 
Code:

rtmpsuck -z
Code:

DEBUG: ServePacket, client sent packet type 11, size 32 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:          no-name., STRING:    soLagaDaSeStoriAga>
DEBUG: Property: <Name:          no-name., NUMBER:    2.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: ServeInvoke, client invoking <soLagaDaSeStoriAga>


hasomaso 12-26-2014 07:13 AM

Re: New here, requesting some noobie help


 
swf url download with wget local, and decompressed with flasm

Code:

flasm -x http://www.janjuaplayer.com/resources/scripts/eplayer.swf

lhw455 12-26-2014 02:13 PM

Re: New here, requesting some noobie help


 
Ta, thanks all, hope you all had good holidays!

lhw455 03-12-2015 01:03 PM

Re: New here, requesting some noobie help


 
Quote:

Originally Posted by lhw455 (Post 72863)
Ta, thanks all, hope you all had good holidays!

Bump!

Same URL, and I'm struggling again

At

Code:

http://cdn.divertiendo.me/rcn3.php?width=500&height=350
Using RTMPDumphelper, I get:

Code:

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
      app : live
  flashVer : WIN 16,0,0,305
    swfUrl : http://www.janjuaplayer.com/resources/scripts/eplayer.swf
    tcUrl : rtmp://5.63.150.84/live
  pageUrl : http://www.janjuaplayer.com/embedplayer/ccc2015hd3/3/500/380
      live : yes
  Playpath : ccc2015hd3?id=33518
 Saving as : 2015-03-12_06-15-07_ccc2015hd3.flv
INFO: Metadata:
INFO:  duration                0.00
INFO:  fileSize                0.00
INFO:  width                  640.00
INFO:  height                  360.00
INFO:  videocodecid            avc1
INFO:  videodatarate          250.00
INFO:  framerate              30.00
INFO:  audiocodecid            mp4a
INFO:  audiodatarate          48.00
INFO:  audiosamplerate        48000.00
INFO:  audiosamplesize        16.00
INFO:  audiochannels          2.00
INFO:  stereo                  TRUE
INFO:  encoder                Open Broadcaster Software v0.65b
WARNING: ignoring too small audio packet: size: 0
ERROR: WriteN, RTMP send error 10054 (2362 bytes)
Closing connection... done!

So I would assume I need to test with rtmpdump.exe, and I get

Code:

rtmpdump -v -r "rtmp://5.63.150.84/live" -a "live" -f "WIN 16,0,0,305" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/ccc2015hd3/3/500/380" -C S:OK -y "ccc2015hd3?id=33518" -K "soLagaDaSeStoriAga"
But I get this

Code:

RTMPDump v2.4 GIT-2015-01-15 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...

*sigh* I'm sure it's something minor, but I just can't see it...(checked that the "soLagaDaSeStoriAga" and it was the same - also tried outputting to VLC, but since RTMPdump doesn't even connect it didn't work)

Thanks!

biezom 03-12-2015 01:11 PM

Re: New here, requesting some noobie help


 
Code:

-K "soLagaDaSeStoriAga;TRUE;TRUE"

lhw455 03-12-2015 02:38 PM

Re: New here, requesting some noobie help


 
Quote:

Originally Posted by biezom (Post 74807)
Code:

-K "soLagaDaSeStoriAga;TRUE;TRUE"

Rocking, that worked, thanks!


All times are GMT -6. The time now is 07:52 PM.