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

NetStream Play Failed

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

danbyte 03-11-2013 02:30 PM

NetStream Play Failed


 
Hi,
I'm trying to capture this stream:

http://www.dailymotion.com/video/xio...n-en-vivo_news

I used wireshark to capture the rtmp packets but when trying to run rtmpdump I get the following:

Code:

$ rtmpdump -r rtmp://stream-17.vty.dailymotion.com:1935 -a live-dm?auth=1363028783-fb537886c592049527da594efd8c48b6 -s http://www.dailymotion.com/[[IMPORT]]/static3.dmcdn.net/flash/dmplayerv4/dmplayer-prod-compressed.swf.v8106bf337810f6109?withLoader=.1 -y xio7e2_sd?auth=1363028783-fb537886c592049527da594efd8c48b6 -o test.flv -V
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: No application or playpath in URL!
DEBUG: Protocol : RTMP
DEBUG: Hostname : stream-17.vty.dailymotion.com
DEBUG: Port    : 1935
DEBUG: Playpath : xio7e2_sd?auth=1363028783-fb537886c592049527da594efd8c48b6
DEBUG: tcUrl    : rtmp://stream-17.vty.dailymotion.com:1935/live-dm?auth=1363028783-fb537886c592049527da594efd8c48b6
DEBUG: swfUrl  : http://www.dailymotion.com/[[IMPORT]]/static3.dmcdn.net/flash/dmplayerv4/dmplayer-prod-compressed.swf.v8106bf337810f6109?withLoader=.1
DEBUG: app      : live-dm?auth=1363028783-fb537886c592049527da594efd8c48b6
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 : 96850052
DEBUG: HandShake: FMS Version  : 3.0.1.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: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 261 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:            fmsVer, STRING:        FMS/3,5,7,7009>
DEBUG: Property: <Name:      capabilities, NUMBER:        31.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.Success>
DEBUG: Property: <Name:        description, STRING:        Connection succeeded.>
DEBUG: Property: <Name:              data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:        3,5,7,7009>
DEBUG: (object end)
DEBUG: Property: <Name:          clientid, NUMBER:        125504585.00>
DEBUG: Property: <Name:    objectEncoding, NUMBER:        0.00>
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 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: xio7e2_sd?auth=1363028783-fb537886c592049527da594efd8c48b6
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 118 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:        error>
DEBUG: Property: <Name:              code, STRING:        NetStream.Play.Failed>
DEBUG: Property: <Name:        description, STRING:        Access denied>
DEBUG: Property: <Name:          clientid, NUMBER:        125504585.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Failed
ERROR: Closing connection: NetStream.Play.Failed
DEBUG: Closing connection.


Any ideas what I'm doing wrong?

Thanks in advance

karlo2105 03-11-2013 02:43 PM

Re: NetStream Play Failed


 
Code:

rtmpdump -r "rtmp://stream-15.vty.dailymotion.com:1935/live-dm" -a "live-dm?auth=1363041597-c8c9e29320b367dae043ff8601b96c8c" -f
"WIN 11,6,602,171" -W "http://static1.dmcdn.net/flash/dmplayerv4/dmplayer-prod-compressed.swf.v90b27c0e1cf18f0a9" -p "http://www.dailymotion.com/video/xio7e2_gl
obovision-en-vivo_news" --live -y "xio7e2_hq?auth=1363041597-c8c9e29320b367dae04
3ff8601b96c8c" | vlc -
RTMPDump v2.4 GIT-2012-12-09 (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:  width                640.00
INFO:  height                480.00
INFO:  videodatarate        781.25
INFO:  framerate            15.00
INFO:  videocodecid          7.00
INFO:  audiodatarate        93.75
INFO:  audiosamplerate      22050.00
INFO:  audiosamplesize      16.00
INFO:  stereo                TRUE
INFO:  audiocodecid          10.00
INFO:  presetname            Custom
INFO:  creationdate          Mon Feb 18 13:43:07 2013
INFO:  videodevice          Pinnacle DV/AV Capture
INFO:  avclevel              21
INFO:  avcprofile            77
INFO:  videokeyframe_frequency5
INFO:  audiodevice          Realtek HD Audio Input
INFO:  audiochannels        1
INFO:  audioinputvolume      20
INFO:  encoder              Lavf54.29.104
INFO:  filesize              0.00
305.259 kB / 5.51 sec
ERROR: Download: Failed writing, exiting!


hasomaso 03-11-2013 03:01 PM

Re: NetStream Play Failed


 
this is right

Code:

rtmpdump -v -r "rtmp://stream-18.vty.dailymotion.com:1935/live-dm" -a "live-dm?auth=1363042794-20c6a3921fbb716aebe43a3b6a4585bb" -f "WIN 11,6,602,171" -W "http://static1.dmcdn.net/flash/dmplayerv4/dmplayer-prod-compressed.swf.v90b27c0e1cf18f0a9" -p "http://www.dailymotion.com/video/xio7e2_globovision-en-vivo_news" -y "xio7e2_hq?auth=1363042794-20c6a3921fbb716aebe43a3b6a4585bb" -o "output.flv"

danbyte 03-12-2013 12:53 AM

Re: NetStream Play Failed


 
thanks guys, but it must be something with my setup because with your commands I still get the following:

Code:

[dan@laminimachine ~]$ rtmpdump -r "rtmp://stream-15.vty.dailymotion.com:1935/live-dm" -a "live-dm?auth=1363041597-c8c9e29320b367dae043ff8601b96c8c" -f "WIN 11,6,602,171" -W "http://static1.dmcdn.net/flash/dmplayerv4/dmplayer-prod-compressed.swf.v90b27c0e1cf18f0a9" -p "http://www.dailymotion.com/video/xio7e2_gl obovision-en-vivo_news" --live -y "xio7e2_hq?auth=1363041597-c8c9e29320b367dae043ff8601b96c8c" -o test.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed
[dan@laminimachine ~]$ rtmpdump -v -r "rtmp://stream-18.vty.dailymotion.com:1935/live-dm" -a "live-dm?auth=1363042794-20c6a3921fbb716aebe43a3b6a4585bb" -f "WIN 11,6,602,171" -W "http://static1.dmcdn.net/flash/dmplayerv4/dmplayer-prod-compressed.swf.v90b27c0e1cf18f0a9" -p "http://www.dailymotion.com/video/xio7e2_globovision-en-vivo_news" -y "xio7e2_hq?auth=1363042794-20c6a3921fbb716aebe43a3b6a4585bb" -o "output.flv"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed
[dan@laminimachine ~]$


evol 03-12-2013 03:30 AM

Re: NetStream Play Failed


 
Use RTMPDump v2.4 GIT-2012-12-09 your using RTMPDump v2.4 :)

danbyte 03-12-2013 01:15 PM

Re: NetStream Play Failed


 
thanks evol,

I installed from my distribution package manager, but also tried to build from git and I get the following when running:

$ ./rtmpdump --help
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Segmentation fault
$


All times are GMT -6. The time now is 03:01 PM.