Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 05-18-2012, 10:52 AM
avirex avirex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 24
avirex is on a distinguished road
Default

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?

Last edited by avirex : 05-18-2012 at 10:55 AM. Reason: added verbose output
Reply With Quote
  #2  
Old 05-18-2012, 11:07 AM
avirex avirex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 24
avirex is on a distinguished road
Default

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!
Reply With Quote
  #3  
Old 05-18-2012, 11:10 AM
avirex avirex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 24
avirex is on a distinguished road
Default

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
Reply With Quote
  #4  
Old 05-18-2012, 12:01 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: Help playing streams using rtmpdump and vlc


Quote:
Originally Posted by avirex View Post
... 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" -
Reply With Quote
  #5  
Old 05-18-2012, 12:45 PM
avirex avirex is offline
Junior Member
 
Join Date: Mar 2012
Posts: 24
avirex is on a distinguished road
Default

Re: Help playing streams using rtmpdump and vlc


Quote:
Originally Posted by bat999 View Post
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!
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:34 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons