[rtmpdump] rtmpsuck file?

Dan Schmidt helpdeskdan at gmail.com
Mon Jan 4 05:30:08 CET 2010


I do not seem to be getting a file.  Perhaps something is wrong?  Any 
suggestions appreciated.  Just want to watch fullscreen smoothly.

The readme implies data is written to a file:

122 Once the play command is processed, all subsequent audio/video data 
received
123 from the server will be written to a file, as well as being 
delivered back
124 to the client.


Don't we open a file here?

 328       server->out = fopen(file, "wb");
 329       if (!server->out)
 330         ret = 1;
 331       else
 332         fwrite(flvHeader, 1, sizeof(flvHeader), server->out);
 333     }

http://video.pbs.org/video/1286437550/program/979359664

dan at dan-desktop:~/rtmpsuck$ ./rtmpsuck
RTMP Proxy Server v2.1
(c) 2009 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
DEBUG: serverThread: accepted connection from <My IP> to 68.142.74.185

DEBUG: SHandShake: Type Requested : 03
DEBUG: SHandShake: Client Uptime : 906397
DEBUG: SHandShake: Player Version: -128.0.3.2
DEBUG: SHandShake: Handshaking finished....
DEBUG: ServePacket, received packet type 14, size 378 bytes
DEBUG: ServePacket, received: invoke 378 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:                       app, STRING:    a1863/o6/>
DEBUG: Property: <Name:                  flashVer, STRING:    LNX 
10,0,42,34>
DEBUG: Property: <Name:                    swfUrl, STRING:    
http://www-tc.pbs.org/video/media/swf/PBSPlayer.swf?13241>
DEBUG: Property: <Name:                     tcUrl, STRING:    
rtmp://pbs.fcod.llnwd.net:1935/a1863/o6/>
DEBUG: Property: <Name:                      fpad, BOOLEAN:    FALSE>
DEBUG: Property: <Name:              capabilities, NUMBER:    15.00>
DEBUG: Property: <Name:               audioCodecs, NUMBER:    3191.00>
DEBUG: Property: <Name:               videoCodecs, NUMBER:    252.00>
DEBUG: Property: <Name:             videoFunction, NUMBER:    1.00>
DEBUG: Property: <Name:                   pageUrl, STRING:    
http://video.pbs.org/video/1286437550/program/979359664>
DEBUG: Property: <Name:            objectEncoding, NUMBER:    3.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: ServeInvoke, client invoking <connect>
Processing connect
app: a1863/o6/
flashVer: LNX 10,0,42,34
swfUrl: http://www-tc.pbs.org/video/media/swf/PBSPlayer.swf?13241
tcUrl: rtmp://pbs.fcod.llnwd.net:1935/a1863/o6/
pageUrl: http://video.pbs.org/video/1286437550/program/979359664
DEBUG: RTMP_Connect, ... connected, handshaking
DEBUG: HandShake: Client type: 03

DEBUG: HandShake: Client digest offset: 580
DEBUG: HandShake: Initial client digest:
A5 55 3F A3 FA 67 AF 76 FB 25 1B DF B3 EC 93 EA 78 94 AA 66 98 63 F3 24 
9B 5A 59 FB C0 D6 89 8A




More information about the rtmpdump mailing list