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

Help playing streams using rtmpdump and vlc

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

avirex 05-18-2012 09:52 AM

Help playing streams using rtmpdump and vlc


 
Hello. I'm trying to play this stream on my computer using VLC:

http://www.almajdtv.tv/code_live.html

Here is what I have for the rtmpdump command:

Code:

rtmpdump -r "rtmp://majdg.pwlstation.com/live/majdgen/2_livestream.flv" -a "live/majdgen/2_livestream.flv" -s "http://31.207.1.58/jwplayer/player.swf " -p "http://www.almajdtv.tv/code_live.html" -t "rtmp://majdg.pwlstation.com/live/majdgen/2_livestream.flv" -y "2_livestream.flv" |  "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -
Verbose output from rtmpdump:

Code:

C:\RTMPDUMP>rtmpdump -r "rtmp://majdg.pwlstation.com/live/majdgen/2_livestream.f
lv" -a "live/majdgen/2_livestream.flv" -s "http://31.207.1.58/jwplayer/player.sw
f " -p "http://www.almajdtv.tv/code_live.html" -t "rtmp://majdg.pwlstation.com/l
ive/majdgen/2_livestream.flv" -y "2_livestream.flv" -V |  "C:\Program Files (x86
)\VideoLAN\VLC\vlc.exe" -
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMP
DEBUG: Hostname : majdg.pwlstation.com
DEBUG: Port    : 1935
DEBUG: Playpath : 2_livestream.flv
DEBUG: tcUrl    : rtmp://majdg.pwlstation.com/live/majdgen/2_livestream.flv
DEBUG: swfUrl  : http://31.207.1.58/jwplayer/player.swf
DEBUG: pageUrl  : http://www.almajdtv.tv/code_live.html
DEBUG: app      : live/majdgen/2_livestream.flv
DEBUG: live    : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer  : 03
DEBUG: HandShake: Server Uptime : 348130743
DEBUG: HandShake: FMS Version  : 4.5.0.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 240 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:            fmsVer, STRING:    FMS/4,5,0,297>
DEBUG: Property: <Name:      capabilities, NUMBER:    255.00>
DEBUG: Property: <Name:              mode, NUMBER:    1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:    status>
DEBUG: Property: <Name:              code, STRING:    NetConnection.Connect.Su
ccess>
DEBUG: Property: <Name:        description, STRING:    Connection succeeded.>
DEBUG: Property: <Name:    objectEncoding, NUMBER:    0.00>
DEBUG: Property: <Name:              data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:    4,5,0,297>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: 2_livestream.flv
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 193 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:    error>
DEBUG: Property: <Name:              code, STRING:    NetStream.Play.StreamNot
Found>
DEBUG: Property: <Name:        description, STRING:    Failed to play 2_livestr
eam.flv; stream not found.>
DEBUG: Property: <Name:            details, STRING:    2_livestream.flv>
DEBUG: Property: <Name:          clientid, STRING:    rAAXAYBA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.StreamNotFound
ERROR: Closing connection: NetStream.Play.StreamNotFound
DEBUG: Closing connection.

Can anyone help figure out why its not working? Do they have some type of protection?

avirex 05-18-2012 10:07 AM

Re: Help playing streams using rtmpdump and vlc


 
I tried using rtmpexplorer, same deal. And for some reason the stream is not playing inside the RTMPExplorer gui. I tried both this (http://pwlstation.com/?p=59) and this (http://www.almajdtv.tv/code_live.html) link.

Code:

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://majdg.pwlstation.com/live/majdgen/" -a "live/majdgen/" -f "W
IN 11,1,102,62" -W "http://pwlstation.com/wp-content/uploads/jw-player-plugin-fo
r-wordpress/player/player.swf" -p "http://pwlstation.com/?p=59" -y "2_livestream
" -o 2_livestream.flv

Closing connection... done!

RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://majdg.pwlstation.com/live/majdgen/" -a "live/majdgen/" -f "W
IN 11,1,102,62" -W "http://pwlstation.com/wp-content/uploads/jw-player-plugin-fo
r-wordpress/player/player.swf" -p "http://pwlstation.com/?p=59" -y "2_livestream
" -o 2_livestream.flv

Closing connection... done!

RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound
WARNING: Trying different position for client digest!
Duplicate request, skipping.
Closing connection... done!


avirex 05-18-2012 10:10 AM

Re: Help playing streams using rtmpdump and vlc


 
ok.. I tried rtmpexplorer + rtmpsuck and it starts saving the file... But how do I make it play in VLC now?

Code:

RTMP Proxy Server 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app: live/majdgen/
flashVer: WIN 11,1,102,62
swfUrl: http://pwlstation.com/wp-content/uploads/jw-player-plugin-for-wordpress/
player/player.swf
tcUrl: rtmp://majdg.pwlstation.com/live/majdgen/
pageUrl: http://pwlstation.com/?p=59
Playpath: 2_livestream
Saving as: 2_livestream
INFO: Metadata:
INFO:  author
INFO:  copyright
INFO:  description
INFO:  keywords
INFO:  rating
INFO:  title
INFO:  presetname            Custom
INFO:  creationdate          Fri May 18 04:52:22 2012
INFO:  videodevice          Osprey-440 Video Device 1D.1
INFO:  framerate            25.00
INFO:  width                480.00
INFO:  height                360.00
INFO:  videocodecid          avc1
INFO:  videodatarate        628.00
INFO:  avclevel              30.00
INFO:  avcprofile            66.00
INFO:  videokeyframe_frequency4.00
INFO:  audiodevice          Unbalanced 1D (4- Osprey-440)
INFO:  audiosamplerate      22050.00
INFO:  audiochannels        1.00
INFO:  audioinputvolume      75.00
INFO:  audiocodecid          mp4a
INFO:  audiodatarate        24.00


bat999 05-18-2012 11:01 AM

Re: Help playing streams using rtmpdump and vlc


 
Quote:

Originally Posted by avirex (Post 46327)
... But how do I make it play in VLC now?

Hi
It's a live stream, so it needs -v adding to the RTMPDump command.
Test it like this:-
Code:

rtmpdump -r "rtmp://majdg.pwlstation.com/live/majdgen/" -a "live/majdgen/" -f "WIN 11,1,102,62" -W "http://pwlstation.com/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -p"http://pwlstation.com/?p=59" -y "2_livestream" -v -o 2_livestream.flv
Then if that downloads OK, pipe it to VLC like you did before.

... -o - | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -

avirex 05-18-2012 11:45 AM

Re: Help playing streams using rtmpdump and vlc


 
Quote:

Originally Posted by bat999 (Post 46331)
Hi
It's a live stream, so it needs -v adding to the RTMPDump command.
Test it like this:-
Code:

rtmpdump -r "rtmp://majdg.pwlstation.com/live/majdgen/" -a "live/majdgen/" -f "WIN 11,1,102,62" -W "http://pwlstation.com/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf" -p"http://pwlstation.com/?p=59" -y "2_livestream" -v -o 2_livestream.flv
Then if that downloads OK, pipe it to VLC like you did before.

... -o - | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -

Worked perfectly! Thank you!


All times are GMT -6. The time now is 04:29 PM.