<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Thanks for you help, but it still does not work. It just hangs
instead of giving the information rtmpsrv gives:<br>
<br>
dan@dan-desktop:~$ svn co svn://svn.mplayerhq.hu/rtmpdump/trunk rtmpdump<br>
Checked out revision 188.<br>
dan@dan-desktop:~$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935
-m owner \! --uid-owner proxy -j REDIRECT<br>
[sudo] password for dan: <br>
dan@dan-desktop:~$ cd rtmpdump<br>
dan@dan-desktop:~/rtmpdump$ make clean<br>
rm -f *.o rtmpdump streams rtmpsrv rtmpsuck<br>
dan@dan-desktop:~/rtmpdump$ make linux<br>
make[1]: Entering directory `/home/dan/rtmpdump'<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o log.o log.c<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o rtmp.o rtmp.c<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o amf.o amf.c<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o rtmpdump.o
rtmpdump.c<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o parseurl.o
parseurl.c<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o hashswf.o hashswf.c<br>
gcc -Wall log.o rtmp.o amf.o rtmpdump.o parseurl.o hashswf.o -o
rtmpdump -lcrypto -lz<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o streams.o streams.c<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o thread.o thread.c<br>
gcc -Wall log.o rtmp.o amf.o streams.o parseurl.o hashswf.o thread.o
-o streams -lpthread -lcrypto -lz<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o rtmpsrv.o rtmpsrv.c<br>
gcc -Wall log.o rtmp.o amf.o rtmpsrv.o thread.o -o rtmpsrv -lpthread
-lcrypto -lz<br>
gcc -Wall -DRTMPDUMP_VERSION=\"2.1b\" -O2 -c -o rtmpsuck.o
rtmpsuck.c<br>
gcc -Wall log.o rtmp.o amf.o rtmpsuck.o hashswf.o thread.o -o rtmpsuck
-lpthread -lcrypto -lz<br>
make[1]: Leaving directory `/home/dan/rtmpdump'<br>
dan@dan-desktop:~/rtmpdump$ ./rtmpsuck -z<br>
RTMP Proxy Server 2.1b<br>
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL<br>
<br>
Streaming on rtmp://0.0.0.0:1935<br>
DEBUG: serverThread: accepted connection from <My IP> to
68.142.74.197<br>
<br>
DEBUG: SHandShake: Type Requested : 03<br>
DEBUG: SHandShake: Client Uptime : 247060<br>
DEBUG: SHandShake: Player Version: -128.0.3.2<br>
DEBUG: SHandShake: Handshaking finished....<br>
DEBUG2: RTMP_ReadPacket: fd=4<br>
0000: 03 00 00 00 00 01 7a 14 00 00 00 00
......z..... <br>
0000: 02 00 07 63 6f 6e 6e 65 63 74 00 3f f0 00 00 00
...connect.?.... <br>
0010: 00 00 00 03 00 03 61 70 70 02 00 09 61 31 38 36
......app...a186 <br>
0020: 33 2f 6f 36 2f 00 08 66 6c 61 73 68 56 65 72 02
3/o6/..flashVer. <br>
0030: 00 0e 4c 4e 58 20 31 30 2c 30 2c 34 32 2c 33 34 ..LNX
10,0,42,34 <br>
0040: 00 06 73 77 66 55 72 6c 02 00 39 68 74 74 70 3a
..swfUrl..9http: <br>
0050: 2f 2f 77 77 77 2d 74 63 2e 70 62 73 2e 6f 72 67
//www-tc.pbs.org <br>
0060: 2f 76 69 64 65 6f 2f 6d 65 64 69 61 2f 73 77 66
/video/media/swf <br>
0070: 2f 50 42 53 50 6c 61 79 65 72 2e 73 77 66 3f 31
/PBSPlayer.swf?1 <br>
DEBUG2: RTMP_ReadPacket: fd=4<br>
0000: c3
. <br>
0000: 33 32 34 31 00 05 74 63 55 72 6c 02 00 28 72 74
3241..tcUrl..(rt <br>
0010: 6d 70 3a 2f 2f 70 62 73 2e 66 63 6f 64 2e 6c 6c
mp://pbs.fcod.ll <br>
0020: 6e 77 64 2e 6e 65 74 3a 31 39 33 35 2f 61 31 38
nwd.net:1935/a18 <br>
0030: 36 33 2f 6f 36 2f 00 04 66 70 61 64 01 00 00 0c
63/o6/..fpad.... <br>
0040: 63 61 70 61 62 69 6c 69 74 69 65 73 00 40 2e 00
capabilities.@.. <br>
0050: 00 00 00 00 00 00 0b 61 75 64 69 6f 43 6f 64 65
.......audioCode <br>
0060: 63 73 00 40 a8 ee 00 00 00 00 00 00 0b 76 69 64
<a class="moz-txt-link-abbreviated" href="mailto:cs.@.........vid">cs.@.........vid</a> <br>
0070: 65 6f 43 6f 64 65 63 73 00 40 6f 80 00 00 00 00
eoCodecs.@o..... <br>
DEBUG2: RTMP_ReadPacket: fd=4<br>
0000: c3
. <br>
0000: 00 00 0d 76 69 64 65 6f 46 75 6e 63 74 69 6f 6e
...videoFunction <br>
0010: 00 3f f0 00 00 00 00 00 00 00 07 70 61 67 65 55
.?.........pageU <br>
0020: 72 6c 02 00 37 68 74 74 70 3a 2f 2f 76 69 64 65
rl..7http://vide <br>
0030: 6f 2e 70 62 73 2e 6f 72 67 2f 76 69 64 65 6f 2f
o.pbs.org/video/ <br>
0040: 31 32 38 36 34 33 37 35 35 30 2f 70 72 6f 67 72
1286437550/progr <br>
0050: 61 6d 2f 39 37 39 33 35 39 36 36 34 00 0e 6f 62
am/979359664..ob <br>
0060: 6a 65 63 74 45 6e 63 6f 64 69 6e 67 00 40 08 00
jectEncoding.@.. <br>
0070: 00 00 00 00 00 00 00 09 01 00
.......... <br>
DEBUG: ServePacket, received packet type 14, size 378 bytes<br>
DEBUG: ServePacket, received: invoke 378 bytes<br>
DEBUG: (object begin)<br>
DEBUG: Property: <Name: no-name., STRING:
connect><br>
DEBUG: Property: <Name: no-name., NUMBER:
1.00><br>
DEBUG: Property: <Name: no-name., OBJECT><br>
DEBUG: (object begin)<br>
DEBUG: Property: <Name: app, STRING:
a1863/o6/><br>
DEBUG: Property: <Name: flashVer, STRING: LNX
10,0,42,34><br>
DEBUG: Property: <Name: swfUrl, STRING:
<a class="moz-txt-link-freetext" href="http://www-tc.pbs.org/video/media/swf/PBSPlayer.swf?13241">http://www-tc.pbs.org/video/media/swf/PBSPlayer.swf?13241</a>><br>
DEBUG: Property: <Name: tcUrl, STRING:
rtmp://pbs.fcod.llnwd.net:1935/a1863/o6/><br>
DEBUG: Property: <Name: fpad, BOOLEAN:
FALSE><br>
DEBUG: Property: <Name: capabilities, NUMBER:
15.00><br>
DEBUG: Property: <Name: audioCodecs, NUMBER:
3191.00><br>
DEBUG: Property: <Name: videoCodecs, NUMBER:
252.00><br>
DEBUG: Property: <Name: videoFunction, NUMBER:
1.00><br>
DEBUG: Property: <Name: pageUrl, STRING:
<a class="moz-txt-link-freetext" href="http://video.pbs.org/video/1286437550/program/979359664">http://video.pbs.org/video/1286437550/program/979359664</a>><br>
DEBUG: Property: <Name: objectEncoding, NUMBER:
3.00><br>
DEBUG: (object end)<br>
DEBUG: (object end)<br>
DEBUG: ServeInvoke, client invoking <connect><br>
Processing connect<br>
app: a1863/o6/<br>
flashVer: LNX 10,0,42,34<br>
swfUrl: <a class="moz-txt-link-freetext" href="http://www-tc.pbs.org/video/media/swf/PBSPlayer.swf?13241">http://www-tc.pbs.org/video/media/swf/PBSPlayer.swf?13241</a><br>
tcUrl: rtmp://pbs.fcod.llnwd.net:1935/a1863/o6/<br>
pageUrl: <a class="moz-txt-link-freetext" href="http://video.pbs.org/video/1286437550/program/979359664">http://video.pbs.org/video/1286437550/program/979359664</a><br>
DEBUG: RTMP_Connect, ... connected, handshaking<br>
DEBUG: HandShake: Client type: 03<br>
<br>
DEBUG: HandShake: Client digest offset: 580<br>
DEBUG: HandShake: Initial client digest: <br>
5B 19 FD 79 BD 55 CE FE A7 E2 F7 63 A5 E9 93 F0 F0 57 1A 92 C0 65 D2 F8
F0 4F 18 7E 35 56 73 B1 <br>
<Hangs Here!><br>
<br>
Howard Chu wrote:</tt>
<blockquote cite="mid:4B42A13C.9050407@highlandsun.com" type="cite">
<pre wrap=""><tt>Dan Schmidt wrote:
</tt></pre>
<blockquote type="cite">
<pre wrap=""><tt>I was able to get the required mp4 path information from rtmpsrv and I
was able to download the program. I am curious why rtmpsuck did not work?
</tt></pre>
</blockquote>
<pre wrap=""><!----><tt>
No idea. Can you try again with the 2.1b source that was just released today?
</tt></pre>
</blockquote>
</body>
</html>