PDA

View Full Version : rtmpsrv output not working for this stream


beedle
12-01-2012, 09:16 AM
Wondering if soeone can pointme inthe right direction on this rtmpdump-ing this stream.

The original site is blog.livenewschat.tv/politics/

running rtmpsrv gives me:

rtmpdump -r "rtmp://d.cdn.msnbclive.eu/edge" -a "edge" -f "LNX 11,2,202,243" -W "http://msnbclive.eu/player.swf" -p "http://blog.livenewschat.tv" -y "cnbc_live" -o cnbc_live.flv

This does not work, when I add an '-z x' to the command for more information it gives me:


snip -------

DEBUG2: RTMP_ReadPacket: fd=6
DEBUG2: 0000: 04 00 00 00 00 00 b3 14 01 00 00 00 ............
DEBUG2: 0000: 02 00 08 6f 6e 53 74 61 74 75 73 00 00 00 00 00 ...onStatus.....
DEBUG2: 0010: 00 00 00 00 05 03 00 05 6c 65 76 65 6c 02 00 05 ........level...
DEBUG2: 0020: 65 72 72 6f 72 00 04 63 6f 64 65 02 00 1d 4e 65 error..code...Ne
DEBUG2: 0030: 74 53 74 72 65 61 6d 2e 50 6c 61 79 2e 53 74 72 tStream.Play.Str
DEBUG2: 0040: 65 61 6d 4e 6f 74 46 6f 75 6e 64 00 0b 64 65 73 eamNotFound..des
DEBUG2: 0050: 63 72 69 70 74 69 6f 6e 02 00 2b 46 61 69 6c 65 cription..+Faile
DEBUG2: 0060: 64 20 74 6f 20 70 6c 61 79 20 63 6e 62 63 5f 6c d to play cnbc_l
DEBUG2: 0070: 69 76 65 3b 20 73 74 72 65 61 6d 20 6e 6f 74 20 ive; stream not
DEBUG2: 0080: 66 6f 75 6e 64 2e 00 07 64 65 74 61 69 6c 73 02 found...details.
DEBUG2: 0090: 00 09 63 6e 62 63 5f 6c 69 76 65 00 08 63 6c 69 ..cnbc_live..cli
DEBUG2: 00a0: 65 6e 74 69 64 02 00 08 71 41 41 42 41 38 41 41 entid...qAABA8AA
DEBUG2: 00b0: 00 00 09 ...
DEBUG: RTMP_ClientPacket, received: invoke 179 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: onStatus>
DEBUG: Property: <Name: no-name., NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name: no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Play.StreamNotFound>
DEBUG: Property: <Name: description, STRING: Failed to play cnbc_live; stream not found.>
DEBUG: Property: <Name: details, STRING: cnbc_live>
DEBUG: Property: <Name: clientid, STRING: qAABA8AA>
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.

I've tried doing a core dump on the flash process but that doesn't seem to give me any usable links or options (but I get some messages about not being able to read sections of memory when I do the dump, so it may be I'm missing the 'good stuff' in my memory dump.)

Can anyone point me in the right direction as to how to move forword on this? Not looking for someone to do it for me, as I'd prefer to learn, so a reasonable hint would be appreciated.

I've been able to get some other streams from rtmpsrv/rtmpdump so I know I have the basic process right, but this seems to be a bit of a different case.

Thanks in advance.

svnpenn2
12-01-2012, 06:40 PM
rtmpdump -o a.flv -i "rtmp://d.cdn.msnbclive.eu/edge/cnbc_live swfUrl=http://msn
bclive.eu/player.swf live=1"
RTMPDump v2.4-72-g64c96bf
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Thu Nov 29 15:43:45 2012
INFO: videodevice DigiGo DVBS 2388x Video Capture
INFO: framerate 25.00
INFO: width 768.00
INFO: height 576.00
INFO: videocodecid avc1
INFO: videodatarate 550.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice Line in at rear panel (Blue) (Realtek High Definit
ion Audio)
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: audioinputvolume 98.00
INFO: audiocodecid .mp3
INFO: audiodatarate 128.00
1044.596 kB / 10.20 sec

beedle
12-01-2012, 08:30 PM
Thanks svnpenn2.

That was rather simple .... can you explain why rtmpsvr gave me a much more complicated command, and one that didn't work? Or is this sort of the way this works; get the basic information from digging into the html, or using rtmpsrv, then work from the most simple configuration on up to the more complicated ones?

svnpenn2
12-01-2012, 08:56 PM
can you explain why rtmpsvr gave me a much more complicated command, and one that didn't work?

Official RtmpSrv does not detect live streams. So if you catch a live stream with RtmpSrv it will not add the "-v" or "live" parameter as it should. I am looking into it.

beedle
12-02-2012, 07:48 AM
Ahh, I see. So my more complicated set of parameters does work, I just needed to use '--live' with it.

There, I did learn something important .. much appreciated.