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

Customized rtmpdump binaries with patch file

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

chap 10-19-2013 11:59 AM

Re: Customized rtmpdump binaries with patch file


 
Code:

rtmpdump -r "rtmp://www.axcast.com/axcast_video/19" -a "axcast_video/19" -f "WI
N 11,8,800,168" -W "http://www.axcast.com/viewer.swf" -p "http://www.axcast.com/
channel/view/rtd-djibouti-toos-rtd-tv-live-19" -C S:19 -C S:N/A -C S:Anonymous_8
05 -C S:viewer -C S:Anonymous_805 -C S:0 -C S:false -C S:1382205365506295262c7b5
1ae3f109445530 -y "stream" -o "2013-10-19_08-57-02_stream.flv" -v
RTMPDump v2.4 GIT-2013-10-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
Starting Live Stream
INFO: Metadata:
INFO:  presetname              Custom
INFO:  creationdate            Fri Oct 18 20:57:46 2013
INFO:  videodevice            USB 2861 Device
INFO:  framerate              10.00
INFO:  width                  320.00
INFO:  height                  240.00
INFO:  videocodecid            avc1
INFO:  videodatarate          85.00
INFO:  avclevel                21.00
INFO:  avcprofile              66.00
INFO:  videokeyframe_frequency 5.00
INFO:  audiodevice            Line in/Mic in
INFO:  audiosamplerate        11025.00
INFO:  audiochannels          1.00
INFO:  audioinputvolume        75.00
INFO:  audiocodecid            mp4a
INFO:  audiodatarate          28.00
1876.024 kB / 59.55 sec


lorus 10-31-2013 04:47 PM

Re: Customized rtmpdump binaries with patch file


 
Hi KSV,
hi folks,

I have a strange problem where dumping via rtmpdump.exe works but via librtmp.dll using XBMC not:

RTMPDUMP:
Code:

rtmpdump -r "rtmp://*/live" -W "httpp://rottr.bplaced.net/players.swf" -p "*" -v -y "*" -o "*"
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
Starting Live Stream
INFO: Metadata:
INFO:  duration                0.00
INFO:  width                  1280.00
INFO:  height                  720.00
INFO:  videodatarate          1074.22
INFO:  framerate              25.00
INFO:  videocodecid            7.00
INFO:  audiodatarate          93.75
INFO:  audiosamplerate        44100.00
INFO:  audiosamplesize        16.00
INFO:  stereo                  TRUE
INFO:  audiocodecid            2.00
INFO:  encoder                Lavf53.6.0
INFO:  filesize                0.00
1034.212 kB / 3.92 sec

xbmc.log (librtmp.dll)
Code:

23:24:20 T:6416  NOTICE: -->Python Interpreter Initialized<--
23:24:21 T:8444  NOTICE: Thread Background Loader start, auto delete: false
23:24:28 T:9032  NOTICE: DVDPlayer: Opening: * swfUrl=*pageUrl=* playpath=* swfVfy=true live=true
23:24:28 T:9032 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:24:28 T:6336  NOTICE: Thread CDVDPlayer start, auto delete: false
23:24:28 T:6336  NOTICE: Creating InputStream
23:24:29 T:6336  ERROR: rtmp server sent error
23:24:29 T:6336  ERROR: rtmp server requested close
23:24:29 T:6336  ERROR: CDVDPlayer::OpenInputStream - error opening * swfUrl=* pageUrl=* playpath=* swfVfy=true live=true]
23:24:29 T:6336  NOTICE: CDVDPlayer::OnExit()
23:24:29 T:6336  NOTICE: CDVDPlayer::OnExit() deleting input stream
23:24:29 T:9032  ERROR: Playlist Player: skipping unplayable item: 0, path [* swfUrl=* pageUrl=* playpath=* swfVfy=true live=true]
23:24:29 T:9252  NOTICE: Thread Background Loader start, auto delete: false
23:24:29 T:9032  NOTICE: CDVDPlayer::CloseFile()
23:24:29 T:9032 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:24:29 T:9032  NOTICE: DVDPlayer: waiting for threads to exit
23:24:29 T:9032  NOTICE: DVDPlayer: finished waiting

I'm using the latest version of your rtmpdump.exe and librtmp.dll. Librtmp.dll is correctly placed and it was previously working with. But now as you see it suddendly stopped working and I'm wondering why. Parameters are the same for both ...

Any thoughts on that?

cheerz,

lorus

KSV 11-01-2013 04:27 AM

Re: Customized rtmpdump binaries with patch file


 
yeah i can reproduce this problem. rtmpdump adds flash version to the connect request while librtmp doesn't do so by default. so you have to pass it explicitly. as a workaround you can add it to the the command manually.

Code:

flashVer=WIN%2010,0,32,18

lorus 11-01-2013 11:39 AM

Re: Customized rtmpdump binaries with patch file


 
Hey KSV,

found out that difference via wireshark shortly before you anwered here, too. But didn't get it work because of the space. %20 works like a charm ... thx :)

gorilla.maguila 12-24-2013 03:26 AM

Re: Customized rtmpdump binaries with patch file


 
Recently a user asked me how to dump a stream on:

http://beta.ddoss.me/pay_tv.php

So in case anyone is interested to make it work some lines need to be added to rtmp.c:

Code:

else if (strstr(pageUrl, "ddoss.me"))
{
    SendCommand(r, "r", FALSE);
    RTMP_SendCreateStream(r);
    SendGetStreamLength(r);
}

Then a simple rtmpdump command works:

Code:

rtmpdump -r rtmp://pc3oot.us.to:1935/live  -p http://beta.ddoss.me/pay_tv.php -W http://ni208114_1.vweb03.nitrado.net/playr.swf -y action

hasomaso 12-24-2013 07:50 AM

Re: Customized rtmpdump binaries with patch file


 
@KSV please support for that

RedPenguin 12-24-2013 04:25 PM

Re: Customized rtmpdump binaries with patch file


 
KSV, I think UKCast did something to break your RTMP Redirect code.

The following channel:

http://www.ukcast.tv/channel.php?u=kkttv

Shows that rtmpdump attempts to go to the redirected server but then just sits there for ages.

Yet if you do a direct ukcast URL like rtmpe://93.120.27.58/live it works fine.

peterpan 12-24-2013 06:30 PM

Re: Customized rtmpdump binaries with patch file


 
It's not even working on the website!

RedPenguin 12-26-2013 04:12 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by peterpan (Post 64139)
It's not even working on the website!

Yea I think ukcast was having issues or something that day.

At first it was loading in the webpage but not with rtmpdump then later it wasn't working in both.

Yet another ukcast channel I found did work. So they must be having server issues.

HiddenShadow 01-10-2014 03:43 PM

Re: Customized rtmpdump binaries with patch file


 
Hello!

I have a problem with the latest version of patched rtmpsuck on windows xp 32bit.

It's crashes every few minutes of working:


Fault address can be one of this:
0x00002ae4, 0x00003bfb, 0x000378c0.

Debug output:
DEBUG2: 0100: 0b .
DEBUG2: RTMP_ReadPacket: fd=1452
DEBUG2: 0000: 46 00 00 2f 00 01 01 08 F../....
DEBUG2: 0000: 6a 7f 73 67 e6 17 57 8c f2 2d 74 d7 4b 2c c2 f6 j.sg..W..-t.K,..
DEBUG2: 0010: db 92 0c 26 05 ad 50 23 e8 bb cb d6 76 c1 9b d8 ...&..P#....v...
DEBUG2: 0020: 67 2d 5d c3 0c f5 4a 5b 01 3f 87 17 43 a3 dd 92 g-]...J[.?..C...
DEBUG2: 0030: 13 e9 de 05 05 91 d4 e5 02 71 e6 35 3d c7 f6 b3 .........q.5=...
DEBUG2: 0040: 6f ff 54 46 5a bb 4e 66 96 39 c6 24 5b ae bd c8 o.TFZ.Nf.9.$[...
DEBUG2: 0050: 1f 27 a5 ab 69 d3 06 3d 73 6d 26 73 73 0b 47 be .'..i..=sm&ss.G.
DEBUG2: 0060: e4 ba e2 19 6c 6b 4e 27 34 7f e0 a1 21 31 df 28 ....lkN'4...!1.(
DEBUG2: 0070: cb c8 12 31 1b 7a c4 a9 29 cb 6b 93 91 4a e9 a6 ...1.z..).k..J..
DEBUG2: 0080: 25 3f 7b e6 5a 08 0f a4 33 b2 34 9d 6b 0a b2 67 %?{.Z...3.4.k..g
DEBUG2: 0090: 01 04 1f 1e 16 6b ba 04 cb 25 2d 71 5d db 84 8a .....k...%-q]...
DEBUG2: 00a0: db 5b ce b2 cf 24 64 f3 dc 3f 2d 37 5a 8e 82 5a .[...$d..?-7Z..Z
DEBUG2: 00b0: 63 c6 49 60 4b d1 39 be 65 e4 ec 02 49 aa 12 88 c.I`K.9.e...I...
DEBUG2: 00c0: 10 bf 54 c7 32 07 a9 55 b5 35 38 97 5a 2d 46 37 ..T.2..U.58.Z-F7
DEBUG2: 00d0: 00 5b aa 91 32 25 06 1d 1b 68 de c4 e8 9a ad 32 .[..2%...h.....2
DEBUG2: 00e0: 50 1d d5 92 c2 68 97 c9 fe 75 ef 0e 26 86 a1 15 P....h...u..&...
DEBUG2: 00f0: ae 63 31 67 6c 0a 62 d2 44 5c ba 40 5b a0 5a f7 .c1gl.b.D\.@[.Z.
DEBUG2: 0100: ad .
DEBUG2: RTMP_SendChunk: fd=1696, size=257
DEBUG2: 0000: 46 00 00 2f 00 01 01 08 F../....
DEBUG2: 0000: 6a 7f 73 67 e6 17 57 8c f2 2d 74 d7 4b 2c c2 f6 j.sg..W..-t.K,..
DEBUG2: 0010: db 92 0c 26 05 ad 50 23 e8 bb cb d6 76 c1 9b d8 ...&..P#....v...
DEBUG2: 0020: 67 2d 5d c3 0c f5 4a 5b 01 3f 87 17 43 a3 dd 92 g-]...J[.?..C...
DEBUG2: 0030: 13 e9 de 05 05 91 d4 e5 02 71 e6 35 3d c7 f6 b3 .........q.5=...
DEBUG2: 0040: 6f ff 54 46 5a bb 4e 66 96 39 c6 24 5b ae bd c8 o.TFZ.Nf.9.$[...
DEBUG2: 0050: 1f 27 a5 ab 69 d3 06 3d 73 6d 26 73 73 0b 47 be .'..i..=sm&ss.G.
DEBUG2: 0060: e4 ba e2 19 6c 6b 4e 27 34 7f e0 a1 21 31 df 28 ....lkN'4...!1.(
DEBUG2: 0070: cb c8 12 31 1b 7a c4 a9 29 cb 6b 93 91 4a e9 a6 ...1.z..).k..J..
DEBUG2: 0080: 25 3f 7b e6 5a 08 0f a4 33 b2 34 9d 6b 0a b2 67 %?{.Z...3.4.k..g
DEBUG2: 0090: 01 04 1f 1e 16 6b ba 04 cb 25 2d 71 5d db 84 8a .....k...%-q]...
DEBUG2: 00a0: db 5b ce b2 cf 24 64 f3 dc 3f 2d 37 5a 8e 82 5a .[...$d..?-7Z..Z
DEBUG2: 00b0: 63 c6 49 60 4b d1 39 be 65 e4 ec 02 49 aa 12 88 c.I`K.9.e...I...
DEBUG2: 00c0: 10 bf 54 c7 32 07 a9 55 b5 35 38 97 5a 2d 46 37 ..T.2..U.58.Z-F7
DEBUG2: 00d0: 00 5b aa 91 32 25 06 1d 1b 68 de c4 e8 9a ad 32 .[..2%...h.....2
DEBUG2: 00e0: 50 1d d5 92 c2 68 97 c9 fe 75 ef 0e 26 86 a1 15 P....h...u..&...
DEBUG2: 00f0: ae 63 31 67 6c 0a 62 d2 44 5c ba 40 5b a0 5a f7 .c1gl.b.D\.@[.Z.
DEBUG2: 0100: ad .
DEBUG2: RTMP_ReadPacket: fd=1452
DEBUG2: 0000: 47 00 00 7e 00 38 05 09 G..~.8..
DEBUG2: RTMP_SendPacket: fd=1452, size=34
DEBUG2: 0000: 43 ff ff ff 00 00 22 14 ff ff 94 29 C....."....)
DEBUG2: 0000: 02 00 0c 64 65 6c 65 74 65 53 74 72 65 61 6d 00 ...deleteStream.
DEBUG2: 0010: 3f f0 00 00 00 00 00 00 05 00 3f f0 00 00 00 00 ?.........?.....
DEBUG2: 0020: 00 00 ..
ERROR: WriteN, RTMP send error 10053 (46 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 14341


All times are GMT -6. The time now is 03:00 AM.